Hi Guys, I have written a proposed extension for the Struts 1.3 branch called Struts View. After months of examining how to solve the problem of retaining semi-temporary objects across HTTP requests (without going through awkward designs), I have come up with this solution. The problem, so eloquently stated by Rick Reumann, is stated in his first paragraph here: http://www.reumann.net/struts/articles/request_lists.jsp
Struts View is the token processor on steroids, so to speak, because it uses it underneath to allow multiple transactions to go on simultaneously inside of Struts. Furthermore, an action can create a "view" and populate the objects it wants to persist across requests, and then the ComposableRequestProcessor, with the help of a new chain command, will copy these objects into request scope (ala RestoreView state in JSF) each time the view is accessed. Subsequent actions can also validate the view's presence, retrieve the view, modify the view, and destroy it as necessary. I've written a small test application with it too. I would like to donate this source code to ASF and hope it interests others -- there is minor work and improvements that can be done underneath the hood, but, by far, the input from the greater community would improve it beyond my feeble mind :) If people like it and feel it is ready, I would also like it to be nominated for inclusion in Struts 1.3... but that will be another discussion for the future. If anyone can tell me where I can send the source code (ZIP file), I would greatly appreciate it. PS: I have yet to subscribe to this mailing list, so if you respond to the entire list, please TO or CC me on the response as well. Thanks, Paul Benedict --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
