+ Start a Discussion
ElcalvoMikeElcalvoMike 

Insert component by reference

I have a custom controller that returns the name of a component.

 

I want to then insert this component like so into an existing page.

<apex:insert name="{!templatename}" />

 

However insert will only accept a literal. Is there another way to do this?