In looking at the code for the s:textfield tag and it uses the
template/simple/text.ftl file as the template.  The text.ftl file starts
with the html input tag and I'm not understanding where the label, td and tr
tags come from such that

<s:textfield key="user.firstname" name="firstName" />

becomes

<tr>
    <td class="tdLabel">
       <label for="updateUser_firstName" class="errorLabel">First
Name:</label>
    </td>
    <td>
       <input type="text" name="firstName" value=""
id="updateUser_firstName"/>
    </td>
</tr>


Can someone provide a general overview to get me going?

Thanks for any guidance,
E
-- 
View this message in context: 
http://www.nabble.com/Struts2-s%3Atextfield-to-formatted-html-tp24113259p24113259.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to