1

我正在使用 Tapestry ZoneRefresh mixins 定期更新区域。

<t:zone t:id="zoneInf" t:mixins="zonerefresh" t:period="4" t:update="show"> 
        <t:if test="ready"> 
                success & How to stop refreshing
            <p:else>
                Loading...
            </p:else>
        </t:if>
</t:zone>

我的问题是:如何停止刷新?这可能吗?

4

1 回答 1

2

听起来您可能必须编写自己的 mixin。但它的代码很少。看看http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/periodicupdatemixinhttp://tapestry5-jquery.com/mixins/docszonerefresh

于 2015-06-20T11:15:52.740 回答