Commits

plightbo  committed 4d64a9e

more prep for release

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@1954573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits c4f219d

Comments (0)

Files changed (2)

File src/java/com/opensymphony/webwork/components/Anchor.java

 
 /**
  * <!-- START SNIPPET: javadoc -->
- * A tag that creates a HTML &lt;a href='' /&gt; that when clicked calls a URL remote XMLHttpRequest call
- * via the dojo framework. The result from the URL is executed as JavaScript.<p/>
  *
- * If a "listenTopics" is supplied, it will publish a 'click' message to that topic when the result is
- * returned.  If utilizing the topic/event elements, then this tag needs to be contained within
- * a &gt;ww:topicScope /&lt; tag.<p/>
+ * A tag that creates a HTML &lt;a href='' /&gt; that when clicked calls a URL remote XMLHttpRequest call via the dojo
+ * framework. The result from the URL is executed as JavaScript. If a "listenTopics" is supplied, it will publish a
+ * 'click' message to that topic when the result is returned.
+ *
  * <!-- END SNIPPET: javadoc -->
  *
  * <p/> <b>Examples</b>
  * &lt;/ww:a&gt;
  * <!-- END SNIPPET: example1 -->
  * </pre>
+ *
  * </p>
+ *
  * <!-- START SNIPPET: exampledescription1 -->
+ *
  * Results in
+ *
  * <!-- END SNIPPET: exampledescription1 -->
+ *
  * </p>
  *
  * <pre>
  * <!-- START SNIPPET: example2 -->
- * &lt;a dojoType="BindAnchor" evalResult="true" id="link1" href="/DoIt.action?id=1" errorHtml="An error ocurred" showTransportError="true"&gt;&lt;/a&gt;
+ * &lt;a dojoType="BindAnchor" evalResult="true" id="link1" href="/DoIt.action?id=1" errorHtml="An error ocurred"
+ * showTransportError="true"&gt;&lt;/a&gt;
  * <!-- END SNIPPET: example2 -->
  * </pre>
+ *
  * </p>
+ *
  * <!-- START SNIPPET: exampledescription2 -->
+ *
  * Here is an example that uses the postInvokeJS. This example is in altSyntax=true:
+ *
  * <!-- END SNIPPET: exampledescription2 -->
+ *
  * </p>
  *
  * <pre>
  * @author Ian Roughley
  * @author Rene Gielen
  * @version $Revision$
- * @since 2.2
- *
  * @ww.tag name="a" tld-body-content="JSP" tld-tag-class="com.opensymphony.webwork.views.jsp.ui.AnchorTag"
  * description="Render a HTML href element that when clicked calls a URL via remote XMLHttpRequest"
-  */
+ * @since 2.2
+ */
 public class Anchor extends RemoteCallUIBean {
     final public static String OPEN_TEMPLATE = "a";
     final public static String TEMPLATE = "a-close";
     }
 
     /**
-     * @ww.tagattribute required="false" type="String"
-     * description="The id to assign the component"
+     * @ww.tagattribute required="false" type="String" description="The id to assign the component"
      */
     public void setId(String id) {
         super.setId(id);
     }
 
     /**
-     * @ww.tagattribute required="false"
-     * description="Topic names to post an event to after the remote call has been made"
+     * @ww.tagattribute required="false" description="Topic names to post an event to after the remote call has been
+     * made"
      */
     public void setNotifyTopics(String notifyTopics) {
         this.notifyTopics = notifyTopics;
     }
 
     /**
-     * @ww.tagattribute required="false" type="String"
-     * description="A javascript snippet that will be invoked prior to the execution of the target href. If provided must return true or false. True indicates to continue executing target, false says do not execute link target. Possible uses are for confirm dialogs."
+     * @ww.tagattribute required="false" type="String" description="A javascript snippet that will be invoked prior to
+     * the execution of the target href. If provided must return true or false. True indicates to continue executing
+     * target, false says do not execute link target. Possible uses are for confirm dialogs."
      */
     public void setPreInvokeJS(String preInvokeJS) {
         this.preInvokeJS = preInvokeJS;

File webapps/showcase/src/webapp/ajax/tabbedpanel/index.jsp

 
 <p>
     <ol>
-        <li><a href="example3.jsp">A local tabbed panel</a></li>
-        <li><a href="example2.jsp">A remote and local tabbed panel</a></li>
+        <li><a href="example2.jsp">A local tabbed panel</a></li>
+        <li><a href="example3.jsp">A remote and local tabbed panel</a></li>
         <li><a href="example1.jsp">Various remote and local tabbed panels (with enclosed tabbed pannels)</a></li>
     </ol>