This would work for custom validators. What I want to know is how can
I bind values to the standard validators such as specifying the
maximum length of a string or the max value of an integer using
existing validators but just get the actual numeric constraint from a
property rather than hard-codi
Actually it is validators=validators:$maxBean
Then in your bean's validate(...), you can access any page property that
way:
YourPage page = (YourPage) field.getPage();
YourPropertyType value = page.getYourProperty();
2006/11/17, Jesse Kuhnert <[EMAIL PROTECTED]>:
Define the max validator clas
Define the max validator class as a bean and reference it instead of max=
(ie validators="validators:maxBean" i think, maybe it's more complicated
than that)
On 11/16/06, Daniel Tabuenca <[EMAIL PROTECTED]> wrote:
This may be a very easy question, but I've looked around and can't
find the ri