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@578438 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -45,12 +45,8 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
*
|
||||
* <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 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* 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 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* 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.")
|
||||
|
||||
Reference in New Issue
Block a user