2 respuestas
Hi Sandeep,Everything in your code seems fine except where you are passing the id of contact to be deleted in apex:param.Inspite of value="{!cy.id}", it should be value="{!cy.cn.id}". <apex:commandLink value="Delete" action="{!doDelete}" style="color:Red" reRender="lab">
<apex:param name="did" value="{!cy.cn.id}" assignTo="{!did}"/>
</apex:commandLink>