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
j-dj-d 

Calling messaging:attachment within repeat tag

I am trying to build a visual force email template that dynamically builds attachments. The template calls a component that in turn builds an attachment from a visual force page. The approach used is exactly as described here:
http://salesforce.stackexchange.com/questions/8847/passing-standard-controller-sobject-to-a-component-problem-with-custom-fields.

Ideally, I'd like to nest the messaging:attachment tag within a repeat tag. As soon as I add repeat anywhere in the component, the visualforce template itself returns not nothing. If I remove the repeat tag, it returns to normal.

Any advice or insight would be really appreciated.
 
ShashankShashank (Salesforce Developers) 
Would you be able to provide your code so that I can have a look?