Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-788

DatePicker doesn't work in a portlet. Initialization script is run before window finishes loading.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: Portlet
    • Labels:
      None
    • Environment:
      Tapestry 4.0-beta-13
      Jetspeed 2 portal

      Description

      When using a DatePicker in a Tapestry portlet, IE displays an error message during page loading and aborts:
      "Internet Explorer cannot open the site http://localhost. Operation aborted"

      It appears that this is caused by the initialization script of the DatePicker component being run before the window finishes loading. The script is run right before the portlet finishes rendering, which, in a portal environment, is not necessarily the end of the page.

        Attachments

        1. TAPESTRY-788-p1.patch
          0.2 kB
          Sean Tan
        2. TAPESTRY-788-p2.patch
          0.6 kB
          Sean Tan

          Activity

            People

            • Assignee:
              jkuhnert Jesse Kuhnert
              Reporter:
              phtouz Raphael Jean
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: