on 05-24-2005 9:28 PM
I have a form with a date field (using a simple type). When I enter a text string into this field and try to save, I get an invalid context value error message for that field - as expected. However, when I try to cancel the form, it does nothing until I clear out the invalid value for that field. I mean the action handler for the buttons actually do not get fired. Any ideas on how to handle this?
-Dave
Is the action behind the "Cancel" button a "validating" action?
For the difference, see the article
<a href="
">https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/usage%20of%20validating%20and%20non-validating%20actions.pdf</a>
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Rohit is correct, Until u enter correct value into the field the action handler wil not be fired. And u can simply ignore that field without entering any values(if that field is not mandatory). But if u r entering some invalid data into that field which is already bound to some context attribute, Action handler will not be fired.
Regards,
Sirisha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
It is the way in which validation is being done in Webdynpro.If you have bound the field to the context attribute of date type,unless you give the right value the event handler will not work.
Hope this helps you
Regards
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
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.