Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Willie Howell   on Aug 28 In Java Category.

  
Question Answered By: Sheryl Morgan   on Aug 28

I think DynaValidatorForm correspond to DynaActionForm, but my
formbean is a kind of ActionForm, so I have used validatorForm. when
my validation  instructions are simple , for
example "required", "minlenghth" and "maxlength", "integer" and so
on, validation works fine. But when I want to define some validation
rules that they are complex a bit (for example comparing two fields
with each other by using "validWhen") it doesnt work  fine and it
ignores this complex rules  (I should emphesize it only ignores this
kind of validation rules, simple validation rules work fine yet).
The type of form  bean is validatorForm and in strutsconfig.xml I set
validation="true" and I set the plugin for validation-rules in
strutsconfig, but the problem  exists yet.

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on problem with validwhen in validation.xml Or get search suggestion and latest updates.


Tagged: