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=15194>. 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=15194 Bug for focus attribute on FormTag when the control to give the focus is hidden [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Enhancement |Critical Component|Custom Tags |Documentation ------- Additional Comments From [EMAIL PROTECTED] 2002-12-12 21:10 ------- >I changed this to enhancement because the current functionality is not >broken. As it is, the code simply won't try to assign focus to hidden fields. What??? the current functionality is not broken???? Have you really read the generated code??? If i assign the focus on a field that may become hidden under some condition (try it!!!!), the generated code create a javascript error on client!!!! if (document.forms["corsoModifyDynaForm"].elements["titCorso"].type ! = "hidden") var focusControl = document.forms["corsoModifyDynaForm"].elements ["titCorso"]; if (focusControl.name == null) { focusControl = focusControl[0]; } focusControl.focus(); // --> Have you see that open and closed braces of the first if statement are missing (other instruction are only indentated)???? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
