on 2018 Dec 07 1:30 AM
Hi experts,
I've al ready have a two custom navigation nodes in the explorer tree. Each navigation node have a custom action, and both have the same type, this looks like this:
<context component="explorer-tree">
<explorer-tree:explorer-tree xmlns:explorer-tree="http://www.hybris.com/cockpitng/config/explorertree">
<explorer-tree:navigation-node id="Custom1" position="0"/>
<explorer-tree:navigation-node id="Custom2" position="0"/>
<explorer-tree:type-node code="Product" id="hmc_typenode_product"/>
<explorer-tree:type-node code="CronJob" id="hmc_typenode_cronjob"/>
</explorer-tree:explorer-tree>
</context>
<context merge-by="module" type="MyType" component="listviewactions" parent="Custom1">
<y:actions xmlns:y="http://www.hybris.com/cockpit/config/hybris">
<y:group qualifier="common">
<y:label>actiongroup.common</y:label>
<y:action action-id="action.custom1" property="selectedObjects" />
</y:group>
</y:actions>
</context>
<context merge-by="module" type="MyTpe" component="listviewactions" parent="Custom2">
<y:actions xmlns:y="http://www.hybris.com/cockpit/config/hybris">
<y:group qualifier="common">
<y:label>actiongroup.common</y:label>
<y:action action-id="action.custom2" property="selectedObjects" />
</y:group>
</y:actions>
</context>
This works but the issue is that both view show both action buttons, I want to show only the action button related of each navigation node
Thanks in advance!
Request clarification before answering.
Any idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.