> We have a struts form, and we need to have a styleId element 
> (which translates into a standard HTML id element). When we 
> include it, the page breaks, with no errors logged, just a 
> blank page. If we leave it out completely, when the page 
> loads an id element has been included, with the value set to 
> the name of the form as defined in the struts-config file.
> That's not id we need!

I assume you're using XHTML (either xhtml="true" in the Struts html
element or the <html:xhtml/> tag). Normally Struts will create a "name"
attribute for the form tag that contains the form bean name. But in the
xhtml spec, the form tag doesn't have a "name" attribute, so Struts puts
the form bean name into an id attribute instead. As you've seen, if you
try to specify an ID tag, Struts dies. 


--
Tim Slattery
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to