on 08-07-2006 9:48 AM
Hi
Can anyone suggest on the methods used to validate an InputField present on a View.
Regards,
Murali.
Hi,
See <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/50b512e4174becbaf2b1c856eb1290/frameset.htm">this</a> documentation.
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. yes, i am aware that WD for Java takes care of Validataion automatically, mostly the Type check. But in case I want to make sure that the value Keyed in is between a Range, then Should I only check the value in my coding and raise a Message ?
I just want to know if There are any ready-to use features in WD for Java.
Murali.
Muralidaran,
If you are validating numeric input, then just create own SimpleType based on either integer/long/decimal in LocalDictionary and define MinInclusive/MaxInclusive or MinExclusive/MaxExclusive boundaries. Then use your custom type as type of attribute in context node. All the rest is done by WD framework...
Valery Silaev
EPAM Systems
Muralidaran,
What's wrong with default validation? I.e. validation available via set of constraints for your own SimpleType in LocalDictionary?
If it's not sufficient you may try something like this: /people/valery.silaev/blog/2005/11/29/800format-your-way (here I were talking about formatting, but validation was used as well, implicitly
Valery Silaev
EPAM Systems
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 | |
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.