Thiago...,

thanks for answering,

that's what i was doing, I implemented an event handler like this:

public void onValidateFormFromExample() throws ValidationException {
>

I think I misread some information at this page:

http://tapestry.apache.org/input-validation.html

> Now, what if you want to perform your own custom validation? That's another
> event: "validate":
>
>   void onValidateFromCount(Integer value) throws ValidationException
>
> ...


> The method may not return a value, but may throw a ValidationException to
> indicate a problem with the value.
>


So I thought.., if I can't have a return value and the only way to inform
that form is invalid is through raising a ValidationException... then I
thought it was not possible to inform many errors in one response...
while it's constructor accepts only one String.

Where can I find what kind of return type a specific event handler can
return.., for example.. the VALIDATE_FORM event. handler?

cheers...,

Nicolás.-


On Tue, Jan 18, 2011 at 2:08 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> validateForm

Reply via email to