on 12-03-2010 10:02 AM
Hi
I have a requirement in which once you click on a button at able should come(assume table has 5 columns).
Thanks
Saurabh
Hi Saurabh,
Create an attribute say ca_xyz with type : com.sap.ide.webdynpro.uielementdefinitions.Visibility and bind it to table visibility. then go to the view wdDoInit() method or other custom methods in controller. place the code like to invisible table by default :
wdContext.currentContextElement().setCa_xyz(WDVisibility.NONE);
Then place the code onAction method of the button like to visible table
wdContext.currentContextElement().setCa_xyz(WDVisibility.VISIBLE);
Hope it will helps
Regards
Arun Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arun,
The thing you told with that i got the solution . My requirement is that i am having option of checkboxes and depending upon the checkbox user selects and then click on button , then table should come according to the option user has selected in checkbox. So how the button should communicate that which checkbox has been selected and based on that checkbox that type of table should come. For checkboxes i hve taken checkboxgroup .
Thanks
Saurabh
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Saurabh,
I hope this is your requirement. button, on click of that button, a table should be displayed with some data, right? bind WDVisiblity attribute to the table and by default make it invisible, on click of that button if the node binded to that table has value then make the visibility attribute to visible, so that the table will be displayed if only the values available in it and also after the button click.
Regards
Nizamudeen SM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.