ets04uga wrote:
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?

Follow the yellow brick road... there are several other files included by the tags via the #include directive. The default theme is "xhtml"--unless you're using the "simple" theme you need to start looking in the theme you're actually using.

Dave

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

Reply via email to