You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Mandel <Ma...@hds.com> on 2004/04/01 01:23:38 UTC

RE: xhtml gets turned off

Dean - 

In each of your tiles that uses XHTML you need to have a <html:xhtml/> tag,
so the system knows it's outputting xhtml.

(Did the same thing a few days ago)

Regards,

Mark

-----Original Message-----
From: Dean A. Hoover [mailto:dhoover@rochester.rr.com] 
Sent: Thursday, 1 April 2004 6:32 AM
To: struts-user@jakarta.apache.org
Subject: xhtml gets turned off

I have been using
<html:html xhtml="true">
so that the various html tags will
generate xhtml compliant code, and
it has worked last time I checked.
I just attempted to validate the
HTML output at w3c and found
that the <input type="text" tags
are not getting generated with the
closing /. Any ideas how xhtml can
get turned off?

Dean Hoover
PS The code is too large to post. Tiles
within tiles, within tiles, etc.


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

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


Re: xhtml gets turned off

Posted by "Dean A. Hoover" <dh...@rochester.rr.com>.
Thanks Mark. But it will not generate any more <html> tags?

Thanks
Dean

Mark Mandel wrote:

>Dean - 
>
>In each of your tiles that uses XHTML you need to have a <html:xhtml/> tag,
>so the system knows it's outputting xhtml.
>
>(Did the same thing a few days ago)
>
>Regards,
>
>Mark
>
>-----Original Message-----
>From: Dean A. Hoover [mailto:dhoover@rochester.rr.com] 
>Sent: Thursday, 1 April 2004 6:32 AM
>To: struts-user@jakarta.apache.org
>Subject: xhtml gets turned off
>
>I have been using
><html:html xhtml="true">
>so that the various html tags will
>generate xhtml compliant code, and
>it has worked last time I checked.
>I just attempted to validate the
>HTML output at w3c and found
>that the <input type="text" tags
>are not getting generated with the
>closing /. Any ideas how xhtml can
>get turned off?
>
>Dean Hoover
>PS The code is too large to post. Tiles
>within tiles, within tiles, etc.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>  
>



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