You need to sign in to do that
Don't have an account?
pass datatable index row as part of an $component id
Hi I build a custom picklist value into a component .
<apex:component controller="Rate_type_Select" allowDML="false"> <apex:attribute name="sched_id" description="Product Schedule id" type="double" required="true" assignto="{!sched_id}"/> <apex:selectList value="{!Rate_type}" size="1"> <apex:selectOptions value="{!Rate_types}"/> </apex:selectList> </apex:component>
I placed that component into a datatable
<apex:datatable id="uds" value="{!uds}" var="u"> <apex:column headerValue="Rate Type" id="rtColumn"> <br/> <c:Rate_Type_List sched_id="{!u.Schedule_Id__c}" boundDomId="{!$Component.uds.rtColumn.frt}"/> <apex:inputField id="frt" value="{!u.Fusion_rate_type__c}"/> </apex:column> </apex:datatable>
I want to pass my selected picklist value back into an Apex inputfield in the datatable.
is there anyway to do that ?