Also look at:

http://svn.apache.org/repos/asf/jakarta/tapestry/branches/4.0/framework/src/java/org/apache/tapestry/form/validator/ValidatorFactoryImpl.java

>From Mike Snare <[EMAIL PROTECTED]>:

> If the validation is specified in your xml, parse the data into data
> structures that make sense to you, then use them to create one or more
> of the validators in the org.apache.tapestry.valid package.
> 
> Will that work?
> 
> -Mike
> 
> On 3/30/06, Eric Schneider <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have a generic editor page that iterates over a dynamic list of
> > properties (driven by an xml file).  I'd like to make use of the built
> > in validator stuff, but I'm unclear about how to create a collection
> > of Validator objects from a string.
> >
> > I'm assuming there is some convenience in the framework already that
> > does this since this translation happens when you'd define validators
> > normally in the binding files...Like:
> >
> > <binding name="validators" value="validators:required,minLength=5" />
> >
> > Can someone point me in the right direction?
> >
> > Thanks,
> > Eric
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-- 



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

Reply via email to