Redirect Page [message #1743667] |
Sun, 18 September 2016 16:24 |
|
Hi all,
In our standalone RAP application, when user opens it we show our login page, upon successful login we want to direct him to our main application within the same session without opening new browser tab/window, how to do this redirection/forwarding using RAP API ?
Any help would be greatly appreciated.
Thanks & Regards,
Stya
|
|
|
|
Re: Redirect Page [message #1743716 is a reply to message #1743703] |
Mon, 19 September 2016 08:16 |
|
Hi Ivan,
Thank you for your suggestion.
I'm also able to achieve the same using:
final JavaScriptExecutor executor = RWT.getClient().getService(JavaScriptExecutor.class);
executor.execute("parent.window.location.href=\"" + redirectPath + "\";");
Which 1 is better ?
Regards,
Setya
|
|
|
|
Powered by
FUDForum. Page generated in 0.03381 seconds