mirror of
https://github.com/apache/struts.git
synced 2026-08-07 15:46:57 +00:00
WW-3611 - solves wrong prefix used in examples
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1207014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -21,17 +21,15 @@
|
||||
|
||||
package org.apache.struts2.dojo.components;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import com.opensymphony.xwork2.util.ValueStack;
|
||||
import org.apache.struts2.components.ClosingUIBean;
|
||||
import org.apache.struts2.views.annotations.StrutsTag;
|
||||
import org.apache.struts2.views.annotations.StrutsTagAttribute;
|
||||
import org.apache.struts2.views.annotations.StrutsTagSkipInheritance;
|
||||
|
||||
import com.opensymphony.xwork2.util.ValueStack;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* <!-- START SNIPPET: javadoc -->
|
||||
@@ -48,35 +46,37 @@ import com.opensymphony.xwork2.util.ValueStack;
|
||||
* <p/>
|
||||
*
|
||||
* <!-- START SNIPPET: example1 -->
|
||||
* <s:tabbedpanel id="test" >
|
||||
* <s:div id="one" label="one" theme="ajax" labelposition="top" >
|
||||
* <sx:head />
|
||||
* <sx:tabbedpanel id="test" >
|
||||
* <sx:div id="one" label="one" theme="ajax" labelposition="top" >
|
||||
* This is the first pane<br/>
|
||||
* <s:form>
|
||||
* <s:textfield name="tt" label="Test Text"/> <br/>
|
||||
* <s:textfield name="tt2" label="Test Text2"/>
|
||||
* </s:form>
|
||||
* </s:div>
|
||||
* <s:div id="three" label="remote" theme="ajax" href="/AjaxTest.action" >
|
||||
* </sx:div>
|
||||
* <sx:div id="three" label="remote" theme="ajax" href="/AjaxTest.action" >
|
||||
* This is the remote tab
|
||||
* </s:div>
|
||||
* </s:tabbedpanel>
|
||||
* </sx:div>
|
||||
* </sx:tabbedpanel>
|
||||
* <!-- END SNIPPET: example1 -->
|
||||
*
|
||||
* <!-- START SNIPPET: example2 -->
|
||||
* <sx:head />
|
||||
* <script type="text/javascript">
|
||||
* dojo.event.topic.subscribe("/beforeSelect", function(event, tab, tabContainer){
|
||||
* event.cancel = true;
|
||||
* });
|
||||
* </script>
|
||||
*
|
||||
* <s:tabbedpanel id="test" beforeSelectTabNotifyTopics="/beforeSelect">
|
||||
* <s:div id="three" label="remote" theme="ajax" href="/AjaxTest.action" >
|
||||
* <sx:tabbedpanel id="test" beforeSelectTabNotifyTopics="/beforeSelect">
|
||||
* <sx:div id="three" label="remote" theme="ajax" href="/AjaxTest.action" >
|
||||
* One Tab
|
||||
* </s:div>
|
||||
* <s:div id="three" label="remote" theme="ajax" href="/AjaxTest.action" >
|
||||
* </sx:div>
|
||||
* <sx:div id="three" label="remote" theme="ajax" href="/AjaxTest.action" >
|
||||
* Another tab
|
||||
* </s:div>
|
||||
* </s:tabbedpanel>
|
||||
* </sx:div>
|
||||
* </sx:tabbedpanel>
|
||||
* <!-- 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