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 -->
* <s:tabbedpanel id="test" >
* <s:div id="one" label="one" theme="ajax" labelposition="top" >
* This is the first pane<br/>
@@ -63,12 +59,9 @@
* This is the remote tab
* </s:div>
* </s:tabbedpanel>
- * </pre>
- * <!-- END SNIPPET: example -->
+ * <!-- END SNIPPET: example1 -->
*
* <!-- START SNIPPET: example2 -->
- * <p>Use notify topics to prevent a tab from being selected</p>
- * <pre>
* <script type="text/javascript">
* dojo.event.topic.subscribe("/beforeSelect", function(event, tab,
tabContainer){
* event.cancel = true;
@@ -83,7 +76,6 @@
* Another tab
* </s:div>
* </s:tabbedpanel>
- * </pre>
* <!-- END SNIPPET: example2 -->
*/
@StrutsTag(name="tabbedpanel",
tldTagClass="org.apache.struts2.dojo.views.jsp.ui.TabbedPanelTag",
description="Render a tabbedPanel widget.")