In case you don't find it on bugzilla, I believe this is a known bug.

Dave


>From: [EMAIL PROTECTED]
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: Struts Users Mailing List <[EMAIL PROTECTED]>
>Subject: Re: html:form focus causes a javascript error if the element is a 
>radio button
>Date: Fri, 04 Oct 2002 17:06:53 +0200
>
>
>Got it.
>Tx.
>
>Gilles Vandaele
>0498 52 64 12
>[EMAIL PROTECTED]
>
>
>
>                        Eddie Bush
>                        <[EMAIL PROTECTED]>  To:    Struts Users Mailing 
>List
>                                                    
><[EMAIL PROTECTED]>
>                        04/10/2002 16:46     cc:
>                                             Subject:  Re: html:form focus 
>causes a javascript error if the
>                                                    element is a radio 
>button
>
>                                             Please respond to Struts Users 
>Mailing List
>
>
>
>
>
>
>
>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]>
>
>
>
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>




_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

Reply via email to