Re: Validators of field

2012-04-30 Thread Thiago H. de Paula Figueiredo
On Sun, 29 Apr 2012 17:52:48 -0300, Dimitris Zenios wrote: Nobody else want to do such kind of things?I dont think what i am trying to achieve is something special.There must be a way I don't think there's a direct way of doing what you want, as each validator has a hook for adding attrib

Re: Validators of field

2012-04-30 Thread Lance Java
All fields in tapestry have a FieldValidator property @Parameter(defaultPrefix = BindingConstants.VALIDATE) private FieldValidator validate; This will either be an instance of FieldValidatorImpl for a single validator or CompositeFieldValidator if there is more than one validator on a fie

Re: Validators of field

2012-04-29 Thread Dimitris Zenios
Nobody else want to do such kind of things?I dont think what i am trying to achieve is something special.There must be a way On Sat, Apr 28, 2012 at 12:59 AM, Dimitris Zenios wrote: > Anyone? > > On Fri, Apr 27, 2012 at 9:04 PM, Dimitris Zenios > wrote: >> Ok let me explain the problem. >> >> I

Re: Validators of field

2012-04-27 Thread Dimitris Zenios
Anyone? On Fri, Apr 27, 2012 at 9:04 PM, Dimitris Zenios wrote: > Ok let me explain the problem. > > I am following > http://tawus.wordpress.com/2011/08/01/tapestry-mixins-classtransformations/ > page in order to add an asterisk(*) in all labels that have a filed of > required.The main problem t

Re: Validators of field

2012-04-27 Thread Dimitris Zenios
Ok let me explain the problem. I am following http://tawus.wordpress.com/2011/08/01/tapestry-mixins-classtransformations/ page in order to add an asterisk(*) in all labels that have a filed of required.The main problem though is that even though the field has the isRequired method to tell me if i

Re: Validators of field

2012-04-27 Thread Thiago H. de Paula Figueiredo
On Fri, 27 Apr 2012 12:09:56 -0300, Dimitris Zenios wrote: How can i find what validators are attached on a field? Unless you've set the validators yourself (validate parameter of many form field components), the ones that are attached automatically can be checked by putting a breakpoin