THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- With a submit tag --> <s:form namespace="/mynamespace" action="MyAction"> <input type=textbox name="data"> <sx:submit /> </s:form> <!-- With an anchor tag --> <s:form namespace="/mynamespace" action="MyAction"> <input type=textbox name="data"> <sx:a /> </s:form> |
Div
Loads its content after page is loaded
Code Block | ||||
---|---|---|---|---|
| ||||
<sx:div href="%{#url}">
Initial Content
</sx:div>
|
Updates its content every 2 seconds, shows indicator while loading content
Code Block | ||||
---|---|---|---|---|
| ||||
<img id="indicator" src="${pageContext.request.contextPath}/images/indicator.gif" style="display:none"/>
<sx:div href="%{#url}" updateFreq="2000">
Initial Content
</sx:div>
|
Loads its content after a delay of 2 seconds
Code Block | ||||
---|---|---|---|---|
| ||||
<sx:div href="%{#url}" delay="2000">
Initial Content
</sx:div>
|
Show some text while content is loaded
Code Block | ||||
---|---|---|---|---|
| ||||
<sx:div href="%{#url}" loadingText="reloading" showLoadingText="true">
Initial Content
</sx:div>
|
Fixed error message
Code Block | ||||
---|---|---|---|---|
| ||||
<sx:div href="noaction" errorText="Error loading content">
Initial Content
</sx:div>
|