on 08-25-2010 4:43 AM
Hi experts,
I am new to java web dynpro.
I just need a simple program which can automatic exit and redirect to a new url.
I learn from
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/83/e7c24122e3c317e10000000a155106/frameset.htm
that I can use a button to call the Exit Plug to redirect to a new URL.
But I need the action/method should be call automatic once user lunch the application. just once the user call the web dynpro application, the application exit and redirect to a new URL.
I have tried to add the action/method into wdDoInit(), but it appear a error:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Instance of interface view controller GotoGFInterfaceView does not exist.
it seems I can't call the exit plug in init.
So, question is : How can I make the exit plug be called aotumatic??
thanks in advance
Ming
Thanks all, got it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To more clear.
I just need a web dynpro application that auotomatic redirect to a external url when calling. No other action needed to be done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
On the basis of some conditions only you want that exit plug to the second view to be called right? Otherwise why are you calling the first view? If this is the scenario, then after the condition in which you want that second view to be called write
wdThis.wdFirePlug<Plug to second view>.
RV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
What you can do in this case is use a timedtrigger UI and create an action for it which will fire the exit plug
set delay of the timedtrigger equal to 1 second.
So when you will run the application it will automatically open the Url specified in the Url parameter of exitplug
Thnaks
Sarbjeet Singh
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.