Hello All,
As the subject says I am having some trouble
trying to validate a LazyValidatorForm. Using the great examples
on the LazyValidatorForm page I created a custom class with
the required: setPathValidation(true) in the
constructor.

The Action path calling the form is "/AddBoxAction"
and validation= "true"


the following is from validation.xml:

 <form name="/AddBoxAction">
  <field property="howManyNewBoxes"
   depends="required">
           <msg key="errors.required" name="required"/>
            </field>
        </form>


The above is just the latest iteration, nothing I try seems to have any effect at all on what I type in this text field.


from the log I get:

RequestProcessor: Processing a 'POST' for path '/AddBoxAction'
RequestUtils: Looking for ActionForm bean instance in scope 'session' under attribute key 'eddForm'
RequestUtils: Can recycle existing ActionForm instance of type 'xxx.webapp.forms.NestedLazyForm'?: true
RequestUtils: --> [EMAIL PROTECTED]
RequestProcessor: Storing ActionForm bean instance in scope 'session' under attribute key 'eddForm'
RequestProcessor: Populating bean properties from this request
RequestProcessor: Validating input form properties
BeanValidatorForm: Validating ActionForm 'eddForm' using key 'AddBoxAction' for mapping '/AddBoxAction'
RequestProcessor: No errors detected, accepting input


This is right after I submitted a form with an empty textbox with the
property of "howManyNewBoxes"

Is everyone else able to validate ok?

Thanks in advance,
Vincent


-- Plato is my friend, Aristotle is my friend, but my greatest friend is truth. - Isaac Newton

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to