DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13454>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13454

adding focus to the <html:form> tag with two forms of the same name generates a 
javascript error





------- Additional Comments From [EMAIL PROTECTED]  2002-10-17 23:32 -------
I've been thinking about this and need clarification if you dont mind Ted - is the 
'designer' 
calling the form number or do we need to figure this out in code?

i.e. do we require the user to 
enter something like:

<html:form action="/ProcessThis" focus="[n].lastname">
 
<html:text property="firstname"/>
 <html:text 
property="lastname"/>
</html:form>

Assuming yes:
is this a zero based index?
is 
there a better format?

If not:
Anyone give me a clue on how to go about finding out the index 
number of the form automatically

Finally:
I know this is tiresome but can you say yay or nay 
on whether there is a reason why I cant add an optional id attribute that is passed 
straight on to the 
resultant HTML and that therefore uniquely identifies the form so no form counting 
shennanigans 
are necessary?

ta

chanoch

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to