on 08-03-2007 1:46 PM
Hi
I have a drop down on my screen which has an asscociated event for "OnSelect" and have some screen level checks in view method "WDDOBEFOREACTION".
When I choose any item from dropdown, the method "WDDOBEFOREACTION" triggers and throw error messages coded in it.
I want to execute the code written in associated event with dropdown, without executing the "WDDOBEFOREACTION" method. I made the event "validation independent" but it didnt helped me.
Kindly update me on the same ASAP
Regards
Vishal kapoor
Hi Vishal,
In your WDDOBEFOREACTION u can get the current action name through IF_WD_VIEW_CONTROLLER~GET_CURRENT_ACTION .And for your action you can skip the code written in the WDDOBEFOREACTION .
Thanks
Anzy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal,
Set the action type of the event handler method assigned against 'Onselect' as '1- Validation-Independent'. This will not trigger 'WDDOBEFOREACTION' when that action is performed.
When an action is created by default the action type is set to 'Standard'. For such actions, the 'WDDOBEFOREACTION' hook method is triggered by default to perform some validations. To skip these, set the action type to 'Validation-Independent'.
Please reward points if the answer is helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
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.