cancel
Showing results for 
Search instead for 
Did you mean: 

Validations in WD Java

Murali_Shanmu
Active Contributor
0 Kudos

Hi

Can anyone suggest on the methods used to validate an InputField present on a View.

Regards,

Murali.

View Entire Topic
Former Member
0 Kudos

Hi,

See <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/50b512e4174becbaf2b1c856eb1290/frameset.htm">this</a> documentation.

Regards,

Satyajit.

Murali_Shanmu
Active Contributor
0 Kudos

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.

Murali_Shanmu
Active Contributor
0 Kudos

Thanks Valery Silaev. Your Blog was informative.

Former Member
0 Kudos

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

http://www.NetWeaverTeam.com