You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Nazaret Kazarian <na...@gmail.com> on 2011/07/05 17:06:40 UTC

Behaviors implementing IFormSubmittingComponent?

Hi!

I have using the nested forms feature and the
getRootForm().findSubmittingButton() call in order to determine which
form should be processed.
(https://cwiki.apache.org/WICKET/conditional-validation.html)

I am wondering what about forms that are submitted through behaviors?
e.g. AjaxFormSubmitBehavior. Could these implement
IFormSubmittingComponent too in order to be able to process a nested
form submitted though such a behavior?

If a behavior implemented this interface, how could we find the
behavior in the component tree? Will MarkupContainer.visitChildren( )
visit behaviors too?

Thanks very much!

Nazaret

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org