0 Replies Latest reply on Jun 7, 2010 2:45 PM by elkarel

    newbie question on rich:datatable

    elkarel

      Hello guys, I have a very green question...
      When showing up the page I want to have a rich:datatable filled with query but don't want to use a form. For example,
      I want something like this:

      <rich:dataTable
             filterBy="#{myPage.itemId}"
         onLoadAction="#{myTableList.search}"
                  id="myId"
                 var="_myTable"
               value="#{myTableList.resultList}"
            rendered="#{not empty myTableList.resultList}">


      I don't know if I explain myself with this pseudocode, in the myTableList I have the EJBQL with filter over a single column, the itemId. I want to fill the myTableList with the restriction with value myPage.itemId (without ajax)
      I am kinda lost now, everywhere I look people use form to get the result of the table...
      Thank you for any suggestions,
      Karel