aspose file tools*
The moose likes JSF and the fly likes RichFaces: dataList/dataTable/columns local vars unaccessable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "RichFaces: dataList/dataTable/columns local vars unaccessable" Watch "RichFaces: dataList/dataTable/columns local vars unaccessable" New topic
Author

RichFaces: dataList/dataTable/columns local vars unaccessable

Akaine Harga
Ranch Hand

Joined: Nov 03, 2009
Posts: 80

Hello

I have a problem accessing local variables I maped my lists to inside a 4 livel list structure similar to this: List<List><List>> areas

Here goes an example of a dynamic tables list I want to generate:
While RichFaces sees registry var (the first static column renders well) when I try to generate columns with it RF refuses to generate any giving me ERROR [ColumnsHandler] FOREACH_BAD_ITEMS exception, which means rich:columns does not recognizes any value inside the registry var.

Observations:
- exactly the same happens if I put mbean.areas[areaIdx].registries[row].columns as rich:columns value.
- if I put a columns directly as an mbean property (by declaring it in mbean previously of course) it works, still this is worthless in my case because I can't avoid 4 level list structure.
- I print the whole structure out in the console and all objects are in place, it's a RF problem.

Any ideas why this happens?
Any suggestions how could I solve this?

Thanks


Wanna install linux on a vacuum cleaner. Could anyone tell me which distro sucks better?
willCodeForFood("Java,PHP,C#,XML,VBS,XHTML,CSS,JavaScript,SQL"); //always looking for job opportunities in AU/NZ/US/CA/Europe :P
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RichFaces: dataList/dataTable/columns local vars unaccessable