on 06-11-2009 2:21 PM
I'm new to web dynpro so I don't know if this is even possible.
Here is what I'm doing.
Based on the user's ip address, I'm displaying certain information. If their IP address isn't matching then I want them to manually enter a number though an input page. Is there a way to forward the user to the input page? What is the syntax for it?
Hi,
Create two WebDynpor views as below:
View1 - To display the IP Address information. (This is the default view)
View2 - To ask the user to enter the IP address in not match case
Now embed these two Views in a Window.
Go to Window's navigation modeler and create Outbound plug say "ToView2" to View1 and Inbound plug say "FromView1" to View2.
Now connect these two plugs.
In the wdDoInit() method of View1, write the code to display the IP address details.
If the details are not found then forward the user to View2 by firing the outbound plug of View1 as below.
wdThis.wdFirePlugToView2();
So automatically View2 will be displayed.
Create one application to this Window's InterfaceView.
Regards,
Charan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.