function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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?