-
1. Re: Nested dataTable with dynamic number of columns
shadowcreeper Aug 28, 2008 2:12 PM (in response to logularjason)I think you need to make them sub-rich:dataTable components rather than rich:subTable components.
I believe rich:subTable expects that all subTables have the same amount of columns. -
2. Re: Nested dataTable with dynamic number of columns
logularjason Aug 28, 2008 5:13 PM (in response to logularjason)This problem manifests independent of whether subTable or dataTable is used.
Is there a issue with referring up the "var" stack like this. Experiments suggest that the inner columns element cannot reference the necessary variables.
I'm also wondering if I am perhaps witnessing a bug - I would be most grateful to see working code that has a "columns" (i.e. not "column") component inside a nested table. -
3. Re: Nested dataTable with dynamic number of columns
logularjason Aug 28, 2008 6:26 PM (in response to logularjason)It is also possible that I am doing something naive, and misusing the components. This is the main reason for my post - I am hoping that someone can confirm that the code above should work.
I have been unable to find any examples of a element inside nested dataTables. -
4. Re: Nested dataTable with dynamic number of columns
shadowcreeper Aug 28, 2008 6:45 PM (in response to logularjason)I remember having odd behavior similar to this. I had to use other (non-RF) components to make it work right.
If I remember right, one of my dataTables was a tomahawk component with t:columns, and I just faked the looks of the RF component by messing with the styleClass type attributes.
I ended up reworking it to not need nested tables and now it is just a rich:dataTable so I'm afraid I can't just post a code snippet.
Hope this helps.
-Shadow -
5. Re: Nested dataTable with dynamic number of columns
logularjason Aug 28, 2008 9:39 PM (in response to logularjason)I'm now assuming this is a bug. Raised same:
https://jira.jboss.org/jira/browse/RF-4330