on 09-05-2008 10:03 AM
hi,
how to set a property of a label to visible in web dynpro java code?
Hi,
Create an attribute"Visibility" of type com.sap.ide.webdynpro.uielementdefinitions.Visibility
And bind this to the visibible property of the label.
Set any of the following values based on your requirement
//To make the label visible
wdContext.currentContextElement().setVisibility(WDVisibility.VISIBLE);
//Hide
wdContext.currentContextElement().setVisibility(WDVisibility.NONE);
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
label.setVisible(WDVisibility.VISIBLE);
should do the trick.
Cheers,
Lukas.
Edited by: Lukas Zielinski on Sep 5, 2008 11:11 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.