I have built a few test websites that utilize Struts 1.1b and the Validator Framework and I am finding that I have to work around some key issues. First off, I noticed that required and type validations work according to the examples but in many cases I have dependent validations. To solve this issue in the past I have simply built my own DynaValidatorForm subclass and optionally utilize the super class validation based on the current state of the form bean. (i.e. Search/Cancel should not require a valid form bean or validation of required typed fields based on the selection/values of others). With the automatic JavaScript validation, the form validation can be controlled by the bCancel JS variable but I don't see an option to control the server side DynaValidatorForm validation. Next, I find that typed validation in both JS and Server Side actually require a value. (i.e. Date field cannot be blank even if not required.) I really like the foundation of the Validator framework but I don't see some basic features that I constantly require.
Thanks. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>