It seems that I've not expressed myself clearly.
I want redirect. I want to do thing like this does
(e.g. from link handler)
setRedirect(false);
getWebRequestCycle().getWebResponse().getHttpServletResponse().sendRedirect("appName?bookMarkablePage=MyPage");
but to be written more nicely
setResponsePage(MyPage.class);
setRedirect(true);
So after the redirect browser is moved to a bookmarkable page (so that
the url is bookmarkable).
As I said, I don't really need it, it's just that right now there's no
clean way in wicket to do this (that I know about :))
-Matej
Eelco Hillenius wrote:
Matej Knopp wrote:
I can think of one thing, that's kind of missing. Although I don't
really need it, maybe someone alse does.
It's redirect to bookmarkable page. I think it's not possible to
redirect to a bookmarkable page (or at least not trivial), or am I wrong?
Maybe this could be useful, what do you think?
(By redirect to a bookmarkable page I mean that after redirect there's
no redirect listener or path in url, just bookmarkablePage=pageClass)
You can do this manually by setRedirect(false). Either when you set the
response page, or in your bookmarkable page constuctor. I haven't tested
it, but I think this is how it works. And... if you /never/ want
redirects to happen, you could set the property render strategy
(ApplicationSettings.ONE_PASS_RENDER).
Eelco
-Matej
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop