+ Start a Discussion
Raghu NaniRaghu Nani 

how to insert the data using repeat

           <apex:repeat value="{!FormList}" var="f">
                        <apex:variable var="count" value="{!0}" />
                             <apex:repeat value="{!f.categories}" var="c">
                                 <apex:repeat value="{!c.tasks__r}" var="t" >
                                     <tr>
                                              <td>{!t.Task_Name__c}</td>
                                              <td><apex:inputField value="{!f.siteSelectionChilds[count].LQ_Owner_Responsible__c}"  /></td>
                                              <td><apex:inputField value="{!f.siteSelectionChilds[count].LQ_Date_Completed__c}"  /></td>
                                              <td><apex:inputField value="{!f.siteSelectionChilds[count].LQ_Comments__c}"/></td>
                                    <apex:variable var="count" value="{!count+1}" />
                                    </tr>
                                 </apex:repeat>
                             </apex:repeat>
                    </apex:repeat>
                              

hi above is my code in loop i am trying to insert the siteSelectionChilds data but i am unable to get the entered values to my apex class pls suggest any one
Rashi Garg 30Rashi Garg 30
Hi Raghu.

You must be calling controller method using actionFunction or CommandButton. Try adding rerender attribute in it. Withour rerender, value on the pages don't get bind with the controller.

Please let me know if it helps.

Thanks,
Rashi