You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stephan Windmüller <st...@tu-dortmund.de> on 2010/09/13 13:51:58 UTC

Validation of a component inside a Form

Hi!

Is it possible to send validation errors to the outer form in which a
component is used?

For example, I have this code

<t:form t:id="myForm">
	[...]
	<t:myComponent data="objects"/>
	[...]
	<t:submit/>
</t:form>

The component itself also contains submit buttons. If I press one of
these but there is a validation error which I check in the Java code of
the component, how do I send this error to the surrounding form?

TIA
 Stephan

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