I am using Field Set in Visualforce pages to render user-defined fields.
<apex:pageBlockSection title="HARDCODED TITLE">
<apex:repeat value="{!$ObjectType.Account.fieldsets.SystemFields}"
....
</apex:repeat>
</apex:pageBlockSection>
Instead of giving the enclosing section a hard-coded title I would like to dynamically reference / display the Field Sets Label like this:
<apex:pageBlockSection title="{!$ObjectType.Account.fieldsets.SystemFields.Label}">
<apex:repeat value="{!$ObjectType.Account.fieldsets.SystemFields}"
....
</apex:repeat>
</apex:pageBlockSection>
This is not possible as the variable exposes a FieldSetMember Array. Is there any workaround (without additional Controller code) or an Idea to vote for?