Re: @Delegator is not showing validation errors

2007-05-03 Thread Ulrich Stärk
Thanks for your help Jesse, I know now why you should always obey to these: http://www.debuggingrules.com/debuggingrules.jpg - especially rule #3 :) I specified the ValidationDelegate in the Form component using a 'delegator' attribute where it should read 'delegate'. 2 characters, big impact.

Re: @Delegator is not showing validation errors

2007-05-03 Thread Ulrich Stärk
According to the API doc ValidationDelegate.getFirstError() does exactly that - returning an IRender instance used to render the first error - http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/valid/ValidationDelegate.html#getFirstError() I think the problem lies somewhere else n

Re: @Delegator is not showing validation errors

2007-05-03 Thread Jesse Kuhnert
This is a lazy answer, but I don't think the default ValidationDelegate provided by tapestry actually renders the error message - it just marks things as being in error. (perhaps the default should be the other way around ? ) You can see an example of how to extend the validationdelegate to do wh

@Delegator is not showing validation errors

2007-05-03 Thread Ulrich Stärk
Hi list, I've constructed a small test case using Tapestry 4.1.1. I'm trying to validate a text input field using the 'required' validator. The FieldLabel for this TextField is indicating an error, but the Delegator doesn't display it. This is my template: delegate="ognl:beans.delegate.first