0 Replies Latest reply on May 28, 2010 5:52 PM by Franck Garcia

    seam template for EntityList search question

    Franck Garcia Newbie

      I don't remember the reason why SEAM template generates an EntryList.xhtml with the search button having the action pointing to the same view (my view is EntryList.xhtml and the search action points to EntryList.xhtml) What's the reason behind this? (If I supress the action without any action it's working as expected).


      <h:form id="entrySearch" styleClass="edit">
      
              <rich:simpleTogglePanel label="Entry Search Filter" switchType="client">
      
                  <s:decorate template="layout/display.xhtml" id="cuf">
                      <ui:define name="label">Create user</ui:define>
                      <h:inputText id="createUser" value="#{entryList.entry.createUser}"/>
                  </s:decorate>
      
      
              </rich:simpleTogglePanel>
      
              <div class="actionButtons">
                  <h:commandButton id="search" value="Search" action="EntryList.xhtml"/>
                  <s:button id="reset" value="Reset" includePageParams="false"/>
              </div>
      
          </h:form>