title: Primeface´s remoteCommand - there is a way to execute once?
body: <p>Primefaces 3.5 JSF 2.1</p>
  
  <p>I´m using p:remoteCommand to execute async commands and update my view after page loading but looks that in the ends of each iteration it execute again and so on...</p>
  
  <p>Is this behaviour correct?</p>
  
  <p>How to execute only once the p:remoteCommand? </p>
  
  <p><strong>update</strong></p>
  
  <p>I have checked that my remoteCommand was out of the update panel, so thank you for the answers but it was already OK. How I solve my problem:</p>
  
  <p>I dont know why but using the onloadScript from  Omnifaces (<a href="http://showcase.omnifaces.org/components/onloadScript" rel="nofollow">http://showcase.omnifaces.org/components/onloadScript</a>) to call the remoteCommand function it is called many times, but using $(document).ready ... just once. So, I change it and got it working right now. </p>