Hi Per,

Wicket does not have this feature.

BTW, you do not need a response page instance, just the class is sufficient:
   setResponsePage(Page1.class);

Optionally you can call this as well (since you are talking about redirects):
   setRedirect(true);  // or false

Regards,
   Erik.


Newgro wrote:
Hi *,

i would like to redirect to a page mounted in application by calling it from
another page.

Application.init
mountBookmarkablePage(PAGE1_ID, Page1.class);

AnyPage.myMethod
redirectTo(PAGE1_ID)

How could a redirectTo(String mountPoint) method look? The "normal"
redirection by requestcycle is not working because i firstly need a
responsepage. But how should i get it by a MountPointId? A global registry
is not nice in my eyes.

Would be nice if someone can help me out here.

thanks
Per

--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to