This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Displaying nested data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Displaying nested data" Watch "Displaying nested data" New topic
Author

Displaying nested data

Janez Bertolin
Greenhorn

Joined: Aug 16, 2011
Posts: 3
Hi,

we have data structure like (it is simplified)

Object1
- value
- dataType
- childObject1List

Now i would like to display Object1 using diffrent templates. Lets say we have dataTypes String, Integer, Float. For each of them we have
special xhtml (eg string.xhtml, integer.xhtml, float.xhtml). Each of them should have child Object1 of any type.

on level Object1 the code is

string.xhtml OR integer.xhtml OR float.xhtml


but i get error: Could not Resolve Variable [Overflow]: Object1

how could i nest display of dynamic object like this?


Thanks for you help
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Displaying nested data
 
Similar Threads
Problem trying to send file to browser in JSF
prependId doesn't work properly
SelectListener for DataTable populated with ActionListener - infact if the initial size = 0
facelet: different css style for ui:define
Trying to get layout worked out for three content panes (using facelets template)