on 02-12-2010 4:24 PM
hi experts,
In a standard component, i need to change the toolbar button visibility property at runtime,
i have written code in post-exit of doint method,but changes are not repflecting in the portal sceen. in the button properties visibility is selected directly.
i have created attribute in the context and changed the value to abap_false.but how to bind this attribute to the button visibility propert. when i directly tried to bind, as this is standard, it is not allowing me to change. when i use replace property attribute..it is showing error that method is protected, so it cannot be used. please advice.
regards,
suneetha
Hi
In post exit of doinit method you can change the binding of visible property by using attribute you have created
Method is BIND_VISIBLE.
Alternatively instead of post exit of init try your code of setting visible property to false in post exit of domodifyview.
Hope this helps
Regards
Manas Dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.