String url = "" RequestCycle.get().urlFor(myPageInstance, IRedirectListener.INTERFACE );
target.addJavascript( "window.location = '" +url+ "'" );
But always get an "Page Expired" error page.
Is it possible to redirect to a page instance?
Thanks, Paolo
On 7/21/06,
Johan Compagner <[EMAIL PROTECTED]> wrote:
maybe we should add urlFor(Page) to request cycle
whats wrong with:
RequestCycle.get().urlFor(page,IRedirectListener.INTERFACE)
??
johan
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user