2 Replies Latest reply on Nov 15, 2007 6:03 AM by ilya_shaikovsky

    require support for use of rich:scrollableDataTable for pass

    rahul_k82

      hi i am trying to use a scrollabledatatable provided by richfaces for iterating over the data list and displaying the result in the tabular format . Then when the user selects any row it should use ajax control to sent the row id back to managed bean so that i can make some decision making loop and fetch other data based on that row id from database and show it on another panel..

      I tried to use this code where memberSearchController is my managed bean controller. and memberNumber is my primary row id...


      <rich:scrollableDataTable height="80px" frozenColCount="1"
      width="620px" id="memberList"
      value="#{memberSearchController.resultList}" var="result" sortMode="single" rowKeyVar="selectedMember" rowKey="#{result.memberNumber}">
      <a4j:support action="#{memberSearchController.sdtRowSelected}" event="onRowClick" reRender="searchDataPanel"></a4j:support>

      BUT THIS DOES NOT INVOKE MY METHOD . I REQUEST FOR ANY HELP WHCI CAN BE PROVIDED AS THIS TAG SEEMS TO BE HELPFUL FOR ME BUT SEEMS SOME PROBLEM IN ITS USAGE.. THIS IS FOR AN IMPORTANT APPLICATION FOR WALT DISNEY WORLD IN FLORIDA

      ANY HELP IS APPRECIATED

      THANKS

      RAHUL KHANDELWAL

        • 1. Re: require support for use of rich:scrollableDataTable for
          rahul_k82

           

          "rahul_k82" wrote:
          hi i am trying to use a scrollabledatatable provided by richfaces for iterating over the data list and displaying the result in the tabular format . Then when the user selects any row it should use ajax control to sent the row id back to managed bean so that i can make some decision making loop and fetch other data based on that row id from database and show it on another panel..

          I tried to use this code where memberSearchController is my managed bean controller. and memberNumber is my primary row id...


          <rich:scrollableDataTable height="80px" frozenColCount="1"
          width="620px" id="memberList"
          value="#{memberSearchController.resultList}" var="result" sortMode="single" rowKeyVar="selectedMember" rowKey="#{result.memberNumber}">
          <a4j:support action="#{memberSearchController.sdtRowSelected}" event="onRowClick" reRender="searchDataPanel"></a4j:support>

          BUT THIS DOES NOT INVOKE MY METHOD . I REQUEST FOR ANY HELP WHCI CAN BE PROVIDED AS THIS TAG SEEMS TO BE HELPFUL FOR ME BUT SEEMS SOME PROBLEM IN ITS USAGE.. THIS IS FOR AN IMPORTANT APPLICATION FOR WALT DISNEY WORLD IN FLORIDA

          ANY HELP IS APPRECIATED

          THANKS

          RAHUL KHANDELWAL


          • 2. Re: require support for use of rich:scrollableDataTable for
            ilya_shaikovsky

            I've used this succesfully. Please explore with phaseTracker where the request processing broken.