on 12-28-2008 12:30 PM
hi @,
In my application I have a radiobuttonbyKey UI element and based upon the key I have to hide and/or show a particular UI combination placed in the group UI element basically dynamicallly modifying the view.
I have 2 option one on radio button action I will change the visibilkity property of the group or in the wdModifyView method of the View.
I want to know which is the best way in such situation as per MVC concepts to dynamically modify view in UI action or in wdModifyView method.
Regards,
Amit
I would just bind the "visible"-property of the Group to a context attribute (DDIC type "Visibility") and set the value of that attribute from the onSelect-handler of the drop-down list. No need for code in wdDoModifyView().
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah....as per SAP guidelines you should use wddomodifyview() method only when required...the right approach is what Armin described..
Regards,
Shikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.