【问题标题】:how to refresh a page of full data population automatically如何自动刷新完整数据填充的页面
【发布时间】:2016-03-24 12:12:37
【问题描述】:

我有一个从组件中的 xml 文件(在 dam 中)读取的数据列表,并假设填充到整个页面中。一旦我读取组件中的文件,由于editConfig设置它会刷新页面,但是,为了查看页面的完整数据(从xml读取),我必须在浏览器中再次手动刷新。

有没有办法使整个过程自动化,从而可以取消手动刷新。

这里是editConfig设置:

<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
    cq:dialogMode="floating"
    cq:disableTargeting="{Boolean}true"
    jcr:primaryType="cq:EditConfig">
    <cq:listeners
        jcr:primaryType="cq:EditListenersConfig"
        afteredit="REFRESH_PAGE"/>

【问题讨论】:

标签: content-management-system aem


【解决方案1】:

我认为这可能是解决您的问题的有用方法。 https://adobe-consulting-services.github.io/acs-aem-tools/features/live-reload.html

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-05-06
    • 2012-09-23
    • 1970-01-01
    • 2017-07-01
    • 1970-01-01
    • 1970-01-01
    • 2013-02-23
    • 1970-01-01
    相关资源
    最近更新 更多