THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
One possible alternative is to set showLoadingText="false" and set the indicator attribute to an element showing the desired loading text or image (outside the div).
Code Block |
---|
<img id="loadingImage" src="images/loadingAnimation.gif" style="display:none"/> |
...
<s:div id="parentDiv"> |
...
<s:form action="actionName"> |
...
<s:a targets="parentDiv" showLoadingText="false" indicator="loadingImage"/> |
...
</s:form> |
...
</s:div> |
Parameters
Wiki Markup |
---|
{snippet:id=tagattributes|javadoc=false|url=struts2-tags/ajax/a.html} |
...