struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r578438 - /struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/TabbedPanel.java
Date Sat, 22 Sep 2007 13:41:06 GMT
Author: musachy
Date: Sat Sep 22 06:41:05 2007
New Revision: 578438

URL: http://svn.apache.org/viewvc?rev=578438&view=rev
Log:
Fixing javadocs for snippet plugin

Modified:
    struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/TabbedPanel.java

Modified: struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/TabbedPanel.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/TabbedPanel.java?rev=578438&r1=578437&r2=578438&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/TabbedPanel.java
(original)
+++ struts/struts2/trunk/plugins/dojo/src/main/java/org/apache/struts2/dojo/components/TabbedPanel.java
Sat Sep 22 06:41:05 2007
@@ -45,12 +45,8 @@
  *
  * <p/> <b>Examples</b>
  * <p/>
- * <!-- START SNIPPET: exdesc -->
- * The following is an example of a tabbedpanel and panel tag utilizing local and remote
content.<p/>
- * <!-- END SNIPPET: exdesc -->
  * 
- * <!-- START SNIPPET: example -->
- * <pre>
+ * <!-- START SNIPPET: example1 -->
  * &lt;s:tabbedpanel id="test" &gt;
  *    &lt;s:div id="one" label="one" theme="ajax" labelposition="top" &gt;
  *        This is the first pane&lt;br/&gt;
@@ -63,12 +59,9 @@
  *        This is the remote tab
  *    &lt;/s:div&gt;
  * &lt;/s:tabbedpanel&gt;
- * </pre>
- * <!-- END SNIPPET: example -->
+ * <!-- END SNIPPET: example1 -->
  * 
  * <!-- START SNIPPET: example2 -->
- * <p>Use notify topics to prevent a tab from being selected</p>
- * <pre>
  * &lt;script type="text/javascript"&gt;
  * dojo.event.topic.subscribe("/beforeSelect", function(event, tab, tabContainer){
  *     event.cancel = true;
@@ -83,7 +76,6 @@
  *        Another tab
  *    &lt;/s:div&gt;
  * &lt;/s:tabbedpanel&gt;
- * </pre>
  * <!-- END SNIPPET: example2 -->
  */
 @StrutsTag(name="tabbedpanel", tldTagClass="org.apache.struts2.dojo.views.jsp.ui.TabbedPanelTag",
description="Render a tabbedPanel widget.")



Mime
View raw message