on 12-21-2007 5:37 AM
Hi All,
I am facing v.strange behavior while validating the required parameter.
The parameter is checked in WDBEFOREACTION method.
When the input field is empty i am raising the report_attribute_error_message".
The message is getting displayed 3 times instead of once.
Kindly provide me some solution to correct the issue ASAP.
Regards,
Arti.
Hi Arti,
This is not a strange problem, Actually the standard behavior is like that. I mean this WDBEFOREACTION/MODIFYVIEW gets called for any change on the screen.
If you could understand this functionality, then may be you can keep some extra conditions to avoid repeatitive messages.
Hope this helps.
Regards
Raja Sekhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
I know it is easy to do validation at the button event.
I dont want to do it as we have implemented important logic in it. We dont want to disturb it.
Everything is working fine if we are implementing it in WDbeforeaction except displaying message .
As wdbeforeaction is getting excecuted twice.
I am looking for the solution that will help in displaying message once.
Regards,
Arti.
Hi,
I was wondering if this the only error message which is getting displayed during that validation. May be you can clear the existing messages using CLEAR_MESSAGES and then repopulate the message, which will avoid the repetitiveness of your messages. That again depends on the number of messages. May be this solution will help you for single message only.
Regards
Raja Sekhar
Hi arti,
check whether the error msg is inbetween any looping statement. I think it is in between loop stmt.
Put breakpt and check in which place these messages r populated.
Regards,
Arun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.