You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Marcello Savino <Ma...@aldebra.com> on 2006/10/13 09:45:12 UTC

Form name

Using Struts the tag <html:form action="myAction"> is rendered in this
way
<form name="myActionForm" method="post" action="/Base/myAction">
The problem is that in my application the rendered XML file MUST be a
valide "xhtml1.0 strict" file and the DTD strict does not allow the
attribute "name" for the tag <form>.
If someone could help me it would be greatly appreciated.
Thanks all
Ciao, Marcello

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


Re: Form name

Posted by Mikolaj Rydzewski <mi...@ceti.pl>.
Marcello Savino wrote:
> Using Struts the tag <html:form action="myAction"> is rendered in this
> way
> <form name="myActionForm" method="post" action="/Base/myAction">
> The problem is that in my application the rendered XML file MUST be a
> valide "xhtml1.0 strict" file and the DTD strict does not allow the
> attribute "name" for the tag <form>.
>   
It works for me ;-)

Do you use <html:html xhtml="true"> tag?


-- 
Mikolaj Rydzewski <mi...@ceti.pl>