2 Replies Latest reply on Apr 2, 2008 3:43 PM by Brett Anthoine

    h:commandbutton outside form tag

    Brett Anthoine Newbie

      Maybe this is not strictly seam-related but I thought that maybe there was a workaround provided by seam..

      The question is, is it possible to have a button the button submitting the form outside the form tag ?

      <form id="toto">
      <h:inputText value="#{mybean.txt} />
      <h:commandButton value="#{save}" action="#{mybean.save}" />

      How to tell the button that is should submit toto ?