Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Visible Property of lable in Webdynpro

Hi all,

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?

Regards,

Nirali

Former Member
Former Member replied

Hi Nirali,

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.

Regards

Uday

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question