Hello EveryOne well this is an example of my lazy dataTable , so when i click the command link to view the item detail on another page the load method invoked , I want only to go to the detail page without invoking load method - because my data is not changed so there is no need to request database.
<h:form id="form">
<div class="card">
<p:dataTable id="table" var="car" value="#{carBean.lazyCars}" widgetvar="wVar" lazy="true"
selection="#{carBeans.selectedCar}" selectionMode="single" rowKey="#{car.id}">
<p:column headerText="Code">
<h:outputText value="#{product.code}" />
</p:column>
<p:column headerText="Name">
<h:outputText value="#{product.name}" />
</p:column>
<p:column headerText="action">
<p:commandLink ajax="false" target="_blank" action="carBeans.details()"
onclick="PF('wVar').unselectAllRows();PF('wVar').selectRow($(this).parents('tr:first'));">
<f:setPropertyActionListener value="#{car}"
target="#{carBeans.selectedCar}"/>
</p:commandLink>
</p:column>
</p:dataTable>
</div>
</h:form>