Implementation of focus attribute in <stripes:form> tags can create errors in
Internet Explorer
-----------------------------------------------------------------------------------------------
Key: STS-334
URL: http://mc4j.org/jira/browse/STS-334
Project: Stripes
Issue Type: Bug
Components: Tag Library
Affects Versions: Release 1.4.2
Environment: Internet Explorer
Reporter: Walter Rumsby
Assigned To: Tim Fennell
>From what I can tell the focus attribute of the <stripes:form> tag generates
>some JavaScript in the page like this:
<script type="text/javascript">var z=document.getElementById('database.id');
try{z.focus();z.select();} catch(e) {}</script>
This periodically causes problems for Internet Explorer because IE doesn't
allow changing HTML elements via DOM until they are fully rendered. See [Google
maps crash IE|http://vidmar.net/weblog/archive/2005/08/22/2121.aspx] for
further discussion, as things presently stand IE can prevent the page from
rendering and redirect you to an error page.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development