Hello,

I noticed that a t:delegate is used in order to render the individual
checkboxes of the t:checklist component.

See below:
<t:container xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd";>
    <div t:type="loop" source="availableOptions" value="var:currentOption"
class="t-checklist-row">
          * <t:delegate to="var:currentOption"/>*
    </div>
</t:container>

Can anyone please briefly explain the logic behind this? How can a simple
t:delegate tag render a full-fledged checkbox?

Regards,

Julien.

Reply via email to