Re: @Validate a user defined property

2009-08-12 Thread Michael Gentry
Thanks Geoff! On Tue, Aug 11, 2009 at 7:22 PM, Geoff Callender wrote: > There's a long-standing problem with recording errors in onSuccess(). I > think that's what Michael's referring to. > >        https://issues.apache.org/jira/browse/TAPESTRY-1972 > > So the example should be changed to this: >

Re: @Validate a user defined property

2009-08-11 Thread Geoff Callender
There's a long-standing problem with recording errors in onSuccess(). I think that's what Michael's referring to. https://issues.apache.org/jira/browse/TAPESTRY-1972 So the example should be changed to this: String onValidateForm() { if (!authenticator.isValid(userName, p

Re: @Validate a user defined property

2009-08-11 Thread Thiago H. de Paula Figueiredo
Em Tue, 11 Aug 2009 17:15:52 -0300, Michael Gentry escreveu: To open up an old can of worms, the documentation shows doing validation in onSuccess() ... http://tapestry.apache.org/tapestry5/guide/validation.html String onSuccess() { if (!authenticator.isValid(userName, pass

Re: @Validate a user defined property

2009-08-11 Thread Michael Gentry
To open up an old can of worms, the documentation shows doing validation in onSuccess() ... http://tapestry.apache.org/tapestry5/guide/validation.html On Mon, Feb 23, 2009 at 10:54 PM, Thiago H. de Paula Figueiredo wrote: > On Sun, Feb 22, 2009 at 6:48 PM, Luther Baker wrote: >> I can create a

Re: @Validate a user defined property

2009-02-23 Thread Thiago H. de Paula Figueiredo
On Sun, Feb 22, 2009 at 6:48 PM, Luther Baker wrote: > Now, I'd like to add @Validate("required") to this entity - only it isn't > having any effect. I guess it only works for types Tapestry know how to handle (DefaultDataTypeAnalyzer, DataTypeAnalyzer). Maybe this could be expanded to handle any