on 08-22-2007 5:49 AM
Hi experts,
I have many views in my wd component. I want to check the mandatory fields in a specific view , which is a part of tabstrip.
I wrote code for the validation in the onactiontab,but the thing is it is getting displayed in the next tab.
My requirement is to display that msg in the same tab itself.
I thought that it can be done in the component controller method beforenavigation.
but the thing is how can i make the method to process only when that view is triggered.
Regards...
Arun.
Hi Arun,
When you call REPORT_ERROR_MESSAGE of IF_WD_MESSAGE_MANAGER make sure you pass cancel_navigation = 'X'.
I have not tried this but hope his works.
Regards,
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can always check if MessageManager consists error or not
You can create an attribute and maintain the current visible tab and
in WDDOMODIFYVIEW method just check if message manager consists error then make the current tab to your stored attribute value.
Regards
Abhimanyu L
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.