In my application I have a scenario where the user will be redirected to external url for authorization & will be redirected back to the application (by call back url) with some query parameters. These query parameters will be processed & the user will be redirected to the next page within the application.
I have a RequestListener added to my application & a FragmentListener added to my root.
If I have my call back url as http:///context/confirm then from my RequestListener I’m not able to redirect to the next page. I tried the code as below but it doesn’t redirect.
root.open(new ExternalResource("http://localhost:8080/webapp"));
Also, if I have my call back url as http:///context#confirm then @ my RequestListener, the part #confirm? is missing and the FragmentListener doesn’t get invoked even if the RequestListener.handleRequest returns false.
Is there a way to solve this problem? I’m not able to figure out what I’m doing wrong here.
Thanks.