[Rife-users] Conditional constraints

2006-01-30 Thread Eddy Young
Hi, I want to add some constraints to a bean based on the presence of a given value (e.g. password change in an update profile page where the constraints are applicable only if there is a value in the first password field). I've already tried putting a condition in activateValidation(),

Re: [Rife-users] Conditional constraints

2006-01-30 Thread Geert Bevin
Hi Eddy, you can freely declare your constraints at any time, of course you have to do so at the proper time for your use-case. It might be that activateValidation is called before you set the properties and thus the wrong condition is used. Btw, what do you mean with this did not work. What

Re: [Rife-users] Conditional constraints

2006-01-30 Thread Eddy Young
On 30 Jan 2006, at 22:28, Geert Bevin wrote: you can freely declare your constraints at any time, of course you have to do so at the proper time for your use-case. It might be that activateValidation is called before you set the properties and thus the wrong condition is used. Btw, what do