首页 > 解决方案 > AEM 继承的组件对话框字段排序

问题描述

在 AEM 中,当我创建一个从另一个对话框继承的对话框时,我看到有时节点的顺序与对话框中呈现字段的顺序不对应。

有没有一种方法可以让我们准确指定应该在组件对话框中呈现字段的位置?

标签: aem

解决方案


We can add sling:orderBefore attribute to component dialog field.

Syntax: sling:orderBefore=<--Node-Name-->

Ex: sling:orderBefore="parentPage"

Here parentPage is input field node, Now when you apply sling:orderBefore attribute, then that field will show top of parent page input field.

Thanks for reading.


推荐阅读