2 Replies Latest reply on Oct 21, 2009 9:00 AM by guus vorsterman

    a:commandButton and reRender and action in page.xml

    guus vorsterman Newbie

      Hello, not sure if this is related to RichFaces, JSF or Seam


      I have in my role.page.xml

      <action execute="#{roleHome.wire}"/>



      In my role.xhtml



      <a:commandButton value="#{messages.selectDeselectAll}"
       action="#{roleHome.test}"
       reRender="optionsDiv1"/>
      
      <s:div id="optionsDiv1">
       ....
      </s:div>
      



      When I press the button roleHome.wire is executed again.

      Is it possible to reRender the div and not have roleHome.wire executed?

      I only want it executed the first time the page is shown.


      Guus