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
Fan YangFan Yang 

Can apex:component embedded into apex:repeat?

I can do:

 

<apex:repeat value="{!myListData}" var="p">

  {!p.Name} = {!p.Value}

</apex:repeat>

 

 

however the following failed:

 

<apex:repeat value="{!myListData}" var="p">

  <c:MyComponent v1="{!p.Name}" v2="{!p.Value}" />

</apex:repeat>

 

What did I miss?

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
Fan YangFan Yang
With the help from SF, the answer is yes. My problem was that I didn't set proper permission to fields in my custom object.

All Answers

Fan YangFan Yang
With the help from SF, the answer is yes. My problem was that I didn't set proper permission to fields in my custom object.
This was selected as the best answer