primefaces - add listener to page refresh event -


i have action needs happen after page refreshed

(not pressing f5 time page has been refreshed).

how add such event listener?

i use this:

<h:form>    <p:remotecommand name="update_page" process="@this" update="form" actionlistener="#{myview.myaction}" /> . . . . </h:form> <script>   $(document).ready(function() {     update_page();   }  </script> 

load or refresh of page run remotecommand.


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -