Interface ComponentEventResultProcessor<T>

    • Method Detail

      • processResultValue

        void processResultValue​(T value)
                         throws java.io.IOException
        For a given, non-null return value from a component event method, construct and send a response. Starting in release 5.4, it is recommended that for any response that involves Tapestry pages or components, the implementation should create an IOOperation to do the rendering, and add the operation to the Request as attribute TapestryConstants.RESPONSE_RENDERER. This avoids a number of issues related to the Environment.
        Parameters:
        value - the value returned from a method
        Throws:
        java.lang.RuntimeException - if the value can not handled
        java.io.IOException