There is no name attribute in form tag according to xhtml specification. So if you use <html:xhtml/> or <html:html xhtml="true"/> , name attribute will not be generated. You can use id attribute to identify your form.
2005/7/2, Eduardo José Hernández Cisneros <[EMAIL PROTECTED]>: > Hi everybody, > > I recently upgrade my struts libraries to 1.2.7 from 1.2.4. I am using > the <html:xhtml/> tag with: > > <html:form action="saveUser" focus="name" styleId="productTypeForm" > onsubmit="return validateProductTypeForm(this)"> > … > > </html:form> > > In 1.2.4 version the html:form tag renders correctly the form name > attribute, but when a I changed to 1.2.7 the form name disappeared and this > causing trouble with a javascript client-side validation that I am using. > The funny part is that when I remove <html:xhtml/> tag with 1.2.7 version > the form name appears again. > > Am I using wrongly the <html:xhtml/> tag or could it be a bug? > > Thank you for your time. > > --Eduardo > > _________________________________________________________________ > T1msn Fotos: Todo lo que quieres saber sobre fotografía digital > http://search.t1msn.com.mx/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >