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 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Additional Comments From [EMAIL PROTECTED] 2002-11-05 06:20 ------- I've been looking at this bug off and on for the last few days, and in addition to Ted's comments, no one has mentioned the fact that if you are creating multiple forms (with focus) as part of some iteration, each form will have a <script> right after the ending </form>. The only way to avoid this is to test during jsp execution, and if you are doing that, you might as well do it the right way (not use duplicate names). I've also compiled a nice collection of sample pages for testing all the possible choices. With duplicate forms with same name: NN4 sets the focus to the correct field on the last form NN6 sets the focus to the correct field on the first form Mozilla sets the focus to the correct field on the first form IE6 does not set anything and gives a script error message This issue is obviously handled very different among browsers and should not take up any more valueable time. Unless someone can submit a patch that works consistently and DOES NOT reduce the current functionality, this bug should remain closed. -- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>