styleId will give you a hook if you need have a way of drilling to something. But i'm guessing what your needs are.


On 24 Feb 2004, at 13:38, Mark Lowe wrote:


the name of the form will be whatever you called it in struts config. There was a name attribute in 1.0 but this became deprecated and now must have been removed.

I imagine that something will be done in newer releases (perhaps already) to support strict xhtml and thus do away with rendering name="" and use id="" instead or as well as name="".

If you're trying to drill to the form in javascript best use

onclick="alert( this.form.elements['myproperty'].value )" ..

I you look at the rendered html you'll see that the name attribute is rendered.


On 24 Feb 2004, at 13:30, Leticia Golubov wrote:


This is really winding me up...

why does <html:form method="post" action="/scopeAction" > work

but <html:form method="post" action="/scopeAction"
                                        name="deleteForm"
                                        type="org.apache.struts.action.DynaActionForm" 
>
doesn't?

Why can't I name my forms? I've looked at the documentation and the 'name'
field doesn't even seem to exist, which leads me to believe I can't name
forms using the html:form tag?!


Is this a bug in Struts or have I missed something fundamental here?

regards

Leticia


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



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



Reply via email to