Great! Thank you all for the help. Any last pointers?
Mike Kienenberger wrote: > > UIColumns is basically a UIData "turned sideways" > > So you have a data model for your rows, and then you have a second > data model for each of your columns. > > crossDataTable.jsp in myfaces-example-simple gives an example of using it. > > "Live" online demo is here -- lets you add columns each submit. > > http://www.irian.at/myfaces/crossDataTable.jsf > > On 3/20/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: >> I think it would be something like: >> >> UIData data = new UIData(); >> UIColumn col = new UIColumn(); >> data.getChildren().add(col); >> etc. >> >> You are basically building the component tree by hand. >> >> I think tomahawk has a "columns" item too ("UIColumns") that may be less >> work. >> >> Has anyone else done this to provide more knowledge than me? >> >> Thanks, >> Andrew >> >> On 3/20/06, octoberdan <[EMAIL PROTECTED]> wrote: >> > >> > > <t:dataTable binding="#{bean.data}" /> >> > >> > > where "data" is a property that returns an instance of >> > > "javax.faces.component.UIData". >> > >> > > Then you would just build this UIData component programatically in >> > > your backing bean. >> > >> > Looking over the classes methods there doesn't seem to be any able to >> add >> > columns... >> > >> > > Searching for posts and/or tutorials should help more. >> > I tried looking for a relavent example but can't seem to find one... do >> you >> > know of any by chance? >> > >> > -- >> > View this message in context: >> http://www.nabble.com/No-variables-in-t%3Acolumn-header-facets%21-Bug--t1312124.html#a3499883 >> > Sent from the MyFaces - Users forum at Nabble.com. >> > >> > >> > > -- View this message in context: http://www.nabble.com/No-variables-in-t%3Acolumn-header-facets%21-Bug--t1312124.html#a3500891 Sent from the MyFaces - Users forum at Nabble.com.

