In addition to Thiago's suggestion, I often set a default for the block:
@Parameter(value="block:defaultAdditionalStuff", defaultPrefix =
BindingConstants.LITERAL)
@Property
private Block additionalStuff;
<t:form>
...
<t:delegate to="additionalStuff"/>
...
</t:form>
<t:block t:id="defaultAdditionalStuff">
Only show this when an additionalStuff parameter has not been supplied
</t:block>
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-reuse-a-form-tp5718166p5718189.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]