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

Checks in IRequestMapper.mapHandler should be on page instance, if available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.3
    • 1.5.4, 6.0.0-beta1
    • wicket
    • None

    Description

      AbstractBookmarkableMapper and MountedMapper only check if a the page class match that of the mount, even when a page instance is available. This makes it difficult to use the classes as superclass in a single-page application, where the same page can be mounted at different urls. The attached patch allows checks on the page instance to be implemented in subclasses.

      Attachments

        1. 0001-WICKET-4250.patch
          2 kB
          Emond Papegaaij

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            papegaaij Emond Papegaaij
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: