I try to update my schedule after bean validation complete and hide dialog but it is not working.Hide dialog it is ok but not update.
<p:commandButton id="addButton" value="Save"
actionListener="#{planningController.addEvent}"
oncomplete="if (!args.validationFailed){PF('eventDialog').hide(); PF('schedule').update();}"/>
</p:commandButton>