<@U4Z1U6LJK> I think I've done several, this is on...
# tornadofx
e
@kastork I think I've done several, this is one of them:

https://www.youtube.com/watch?v=1G1OYBRDSBs

k
Thanks, I've seen that one too. I'm not specifically needing anything - the only reason I asked is that I thought that I remembered a recent discussion about a screencast on that topic and FX properties in general.
I take that back, I would like to see something specific if you ever decide to do this. The thing I've been struggling with is that I have a kotlin data class that is a nested data structure. That is, some properties are things like lists (normal lists, not observables), and other properties are other kotlin data classes. A good clean strategy for making editors for this nested structure has eluded me.
note: I'm using data classes and regular containers so that I can use the Kotlin serialization framework to persist data. It might be easier if I used the JSON in TFX, but I'd like to keep my persistence stuff independent of JavaFX.
e
I'm thinking the best strategy for that would be specific JavaFX domain objects, and add a constructor to them that takes one of the lean domain objects as parameter, and then a function inside the class to turn it back into a lean object. I never need this, because I never do persistence on the client. I convert to/from JSON in my JavaFX domain objects and pass them on to the server in charge of persistence over http with the built in rest client.