Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RichFaces: dataList/dataTable/columns local vars unaccessable  RSS feed

Akaine Harga
Ranch Hand
Posts: 99
Java MyEclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

- 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?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!