Is it possible to update a PrimeFaces component from javascript so that it would be force to refresh?
I am making an ajax save call using this button in a dialog. I
My advice:
with an actionListener attribute. This attribute invokes a backing bean method that contains FacesContext.addMessage code, this way: handleSaveNewMember script, invoke the remoteCommand name attribute after addMemberDlg.hide(); this way: . Then, function handleSaveNewMember(xhr, status, args) { addMemberDlg.hide(); testScript(); }update attribute to remoteCommand pointing growl component: commandButton is OK.This worked for me.
Greetings.