struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Schuenck <fschue...@gmail.com>
Subject Wrong struts rendered tags
Date Mon, 14 Jan 2008 18:20:38 GMT

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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message