Hi Matt, Patric and all others!

I've been using a special VelocityResult and WebWorkVelocityServlet (JIRA WW-288 (LARGE hack!)) in WW2 that is an extension of the VelocityLayoutServlet in Velocity Tools. Those files depended a lot on the old implementation of how the tags och velocity template is rendered. I have tried to make new versions of the above files that will work with the latest in cvs, but it's a bit over my head.

The central method in VelocityLayoutServlet does a two-pass rendering by first render the "screen" into a string that is inserted in the "layout"-context. The main concern about this is that while ordinary text and direct $xxx calls will get into the string, the #tag directive will print directly to pageContext.getOut() (which of course not will happen in the right place and time).

Does someone have a solution, or idea of how to solve this?
I'm not into this jsp, velocity, rendering stuff so I can see where to go about this.


Note: Just including (not merging) the "screen" will not be a solution because then you miss the important feature of controlling the "layout" from the screen (at least the layout that is before, above the "screen").

Thanks
Jonas



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to