Specifying Struts templates source

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-04-06T11:51:19Z Indexed on 2010/04/06 11:53 UTC
Read the original article Hit count: 191

Filed under:
|
|
|

Say I'm using a form with a text-field.

<@s.form action="login"> <@s.textfield label="E-mail" name="email"/> <@s.submit value="send"/>

How can I specify that the text-form should be generated by a custom template (text_login.ftl) rather than the standard text.ftl?

© Stack Overflow or respective owner

Related posts about struts

Related posts about struts2