struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aladin Alaily" <str...@aladin.ca>
Subject Re: Struts, xhtml & bad tag syntax ... maybe nice in 1.7
Date Tue, 24 May 2005 15:48:56 GMT
Thanks Niall.

I got your message after I had already sent another to the list.

Aladin



> See the <html:xhtml/> and <html:html xhtml="true"/> tags to do this
>
> http://struts.apache.org/userGuide/struts-html.html#xhtml
> http://struts.apache.org/userGuide/struts-html.html#html
>
> Niall
>
> ----- Original Message -----
> From: "Aladin Alaily" <struts@aladin.ca>
> Sent: Tuesday, May 24, 2005 4:12 PM
>
>
>> Hello,
>>
>> Has anyone tried to make the struts tags xhtml compliant?  Here is what
>> I
>> mean.
>>
>> I have noticed that whenever an html component is generated using the
>> html
>> tags (or any other tag from the libraries), they are usually not closed.
>>
>> For example, when generating a form input field using:
>> <html:text property="whatever">
>>
>> the html code generated looks like:
>> <input type="text" name="whatever" value="">
>>
>> when it should really look like this:
>> <input type="text" name="whatever" value="" /> (Notice the / to close
>> the
>> tag)
>>
>> This is a problem when you want to enforce a specific DOCTYPE to your
>> web-application. The problem can easily be fixed... are struts
>> developers
>> thinking about this problem?  It would be nice to have this addition to
>> Struts 1.7
>>
>> Aladin
>
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message