You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Conny Kühne <co...@gmail.com> on 2011/01/12 18:54:49 UTC

Auto-form Submit on Enter In Nested Forms

I have implemented a root form R and a nested form N which has R as a parent
form. I would like to stop N from being processed when R has been submitted.
I've tried to do so by implementing IFormVisitorParticipant.processChildren.
However, I have not been able to distinguish which of the two forms was
submitted in case of an auto form submit triggered by enter. 

Is there a way to tell whether R or N triggered a given submit in case of

a) both forms allow for auto submit on enter (default browser behavior)
b) both forms contain unregistered submit components, e.g., a submit button
which is not a wicket component?
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Auto-form-Submit-on-Enter-In-Nested-Forms-tp3214495p3214495.html
Sent from the Users forum mailing list archive at Nabble.com.

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