You need to sign in to do that
Don't have an account?
Trying to read the inputtext values in datatable of multiple rows
Hi,
I have created a VF page where I am retreiving all the product records and displaying them, name as outputtext and one customfield on it as inputtext. As there are multiplr rows, I am not be to set or read these values and assign to the object.
please help me how it can be achieved.
sample code:
<apex:pageblock title="Products page under development ">
<apex:dataTable value="{!Products}" var="prodIds" >
<apex:column >
<apex:inputCheckbox id="pSelect" value="{!prodIds.SelectCK__c}"/></apex:column>
<apex:column ><apex:OutputText value="{!prodIds.Name}" /></apex:column>
<apex:column ><apex:InputText id="pQuant" value="{!prodIds.Quantity__c}"/></apex:column>
</apex:dataTable>
how to set the values of inputtext to the obj in the controller.
Thanks,
vishala.
Please post your entire code for page and controller.