@Component
private Form _form;

This defines the type of the component with an id of "form" as being
an instance of the Form component. Further, you can access the form to
record errors into it.

On 2/28/07, Terry <[EMAIL PROTECTED]> wrote:

Following the beaneditform pattern, I have a page that submits a form with
field validation using the included annotations. Now I would like to perform
second stage validation on the data returned (checking for uniqueness
against a database, etc) and to use the same error reporting mechanism to
feed back field level errors to the user.

If my page is a POJO and my form data is a POJO that is wired up by magic,
how do I get access to the Form object from within the page to invoke
recordError?

Thanks,

Terry
--
View this message in context: 
http://www.nabble.com/T5-validation-tf3323698.html#a9240017
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to