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

WicketTester doesn't pass PageParameters to bookmarkable pages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0 branch (discontinued), 1.2.2, 1.2.3
    • Component/s: wicket
    • Labels:
      None

      Description

      I put BookmarkablePageLink on WebPage like this:
      firstPage.add( new BookmarkablePageLink( "link", SecondPage.class, new
      PageParameters( "id=1" ) ) );

      and then I test it using WicketTester:
      wicketTester.startPage( FirstPage.class );
      wicketTester.clickLink( "link" );

      The problem is that wicketTester doesn't pass PageParameters to SecondPage
      (because parameters aren't passed to MockHttpServletRequest).

        Attachments

          Activity

            People

            • Assignee:
              frankbille Frank Bille Jensen
              Reporter:
              syl Dmitry Kandalov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: