on 03-20-2006 12:49 PM
Friends,
I have a webdynpro application , i have created a iview (myIview)of this application in portal.
I have created 2 pages in portal.
1.Page-1 contains only 1 iview and that is myIview.
2.Page-2 contains 2 iviews and they are myIview and some other iview.
Now i want to enable a button in webdynpro application only in Page-2 and not in Page-1.
Does anybody know how i can do this ??
Hi Baskaran,
You can do this using URL parameter. You can set URL parameter by WD iView configuration. Read URL parameter and set visibility context attribute (with type WDVisibility) to appropriate value (NONE, VISIBLE) in wdInit method of your view and bind this attibute to visibility property of button.
Best regards, Maksim Rashchysnki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Baskaran,
http://help.sap.com/saphelp_nw04/helpdata/en/2c/00584289e59041e10000000a1550b0/content.htm
Step 5.d:
<i>
Application Parameters
If your Web Dynpro application has startup parameters, you can define specific values for this iView.
Application has two parameters: par1 and par2
The parameters are specified as follows:
parameter1=value1¶meter2=value2
</i>
So, in your case it would be showButton=true or showButton=false
Best regards, Maksim Rashchynski.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.