Re: T5 - BeanEditForm server side validation question

2007-12-09 Thread Chris Campbell
Very good. For completeness for anyone else reading this, I did the following: Added to the java class @Component private BeanEditForm _form; public BeanEditForm getForm() { return _form; } and changed template to ( notice the Thanks! Filip S. Adamsen wrote: > Hi Chris, > > Simply inj

Re: T5 - BeanEditForm server side validation question

2007-12-09 Thread Filip S. Adamsen
Hi Chris, Simply inject the BeanEditForm into your page class and use that to record the errors. You'll need to give the BeanEditForm an id in your template and then use the @Component annotation to inject it. Details are here: http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/