This topic contains 2 replies, has 2 voices, and was last updated by Grégory PLANCHAT 8 years, 8 months ago.
- Topic
Hi,
I’m currently building an inventory bundle and for items stock displays, I cut up the warehouse into zones (in hierarchical tree view).
The tree building was not a big deal, although interactions with it are for now. I need to update le right hand zone, as seen in this screenshot, when I click on a zone in the tree :
I used a TreeManageComponent, similar to OroB2BCatalogBundle’s one an tried to adapt the onSelect trigger :
123456789101112onSelect: function(node, selected) {if (this.initialization || !this.updateAllowed) {return;}mediator.execute('widgets:getByAliasAsync', 'luni_inventory_bundle_warehouse_widget_zones', function(widget) {var url = routing.generate('luni_inventory_bundle_warehouse_widget_zones', {id: selected.node.id});widget.loadContent({}, 'GET', url);});},Problem is, mediator.execute(‘widgets:getByAliasAsync’,…) does not trigger the callback.
I’m not sure if I’m doing the right thing, I’m not already aware of all backbone’s internals and oro widgets.
Has someone already solved this?
The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.