[ http://mc4j.org/jira/browse/STS-334?page=comments#action_10626 ] 
            
Walter Rumsby commented on STS-334:
-----------------------------------

Sorry, I should have been more clear, "my test page" is the page I first 
noticed this problem with, i.e.:

* with the old JavaScript code I notice a problem 1 in every 5 or so attempts 
to load the page
* with the revised JavaScript code I haven't noticed any problems

So at the very least this solves this problem I was having :)

> 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
>             Fix For: Release 1.4.3
>
>
> 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

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to