on 08-18-2010 4:55 PM
Hello,
I amt trying to check the action on UI which triggered the WDDOMODIFYVIEW method. I tied the following methods but they are not available for use in WDDOMODIFYVIEW method.
IF_WD_CONTROLLER~GET_ACTION
IF_WD_VIEW_CONTROLLER~GET_CURRENT_ACTION
For the time being i am setting a flag when action is triggered and check value of flag in wddomodifyview() { by binding the flag to a context attribute }.
Please let me know if there is a better way to do this.
Thanks,
Vivek
Thanks for your suggestion Chris. I guess i will go with it if i don't get any other suggestions for checking the current action.
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rather than using a context attribute for passing your flag, you could just set an attribute in the view.
Given that this flag will never be displayed, or be used to control UI elements, it might be slightly easier to access it just using
wd_this->m_action_flag
Other than that, not sure what to suggest!
Cheers,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.