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

DatePicker doesn't work when CryptedUrlWebRequestCodingStrategy is in effect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-RC2
    • 1.4-RC3
    • wicket-datetime
    • None

    Description

      With CryptedUrlWebRequestCodingStrategy, when url rewriting is the effective session tracking mechanism, the ResourceReference for the wicket-date.js is rendered incorrectly, as it bears the crypted target, but the key to decrypt this piece of information is not referable, as it is kept in the session, which in turn cannot be resolved as had been stripped from the generated url just before being put into the map of variables to be interpolated with DatePicker.js. As a resolution, a single call to Strings.stripJSessionId() should be removed.

      Attachments

        1. datepicker.patch
          0.8 kB
          Dominik Drzewiecki

        Activity

          People

            jdonnerstag Juegen Donnerstag
            drzewo Dominik Drzewiecki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: