Has anyone implemented commons validation support with a wizard form controller? If I set the page attribute of a field to 0, it correctly validates for page 0, but if I change the page attribute to any other number then no validation occurs for that field, regardless of which page I'm on.
Here is an example of validation.xml:
Validation works great for page 0, but no validation errors are thrown for page 1. Any ideas?Code:<form name="com.brianstclair.AddUserCommand"> <field property="firstName" depends="required" page="1"> <arg0 key="field.firstName"/> </field> <field property="emailAddress" depends="required,email" page="0"> <arg0 key="field.emailAddress"/> </field> </form>
Brian
</form>


Reply With Quote