I have a controller action with some child mojits. I render the children with actionContext.composite.execute().
// controller.common.js ...
index: function(actionContext) {
//...
var cfg = {
children: {
//...
}
};
actionContext.composite.execute(cfg, function(data, meta) {
actionContext.done(data);
});
}
//...
Can I call this "nested" action from the client? I tried it with the effect that the children are empty.
// bindes/index.js ...
me.mojitProxy.invoke('index', {}, function(error, content, meta) {
me.node.set('innerHTML', content);
});
Another concern is the behaviour of the binders of the children. Every time I invoke index from the client I will get new nodes of the children I think. Could I "rebind" the "nodes" of the nested child actions, if I call them with me.mojitProxy.invoke()?
Is there anywhere an example with a nested client side action.
Thanks
So - are nested