tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Raible (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Created: (TAPESTRY-222) IE Error in DataPicker.js
Date Wed, 03 Nov 2004 01:02:32 GMT
IE Error in DataPicker.js

         Key: TAPESTRY-222
         URL: http://nagoya.apache.org/jira/browse/TAPESTRY-222
     Project: Tapestry
        Type: Bug
  Components: Framework  
    Versions: 3.0.1    
 Environment: IE 6.0 SP2, Windows XP, Tapestry 3.0.1, XHTML Transitional
    Reporter: Matt Raible
    Priority: Minor

For some reason, the date picker throws an exception in IE in my app.  Works fine in Firefox.
 I patched DatePicker.js by adding a try/catch block around the following code and it fixed
the problem for me (and the calendar works).  Just FYI, I had to add this same patch to MyFaces
popup calendar component too.

      try {
          do {
              aTag = aTag.offsetParent;
              leftpos	+= aTag.offsetLeft;
              toppos += aTag.offsetTop;
          } while(aTag.tagName!="BODY");
      } catch (ex) { 
          // ignore 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org

View raw message