I've discovered some more information on this: If I have theme="simple" on my <s:form> the labels aren't rendered. Changing it to theme="xhtml" makes it show up, but causes duplicate <labels>
<label for="signupForm_user_username" class="desc">E-Mail address</label><label id="signupForm_user_username"></label> I've deleted all my freemarker customizations insrc/main/webapp/template, but it still seems to happen. This is quite strange since class="desc" shows up on my label. This is a customization I had in my xhtml template - does Struts have the same customization? Thanks, Matt mraible wrote: > > Any idea why <s:label> does not work for me with Struts 2.0.6? > > <s:label key="user.username"/> > > The following works fine: > > <fmt:message key="user.username"/> > > As does: > > <s:text name="user.username"/> > > Is the "key" attribute of <s:label> supposed to write the body? It seems > to write the label tag just fine, but it has no body. > > Thanks, > > Matt > -- View this message in context: http://www.nabble.com/Using-%3Cs%3Alabel-key%3D%22%22-%3E-doesn%27t-seem-to-work-tf3521861.html#a9825650 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]