on 02-06-2008 4:17 PM
Hello,
I have an application with a component that contains two views. When I call my application in the portal, I want to choose the view that will be display when application start by checking the value of a parameter (an url parameter passed by the portal iview for instance).
Is anybody knows the solution ?
Thanks!
Julien.
Chintan,
First, thanks for your answer.
In fact, my question was not how to get the url parameter. I already did it by doing this :
WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("parameterName");
What I want is to choose the default view in a window of my application component. To explain my problem: when I launch the application, I see the default view, I just want to implement the choice of this default view by looking at a parameter.
For example, I have two views: A and B. If I call the application with the url parameter "v" set to "A", I want the view A to be display but if the url parameter have the value "B", I want to display the view "B".
Any idea ?
Julien.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Julien,
Use following method:-
WDWebContextAdapter.getWebContextAdapter().getRequestParameter("<your attribute name>")
.
Also take a look at [this|http://help.sap.com/saphelp_nw04/helpdata/en/38/37d93f130f9115e10000000a155106/frameset.htm]
Chintan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.