-
1. Re: When <rich:extendedDataTable> features will work?
akaine Sep 21, 2010 5:26 AM (in response to kanal)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?
kanal Sep 21, 2010 6:20 AM (in response to akaine)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 Sep 21, 2010 8:36 AM (in response to kanal)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?
kanal Sep 21, 2010 9:35 AM (in response to akaine)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.
-
5. Re: When <rich:extendedDataTable> features will work?
konstantin.mishin Sep 22, 2010 12:34 PM (in response to kanal)These features are working already.
rich:extendedDataTable have the same API.
-
6. Re: When <rich:extendedDataTable> features will work?
kanal Sep 23, 2010 5:48 AM (in response to konstantin.mishin)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.