1 Reply Latest reply on Aug 27, 2007 9:20 AM by Tomislav Jakopec

    commandButton page flow action rerender

    Tomislav Jakopec Novice

      When I use a:commandButton calling bean action rerender of components is working fine, but when I call pageflow action entire page is reloaded instead of rerender of particular component

      example
      calling bean action, everything is OK
      JSP

      <a:commandButton
       image="/slike/ikone/trazi.png"
       action="#{traziOperater.trazi}"
       title="#{messages['zajednicke.trazi']}"
       reRender="tablica" />
      
      <r:dataTable
       id="tablica"
       var="v"
       value="#{traziOperater.rezultati}">
      ...
      </r:dataTable>
      

      call pageflow action, entire page is reloaded
      JSP
      <a:commandButton
       image="/slike/ikone/trazi.png"
       action="trazi"
       title="#{messages['zajednicke.trazi']}"
       reRender="tablica" />
      <r:dataTable
       id="tablica"
       var="v"
       value="#{traziOperater.rezultati}">
      ...
      </r:dataTable>
      


      pageflow
      <start-page
       name="operater"
       view-id="/core/maticni/operater/PregledOperater.jsp"
       timeout="3600000">
       <redirect />
       <description>
       #{messages['maticni.operater.pregled']}
       </description>
       <transition name="trazi" to="trazenjeDecision" />
      </start-page>
      
      <decision
       name="trazenjeDecision"
       expression="#{traziOperater.trazi}">
       <transition name="OK" to="operater" />
       <transition name="NOT" to="operater" />
      </decision>