The ActionResponseGenerator is effectively responsible for sending some form of response to the client after processing a component event (an "action" request).
Beneath the covers is a StrategyRegistry for converting a method return value into an ARG. The main ARG implementation sends a client-redirect response, with a render URL. Once implemented, there will be ARG implementations mapped to certain return types that will directly send the bytestream to the client. But I've been spending my time on the new and glorious Grid component. I'm glad you're liking the code, I'm quite proud of most of it. On 2/10/07, Massimo Lusetti <[EMAIL PROTECTED]> wrote:
Which is the actual intend for ComponentEventDispatcher to 'forward' and ActionResponseGenerator received as a return object from and event listener method? BTW i find this useful (for example) for serving custom dynamic binary content so I'm guessing if the 'MIMEByteStream' which Howard talked about in a previous post could just be some sort of wrapper for this. I mean use it for specifying some typical mime encoding while letting the user specify a custom one (if needed) and wrap the InputStream from where reading bytes chunk. It's very exiting reading T5 code, really a great improvement over T4, said with no offense for T4 code base. -- Massimo http://meridio.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
