Hi To display error messages put <t:errors/> anywhere inside your form
regards Taha On Tue, May 17, 2011 at 10:56 AM, Paul Stanton <p...@mapshed.com.au> wrote: > Hi List, > > In the following example, where does the recordError message go and how do > I get the partial render to display the validation messages/recorded errors? > > tml excerpt: > > <t:zone t:id="myZone"> > <t:form t:id="myForm" t:zone="myZone"> > <t:submit value="submit" /> > </t:form> > </t:zone> > > java excerpt: > > @InjectComponent > private Zone myZone; > > @InjectComponent > private Form myForm; > > MultiZoneUpdate onSuccessFromMyForm() > { > myForm.recordError("you are doing it wrong"); > return new MultiZoneUpdate("myZone", myZone); > } > > Regards, p. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >