MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-69

t:inputCalendar + javscript(using variable tabList) = page hang.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Calendar
    • Labels:
      None
    • Environment:
      jboss-4.0.2
      jdk1.5.0_04
      Firefox 1.0.7
      myfaces-20051107.zip
      Struts 1.2.7

      Description

      I started with the bug of t:calendar and onload not working in release 1.1.1
      I then moved on to the nightly release 20051107.

      New bug...

      If I have a page with <t:inputCalendar and

      <script language="JavaScript1.3">
      function messWithMyHead() {
      for (var i=0; i<tabList.length; i++ ) {
      }
      }
      </script>

      The page will never be displayed.

      1: I don't call the JavaScript, it just has to exist on the page.
      2: Method name is not the cause
      3: Remming out the for loop does not stop the problem
      4: REMOVING the for loop does allow the page to be displayed.
      5: REMOVING the <t:inputCalendar allows the page to be displayed.
      6: No error message is displayed in the JBoss console, it just hangs.

      To prove this, download my ear (link at bottom) & go to the address...

      http://localhost:8080/ebusiness/
      (Change port if required)

      The page will not be displayed.

      Then go into the ear, then the war and open the file theTest.jsp

      Removed the for loop lines (or the t:calendar), save & exit.

      Go back to the address & the page will display.

      Example ear of the problem at...
      http://www.porter.eu.com/jeff/prob.ear (3meg - inc libs)

      Hope someone else can verify this for me.

      Jeff.

        Activity

        jeff porter created issue -
        jeff porter made changes -
        Field Original Value New Value
        Attachment ebusinees_Cal_JS_Prob.ear [ 12320542 ]
        sean schofield made changes -
        Key MYFACES-797 TOMAHAWK-69
        Affects Version/s 1.1.2 [ 12310344 ]
        Component/s Other [ 12310767 ]
        Component/s Tomahawk [ 12310162 ]
        Project MyFaces Core [ 10600 ] MyFaces Tomahawk [ 12310272 ]
        sean schofield made changes -
        Workflow jira [ 12343532 ] MyFaces Workflow [ 12347482 ]
        Matthias Weßendorf made changes -
        Component/s Calendar [ 12310749 ]
        Description
        I started with the bug of t:calendar and onload not working in release 1.1.1
        I then moved on to the nightly release 20051107.

        New bug...

        If I have a page with <t:inputCalendar and

        <script language="JavaScript1.3">
        function messWithMyHead() {
              for (var i=0; i<tabList.length; i++ ) {
              }
        }
        </script>

        The page will never be displayed.

        1: I don't call the JavaScript, it just has to exist on the page.
        2: Method name is not the cause
        3: Remming out the for loop does not stop the problem
        4: REMOVING the for loop does allow the page to be displayed.
        5: REMOVING the <t:inputCalendar allows the page to be displayed.
        6: No error message is displayed in the JBoss console, it just hangs.

        To prove this, download my ear (link at bottom) & go to the address...
         
        http://localhost:8080/ebusiness/
        (Change port if required)

        The page will not be displayed.

        Then go into the ear, then the war and open the file theTest.jsp

        Removed the for loop lines (or the t:calendar), save & exit.

        Go back to the address & the page will display.

        Example ear of the problem at...
        http://www.porter.eu.com/jeff/prob.ear (3meg - inc libs)

        Hope someone else can verify this for me.

        Jeff. :-)

        I started with the bug of t:calendar and onload not working in release 1.1.1
        I then moved on to the nightly release 20051107.

        New bug...

        If I have a page with <t:inputCalendar and

        <script language="JavaScript1.3">
        function messWithMyHead() {
              for (var i=0; i<tabList.length; i++ ) {
              }
        }
        </script>

        The page will never be displayed.

        1: I don't call the JavaScript, it just has to exist on the page.
        2: Method name is not the cause
        3: Remming out the for loop does not stop the problem
        4: REMOVING the for loop does allow the page to be displayed.
        5: REMOVING the <t:inputCalendar allows the page to be displayed.
        6: No error message is displayed in the JBoss console, it just hangs.

        To prove this, download my ear (link at bottom) & go to the address...
         
        http://localhost:8080/ebusiness/
        (Change port if required)

        The page will not be displayed.

        Then go into the ear, then the war and open the file theTest.jsp

        Removed the for loop lines (or the t:calendar), save & exit.

        Go back to the address & the page will display.

        Example ear of the problem at...
        http://www.porter.eu.com/jeff/prob.ear (3meg - inc libs)

        Hope someone else can verify this for me.

        Jeff. :-)

        sean schofield made changes -
        Workflow MyFaces Workflow [ 12347482 ] MyFaces Workflow2 [ 12348820 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12348820 ] MyFaces Workflow [ 12354261 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12354261 ] MyFaces Workflow2 [ 12356296 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12356296 ]  MyFaces Workflow [ 12356810 ]
        sean schofield made changes -
        Workflow  MyFaces Workflow [ 12356810 ] MyFaces Workflow2 [ 12358423 ]
        sean schofield made changes -
        Workflow  MyFaces Workflow [ 12358423 ] MyFaces Workflow2 [ 12360871 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            jeff porter
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development