+ Start a Discussion

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