1 Reply Latest reply on May 18, 2009 6:12 AM by Arbi Sookazian

    problem with a button click on a page..

    John Public Newbie

      I have a problem with a button click on a page..

      The button click invokes an action.

      in listOB.xhtml

      <s:decorate id="button" template="layout/display.xhtml">
          <div class="navBar">            
            <s:button  value="Update" action="#{bAction.updateBs}" view="/listOB.xhtml"/>                           
          <br class="clear"/>

      In pages.xml

      <page view-id="/listOB.xhtml" login-required="true">
          <param name="firstResult" value="#{bS.firstResult}"/>
          <param name="firstName" value="#{listB.userFirstNameForSearchSent}"/>
          <param name="lastName" value="#{listB.userLastNameForSearchSent}"/>

      In component bAction

      updateBs {

      Make database updates


      Everything is ok except that my view does not show the database updates. If I click on the menu again it shows updated values.

      Any hints on what I am doing wrong ?