Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1762

JavaScript error when DatePicker is a child of a hidden Container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • wicket-extensions
    • None
    • I'm using JBoss 4.05 and Wicket 1.3.3, but this issue shows up on the trunk build as of July 28, 2008. Both Firefox and IE show the error.

    Description

      1. Add a DatePicker to a DateTextField.
      2. Add the DateTextField to a WebMarkupContainer.
      3. Set the WebMarkupContainer's visibility to false.
      4. Load the page.

      Notice JavaScript error (this.oDomContainer is null: calendar.js, line 1452).

      It looks like the header contributions for the calendar are being rendered even if the calendar itself is hidden.

      Attachments

        1. WicketTest.rar
          7 kB
          Nate Roe

        Activity

          People

            ivaynberg Igor Vaynberg
            nate.roe@vegas.com Nate Roe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: