You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by hu...@apache.org on 2006/08/20 01:10:13 UTC
svn commit: r432893 [2/2] - in
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components: ./
table/
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/OptionTransferSelect.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/OptionTransferSelect.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/OptionTransferSelect.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/OptionTransferSelect.java Sat Aug 19 16:10:09 2006
@@ -56,7 +56,7 @@
* <!-- START SNIPPET: example -->
*
* <-- minimum configuration -->
- * <a:optiontransferselect
+ * <s:optiontransferselect
* label="Favourite Cartoons Characters"
* name="leftSideCartoonCharacters"
* list="{'Popeye', 'He-Man', 'Spiderman'}"
@@ -65,7 +65,7 @@
* />
*
* <-- possible configuration -->
- * <a:optiontransferselect
+ * <s:optiontransferselect
* label="Favourite Cartoons Characters"
* name="leftSideCartoonCharacters"
* leftTitle="Left Title"
@@ -86,7 +86,7 @@
* <!-- END SNIPPET: example -->
* </pre>
*
- * @a2.tag name="optiontransferselect" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.OptionTransferSelectTag"
+ * @s.tag name="optiontransferselect" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.OptionTransferSelectTag"
* description="Renders an input form"
*/
public class OptionTransferSelect extends DoubleListUIBean {
@@ -302,7 +302,7 @@
/**
* set Add To Left button label
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAddAllToLeftLabel(String addAllToLeftLabel) {
this.addAllToLeftLabel = addAllToLeftLabel;
@@ -314,7 +314,7 @@
/**
* set Add All To Right button label
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAddAllToRightLabel(String addAllToRightLabel) {
this.addAllToRightLabel = addAllToRightLabel;
@@ -326,7 +326,7 @@
/**
* set Add To Left button label
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAddToLeftLabel(String addToLeftLabel) {
this.addToLeftLabel = addToLeftLabel;
@@ -338,7 +338,7 @@
/**
* set Add To Right button label
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAddToRightLabel(String addToRightLabel) {
this.addToRightLabel = addToRightLabel;
@@ -350,7 +350,7 @@
/**
* enable Add All To Left button
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAllowAddAllToLeft(String allowAddAllToLeft) {
this.allowAddAllToLeft = allowAddAllToLeft;
@@ -362,7 +362,7 @@
/**
* enable Add All To Right button
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAllowAddAllToRight(String allowAddAllToRight) {
this.allowAddAllToRight = allowAddAllToRight;
@@ -374,7 +374,7 @@
/**
* enable Add To Left button
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAllowAddToLeft(String allowAddToLeft) {
this.allowAddToLeft = allowAddToLeft;
@@ -386,7 +386,7 @@
/**
* enable Add To Right button
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAllowAddToRight(String allowAddToRight) {
this.allowAddToRight = allowAddToRight;
@@ -425,7 +425,7 @@
/**
* set Left title
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setLeftTitle(String leftTitle) {
this.leftTitle = leftTitle;
@@ -437,7 +437,7 @@
/**
* set Right title
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setRightTitle(String rightTitle) {
this.rightTitle = rightTitle;
@@ -446,7 +446,7 @@
/**
* enable Select All button
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAllowSelectAll(String allowSelectAll) {
this.allowSelectAll = allowSelectAll;
@@ -459,7 +459,7 @@
/**
* set Select All button label
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setSelectAllLabel(String selectAllLabel) {
this.selectAllLabel = selectAllLabel;
@@ -472,7 +472,7 @@
/**
* set buttons css class
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setButtonCssClass(String buttonCssClass) {
this.buttonCssClass = buttonCssClass;
@@ -485,7 +485,7 @@
/**
* set button css style
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setButtonCssStyle(String buttonCssStyle) {
this.buttonCssStyle = buttonCssStyle;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Panel.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Panel.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Panel.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Panel.java Sat Aug 19 16:10:09 2006
@@ -34,7 +34,7 @@
*
* @see TabbedPanel
*
- * @a2.tag name="panel" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.PanelTag"
+ * @s.tag name="panel" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.PanelTag"
* description="Render a panel for tabbedPanel"
*/
public class Panel extends Div {
@@ -95,7 +95,7 @@
/**
* The text of the tab to display in the header tab list
- * @a2.tagattribute required="true"
+ * @s.tagattribute required="true"
*/
public void setTabName(String tabName) {
this.tabName = tabName;
@@ -103,7 +103,7 @@
/**
* Set subscribeTopicName attribute
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setSubscribeTopicName(String subscribeTopicName) {
this.subscribeTopicName = subscribeTopicName;
@@ -111,7 +111,7 @@
/**
* determines whether this is a remote panel (ajax) or a local panel (content loaded into visible/hidden containers)
- * @a2.tagattribute required="false" type="Boolean" default="false"
+ * @s.tagattribute required="false" type="Boolean" default="false"
*/
public void setRemote(String remote) {
this.remote = remote;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Param.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Param.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Param.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Param.java Sat Aug 19 16:10:09 2006
@@ -72,9 +72,9 @@
* This second example demonstrates how the text tag can use parameters from this param tag.
* <!-- START SNIPPET: example2 -->
* <pre>
- * <a:text name="cart.total.cost">
- * <a:param value="#session.cartTotal"/>
- * </a:text>
+ * <s:text name="cart.total.cost">
+ * <s:param value="#session.cartTotal"/>
+ * </s:text>
* </pre>
* <!-- END SNIPPET: example2 -->
* <p/>
@@ -83,7 +83,7 @@
* @see Bean
* @see Text
*
- * @a2.tag name="param" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ParamTag"
+ * @s.tag name="param" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ParamTag"
* description="Parametrize other tags"
*/
public class Param extends Component {
@@ -126,7 +126,7 @@
/**
* Name of Parameter to set
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setName(String name) {
this.name = name;
@@ -134,7 +134,7 @@
/**
* Value expression for Parameter to set
- * @a2.tagattribute required="false" default="The value of evaluating provided name against stack"
+ * @s.tagattribute required="false" default="The value of evaluating provided name against stack"
*/
public void setValue(String value) {
this.value = value;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Password.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Password.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Password.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Password.java Sat Aug 19 16:10:09 2006
@@ -35,11 +35,11 @@
* <!-- END SNIPPET: exdescription -->
* <pre>
* <!-- START SNIPPET: example -->
- * <a:password label="%{text('password')}" name="password" size="10" maxlength="15" />
+ * <s:password label="%{text('password')}" name="password" size="10" maxlength="15" />
* <!-- END SNIPPET: example -->
* </pre>
*
- * @a2.tag name="password" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.PasswordTag"
+ * @s.tag name="password" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.PasswordTag"
* description="Render an HTML input tag of type password"
*/
public class Password extends TextField {
@@ -65,7 +65,7 @@
/**
* Whether to show input
- * @a2.tagattribute required="false" type="Boolean" default="false"
+ * @s.tagattribute required="false" type="Boolean" default="false"
*/
public void setShowPassword(String showPassword) {
this.showPassword = showPassword;
@@ -73,7 +73,7 @@
/**
* Deprecated. Use showPassword instead.
- * @a2.tagattribute required="false" rtexprvalue="true"
+ * @s.tagattribute required="false" rtexprvalue="true"
* @deprecated use {@link #setShowPassword(String)}
*/
public void setShow(String showPassword) {
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Property.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Property.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Property.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Property.java Sat Aug 19 16:10:09 2006
@@ -51,13 +51,13 @@
* <pre>
* <!-- START SNIPPET: example -->
*
- * <a:push value="myBean">
+ * <s:push value="myBean">
* <!-- Example 1: -->
- * <a:property value="myBeanProperty" />
+ * <s:property value="myBeanProperty" />
*
* <!-- Example 2: -->
- * <a:property value="myBeanProperty" default="a default value" />
- * </a:push>
+ * <s:property value="myBeanProperty" default="a default value" />
+ * </s:push>
*
* <!-- END SNIPPET: example -->
* </pre>
@@ -75,12 +75,12 @@
* <pre>
* <!-- START SNIPPET: i18nExample -->
*
- * <a:property value="getText('some.key')" />
+ * <s:property value="getText('some.key')" />
*
* <!-- END SNIPPET: i18nExample -->
* </pre>
*
- * @a2.tag name="property" tld-body-content="empty" tld-tag-class="org.apache.struts2.views.jsp.PropertyTag"
+ * @s.tag name="property" tld-body-content="empty" tld-tag-class="org.apache.struts2.views.jsp.PropertyTag"
* description="Print out expression which evaluates against the stack"
*/
public class Property extends Component {
@@ -96,7 +96,7 @@
/**
* The default value to be used if <u>value</u> attribute is null
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setDefault(String defaultValue) {
this.defaultValue = defaultValue;
@@ -104,7 +104,7 @@
/**
* Whether to escape HTML
- * @a2.tagattribute required="false" type="Boolean" default="true"
+ * @s.tagattribute required="false" type="Boolean" default="true"
*/
public void setEscape(boolean escape) {
this.escape = escape;
@@ -112,7 +112,7 @@
/**
* value to be displayed
- * @a2.tagattribute required="false" type="Object" default="<top of stack>"
+ * @s.tagattribute required="false" type="Object" default="<top of stack>"
*/
public void setValue(String value) {
this.value = value;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Push.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Push.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Push.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Push.java Sat Aug 19 16:10:09 2006
@@ -36,10 +36,10 @@
* <p/> <b>Examples</b>
* <pre>
* <!-- START SNIPPET: example1 -->
- * <a:push value="user">
- * <a:propery value="firstName" />
- * <a:propery value="lastName" />
- * </a:push>
+ * <s:push value="user">
+ * <s:propery value="firstName" />
+ * <s:propery value="lastName" />
+ * </s:push>
* <!-- END SNIPPET: example1 -->
* </pre>
*
@@ -50,11 +50,11 @@
*
* <pre>
* <!-- START SNIPPET: example2 -->
- * <a:push value="myObject"> ----- (1)
- * <a:bean name="jp.SomeBean" id="myBean"/> ----- (2)
- * <a:param name="myParam" value="top"/> ----- (3)
- * </a:bean>
- * </a:push>
+ * <s:push value="myObject"> ----- (1)
+ * <s:bean name="jp.SomeBean" id="myBean"/> ----- (2)
+ * <s:param name="myParam" value="top"/> ----- (3)
+ * </s:bean>
+ * </s:push>
* <!-- END SNIPPET: example2 -->
* </pre>
*
@@ -68,11 +68,11 @@
*
* <pre>
* <!-- START SNIPPET: example3 -->
- * <a:push value="myObject"> ---(A)
- * <a:bean name="jp.SomeBean" id="myBean"/> ---(B)
- * <a:param name="myParam" value="top.mySomeOtherValue"/> ---(C)
- * </a:bean>
- * </a:push>
+ * <s:push value="myObject"> ---(A)
+ * <s:bean name="jp.SomeBean" id="myBean"/> ---(B)
+ * <s:param name="myParam" value="top.mySomeOtherValue"/> ---(C)
+ * </s:bean>
+ * </s:push>
* <!-- END SNIPPET: example3 -->
* </pre>
*
@@ -86,11 +86,11 @@
*
* <pre>
* <!-- START SNIPPET: example4 -->
- * <a:push value="myObject"> ---- (i)
- * <a:bean name="jp.SomeBean" id="myBean"/> ---- (ii)
- * <a:param name="myParam" value="[1].top"/> -----(iii)
- * </a:bean>
- * </a:push>
+ * <s:push value="myObject"> ---- (i)
+ * <s:bean name="jp.SomeBean" id="myBean"/> ---- (ii)
+ * <s:param name="myParam" value="[1].top"/> -----(iii)
+ * </s:bean>
+ * </s:push>
* <!-- END SNIPPET: example4 -->
* </pre>
*
@@ -102,7 +102,7 @@
* <!-- END SNIPPET: example4description -->
* </pre>
*
- * @a2.tag name="push" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.PushTag"
+ * @s.tag name="push" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.PushTag"
* description="Push value on stack for simplified usage."
*/
public class Push extends Component {
@@ -140,7 +140,7 @@
/**
* Value to push on stack
- * @a2.tagattribute required="true"
+ * @s.tagattribute required="true"
*/
public void setValue(String value) {
this.value = value;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Radio.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Radio.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Radio.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Radio.java Sat Aug 19 16:10:09 2006
@@ -38,12 +38,12 @@
* <!-- END SNIPPET: exdescription -->
* <pre>
* <!-- START SNIPPET: example -->
- * <a:action name="GenderMap" id="genders"/>
- * <a:radio label="Gender" name="male" list="#genders.genders"/>
+ * <s:action name="GenderMap" id="genders"/>
+ * <s:radio label="Gender" name="male" list="#genders.genders"/>
* <!-- END SNIPPET: example -->
* </pre>
*
- * @a2.tag name="radio" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.RadioTag"
+ * @s.tag name="radio" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.RadioTag"
* description="Renders a radio button input field"
*/
public class Radio extends ListUIBean {
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/RemoteCallUIBean.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/RemoteCallUIBean.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/RemoteCallUIBean.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/RemoteCallUIBean.java Sat Aug 19 16:10:09 2006
@@ -59,7 +59,7 @@
/**
* The theme to use for the element. <b>This tag will usually use the ajax theme.</b>
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setTheme(String theme) {
super.setTheme(theme);
@@ -67,7 +67,7 @@
/**
* The URL to call to obtain the content
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setHref(String href) {
this.href = href;
@@ -75,7 +75,7 @@
/**
* The text to display to the user if the is an error fetching the content
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setErrorText(String errorText) {
this.errorText = errorText;
@@ -83,7 +83,7 @@
/**
* when to show the error message as content when the URL had problems
- * @a2.tagattribute required="false" type="Boolean" default="false"
+ * @s.tagattribute required="false" type="Boolean" default="false"
*/
public void setShowErrorTransportText(String showErrorTransportText) {
this.showErrorTransportText = showErrorTransportText;
@@ -91,7 +91,7 @@
/**
* Javascript code that will be executed after the content has been fetched
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setAfterLoading(String afterLoading) {
this.afterLoading = afterLoading;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Reset.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Reset.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Reset.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Reset.java Sat Aug 19 16:10:09 2006
@@ -38,18 +38,18 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <a:reset value="%{'Reset'}" />
+ * <s:reset value="%{'Reset'}" />
* <!-- END SNIPPET: example -->
* </pre>
*
* <pre>
* <!-- START SNIPPET: example2 -->
* Render an button reset:
- * <a:reset type="button" value="%{'Reset'}" label="Reset the form"/>
+ * <s:reset type="button" value="%{'Reset'}" label="Reset the form"/>
* <!-- END SNIPPET: example2 -->
* </pre>
*
- * @a2.tag name="reset" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.ResetTag"
+ * @s.tag name="reset" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.ResetTag"
* description="Render a reset button"
*/
public class Reset extends FormButton {
@@ -90,7 +90,7 @@
* Supply a reset button text apart from reset value. Will have no effect for <i>input</i> type reset, since button
* text will always be the value parameter.
*
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setLabel(String label) {
super.setLabel(label);
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Select.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Select.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Select.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Select.java Sat Aug 19 16:10:09 2006
@@ -33,7 +33,7 @@
* <pre>
* <!-- START SNIPPET: example -->
*
- * <a:select label="Pets"
+ * <s:select label="Pets"
* name="petIds"
* list="petDao.pets"
* listKey="id"
@@ -43,7 +43,7 @@
* required="true"
* />
*
- * <a:select label="Months"
+ * <s:select label="Months"
* name="months"
* headerKey="-1" headerValue="Select Month"
* list="#{'01':'Jan', '02':'Feb', [...]}"
@@ -70,7 +70,7 @@
*
* <!-- END SNIPPET: exnote -->
*
- * @a2.tag name="select" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.SelectTag"
+ * @s.tag name="select" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.SelectTag"
* description="Render a select element"
*/
public class Select extends ListUIBean {
@@ -113,7 +113,7 @@
/**
* Whether or not to add an empty (--) option after the header option
- * @a2.tagattribute required="false" type="Boolean" default="false"
+ * @s.tagattribute required="false" type="Boolean" default="false"
*/
public void setEmptyOption(String emptyOption) {
this.emptyOption = emptyOption;
@@ -121,7 +121,7 @@
/**
* Key for first item in list. Must not be empty! "'-1'" and "''" is correct, "" is bad.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setHeaderKey(String headerKey) {
this.headerKey = headerKey;
@@ -129,7 +129,7 @@
/**
* Value expression for first item in list
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setHeaderValue(String headerValue) {
this.headerValue = headerValue;
@@ -137,7 +137,7 @@
/**
* Creates a multiple select. The tag will pre-select multiple values if the values are passed as an Array (of appropriate types) via the value attribute. Passing a Collection may work too? Haven't tested this.
- * @a2.tagattribute required="false" type="Boolean" default="false"
+ * @s.tagattribute required="false" type="Boolean" default="false"
*/
public void setMultiple(String multiple) {
this.multiple = multiple;
@@ -145,7 +145,7 @@
/**
* Size of the element box (# of elements to show)
- * @a2.tagattribute required="false" type="Integer"
+ * @s.tagattribute required="false" type="Integer"
*/
public void setSize(String size) {
this.size = size;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Set.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Set.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Set.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Set.java Sat Aug 19 16:10:09 2006
@@ -63,12 +63,12 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <a:set name="personName" value="person.name"/>
- * Hello, <a:property value="#personName"/>. How are you?
+ * <s:set name="personName" value="person.name"/>
+ * Hello, <s:property value="#personName"/>. How are you?
* <!-- END SNIPPET: example -->
* </pre>
*
- * @a2.tag name="set" tld-body-content="empty" tld-tag-class="org.apache.struts2.views.jsp.SetTag"
+ * @s.tag name="set" tld-body-content="empty" tld-tag-class="org.apache.struts2.views.jsp.SetTag"
* description="Assigns a value to a variable in a specified scope"
*/
public class Set extends Component {
@@ -118,7 +118,7 @@
/**
* The name of the new variable that is assigned the value of <i>value</i>
- * @a2.tagattribute required="true" type="String"
+ * @s.tagattribute required="true" type="String"
*/
public void setName(String name) {
this.name = name;
@@ -126,7 +126,7 @@
/**
* The scope in which to assign the variable. Can be <b>application</b>, <b>session</b>, <b>request</b>, <b>page</b>, or <b>action</b>.
- * @a2.tagattribute required="false" type="String" default="action"
+ * @s.tagattribute required="false" type="String" default="action"
*/
public void setScope(String scope) {
this.scope = scope;
@@ -134,7 +134,7 @@
/**
* The value that is assigned to the variable named <i>name</i>
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setValue(String value) {
this.value = value;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Submit.java Sat Aug 19 16:10:09 2006
@@ -39,21 +39,21 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <a:submit value="%{'Submit'}" />
+ * <s:submit value="%{'Submit'}" />
* <!-- END SNIPPET: example -->
* </pre>
*
* <pre>
* <!-- START SNIPPET: example2 -->
* Render an image submit:
- * <a:submit type="image" value="%{'Submit'}" label="Submit the form" src="submit.gif"/>
+ * <s:submit type="image" value="%{'Submit'}" label="Submit the form" src="submit.gif"/>
* <!-- END SNIPPET: example2 -->
* </pre>
*
* <pre>
* <!-- START SNIPPET: example3 -->
* Render an button submit:
- * <a:submit type="button" value="%{'Submit'}" label="Submit the form"/>
+ * <s:submit type="button" value="%{'Submit'}" label="Submit the form"/>
* <!-- END SNIPPET: example3 -->
* </pre>
*
@@ -82,7 +82,7 @@
* <!-- START SNIPPET: ajxExample1 -->
* Remote form replacing another div:
* <div id='two' style="border: 1px solid yellow;">Initial content</div>
- * <a:form
+ * <s:form
* id='theForm2'
* cssStyle="border: 1px solid green;"
* action='/AjaxRemoteForm.action'
@@ -90,9 +90,9 @@
* theme="ajax">
*
* <input type='text' name='data' value='Struts User' />
- * <a:submit value="GO2" theme="ajax" resultDivId="two" />
+ * <s:submit value="GO2" theme="ajax" resultDivId="two" />
*
- * </a:form >
+ * </s:form >
* <!-- END SNIPPET: ajxExample1 -->
* </pre>
*
@@ -108,15 +108,15 @@
*
* <pre>
* <!-- START SNIPPET: ajxExample2 -->
- * <a:form id="frm1" action="newPersonWithXMLResult" theme="ajax" >
- * <a:textfield label="Name" name="person.name" value="person.name" size="20" required="true" />
- * <a:submit id="submitBtn" value="Save" theme="ajax" cssClass="primary" notifyTopics="personUpdated, systemWorking" />
- * </a:form >
+ * <s:form id="frm1" action="newPersonWithXMLResult" theme="ajax" >
+ * <s:textfield label="Name" name="person.name" value="person.name" size="20" required="true" />
+ * <s:submit id="submitBtn" value="Save" theme="ajax" cssClass="primary" notifyTopics="personUpdated, systemWorking" />
+ * </s:form >
*
- * <a:div href="/listPeople.action" theme="ajax" errorText="error opps"
+ * <s:div href="/listPeople.action" theme="ajax" errorText="error opps"
* loadingText="loading..." id="cart-body" >
- * <a:action namespace="" name="listPeople" executeResult="true" />
- * </a:div>
+ * <s:action namespace="" name="listPeople" executeResult="true" />
+ * </s:div>
* <!-- END SNIPPET: ajxExample2 -->
* </pre>
*
@@ -150,14 +150,14 @@
* }
* </script>
*
- * <a:form id="frm1" action="newPersonWithXMLResult" theme="ajax" >
- * <a:textfield label="Name" name="person.name" value="person.name" size="20" required="true" />
- * <a:submit id="submitBtn" value="Save" theme="ajax" cssClass="primary" onLoadJS="doGreatThings(data, type)" />
- * </a:form>
+ * <s:form id="frm1" action="newPersonWithXMLResult" theme="ajax" >
+ * <s:textfield label="Name" name="person.name" value="person.name" size="20" required="true" />
+ * <s:submit id="submitBtn" value="Save" theme="ajax" cssClass="primary" onLoadJS="doGreatThings(data, type)" />
+ * </s:form>
* <!-- END SNIPPET: ajxExample3 -->
* </pre>
*
- * @a2.tag name="submit" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.SubmitTag"
+ * @s.tag name="submit" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.SubmitTag"
* description="Render a submit button"
*/
public class Submit extends FormButton {
@@ -231,7 +231,7 @@
/**
* The id of the HTML element to place the result (this can the the form's id or any id on the page.
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setResultDivId(String resultDivId) {
this.resultDivId = resultDivId;
@@ -239,7 +239,7 @@
/**
* Javascript code that will be executed after the form has been submitted. The format is onLoadJS='yourMethodName(data,type)'. NOTE: the words data and type must be left like that if you want the event type and the returned data.
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setOnLoadJS(String onLoadJS) {
this.onLoadJS = onLoadJS;
@@ -247,7 +247,7 @@
/**
* Topic names to post an event to after the form has been submitted.
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setNotifyTopics(String notifyTopics) {
this.notifyTopics = notifyTopics;
@@ -255,7 +255,7 @@
/**
* Set listenTopics attribute.
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setListenTopics(String listenTopics) {
this.listenTopics = listenTopics;
@@ -263,7 +263,7 @@
/**
* Javascript code that will be executed before invokation. The format is preInvokeJS='yourMethodName(data,type)'.
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setPreInvokeJS(String preInvokeJS) {
this.preInvokeJS = preInvokeJS;
@@ -271,7 +271,7 @@
/**
* Supply a submit button text apart from submit value. Will have no effect for <i>input</i> type submit, since button text will always be the value parameter. For the type <i>image</i>, alt parameter will be set to this value.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setLabel(String label) {
super.setLabel(label);
@@ -279,7 +279,7 @@
/**
* Supply an image src for <i>image</i> type submit button. Will have no effect for types <i>input</i> and <i>button</i>.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setSrc(String src) {
this.src = src;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TabbedPanel.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TabbedPanel.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TabbedPanel.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TabbedPanel.java Sat Aug 19 16:10:09 2006
@@ -37,24 +37,24 @@
* <!-- END SNIPPET: exdesc -->
* <pre>
* <!-- START SNIPPET: example -->
- * <a:tabbedPanel id="test2" theme="simple" >
- * <a:panel id="left" tabName="left" theme="ajax">
+ * <s:tabbedPanel id="test2" theme="simple" >
+ * <s:panel id="left" tabName="left" theme="ajax">
* This is the left pane<br/>
- * <a:form >
- * <a:textfield name="tt" label="Test Text" /> <br/>
- * <a:textfield name="tt2" label="Test Text2" />
- * </a:form>
- * </a:panel>
- * <a:panel remote="true" href="/AjaxTest.action" id="ryh1" theme="ajax" tabName="remote one" />
- * <a:panel id="middle" tabName="middle" theme="ajax">
+ * <s:form >
+ * <s:textfield name="tt" label="Test Text" /> <br/>
+ * <s:textfield name="tt2" label="Test Text2" />
+ * </s:form>
+ * </s:panel>
+ * <s:panel remote="true" href="/AjaxTest.action" id="ryh1" theme="ajax" tabName="remote one" />
+ * <s:panel id="middle" tabName="middle" theme="ajax">
* middle tab<br/>
- * <a:form >
- * <a:textfield name="tt" label="Test Text44" /> <br/>
- * <a:textfield name="tt2" label="Test Text442" />
- * </a:form>
- * </a:panel>
- * <a:panel remote="true" href="/AjaxTest.action" id="ryh21" theme="ajax" tabName="remote right" />
- * </a:tabbedPanel>
+ * <s:form >
+ * <s:textfield name="tt" label="Test Text44" /> <br/>
+ * <s:textfield name="tt2" label="Test Text442" />
+ * </s:form>
+ * </s:panel>
+ * <s:panel remote="true" href="/AjaxTest.action" id="ryh21" theme="ajax" tabName="remote right" />
+ * </s:tabbedPanel>
* <!-- END SNIPPET: example -->
* </pre>
*
@@ -68,10 +68,10 @@
*
* <pre>
* <!-- START SNIPPET: example2 -->
- * <link rel="stylesheet" type="text/css" href="<a:url value="/struts/tabs.css"/>">
- * <link rel="stylesheet" type="text/css" href="<a:url value="/struts/niftycorners/niftyCorners.css"/>">
- * <link rel="stylesheet" type="text/css" href="<a:url value="/struts/niftycorners/niftyPrint.css"/>" media="print">
- * <script type="text/javascript" src="<a:url value="/struts/niftycorners/nifty.js"/>"></script>
+ * <link rel="stylesheet" type="text/css" href="<s:url value="/struts/tabs.css"/>">
+ * <link rel="stylesheet" type="text/css" href="<s:url value="/struts/niftycorners/niftyCorners.css"/>">
+ * <link rel="stylesheet" type="text/css" href="<s:url value="/struts/niftycorners/niftyPrint.css"/>" media="print">
+ * <script type="text/javascript" src="<s:url value="/struts/niftycorners/nifty.js"/>"></script>
* <script type="text/javascript">
* dojo.event.connect(window, "onload", function() {
* if (!NiftyCheck())
@@ -88,7 +88,7 @@
*
* @see Panel
*
- * @a2.tag name="tabbedPanel" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.TabbedPanelTag"
+ * @s.tag name="tabbedPanel" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.TabbedPanelTag"
* description="Render a tabbedPanel widget."
*/
public class TabbedPanel extends ClosingUIBean {
@@ -146,7 +146,7 @@
/**
* The id to assign to the component.
- * @a2.tagattribute required="true" type="String"
+ * @s.tagattribute required="true" type="String"
*/
public void setId(String id) {
// This is required to override tld generation attributes to required=true
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Text.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Text.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Text.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Text.java Sat Aug 19 16:10:09 2006
@@ -75,17 +75,17 @@
* <!-- START SNIPPET: example -->
*
* <!-- First Example -->
- * <a:i18n name="struts.action.test.i18n.Shop">
- * <a:text name="main.title"/>
- * </a:i18n>
+ * <s:i18n name="struts.action.test.i18n.Shop">
+ * <s:text name="main.title"/>
+ * </s:i18n>
*
* <!-- Second Example -->
- * <a:text name="main.title" />
+ * <s:text name="main.title" />
*
* <!-- Third Examlpe -->
- * <a:text name="i18n.label.greetings">
- * <a:param >Mr Smith</a:param>
- * </a:text>
+ * <s:text name="i18n.label.greetings">
+ * <s:param >Mr Smith</s:param>
+ * </s:text>
*
* <!-- END SNIPPET: example -->
* </pre>
@@ -95,19 +95,19 @@
* <!-- START SNIPPET: i18nExample -->
*
* <-- Fourth Example -->
- * <a:text name="some.key" />
+ * <s:text name="some.key" />
*
* <-- Fifth Example -->
- * <a:text name="some.invalid.key" >
+ * <s:text name="some.invalid.key" >
* The Default Message That Will Be Displayed
- * </a:text>
+ * </s:text>
*
* <!-- END SNIPPET: i18nExample -->
* </pre>
*
* @see Param
*
- * @a2.tag name="text" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.TextTag"
+ * @s.tag name="text" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.TextTag"
* description="Render a I18n text message."
*/
public class Text extends Component implements Param.UnnamedParametric {
@@ -123,7 +123,7 @@
/**
* Name of resource property to fetch
- * @a2.tagattribute required="true"
+ * @s.tagattribute required="true"
*/
public void setName(String name) {
this.name = name;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextArea.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextArea.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextArea.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextArea.java Sat Aug 19 16:10:09 2006
@@ -31,13 +31,13 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <a:textarea label="Comments" name="comments" cols="30" rows="8"/>
+ * <s:textarea label="Comments" name="comments" cols="30" rows="8"/>
* <!-- END SNIPPET: example -->
* </pre>
*
* @see TabbedPanel
*
- * @a2.tag name="textarea" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.TextareaTag"
+ * @s.tag name="textarea" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.TextareaTag"
* description="Render HTML textarea tag."
*/
public class TextArea extends UIBean {
@@ -78,7 +78,7 @@
/**
* HTML cols attribute
- * @a2.tagattribute required="false" type="Integer"
+ * @s.tagattribute required="false" type="Integer"
*/
public void setCols(String cols) {
this.cols = cols;
@@ -86,7 +86,7 @@
/**
* Whether the textarea is readonly
- * @a2.tagattribute required="false" type="Boolean" default="false"
+ * @s.tagattribute required="false" type="Boolean" default="false"
*/
public void setReadonly(String readonly) {
this.readonly = readonly;
@@ -94,7 +94,7 @@
/**
* HTML rows attribute
- * @a2.tagattribute required="false" type="Integer"
+ * @s.tagattribute required="false" type="Integer"
*/
public void setRows(String rows) {
this.rows = rows;
@@ -102,7 +102,7 @@
/**
* HTML wrap attribute
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setWrap(String wrap) {
this.wrap = wrap;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextField.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextField.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextField.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TextField.java Sat Aug 19 16:10:09 2006
@@ -35,11 +35,11 @@
* <!-- END SNIPPET: exdescription -->
* <pre>
* <!-- START SNIPPET: example -->
- * <a:textfield label="%{text('user_name')}" name="user" />
+ * <s:textfield label="%{text('user_name')}" name="user" />
* <!-- END SNIPPET: example -->
* </pre>
*
- * @a2.tag name="textfield" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.TextFieldTag"
+ * @s.tag name="textfield" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.TextFieldTag"
* description="Render an HTML input field of type text"
*/
public class TextField extends UIBean {
@@ -79,7 +79,7 @@
/**
* HTML maxlength attribute
- * @a2.tagattribute required="false" type="Integer"
+ * @s.tagattribute required="false" type="Integer"
*/
public void setMaxlength(String maxlength) {
this.maxlength = maxlength;
@@ -87,7 +87,7 @@
/**
* Deprecated. Use maxlength instead.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setMaxLength(String maxlength) {
this.maxlength = maxlength;
@@ -95,7 +95,7 @@
/**
* Whether the input is readonly
- * @a2.tagattribute required="false" type="Boolean" default="false"
+ * @s.tagattribute required="false" type="Boolean" default="false"
*/
public void setReadonly(String readonly) {
this.readonly = readonly;
@@ -103,7 +103,7 @@
/**
* HTML size attribute
- * @a2.tagattribute required="false" type="Integer"
+ * @s.tagattribute required="false" type="Integer"
*/
public void setSize(String size) {
this.size = size;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TimePicker.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TimePicker.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TimePicker.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TimePicker.java Sat Aug 19 16:10:09 2006
@@ -112,7 +112,7 @@
/**
* The format to use for time field.
- * @a2.tagattribute required="false" type="String" default="Dateformat specified by language preset (%Y/%m/%d for en)"
+ * @s.tagattribute required="false" type="String" default="Dateformat specified by language preset (%Y/%m/%d for en)"
*/
public void setFormat(String format) {
this.format = format;
@@ -120,7 +120,7 @@
/**
* The time picker icon path
- * @a2.tagattribute required="false" type="String" default="/struts/dojo/struts/widgets/dateIcon.gif"
+ * @s.tagattribute required="false" type="String" default="/struts/dojo/struts/widgets/dateIcon.gif"
*/
public void setTimeIconPath(String timeIconPath) {
this.timeIconPath = timeIconPath;
@@ -128,7 +128,7 @@
/**
* The time picker template path.
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setTemplatePath(String templatePath) {
this.templatePath = templatePath;
@@ -136,7 +136,7 @@
/**
* The time picker template css path.
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setTemplateCssPath(String templateCssPath) {
this.templateCssPath = templateCssPath;
@@ -144,7 +144,7 @@
/**
* The time picker text field size.
- * @a2.tagattribute required="false" type="String"
+ * @s.tagattribute required="false" type="String"
*/
public void setSize(String size) {
this.size = size;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Token.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Token.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Token.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Token.java Sat Aug 19 16:10:09 2006
@@ -29,7 +29,7 @@
* Stop double-submission of forms.</p>
*
* The token tag is used to help with the "double click" submission problem. It is needed if you are using the
- * TokenInterceptor or the TokenSessionInterceptor. The a:token tag merely places a hidden element that contains
+ * TokenInterceptor or the TokenSessionInterceptor. The s:token tag merely places a hidden element that contains
* the unique token.</p>
* <!-- END SNIPPET: javadoc -->
*
@@ -37,14 +37,14 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <a:token />
+ * <s:token />
* <!-- END SNIPPET: example -->
* </pre>
*
* @see org.apache.struts2.interceptor.TokenInterceptor
* @see org.apache.struts2.interceptor.TokenSessionStoreInterceptor
*
- * @a2.tag name="token" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.TokenTag"
+ * @s.tag name="token" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.TokenTag"
* description="Stop double-submission of forms"
*/
public class Token extends UIBean {
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Tree.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Tree.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Tree.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Tree.java Sat Aug 19 16:10:09 2006
@@ -60,7 +60,7 @@
* </pre>
*
*
- * @a2.tag name="tree" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.TreeTag"
+ * @s.tag name="tree" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.TreeTag"
* description="Render a tree widget."
*/
public class Tree extends ClosingUIBean {
@@ -220,7 +220,7 @@
/**
* The toggle property (either 'explode' or 'fade'). Default is 'fade'.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setToggle(String toggle) {
this.toggle = toggle;
@@ -232,7 +232,7 @@
/**
* The treeSelectedTopic property.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setTreeSelectedTopic(String treeSelectedTopic) {
this.treeSelectedTopic = treeSelectedTopic;
@@ -244,7 +244,7 @@
/**
* The treeExpandedTopic property.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setTreeExpandedTopic(String treeExpandedTopic) {
this.treeExpandedTopic = treeExpandedTopic;
@@ -256,7 +256,7 @@
/**
* The treeCollapsedTopic property.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setTreeCollapsedTopic(String treeCollapsedTopic) {
this.treeCollapsedTopic = treeCollapsedTopic;
@@ -268,7 +268,7 @@
/**
* The rootNode property.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setRootNode(String rootNode) {
this.rootNodeAttr = rootNode;
@@ -280,7 +280,7 @@
/**
* The childCollectionProperty property.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setChildCollectionProperty(String childCollectionProperty) {
this.childCollectionProperty = childCollectionProperty;
@@ -292,7 +292,7 @@
/**
* The nodeTitleProperty property.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setNodeTitleProperty(String nodeTitleProperty) {
this.nodeTitleProperty = nodeTitleProperty;
@@ -304,7 +304,7 @@
/**
* The nodeIdProperty property.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setNodeIdProperty(String nodeIdProperty) {
this.nodeIdProperty = nodeIdProperty;
@@ -312,7 +312,7 @@
/**
* The showRootGrid property (default true).
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setShowRootGrid(String showRootGrid) {
this.showRootGrid = showRootGrid;
@@ -328,7 +328,7 @@
/**
* Blank icon image source.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setBlankIconSrc(String blankIconSrc) {
this.blankIconSrc = blankIconSrc;
@@ -340,7 +340,7 @@
/**
* Expand icon (-) image source.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setExpandIconSrcMinus(String expandIconSrcMinus) {
this.expandIconSrcMinus = expandIconSrcMinus;
@@ -352,7 +352,7 @@
/**
* Expand Icon (+) image source.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setExpandIconSrcPlus(String expandIconSrcPlus) {
this.expandIconSrcPlus = expandIconSrcPlus;
@@ -364,7 +364,7 @@
/**
* Image source for under child item child icons.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setGridIconSrcC(String gridIconSrcC) {
this.gridIconSrcC = gridIconSrcC;
@@ -377,7 +377,7 @@
/**
* Image source for last child grid.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setGridIconSrcL(String gridIconSrcL) {
this.gridIconSrcL = gridIconSrcL;
@@ -389,7 +389,7 @@
/**
* Image source for under parent item child icons.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setGridIconSrcP(String gridIconSrcP) {
this.gridIconSrcP = gridIconSrcP;
@@ -401,7 +401,7 @@
/**
* Image source for vertical line.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setGridIconSrcV(String gridIconSrcV) {
this.gridIconSrcV = gridIconSrcV;
@@ -413,7 +413,7 @@
/**
* Image source for grid for sole root item.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setGridIconSrcX(String gridIconSrcX) {
this.gridIconSrcX = gridIconSrcX;
@@ -425,7 +425,7 @@
/**
* Image source for grid for last root item.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setGridIconSrcY(String gridIconSrcY) {
this.gridIconSrcY = gridIconSrcY;
@@ -438,7 +438,7 @@
/**
* Icon height (default 18 pixels).
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setIconHeight(String iconHeight) {
this.iconHeight = iconHeight;
@@ -450,7 +450,7 @@
/**
* Icon width (default 19 pixels).
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setIconWidth(String iconWidth) {
this.iconWidth = iconWidth;
@@ -464,7 +464,7 @@
/**
* Template css path (default {contextPath}/struts/tree.css.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setTemplateCssPath(String templateCssPath) {
this.templateCssPath = templateCssPath;
@@ -476,7 +476,7 @@
/**
* Toggle duration (default 150 ms)
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setToggleDuration(String toggleDuration) {
this.toggleDuration = toggleDuration;
@@ -488,7 +488,7 @@
/**
* Show grid (default true).
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setShowGrid(String showGrid) {
this.showGrid = showGrid;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TreeNode.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TreeNode.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TreeNode.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/TreeNode.java Sat Aug 19 16:10:09 2006
@@ -94,7 +94,7 @@
/**
* Label expression used for rendering tree node label.
- * @a2.tagattribute required="true"
+ * @s.tagattribute required="true"
*/
public void setLabel(String label) {
super.setLabel(label);
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java Sat Aug 19 16:10:09 2006
@@ -332,50 +332,50 @@
* <!-- START SNIPPET: tooltipexample -->
*
* <!-- Example 1: -->
- * <a:form
+ * <s:form
* tooltipConfig="#{'tooltipDelay':'500',
* 'tooltipIcon='/myImages/myIcon.gif'}" .... >
* ....
- * <a:textfield label="Customer Name" tooltip="Enter the customer name" .... />
+ * <s:textfield label="Customer Name" tooltip="Enter the customer name" .... />
* ....
- * </a:form>
+ * </s:form>
*
* <!-- Example 2: -->
- * <a:form
+ * <s:form
* tooltipConfig="#{'tooltipDelay':'500',
* 'tooltipIcon':'/myImages/myIcon.gif'}" ... >
* ....
- * <a:textfield label="Address"
+ * <s:textfield label="Address"
* tooltip="Enter your address"
* tooltipConfig="#{'tooltipDelay':'5000'}" />
* ....
- * </a:form>
+ * </s:form>
*
*
* <-- Example 3: -->
- * <a:textfield
+ * <s:textfield
* label="Customer Name"
* tooltip="One of our customer Details'">
- * <a:param name="tooltipConfig">
+ * <s:param name="tooltipConfig">
* tooltipDelay = 500 |
* tooltipIcon = /myImages/myIcon.gif
- * </a:param>
- * </a:textfield>
+ * </s:param>
+ * </s:textfield>
*
*
* <-- Example 4: -->
- * <a:textfield
+ * <s:textfield
* label="Customer Address"
* tooltip="Enter The Customer Address" >
- * <a:param
+ * <s:param
* name="tooltipConfig"
* value="#{'tooltipDelay':'500',
* 'tooltipIcon':'/myImages/myIcon.gif'}" />
- * </a:textfield>
+ * </s:textfield>
*
*
* <-- Example 5: -->
- * <a:textfield
+ * <s:textfield
* label="Customer Telephone Number"
* tooltip="Enter customer Telephone Number"
* tooltipConfig="#{'tooltipDelay':'500',
@@ -836,7 +836,7 @@
/**
* The template directory.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setTemplateDir(String templateDir) {
this.templateDir = templateDir;
@@ -844,7 +844,7 @@
/**
* The theme (other than default) to use for rendering the element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setTheme(String theme) {
this.theme = theme;
@@ -856,7 +856,7 @@
/**
* The template (other than default) to use for rendering the element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setTemplate(String template) {
this.template = template;
@@ -864,7 +864,7 @@
/**
* The css class to use for element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setCssClass(String cssClass) {
this.cssClass = cssClass;
@@ -872,7 +872,7 @@
/**
* The css style definitions for element ro use
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setCssStyle(String cssStyle) {
this.cssStyle = cssStyle;
@@ -880,7 +880,7 @@
/**
* Set the html title attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setTitle(String title) {
this.title = title;
@@ -888,7 +888,7 @@
/**
* Set the html disabled attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setDisabled(String disabled) {
this.disabled = disabled;
@@ -896,7 +896,7 @@
/**
* Label expression used for rendering a element specific label
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setLabel(String label) {
this.label = label;
@@ -904,7 +904,7 @@
/**
* deprecated.
- * @a2.tagattribute required="false" default="left"
+ * @s.tagattribute required="false" default="left"
* @deprecated please use {@link #setLabelposition(String)} instead
*/
public void setLabelPosition(String labelPosition) {
@@ -913,7 +913,7 @@
/**
* define label position of form element (top/left)
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setLabelposition(String labelPosition) {
this.labelPosition = labelPosition;
@@ -921,7 +921,7 @@
/**
* define required position of required form element (left|right)
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setRequiredposition(String requiredposition) {
this.requiredposition = requiredposition;
@@ -929,7 +929,7 @@
/**
* The name to set for element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setName(String name) {
this.name = name;
@@ -937,7 +937,7 @@
/**
* If set to true, the rendered element will indicate that input is required
- * @a2.tagattribute required="false" type="Boolean" default="false"
+ * @s.tagattribute required="false" type="Boolean" default="false"
*/
public void setRequired(String required) {
this.required = required;
@@ -945,7 +945,7 @@
/**
* Set the html tabindex attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setTabindex(String tabindex) {
this.tabindex = tabindex;
@@ -953,7 +953,7 @@
/**
* Preset the value of input element.
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setValue(String value) {
this.value = value;
@@ -961,7 +961,7 @@
/**
* Set the html onclick attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnclick(String onclick) {
this.onclick = onclick;
@@ -969,7 +969,7 @@
/**
* Set the html ondblclick attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOndblclick(String ondblclick) {
this.ondblclick = ondblclick;
@@ -977,7 +977,7 @@
/**
* Set the html onmousedown attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnmousedown(String onmousedown) {
this.onmousedown = onmousedown;
@@ -985,7 +985,7 @@
/**
* Set the html onmouseup attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnmouseup(String onmouseup) {
this.onmouseup = onmouseup;
@@ -993,7 +993,7 @@
/**
* Set the html onmouseover attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnmouseover(String onmouseover) {
this.onmouseover = onmouseover;
@@ -1001,7 +1001,7 @@
/**
* Set the html onmousemove attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnmousemove(String onmousemove) {
this.onmousemove = onmousemove;
@@ -1009,7 +1009,7 @@
/**
* Set the html onmouseout attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnmouseout(String onmouseout) {
this.onmouseout = onmouseout;
@@ -1017,7 +1017,7 @@
/**
* Set the html onfocus attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnfocus(String onfocus) {
this.onfocus = onfocus;
@@ -1025,7 +1025,7 @@
/**
* Set the html onblur attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnblur(String onblur) {
this.onblur = onblur;
@@ -1033,7 +1033,7 @@
/**
* Set the html onkeypress attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnkeypress(String onkeypress) {
this.onkeypress = onkeypress;
@@ -1041,7 +1041,7 @@
/**
* Set the html onkeydown attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnkeydown(String onkeydown) {
this.onkeydown = onkeydown;
@@ -1049,7 +1049,7 @@
/**
* Set the html onkeyup attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnkeyup(String onkeyup) {
this.onkeyup = onkeyup;
@@ -1057,7 +1057,7 @@
/**
* Set the html onselect attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnselect(String onselect) {
this.onselect = onselect;
@@ -1065,7 +1065,7 @@
/**
* Set the html onchange attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setOnchange(String onchange) {
this.onchange = onchange;
@@ -1073,7 +1073,7 @@
/**
* Set the html accesskey attribute on rendered html element
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAccesskey(String accesskey) {
this.accesskey = accesskey;
@@ -1081,7 +1081,7 @@
/**
* Set the tooltip of this particular component
- * @a2.tagattribute required="false" type="String" default=""
+ * @s.tagattribute required="false" type="String" default=""
*/
public void setTooltip(String tooltip) {
this.tooltip = tooltip;
@@ -1089,7 +1089,7 @@
/**
* Set the tooltip configuration
- * @a2.tagattribute required="false" type="String" default=""
+ * @s.tagattribute required="false" type="String" default=""
*/
public void setTooltipConfig(String tooltipConfig) {
this.tooltipConfig = tooltipConfig;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/URL.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/URL.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/URL.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/URL.java Sat Aug 19 16:10:09 2006
@@ -79,26 +79,26 @@
* <!-- START SNIPPET: example -->
*
* <-- Example 1 -->
- * <a:url value="editGadget.action">
- * <a:param name="id" value="%{selected}" />
- * </a:url>
+ * <s:url value="editGadget.action">
+ * <s:param name="id" value="%{selected}" />
+ * </s:url>
*
* <-- Example 2 -->
- * <a:url action="editGadget">
- * <a:param name="id" value="%{selected}" />
- * </a:url>
+ * <s:url action="editGadget">
+ * <s:param name="id" value="%{selected}" />
+ * </s:url>
*
* <-- Example 3-->
- * <a:url includeParams="get" >
+ * <s:url includeParams="get" >
* <:param name="id" value="%{'22'}" />
- * </a:url>
+ * </s:url>
*
* <!-- END SNIPPET: example -->
* </pre>
*
* @see Param
*
- * @a2.tag name="url" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.URLTag"
+ * @s.tag name="url" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.URLTag"
* description="This tag is used to create a URL"
*/
public class URL extends Component {
@@ -247,7 +247,7 @@
/**
* The includeParams attribute may have the value 'none', 'get' or 'all'.
- * @a2.tagattribute required="false" default="get"
+ * @s.tagattribute required="false" default="get"
*/
public void setIncludeParams(String includeParams) {
this.includeParams = includeParams;
@@ -255,7 +255,7 @@
/**
* Set scheme attribute
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setScheme(String scheme) {
this.scheme = scheme;
@@ -263,7 +263,7 @@
/**
* The target value to use, if not using action
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setValue(String value) {
this.value = value;
@@ -271,7 +271,7 @@
/**
* The action generate url for, if not using value
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAction(String action) {
this.action = action;
@@ -279,7 +279,7 @@
/**
* The namespace to use
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setNamespace(String namespace) {
this.namespace = namespace;
@@ -287,7 +287,7 @@
/**
* The method of action to use
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
* @deprecated Since Struts 2.0.0
*/
public void setMethod(String method) {
@@ -296,7 +296,7 @@
/**
* whether to encode parameters
- * @a2.tagattribute required="false" type="Boolean" default="true"
+ * @s.tagattribute required="false" type="Boolean" default="true"
*/
public void setEncode(boolean encode) {
this.encode = encode;
@@ -304,7 +304,7 @@
/**
* whether actual context should be included in url
- * @a2.tagattribute required="false" type="Boolean" default="true"
+ * @s.tagattribute required="false" type="Boolean" default="true"
*/
public void setIncludeContext(boolean includeContext) {
this.includeContext = includeContext;
@@ -312,7 +312,7 @@
/**
* The resulting portlet mode
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setPortletMode(String portletMode) {
this.portletMode = portletMode;
@@ -320,7 +320,7 @@
/**
* The resulting portlet window state
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setWindowState(String windowState) {
this.windowState = windowState;
@@ -328,7 +328,7 @@
/**
* Specifies if this should be a portlet render or action url
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setPortletUrlType(String portletUrlType) {
this.portletUrlType = portletUrlType;
@@ -336,7 +336,7 @@
/**
* The anchor for this URL
- * @a2.tagattribute required="false"
+ * @s.tagattribute required="false"
*/
public void setAnchor(String anchor) {
this.anchor = anchor;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UpDownSelect.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UpDownSelect.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UpDownSelect.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UpDownSelect.java Sat Aug 19 16:10:09 2006
@@ -43,7 +43,7 @@
* <!-- START SNIPPET: example -->
*
* <!-- Example 1: simple example -->
- * <a:updownselect
+ * <s:updownselect
* list="#{'england':'England', 'america':'America', 'germany':'Germany'}"
* name="prioritisedFavouriteCountries"
* headerKey="-1"
@@ -51,7 +51,7 @@
* emptyOption="true" />
*
* <!-- Example 2: more complex example -->
- * <a:updownselect
+ * <s:updownselect
* list="defaultFavouriteCartoonCharacters"
* name="prioritisedFavouriteCartoonCharacters"
* headerKey="-1"
@@ -69,7 +69,7 @@
*
* @version $Date$ $Id$
*
- * @a2.tag name="updownselect" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.UpDownSelectTag"
+ * @s.tag name="updownselect" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.UpDownSelectTag"
* description="Render a up down select element"
*/
public class UpDownSelect extends Select {
@@ -158,7 +158,7 @@
}
/**
* Whether move up button should be displayed
- * @a2.tagattribute required="false" type="Boolean" default="true"
+ * @s.tagattribute required="false" type="Boolean" default="true"
*/
public void setAllowMoveUp(String allowMoveUp) {
this.allowMoveUp = allowMoveUp;
@@ -171,7 +171,7 @@
}
/**
* Whether move down button should be displayed
- * @a2.tagattribute required="false" type="Boolean" default="true"
+ * @s.tagattribute required="false" type="Boolean" default="true"
*/
public void setAllowMoveDown(String allowMoveDown) {
this.allowMoveDown = allowMoveDown;
@@ -184,7 +184,7 @@
}
/**
* Whether or not select all button should be displayed
- * @a2.tagattribute required="false" type="Boolean" default="true"
+ * @s.tagattribute required="false" type="Boolean" default="true"
*/
public void setAllowSelectAll(String allowSelectAll) {
this.allowSelectAll = allowSelectAll;
@@ -196,7 +196,7 @@
}
/**
* Text to display on the move up button
- * @a2.tagattribute required="false" type="String" default="^"
+ * @s.tagattribute required="false" type="String" default="^"
*/
public void setMoveUpLabel(String moveUpLabel) {
this.moveUpLabel = moveUpLabel;
@@ -209,7 +209,7 @@
}
/**
* Text to display on the move down button
- * @a2.tagattribute required="false" type="String" default="v"
+ * @s.tagattribute required="false" type="String" default="v"
*/
public void setMoveDownLabel(String moveDownLabel) {
this.moveDownLabel = moveDownLabel;
@@ -222,7 +222,7 @@
}
/**
* Text to display on the select all button
- * @a2.tagattribute required="false" type="String" default="*"
+ * @s.tagattribute required="false" type="String" default="*"
*/
public void setSelectAllLabel(String selectAllLabel) {
this.selectAllLabel = selectAllLabel;
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/table/WebTable.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/table/WebTable.java?rev=432893&r1=432892&r2=432893&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/table/WebTable.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/table/WebTable.java Sat Aug 19 16:10:09 2006
@@ -33,7 +33,7 @@
import java.util.NoSuchElementException;
/**
- * @a2.tag name="table" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.table.WebTableTag"
+ * @s.tag name="table" tld-body-content="JSP" tld-tag-class="org.apache.struts2.views.jsp.ui.table.WebTableTag"
* description="Instantiate a JavaBean and place it in the context."
*/
public class WebTable extends GenericUIBean {
@@ -204,7 +204,7 @@
/**
* The name of model to use
- * @a2.tagattribute required="true" type="String"
+ * @s.tagattribute required="true" type="String"
*/
public void setModelName(String modelName) {
this.modelName = modelName;
@@ -244,7 +244,7 @@
/**
* Index of column to sort data by
- * @a2.tagattribute required="false" type="Integer"
+ * @s.tagattribute required="false" type="Integer"
*/
public void setSortColumn(int sortColumn) {
this.sortColumn = sortColumn;
@@ -264,7 +264,7 @@
/**
* Set sort order. Allowed values are NONE, ASC and DESC
- * @a2.tagattribute required="false" type="String" default="NONE"
+ * @s.tagattribute required="false" type="String" default="NONE"
*/
public void setSortOrder(String sortOrder) {
if (sortOrder.equals(SortableTableModel.NONE)) {
@@ -292,7 +292,7 @@
/**
* Whether the table should be sortable. Requires that model implements org.apache.struts2.components.table.SortableTableModel if set to true.
- * @a2.tagattribute required="false" type="Boolean" default="false"
+ * @s.tagattribute required="false" type="Boolean" default="false"
*/
public void setSortable(boolean sortable) {
sortableAttr = sortable;