Author: mrdon Date: Fri Dec 29 18:46:05 2006 New Revision: 491154 URL: http://svn.apache.org/viewvc?view=rev&rev=491154 Log: Fixing Javadoc for snippets WW-1483
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java?view=diff&rev=491154&r1=491153&r2=491154 ============================================================================== --- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java (original) +++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java Fri Dec 29 18:46:05 2006 @@ -101,8 +101,16 @@ * <li>data: html or json object when type='load' or type='error'</li> * <li>type: 'before' before the request is made, 'load' when the request succeeds, or 'error' when it fails</li> * <li>request: request javascript object, when type='load' or type='error'</li> - * <ul> - + * </ul> + * <!-- END SNIPPET: ajaxJavadoc --> + * + * <!-- START SNIPPET: ajxExDescription1 --> + * Show the results in another div. If you want your results to be shown in + * a div, use the resultDivId where the id is the id of the div you want them + * shown in. This is an inner HTML approah. Your results get jammed into + * the div for you. Here is a sample of this approach: + * <!-- END SNIPPET: ajxExDescription1 --> + * * <pre> * <!-- START SNIPPET: ajxExample1 --> * Remote form replacing another div: