Ask Bugzilla :-)  http://issues.apache.org/bugzilla

[EMAIL PROTECTED] wrote:

>Hi there funny crew,
>
>did someone allready noticed  that Struts's html:form tag generate this
>kind of javascript:...
>
>    document.forms["AnyFormName"].elements["anyFieldName"].focus()
>
>...to give the focus to the element 'anyFieldName'  of the form , and that
>it causes a javascript error if the element is a radio button.
>
>My JSP is generated and I cannot guess whish type of element will be first
>focussed.
>
>I guess that the tag have to generate this:
>document.forms["AnyFormName"].elements["anyFieldName"][0].focus()
>in the case of radio button input element.
>
>Is it a bug or am I wrong? Will I have to set the focus in a scriptlet?
>
>
>
>Gilles Vandaele
>0498 52 64 12
>[EMAIL PROTECTED] Vandaele
>0498 52 64 12
>[EMAIL PROTECTED]
>

-- 
Eddie Bush




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

Reply via email to