Dne středa 07 září 2005 00:46 [EMAIL PROTECTED] napsal(a):
> Hello all,
>
> I have problem with struts. Is struts XHTML compliant ? I mean that <html
> lang="en"> is not allowed in XHTML and in example this snippet of struts
> code
>
> <html:radio property="answer" value="answer"><bean:write
> name="question_item" property="question" /></html:radio><br/>
>
> is translated to the html as
>
> <input type="radio" name="answer" value="answer">sssss<br/>
>
> but the input tag is not closed.
>
> Is there any solutions to struts generate valid XHTML code ?
>
> Thanks Mila

When I use the <html:html xhtml="true"> the all seem to be ok, but this 
snippet is wrong:

<html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">

There is not allowed lang="en" attribute.

Thanx Mila
>
> ---------------------------------------------------------------------
> 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]

Reply via email to