html also doesnt allow nested forms :)

on our abstraction level validating a compound form component makes perfect
sense. if it wants to be opaque why can it not?

why shouldnt you be able to do

add(new TimePicker(...).add(new DateBeforeValidator(...)))?

-igor

On 4/24/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:

> not only updatemodel, if you want to be able to validate then you have
to
> also call convert() manually from convertValue(), it gets ugly fast.
>
> if we change to postorder then things work properly, deepest-nested
> formcomponents get processed first, so if there is a formcomponentapnel
that
> encapsulates multiple form components, by the time it is processed so
are
> all its children.

Yep, I agree. But as HTML doesn't allow nested form elements,
validation and conversion is probably more of a theoretical issue.

Eelco

Reply via email to