Here's a question I've been pondering all day. Its...
# tornadofx
p
Here's a question I've been pondering all day. Its a bit hard to describe but here goes: I have a need to present different models using various visual components, (
textfield
,
slider
etc). To start with only the basic components are needed, but it is likely that more advanced compositions will be needed later on. The problem is that I don't know what the models will contain so I can't create views or view-models for them before hand - it is the creator of the components (i.e. the boxes I've show in screenshots) that decides what data he or she wants to store and how to display it. My current idea is to use some sort of meta-language to describe the models and based on that dynamically create the view for each model. Has either of you done something like this?