7 Replies Latest reply on Nov 6, 2007 10:37 AM by Brian Parkinson

    Simple question on page update stuff

    Brian Parkinson Newbie

      Hello - hoping someone can help out a newbie:

      I have a bean with a couple accessor methods - I'd like to display the values and allow then to be edited, and then when a button is pressed, to update the database, without re-rendering the page. I'm unsure what the best practice is here.

      <h:inputText id="first" value="#{bean.first}" />
      <h:inputText id="last" value="#{bean.last}" />
      <a4j:commandButton value="Update" />

      I read some of the docs, which imply that the command button will re-render the page (not what I want - I just want to submit the values so I can update te database.

      Any help/pointers appreciated.

      parki...