Tapestry
  1. Tapestry
  2. TAPESTRY-1390

DatePicker component doesn't work in IE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.1.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP sp2 on intel mp based system, IE7, Tapestry 4.0.1, jdk 1.5.0_06

      Description

      Im trying to use a Tapestry 4.0.1's DatePicker component in a page like this

      <form jwcid = "form">
      ...
      <input jwcid="@DatePicker" value="ognl:lastLoginDate"/>
      ...
      </form>

      But im experienced a problem in IE while accessing this page which popup an error message showing the following information.

      ------------------------------------------------------------------
      Internet Explorer cannot open the Internet site
      http://localhost:8080/.../searchUser.html?.s=ia.
      Operation Aborted
      ------------------------------------------------------------------
      It works fine on FireFox!

      I've tried using the following javascript code on the page as suggested in
      http://issues.apache.org/jira/browse/TAPESTRY-173
      http://issues.apache.org/jira/browse/TAPESTRY-222

      <script type="text/javascript">
      function getPoint(aTag) {
      var oTmp = aTag;
      var point = new Point(0,0);

      do

      { point.x += oTmp.offsetLeft; point.y += oTmp.offsetTop; oTmp = oTmp.offsetParent; }


      while (oTmp && oTmp.tagName != "BODY");

      return point;
      }
      </script>

      But the problem still remains.

      Is there any solution ?

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Sharif Uddin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development