0

我在 AEM 6.3 中为触摸 UI 对话框实现隐藏/显示功能,之前有一个路径浏览器来呈现图像,但现在我已经使用文件上传作为资源类型更新了它。与 pathbrowser 一起正常工作的 hide/show 的现有功能现在不仅适用于 fileupload resourceType。感谢您对上述查询的任何快速回答。

谢谢, 阿润墨志

4

1 回答 1

0

请尝试使用像“fieldset”这样的包装节点。

<showHideWrapper 
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/foundation/form/fieldset"
class="hide showHideWrapper-showhide-target"
showhidetargetvalue="OPAQUE">
<items 
    jcr:primaryType="nt:unstructured">
    .... there is your fileUpload field 

</items>
</showHideWrapper>
于 2018-10-12T12:34:58.970 回答