Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change notification.
The following page has been changed by ShinobuKawaiYoshida: http://wiki.apache.org/jakarta-velocity/VelocityFAQ The comment on the change is: Add info about "silent" #parse/#include for VelocityTools 1.2 ------------------------------------------------------------------------------ [[BR]] * Q: I want to do a "silent" #parse/#include * A: You can apply the patch at [http://issues.apache.org/bugzilla/show_bug.cgi?id=28388 Bugzilla 28388], or try the solution provided by Fred Toth using a combination of a tool and a macro. See [http://mail-archives.apache.org/mod_mbox/jakarta-velocity-user/200405.mbox/[EMAIL PROTECTED] the mail archive] for details. + + * Q: Fred Toth's solution doesn't work for VelocityTools 1.2. :( + * A: From 1.2, VelocityViewServlet uses the SeparateInstanceModel. You will have to set the VelocityEngine instead of the Velocity singleton class. The ViewRenderTool shows how you can do that. If somebody has the time, the code should be coming up on the wiki. ;) [[BR]] === Velocity Tools === --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
