Christophe, I'm trying to render a multiline textarea for input if the minlenght or maxlenght specified in an @validate annotation is over n, otherwise a text field, to save having to use t:parameter in my templates, where the size of a field is a good indicator of what control would be most useful.
-----Original Message----- From: Christophe Cordenier [mailto:christophe.corden...@gmail.com] Sent: 22 June 2010 07:29 To: Tapestry users Subject: Re: Access validation constraints within custom component Hi 2010/6/21 Jim O'Callaghan <j...@peritussolutions.com> > Is there a way to access validation constraints within custom components? > Ex. min length / max length specified using the @Validate annotation on > fields? I'm trying to render different output depending on some > constraints. Thanks. > Can you give more details about 'render different output' ? Different components, different messages, different client validation behavior... > > > > Regards, > > Jim. > > -- Regards, Christophe Cordenier. Developer of wooki @wookicentral.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org