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

Displaying nested data  RSS feed

Janez Bertolin
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

we have data structure like (it is simplified)

- 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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!