You need to sign in to do that
Don't have an account?

Pass apex:repeat value to controller
Hi,
i want to pass apex:repeat value to the controller..is there anyway?
<apex:repeat value="{!projectRolls}" var="r">
<li class="{!r}"> {!r.Name__c}
</li>
</apex:repeat>
here, i want to pass {!r.Name__C} to controller.. how to do that?
i want to pass apex:repeat value to the controller..is there anyway?
<apex:repeat value="{!projectRolls}" var="r">
<li class="{!r}"> {!r.Name__c}
</li>
</apex:repeat>
here, i want to pass {!r.Name__C} to controller.. how to do that?
Check the below link.
http://sfdcsrini.blogspot.com/2014/06/how-to-use-apexrepeat-in-visualforce.html
You might have defined projectRolls as property in the controller{get;set;}.The value can be accessed using this property.