i am using JSF 2 and Primefaces 5 and i am trying to show p:dialog when the object "client" is null (not instantiated) like below :
<p:commandLink update=":form:connecterPanel"
oncomplete="#{empty loginBean.client ? PF('connectDialog').show():''}" title="add to panel">
<h:outputText styleClass="ui-icon ui-icon-cart" style="margin:0 auto;" />
</p:commandLink>
But i am getting the error Function 'PF' not found