是否可以在触摸UI对话框中包含文件? [英] is it possible to include files in the touch UI dialog?

查看:81
本文介绍了是否可以在触摸UI对话框中包含文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在触摸UI对话框中包含文件?我了解如何在传统的UI对话框中添加文件,下面以示例为例。如果可以,这对于触摸UI对话框是否可行?

is it possible to include files in a touch UI dialog? I understand how to include a file inside the classic UI dialog which I've gave an example below. Is this possible for Touch UI dialog if so how do I accomplish this?

<livecopy
    jcr:primaryType="cq:Widget"
    path="/apps/stackoverflow/components/page/page/tab_stackoverflow.infinity.json"
    xtype="cqinclude"/>


推荐答案

是。使用资源类型 granite / ui / components / foundation / include 在Touch UI中执行类似的操作。

Yes. Use the resource type granite/ui/components/foundation/include to do similar operation in Touch UI.

<livecopy
    jcr:primaryType="nt:unstructured"
    path="/apps/stackoverflow/components/page/page/tab_stackoverflow"
    sling:resourceType="granite/ui/components/foundation/include"/>

有关更多信息,请参见 ExtJS与匹配的Granite UI组件主题和花岗岩包含文档

For more information check the ExtJS vs matching Granite UI components topic and the Granite Include documentation.

这篇关于是否可以在触摸UI对话框中包含文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆