Skip to content

Instantly share code, notes, and snippets.

@lfryc
Created May 2, 2012 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lfryc/2576862 to your computer and use it in GitHub Desktop.
Save lfryc/2576862 to your computer and use it in GitHub Desktop.
Proposal for cdk:fragment for recursive calls
<cdk:root>
<cc:interface />
<cc:implementation>
<cdk:render name="my" value="#{attr_value}" />
</cc:implementation>
<cdk:fragment name="my">
<cc:interface>
<cc:attribute name="value" type="java.lang.String" />
</cc:interface>
<cc:implementation>
<cdk:render name="my" value="#{cc.value.recursiveParameter}" />
</cc:implementation>
</cdk:fragment>
</cdk:root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment