Look at setting xhtml theme.
http://struts.apache.org/2.0.11/docs/themes-and-templates.html
--
James Mitchell
On Jan 14, 2008, at 1:20 PM, Schuenck wrote:
Hi,
I'm starting in Struts and already found a little problem. While
rendering
the html inputs, struts don't close the tags. For example:
The tag <html:text property="campo" /> renders:
<input name="campo" type="text">
Instead of:
<input name="campo" type="text" />
The tag wasn't closed and the document can't be validated as XHTML.
I've
tried to use the <html:html xhtml="true" /> and <html:xhtml /> but the
return was the same.
Somebody knows any way of forcing struts to render xhtml compatible
code?
Thanks
--
View this message in context: http://www.nabble.com/Wrong-struts-
rendered-tags-tp14807997p14807997.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]