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

DatePicker: invalid Javascript when component's wicket:id contains non-word character

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.0-beta2
    • 1.3.0-beta3
    • wicket-datetime
    • None

    Description

      as reported by Doug Leeper on the mailing list (http://www.nabble.com/DateTimeField-issue-tf4194618.html#a11929171) the generated javascript is invalid if the component's wicket:id contains a non-word character.
      this occurs eg. if the component is a DateTextField and the containing form uses a CompoundPropertyModel and the wicket:id is used to point to a nested property.

      Attachments

        1. invalid_js.patch
          4 kB
          Gerolf Seitz

        Activity

          People

            Unassigned Unassigned
            faceman Gerolf Seitz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: