You need to sign in to do that
Don't have an account?
k11.39489904004601E12
Not getting values from inputFieild which are in pageBLockTabel
Hi, I am trying to put inputField in cells of pageBLockTable, I am using apex:repeat for dynamic columns and there I am putting the inputField which referes to a element of 2D array in the following way
<apex:pageBlockTable value="rows" var="rowIndex">
<apex:repeat value="{!columnIndexes}" var="columnIndex">
<apex:column style="width:70px">
<apex:inputField value="{! game[rowIndex][columnIndex].value__c}" style="width:70px"/>
</apex:column>
<apex:repeat>
</apex:pageBlockTable>
But on server side I am getting only value for the last item of game 2D array. Is there anything which I am missing. Or value does not bind wihth multidimensional array.
Any any pointers would be very very helpful.
<apex:pageBlockTable value="rows" var="rowIndex">
<apex:repeat value="{!columnIndexes}" var="columnIndex">
<apex:column style="width:70px">
<apex:inputField value="{! game[rowIndex][columnIndex].value__c}" style="width:70px"/>
</apex:column>
<apex:repeat>
</apex:pageBlockTable>
But on server side I am getting only value for the last item of game 2D array. Is there anything which I am missing. Or value does not bind wihth multidimensional array.
Any any pointers would be very very helpful.
Be default , it seems like considering last accessed 'list view' filter of the relevant object. Try changing that and check that!