6 Replies Latest reply on Sep 23, 2010 5:48 AM by Paul Ł.

    When <rich:extendedDataTable> features will work?

    Paul Ł. Newbie

      Could someone tell me approximately when <rich:extendedDataTable> features will work?

      By features I mean sorting, filtering, grouping etc. Neither of these work.

      The only things that work in my application in extendedDataTable are drag and drop function for columns and selection for rows.

       

      Also normal <rich:dataTable> does not have sroting feature working, right?

        • 1. Re: When <rich:extendedDataTable> features will work?
          Akaine Harga Novice

          Both work perfectly fine. I've done all kind of "atrocities" to the dataTable and with no bugs directly related to this element. As for the extendedDataTable, I used it in several occasions using its basic functions (sorting, filtering, grouping, etc.) and they also worked with no complaints.

           

          By looking at your post I'd say you have some serious RF functionality issues. What RF version do you use? What is your RF configuration in web.xml?

          • 2. Re: When <rich:extendedDataTable> features will work?
            Paul Ł. Newbie

            I use Richfaces for JSF2.

            My RF version is: richfaces-4.0.0.20100826-M2 (and now i have the latest nightly build).

             

            In my web.xml there is no configuration for RF 4.x because it doesn't require one.

            The only thing related to RF in web.xml is mapping element (jboss wrote warnings in console about ecss mime type):

            <mime-mapping>
               <extension>ecss</extension>
               <mime-type>text/css</mime-type>
            </mime-mapping>
            
            • 3. Re: When <rich:extendedDataTable> features will work?
              Akaine Harga Novice

              Paul Ł. wrote:

               

              I use Richfaces for JSF2.

              My RF version is: richfaces-4.0.0.20100826-M2 (and now i have the latest nightly build).

              You really should have mentioned this from the start. RF 4 is still in pretty buggy and relatively early Beta stage. If you really want to use JSF2 you'd be much better with PrimeFaces2 that is the only AJAX JSF extension which has full stable support (and some pretty nice components as well, check the demos) for JSF2.

              • 4. Re: When <rich:extendedDataTable> features will work?
                Paul Ł. Newbie

                You're right, I should have mention it at the beginning, sorry.

                I understand that RF4 are still under development but that's why I have asked this question on the forum.

                ExtendedDataTable is mentioned in readme file as a working component so maybe it features will also be available soon.

                 

                Thank you for pointing me those PrimeFaces2, I will check them out.

                I hope they can be used with RichFaces without any problems.

                • 6. Re: When <rich:extendedDataTable> features will work?
                  Paul Ł. Newbie

                  Konstantin,

                  Thank you for your reply. I have checked that page with examples out.

                  To be honest, the example of <rich:dataTable> showed there have sorting and filtering ...but those features are implemented manually in JSF beans.

                  Some time ago I was using richfaces in version 3.x and adding sorting funcionality was very simple. It just boiled down to adding an attribute sortBy and pointing the field in JSF bean, by which component should sort the column.

                   

                  In these examples, everything is implemented by a developer in java classes. Additionally, in header facets programmers have to put AJAX links and other components for sorting and filtering. In previous version of RF it was added manually automatically by the outer component (dataTable or extendedDataTable). Besides, extendedDataTable still does not have the funcionality of grouping and I think that implementing it manually would be very difficult.

                   

                  edit1

                  I think that this is just a temporary solution for those features, and they are still being implemented by RichFaces development team.