请教LzDelegate问题
我有一个OpenLaszlo的问题,代码在下面,我的问题是用什么样的方法才能使这个方法循环10遍呢?谢谢了!
<method name="SelectStore">
<![CDATA[
if( typeof this.SelectStoredel == "undefined" ) {
this.SelectStoredel = new LzDelegate( this, "SelectStore" );
LzTimer.addTimer( this.SelectStoredel, 3000 );
} else {
if (statusAreaWidget.subviews[1].progressCounter == 0)
this.SelectingStore.sendEvent();
else
LzTimer.resetTimer( this.SelectStoredel, 3000 );
]]>
</method>