How can I pass the var
attribute from my <apex:repeat>
tag to a controller variable? Here var
contains API name of object field. From that I need to get label for that particular field to display it in table column. I am using facet to display column label.
<apex:repeat value="{!SelectedFields}" var="FieldLable" id="xyz">
<apex:column id="clm" >
<apex:outputfield value="{!ab.con[FieldLable]}" />
<apex:facet name="header">{!Lable}</apex:facet>
</apex:column>
</apex:repeat>