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

Page Reload on Submit of non-versioned Page

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      Wicket version: 1.5
      java version "1.6.0_25"
      Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
      Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)
      Server: GlassFish 3.1.1

      Description

      A custom MountedMapper extension is used to support a non-versioned page. This works in 1.5 but not in snapshots after 1.5.

      A corresponding solution works in 1.4 also.

      The attached quickstart works with mountPage(...) but it fails with the custom mapper.

      The page gets reconstructed, and even with an AJAX request, the whole page is re-loaded with user input wiped out.

      I am only guessing here, but I think it would be good if, in case there is no version in the page URL, Wicket knows how to fetch the only version that should exist for this page.

        Attachments

        1. NoVersionQuickStart.zip
          10 kB
          bernard

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bht@actrix.gen.nz bernard
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: