user  

Ajax <s:div> [loads once when refreshing the page]

Simon Sew
Mon, 12 May 2008 19:43:04 -0700

Hi,

I have a problem where the ajax div (see source code) will initialize once when 
I load the page.What I wanted to do is to make it run only when i publish the 
topic. Am I missing something here. I'm using v2.0.11. Thanks.

      <s:div id="restore" href="<%=JspConstant.LINKS.CONF_SECURITY_RESTORE%>" 
listenTopics="/setRestoreAjax" showLoadingText="false" 
showErrorTransportText="false" theme="ajax">
           
      </s:div>

Regards,
Simon

       
  • Ajax <s:div> [loads once when refreshing the page] Simon Sew