and <@U25U0KPFT> the solution to the model: ``` cl...
# tornadofx
r
and @carlw the solution to the model:
Copy code
class StoryModel : ItemViewModel<StoryGL>() {
    //    val chapters = bind(Story::chapters)
    val author=AuthorModel()

    val types = bind(StoryGL::types)
    val synopsis = bind(StoryGL::synopsis)
    val title = bind(StoryGL::title)
}

init {
        subscribe<storyenrichedEvent> {
            model.item = it.story
            model.author.item = it.story.author

        }
    }