2011/4/8 Haim Schindler <[email protected]> > Hi, > > Rendering a form in velocity as: > > *$form* > > will show validation error messages when forms is not valid. > > However, rendering the form as a "template layout form" like: > > *${form.startTag()} > <ol><li> > <label for="firstname">Firstname:</label> > > > ${form.fields.firstname} > </li></ol> > ${form.fields.submit} > ${form.endTag()}* > > will NOT show any validation error messages > > How should I use "template layout form" to show validation error messages ? > > > > Yes, as Bob said: in manual layout you need to render the errors:
http://click.apache.org/docs/click-api/org/apache/click/control/Form.html#manual-layout
