Visibility of ListOrderingTab

  Written by The Jahia Team
   Estimated reading time:

Why the ListOrderingTab is not visible for all types (e.g. pages)?

Answer

The ListOrderingTab  has a list of content where it is hidden, see config on applicationcontext-editmode.xml

   <bean id="Engine.Tab.Layout" class="org.jahia.services.uicomponents.bean.editmode.EngineTab">
        <property name="id" value="layout"/>
        <property name="titleKey" value="label.engineTab.layout"/>
        <property name="requiredPermission" value="viewLayoutTab"/>
        <property name="tabItem">
            <bean class="org.jahia.ajax.gwt.client.widget.contentengine.LayoutTabItem">
                <property name="hideForTypes">
                    <list>
                        <value>jnt:page</value><!--
                        <value>jnt:area</value>
                        <value>jnt:absoluteArea</value>
                        <value>jnt:levelAbsoluteArea</value>-->
                        <value>jnt:mainResourceDisplay</value>
                        <value>jnt:template</value>
                        <value>jnt:pageTemplate</value>
                        <value>jnt:contentTemplate</value>
                    </list>
                </property>
            </bean>
        </property>
    </bean>

The reason the sub-content of this types could be very different and template dependent. It makes no sense to have these contents orderable.

Related links