Re: How to specify a var to validators

2005-08-16 Thread Kevin Menard
On Aug 16, 2005, at 6:04 PM, Kevin Menard wrote: Hi Paul, How would you go about making form components dynamically requirable? The Required class does not allow its required property to be changed. I'd imagine there's some easy solution to this, but I'm scratching my head trying to fi

Re: How to specify a var to validators

2005-08-16 Thread Kevin Menard
Hi Paul, How would you go about making form components dynamically requirable? The Required class does not allow its required property to be changed. I'd imagine there's some easy solution to this, but I'm scratching my head trying to figure it out. Any help would be appreciated. Tha

Re: How to specify a var to validators

2005-08-12 Thread Paul Ferraro
The validators binding is meant for static initialization parameters only. If you want to use dynamic initialization parameters, use the bean approach that you used in Tapestry 3. e.g. Jone.hwk wrote: Hi, I'd like to change the "maxLength" at runtime for the validator

Re: How to specify a var to validators

2005-08-11 Thread Jone . hwk
I think the tapestry cannot recognize the var "page.config.maxLength". Jone.hwk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to specify a var to validators

2005-08-11 Thread Patrick Casey
Sure sounds like your property (maxLength) isn't an int. What's the property getter look like? --- Pat > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jone.hwk > Sent: Thursday, August 11, 2005 8:07 PM > To: tapestry-user@jakarta.apache.org > Subj