cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding View Container UI element

Former Member
0 Kudos

Hi All,

I am trying to hide view container UI element based on certain conditions. I have created an atrribute of type WDUI_VISIBILITY and i have mapped it to the view container visible property. And I have used set_attribute method to set the value. But, it it not working. And moreover it is not even giving an error.

Kindly help me with this.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member40425
Contributor
0 Kudos

Hi,

to make it visible set attribute attribute as '02'

and to make invisible set it as '01'

I hope it helps.

Regards,

Rohit

arjun_thakur
Active Contributor
0 Kudos

Hi Ravi,

Make sure that you are passing correct value while setting that attribute. ie.

- if_wdl_core=>visibility_visible (to make it visible)

- if_wdl_core=>visibility_none (to make it invisible).

It should be like:


wd_context->set_attribute( name = '<attribute name>' value = if_wdl_core=>visibility_visible )." to make it visible.

wd_context->set_attribute( name = '<attribute name>' value = if_wdl_core=>visibility_none ). "to make it invisible.

Also put a break point in your code and see if that code is getting executed.

Regards

Arjun

Edited by: Arjun Thakur on Apr 20, 2009 3:09 PM