Hi,

I wanted to ask as a design question...

why do you think ValidationException only accepts a String as it's
constructor argument?

Right now I 'm working on a form's validation, validation of a field value
depends upon other field's value so I thought the only way
to do that would be on server side validation...

and I think it would be good to have a ValidationException constructor
accepting an array/list of Strings... because I 'd like to check all
possible errors
whenever the user submits the form. That way the user can see all errors at
one submit and correct them all..., as it is right now... the user would
discover new errors within the form
in every following submit he does trying to fix them one by one.

Is this approach I want to implement already possible with tapestry?... the
only way I can imagine to do it is by addind a String[] constructor to
ValidationException,

I listen to any invoices :)

cheers!

(by the way perhaps I found a documentation bug... in page xxx gives an
example on server side validation like this:

  void onValidateFromCount(Integer value) throws ValidationException

but..., that didn't work and diving into other documentation pages found
that the event is called validateform though calling the method
onValidateFormFromCount solved the problem [I 'm using tap 5.1])

Nicolás.-

Reply via email to