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
MTBRiderMTBRider 

Using Field Sets with Dynamic Visualforce

How does one intilialize field sets for dynamic Visualforce?  The value attribute of the repeat tag takes an Object list, so I cannot do this in Apex:

 

Component.Apex.Repeat someAcctFields = new Component.Apex.Repeat();
someAcctFields.value = "{!$ObjectType.Account.FieldSets.aBunchOfAcctFields}";
someAcctFields.var = 'f';

 

I cannot find any documentation on the syntax for this and obviously lack the smarts to figure it out on my own :)  !   Anyone know?  Thanks