Nested Custom Widgets (Bonita 7)
I've created a custom widget that I would like to use in another custom widget. I know custom widgets are created as angualr directives so in theory I should be able to reference them in the template of my other widget:
But I don't know how to reference the .js for my inner widget or how the properties get set on the scope of that inner widget.
Is this possible?
Hi again. Tough one. Custom widget are really not designed to be nested inside each other. There could probably be ways to do so but it would be pretty hacky. Mind if I ask first what you intend to do? Vincent
You would have to share all properties between both widgets to get something working. Something to do with the way we bind page variables to widget properties. Anyway, fragment would be definitively the way to go.