I am trying to prevent a page refresh when the user clicks on <h:commandLink> in my applicaton.  I tried this but it does not work:
Updated :
 <h:dataTable value="#{person.IssueList}" var="p" >
    <h:column style="width: 20px">
        <f:facet name="header">Issue</f:facet>
        <h:commandLink value="#{p.IssueDesc}"/>
    </h:column>
    <h:column style="width: 20px">
         <f:facet name="header">Reporting Date</f:facet>
         <p:calendar  value="#{p.issuerepDt}" rendered="#{p.editable}"                 id="CalendarId"/>                
         <h:outputText value="#{p.issuerepDt}" rendered="#{not p.editable}" />
    </h:column>
    <h:column>
            <f:facet name="header">Action</f:facet>
        <h:commandLink  value="Edit" action="#{person.editAction(p)}">
            <f:ajax execute="@form" render="@none" />          
        </h:commandLink>    
            </h:column>
    </h:dataTable>
java snippet :
public void  editAction(PersonIssues pIssues) {
    pIssues.setEditable(true);
}
I am using concept of editing jsf datatable from MKyong.I
 
     
    