cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro disable UI element during runtime

Former Member
0 Kudos

Hi,

I was wondering how to disable group of UI elements in a view at runtime. Specially during the start of the webdynpro application. I know, I need to iterate through the UI elements and manipulate their enable property. Please advise how this can be done dynamically.

Thanks !

Sri

View Entire Topic
Former Member
0 Kudos

You do not need to iterate.

Bind the "enabled" property of all these UI elements to the same boolean context attribute and set the value of this context attribute as needed. (In many cases this will be a calculated attribute.)

Note that disabling a general container (IWDUIElementContainer subclasses) does not disable its children (by design)

For certain UI elements, e.g. IWDToolBar, disabling the element also disables its contained elements.

Armin