Visible Property of lable in Webdynpro
I have a lable and a inputfield which are hide. I want that when a select something in my dropdownbykey, this two objects get visible.
How can i do that?
Try creating a visibility simple data type with Boolean data type. Now assign this variable to the input field for visibility property. Then set the visibility manually using the following code.
wdContext.currentContextElement.setVisibility(Visible.<boolean data type>);
this code has to be written within the onAction event of dropdownbykey.
Hope it helps.