Interface ComponentEventResultProcessor<T>

    • Method Detail

      • processResultValue

        void processResultValue​(T value)
                         throws 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.
        value - the value returned from a method
        RuntimeException - if the value can not handled