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.
推荐阅读
- python - Matplotlib 中的刻面图数值
- android - Jetpack 在 LazyColumn 上撰写阴影
- elixir - 在呈现的模板中访问当前用户相关信息
- python - 可以继续 WebScrape YouTube 吗?
- django - Angular + Django 后端。如何根据 Django 中的用户类型登录
- laravel - LARAVEL:从 gmail 帐户发送邮件?
- kotlin - 在集合中查找最近/最接近的值但不超过它
- azure - Azure Function 3.1 在 VS2019 上抛出 Base-64 字符串异常
- javascript - 重新排列数组以使键具有值
- r - 如何在 ggdensity() 中调整绘图标题的大小?