There is a version of component showcase with Seam that uses an EntityQuery for the datatable and sorting. You can find it on the ICEfaces downloads page. There is another example available at Dan Allen's Seam In Action page at http://seaminaction.googlecode.com/svn/trunk/prototype/projects/open18ice --it's a little more involved as you'd have to add some data, register, etc, but you could look at the MyScoreCard and MyRoundList classes.
There appears to be a file missing in seam-showcase-1.8.0.zip. I can't find dataTable-commandSortHeader.jspx, which is used by ComponentsTableSortableHeader.jspx.
Do you know how I can get it?
It's copied over from the standard facelets component-showcase application. Did you use the ant task copy-source?
Thanks, Judy. I got it working. So now that I have the Seam version working, I have a follow-up question.
Is the PhaseListener (SortHeaderModel.java) really necessary? If so, how can this scale? If I have 30 or 40 sortable tables in my application, I need 30-40 phase listeners??
Actually, that backing bean is not used in the seam version at all. To avoid duplication, the facelets non-seam version beans are all copied over. (a few aren't used and this is one of them).
You want to look at SeamSortHeaderModel.java as the class that is the backing bean for sortable headers. It strictly uses SMPC EntityQuery for the datamodel.