on 04-20-2009 10:33 AM
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.
Hi,
to make it visible set attribute attribute as '02'
and to make invisible set it as '01'
I hope it helps.
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.