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

WicketTester doesn't pass PageParameters to bookmarkable pages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0 branch (discontinued), 1.2.2, 1.2.3
    • wicket
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: