struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "carlo latasa" <>
Subject Older Velocity Tag support and custom tags / directives...
Date Tue, 02 Dec 2008 15:54:41 GMT
Hello all,

I've got  an older application built using xwork (1.x) and Velocity for all
of the html presentation pages. It also made use of several custom velocity
tags/directives that used the webwork based VelocityManager as well as the to build Templates.

On the actual .vm pages there is heavy use of the following formats:
- '#tag( TextField ...' - type tags (as opposed to the newer
'#stextfield(...' tags).
- Custom tags like: '#tag( Component "template=/templates/errorMessages.vm"
"params.value=actionErrors" )'
- #tag( *tagname* "value='login.submit'" "align=right" ) - where the actual
text for  'login.submit' is held in a properties file.

So - I'd like to upgrade to struts2 but am having a heck of a time finding
struts2 velocity specific documentation that will help me make the migration
without having to re-write the hundreds of .vm pages the application has.
I've looked at all of the struts documenction : as well as playing with the showcase
application. This information is great for someone starting off new but not
that helpful for someone in my position.

I've spent a couple of days messing with the, web.xml,
struts.xml and files but haven't had much luck.

Is this possible? If so, I could sure use some Help!

Thanks in advance.

Carlo Latasa

Carlo Latasa
Cell: (415) 385-1567

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message