[jboss-user] [JBoss Seam] - Re: Form reset button in Seam

terryb do-not-reply at jboss.com
Thu Oct 4 10:22:43 EDT 2007


Yes they are under the same form, the only form on the page. Please see code below.


  | <h:form id="organisationUser">
  |    <div>
  |       <h:panelGrid columns="2" rowClasses="prop" columnClasses="name,value" border="0" >
  |          <h:outputLabel for="username">Username</h:outputLabel>
  |          <h:inputText id="username" 
  |          value="#{organisationUserList.organisationUser.username}"/>
  |          ...
  |       </h:panelGrid>
  |       
  |       <table>
  |          <tr class="prop">
  |             <td class="name"> </td>^
  |             <td class="value">
  |                <div class="actionButtons">
  |                   <h:commandButton id="search" value="Search" action="/OrganisationUserList.xhtml"/>
  |                   <h:commandButton value="Reset" type="reset"/>
  |                   <s:button view="/OrganisationUserEdit.xhtml" id="create" value="Create User">
  |                      <f:param name="organisationUserId"/>
  |                   </s:button>
  |                </div>
  |             </td>
  |          </tr>
  |       </table>
  |    </div>
  | </h:form>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091542#4091542

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091542




More information about the jboss-user mailing list