myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Heath Borders <>
Subject Re: Proposed improvement to x:dataTable
Date Mon, 11 Apr 2005 18:22:01 GMT
What is wrong with doing a component-binding and setting this stuff up in 
your bean?
 We've had a few cases where the datatable's columns cannot be defined 
inside the JSP and this has worked just fine for us.

 On Apr 11, 2005 1:06 PM, Sean Schofield <> wrote: 
> We're trying to use x:dataTable in a project for work right now.
> There are a few limitations that I would like to address with the
> group's approval.
> The main problem we're having is that you cannot have an open-ended
> list of columns in your data. Specifically, in our application we
> have a feature where user's can build their own SQL queries and
> generate custom reports. We display the reports in a table now but we
> don' t have the sort or page functionality of x:dataTable. We can't
> use x:dataTable as is b/c we don't know how many columns there are in
> advance (or what name to give the header.)
> I'd like to add a few additional attributes to x:dataTable that would
> allow you to specify value binding expressions for determining the
> names of the column headers along with which facet to use for which
> column type. Everything would work as before so this is just extra
> functionality. If there aren't any objections I would like to add the
> functionality and a simple example for people to look at. If there
> are problems with it (or improvements) then we can back out the
> changes or make further changes. I think the idea is easier to
> explain with actual code.
> Please let me know if you have a problem with this approach.
> sean

-Heath Borders-Wing

View raw message