Hi,

I am struts user. upgrading app from struts 2.0.11.2 to struts 2.1.6.

Initial load works fine with s:div, I am not sure what am i missing using
sx:div.
Why does it wait for 5 secs (updateFreq value) for the first time load.

Code with struts 2.0.11.2
<s:url var="loadApples" action="getApples"></s:url>
<s:div theme="ajax"  href="%{loadApples}" updateFreq="5000" autoStart="true"
showLoadingText="false">Loading..</s:div>

modified above code to the below one using struts 2.1.6
<s:url var="loadApples" action="getApples"></s:url>
<sx:div href="%{#loadApples}" autoStart="true" showLoadingText="false"
updateFreq="5000">Loading</sx:div>

But after upgrading to sx:div the page waits for 5 secs (updateFreq value)
even for the initial (first time load) page load.
I tried adding preload="true" for sx:div tag but still facing the same
issue. I couldn't get information in net on this issue.

Please help. Thanks in advance.
Mekna


-- 
View this message in context: 
http://www.nabble.com/Page-waits-to-load-initially-with-Div-Dojo-taj-tp22959309p22959309.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to