0 Replies Latest reply on Dec 5, 2010 1:25 AM by omid pourhadi

    Dialog box

    omid pourhadi Apprentice

      Hi,
      i have a resultList from EntityQuery in rich:modalPanel and want to filter result list data
      but after i search, the modal panel close
      how can i filter data in modal panel without closing ?



      <rich:modalPanel id="directorMpanel" width="650" height="550">
      <h:form>
      <s:decorate template="layout/display.xhtml">
           <ui:define name="label">movie name</ui:define>
           <h:inputText value="#{movieQueryList.movie.name}" id="movieName"/>
           <a:commandButton value=" search " action="/movie.xhtml"/>
      </s:decorate>
      </h:form>
      <a:outputPanel ajaxRendered="true">
           <rich:dataTable value="#{personQueryList.resultList}" var="_mem"
                id="tblMembersList" dir="RTL">
                <rich:column>
                <f:facet name="header">name</f:facet>
                     #{_mem.firstName}
                </rich:column>
                <rich:column>
                <f:facet name="header">lname</f:facet>
                     #{_mem.lastName}
                </rich:column>
                <rich:column>
                <f:facet name="header">code</f:facet>
                     #{_mem.nationalCode}
                </rich:column>
           </rich:dataTable>          
      </a:outputPanel>     
      </rich:modalPanel>