mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Fixing javadocs for snippet plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577810 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -39,7 +39,6 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* <p>Examples</p>
|
||||
*
|
||||
* <!-- START SNIPPET: example1 -->
|
||||
* <p>Update target content with html returned from an action:</p>
|
||||
* <div id="div1">Div 1</div>
|
||||
* <s:url id="ajaxTest" value="/AjaxTest.action"/>
|
||||
*
|
||||
@@ -49,7 +48,6 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* <!-- END SNIPPET: example1 -->
|
||||
*
|
||||
* <!-- START SNIPPET: example2 -->
|
||||
* <p>Submit form(anchor inside the form):</p>
|
||||
* <s:form id="form" action="AjaxTest">
|
||||
* <input type="textbox" name="data">
|
||||
* <sx:a>Submit form</sx:a>
|
||||
@@ -57,7 +55,6 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* <!-- END SNIPPET: example2 -->
|
||||
*
|
||||
* <!-- START SNIPPET: example3 -->
|
||||
* <p>Submit form(anchor outside the form)</p>
|
||||
* <s:form id="form" action="AjaxTest">
|
||||
* <input type="textbox" name="data">
|
||||
* </s:form>
|
||||
@@ -66,7 +63,6 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* <!-- END SNIPPET: example3 -->
|
||||
*
|
||||
* <!-- START SNIPPET: example4 -->
|
||||
* <p>Using beforeNotifyTopics:</p>
|
||||
* <script type="text/javascript">
|
||||
* dojo.event.topic.subscribe("/before", function(event, widget){
|
||||
* alert('inside a topic event. before request');
|
||||
@@ -79,7 +75,6 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* <!-- END SNIPPET: example4 -->
|
||||
*
|
||||
* <!-- START SNIPPET: example5 -->
|
||||
* <p>Using afterNotifyTopics and highlights target:</p>
|
||||
* <script type="text/javascript">
|
||||
* dojo.event.topic.subscribe("/after", function(data, request, widget){
|
||||
* alert('inside a topic event. after request');
|
||||
@@ -93,7 +88,6 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* <!-- END SNIPPET: example5 -->
|
||||
*
|
||||
* <!-- START SNIPPET: example6 -->
|
||||
* <p>Using errorNotifyTopics and indicator:</p>
|
||||
* <script type="text/javascript">
|
||||
* dojo.event.topic.subscribe("/error", function(error, request, widget){
|
||||
* alert('inside a topic event. on error');
|
||||
|
||||
Reference in New Issue
Block a user