on 08-12-2009 4:48 PM
Hello Colleagues,
I am writing a WD JAVA application in 700 (NW04s), and I have a checkBox element that I want to make visible according to a condition I have.
I`ve added an attribute to the context and is not sure which type I shuld set it to be.
Can you please help?
Thank you in advance,
Shani
it should be of type com.sap.ide.webdynpro.uielementdefinitions.Visibility, in properties window at type when you click the button it shows you dictionary simple types window, in that choose dictionaries->localdictionary->com.sap.ide.webdynpro.uielementdefinitions->visibilty.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the help!
I`ve looked for the com.sap.ide.webdynpro.uielementdefinitions.Visibility type, but did not look in the dictionary type...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shani;
Set your Context attributes of type u201Ccom.sap.ide.webdynpro.uielementdefinitions.Visibility": Then use the following statement to set the visibility of your checkbox
wdContext.currentContextElement().setVa_Vis1(WDVisibility.NONE);
I hope this helps qnd let me know if you have any issues
Regards
Gopal
Edited by: Gopal on Aug 12, 2009 6:07 PM
Edited by: Gopal on Aug 12, 2009 6:18 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.