Wicket
  1. Wicket
  2. WICKET-206

Default page map is null, should be set to something more usable

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.4
    • Fix Version/s: 1.4.11, 1.5-M2.1
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      JBoss, windows 2k

      Description

      Related to thread : http://www.nabble.com/From-pop-up%2C-page-link-to-change-the-parent-wihtout-changing-the-popup-tf2966574.html

      Problem is to open a pop-up and change page in the calling page. To do that, we used BookmarkablePageLink. This one need to set a PageMap and set the attribute target to the page map of the calling page.

      When in the calling page, you can get the pageMap name by doing a : getPage().getPageMap().getName().
      the problem is that the default page map have a name set to null by default. this can be resolved (I Think, but not sure) by changing the DEFAULT_NAME in PageMap to something else than null. The other possibility is to add a method in webpage called getwindowname() that would return the window name, which is the default name for the default pageMap.

        Activity

          People

          • Assignee:
            Johan Compagner
            Reporter:
            Marc-Andre Houle
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development