Titi is correct - this is an issue introduced in Struts 1.2.7 - it is mentioned in the upgrade notes....
http://wiki.apache.org/struts/StrutsUpgradeNotes124to127 ...but to recap here the change for Bug 34027 caused this problem and it has been reported in Bug 35127 http://issues.apache.org/bugzilla/show_bug.cgi?id=34027 http://issues.apache.org/bugzilla/show_bug.cgi?id=35127 Niall ----- Original Message ----- From: "Laurie Harper" <[EMAIL PROTECTED]> Sent: Friday, August 05, 2005 7:02 PM > Titi Wangsa wrote: > > i'm havig problem with struts. > > i'm using 1.2.7 and i'm using the validator plug-in > > the problem is when i'm using html:javascript forname= > > > > the name attribiute for form > > <form name=""> > > is not rendered when <html:html xhtml="true"> > > > > however when only <html:html> is specified, without turning on the > > xhtml feature, > > the <form name=""> tag is rendered. > > > > the question is, how to use the <html:javascript> > > feature for client side validation when using <html:html xhtml="true" > > A very quick look at the code for the form tag suggests that xhtml=true > should make no difference to whether the name attribute gets generated. Are > you sure that's the only thing different between working and not working? > > Or did you mean the entire 'form' tag doesn't show up in the HTML if you > include xhtml=true? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]