Re: [T5] - another question about validators

2008-09-05 Thread Howard Lewis Ship
The API is a bit fixed right now. You need to condense things down to a single object, so if you wanted to combine Min and Max, you might need a Range object to represent the upper and lower bounds. You should provide Coercions to the TypeCoercer service to convert between String and Range. On t

Fwd: [T5] - another question about validators

2008-09-05 Thread Mohammad Shamsi
any idea ? Hi, is there any way to write a new validator that accept more than one parameter ? exampe range (from, to) i know that i can do it with using 2 validator instead of one (min and max). but i want to write new validator with 2 or more parameter . :( :) -- sincerely yours M. H. Sha

[T5] - another question about validators

2008-09-03 Thread Mohammad Shamsi
Hi, is there any way to write a new validator that accept more than one parameter ? exampe range (from, to) i know that i can do it with using 2 validator instead of one (min and max). but i want to write new validator with 2 or more parameter . :( :) -- sincerely yours M. H. Shamsi

Re: Question about validators

2006-12-11 Thread Andrea Chiumenti
Thank you! On 12/11/06, Sam Gendler <[EMAIL PROTECTED]> wrote: form.valid are the new validators that you want to use. The others are from the now deprecated api that was in use in version prior to tap 4, I believe. --sam On 12/11/06, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > Is there a

Re: Question about validators

2006-12-11 Thread Sam Gendler
form.valid are the new validators that you want to use. The others are from the now deprecated api that was in use in version prior to tap 4, I believe. --sam On 12/11/06, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Is there any reason, other then historical, why some validators are into org.

Question about validators

2006-12-11 Thread Andrea Chiumenti
Is there any reason, other then historical, why some validators are into org.apache.tapestry.validand others into org.apache.tapestry.valid