« Return to Thread: Ajax [loads once when refreshing the page]

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

by Simon Sew :: Rate this Message:

Reply to Author | View in Thread

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

       

 « Return to Thread: Ajax [loads once when refreshing the page]

LightInTheBox - Buy quality products at wholesale price!