I have problem with remoteCommand. This component never invoke oncomplete and working only one time. Where I made mistake?
<p:remoteCommand name="showClientEditPopup" action="#{clientController.setCurrentClient}" oncomplete="alert('OnComplete');">
</p:remoteCommand>