Also could you please try without <Test1>  just

add(new BookmarkablePageLink("testlink1", Test1.class, pp));

Which wicket version ?

Altug

2010/10/4 virtualizer <jan.bic...@ppimedia.de>

>
> Hello,
>
> in my tomcat I have a context (home.xml) with the path "home". So I open my
> wicket-stuff with localhost:8080/home. Fine!
>
> Now I have two pages Test1 and Test2. For both I´ve called
> mountBookmarkablePage...
>
> mountBookmarkablePage("/test1", Test1.class)
> mountBookmarkablePage("/test2", Test2.class)
>
> And I have two BookmarkablePageLink (one for each page) with PageParameters
> on every Page...
>
> add(new BookmarkablePageLink<Test1>("testlink1", Test1.class, pp));
> add(new BookmarkablePageLink<Test2>("testlink2", Test1.class, pp));
>
> ...where pp is test=hello.
>
> If I´ve loaded the page with url http://localhost:8080/home/test1 the
> links
> are still ok. Bt if I click on a link and call a page with the
> pageparameters the links are suddenly without the "home"-part:
> http://localhost:8080/test1/test/hello and
> http://localhost:8080/test2/test/hello.
>
> So, if I use no pageparameters everthing is ok. But if I use pageparameters
> (and I really want to do this!) the the home-url is wrong.
>
> What couold I´ve done wrong?
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/mountBookmarkablePage-and-BookmarkablePageLink-with-PageParameters-tp2954926p2954926.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to