You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by mr...@apache.org on 2006/03/29 05:16:06 UTC
svn commit: r389662 [1/2] - in /incubator/webwork2/src:
java/org/apache/struts/action2/components/
java/org/apache/struts/action2/dispatcher/mapper/
java/org/apache/struts/action2/interceptor/
java/org/apache/struts/action2/sitegraph/entities/ java/org...
Author: mrdon
Date: Tue Mar 28 19:16:00 2006
New Revision: 389662
URL: http://svn.apache.org/viewcvs?rev=389662&view=rev
Log:
Changing tag prefix from ww: to a: in tagdocs and javadocs
Modified:
incubator/webwork2/src/java/org/apache/struts/action2/components/ActionComponent.java
incubator/webwork2/src/java/org/apache/struts/action2/components/ActionError.java
incubator/webwork2/src/java/org/apache/struts/action2/components/ActionMessage.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Anchor.java
incubator/webwork2/src/java/org/apache/struts/action2/components/AppendIterator.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Bean.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Checkbox.java
incubator/webwork2/src/java/org/apache/struts/action2/components/CheckboxList.java
incubator/webwork2/src/java/org/apache/struts/action2/components/ComboBox.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Date.java
incubator/webwork2/src/java/org/apache/struts/action2/components/DatePicker.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Debug.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Div.java
incubator/webwork2/src/java/org/apache/struts/action2/components/DoubleSelect.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Else.java
incubator/webwork2/src/java/org/apache/struts/action2/components/ElseIf.java
incubator/webwork2/src/java/org/apache/struts/action2/components/FieldError.java
incubator/webwork2/src/java/org/apache/struts/action2/components/File.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Form.java
incubator/webwork2/src/java/org/apache/struts/action2/components/GenericUIBean.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Head.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Hidden.java
incubator/webwork2/src/java/org/apache/struts/action2/components/I18n.java
incubator/webwork2/src/java/org/apache/struts/action2/components/If.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Include.java
incubator/webwork2/src/java/org/apache/struts/action2/components/IteratorComponent.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Label.java
incubator/webwork2/src/java/org/apache/struts/action2/components/MergeIterator.java
incubator/webwork2/src/java/org/apache/struts/action2/components/OptionTransferSelect.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Param.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Password.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Property.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Push.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Radio.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Reset.java
incubator/webwork2/src/java/org/apache/struts/action2/components/RichTextEditor.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Select.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Set.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Submit.java
incubator/webwork2/src/java/org/apache/struts/action2/components/TabbedPanel.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Text.java
incubator/webwork2/src/java/org/apache/struts/action2/components/TextArea.java
incubator/webwork2/src/java/org/apache/struts/action2/components/TextField.java
incubator/webwork2/src/java/org/apache/struts/action2/components/Token.java
incubator/webwork2/src/java/org/apache/struts/action2/components/UIBean.java
incubator/webwork2/src/java/org/apache/struts/action2/components/URL.java
incubator/webwork2/src/java/org/apache/struts/action2/components/UpDownSelect.java
incubator/webwork2/src/java/org/apache/struts/action2/dispatcher/mapper/DefaultActionMapper.java
incubator/webwork2/src/java/org/apache/struts/action2/interceptor/ExecuteAndWaitInterceptor.java
incubator/webwork2/src/java/org/apache/struts/action2/interceptor/FileUploadInterceptor.java
incubator/webwork2/src/java/org/apache/struts/action2/sitegraph/entities/JspView.java
incubator/webwork2/src/java/org/apache/struts/action2/static/CommonFunctions.js
incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/IteratorGeneratorTag.java
incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/SortIteratorTag.java
incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/SubsetIteratorTag.java
incubator/webwork2/src/test/org/apache/struts/action2/views/jsp/ui/FormTagTest.java
incubator/webwork2/src/xdt/tagdoc-toc.xdt
incubator/webwork2/src/xdt/tagdoc.xdt
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/ActionComponent.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/ActionComponent.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/ActionComponent.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/ActionComponent.java Tue Mar 28 19:16:00 2006
@@ -71,16 +71,16 @@
* <!-- START SNIPPET: example -->
* <div>The following action tag will execute result and include it in this page</div>
* <br />
- * <ww:action name="actionTagAction" executeResult="true" />
+ * <a:action name="actionTagAction" executeResult="true" />
* <br />
* <div>The following action tag will do the same as above, but invokes method specialMethod in action</div>
* <br />
- * <ww:action name="actionTagAction!specialMethod" executeResult="true" />
+ * <a:action name="actionTagAction!specialMethod" executeResult="true" />
* <br />
* <div>The following action tag will not execute result, but put a String in request scope
* under an id "stringByAction" which will be retrieved using property tag</div>
- * <ww:action name="actionTagAction!default" executeResult="false" />
- * <ww:property value="#attr.stringByAction" />
+ * <a:action name="actionTagAction!default" executeResult="false" />
+ * <a:property value="#attr.stringByAction" />
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/ActionError.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/ActionError.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/ActionError.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/ActionError.java Tue Mar 28 19:16:00 2006
@@ -22,10 +22,10 @@
* <pre>
* <!-- START SNIPPET: example -->
*
- * <ww:actionerror />
- * <ww:form .... >>
+ * <a:actionerror />
+ * <a:form .... >>
* ....
- * </ww:form>
+ * </a:form>
*
* <!-- END SNIPPET: example -->
* </pre>
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/ActionMessage.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/ActionMessage.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/ActionMessage.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/ActionMessage.java Tue Mar 28 19:16:00 2006
@@ -21,10 +21,10 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:actionmessage />
- * <ww:form .... >
+ * <a:actionmessage />
+ * <a:form .... >
* ....
- * </ww:form>
+ * </a:form>
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Anchor.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Anchor.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Anchor.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Anchor.java Tue Mar 28 19:16:00 2006
@@ -18,10 +18,10 @@
*
* <pre>
* <!-- START SNIPPET: example1 -->
- * <ww:a id="link1" theme="ajax" href="/DoIt.action" errorText="An error ocurred" showErrorTransportText="true">
+ * <a:a id="link1" theme="ajax" href="/DoIt.action" errorText="An error ocurred" showErrorTransportText="true">
* <img border="none" src="<%=request.getContextPath()%>/images/delete.gif"/>
- * <ww:param name="id" value="1"/>
- * </ww:a>
+ * <a:param name="id" value="1"/>
+ * </a:a>
* <!-- END SNIPPET: example1 -->
* </pre>
*
@@ -54,9 +54,9 @@
*
* <pre>
* <!-- START SNIPPET: example3 -->
- * <ww:a id="test" theme="ajax" href="/simpeResult.action" preInvokeJS="confirm(\'You sure\')">
+ * <a:a id="test" theme="ajax" href="/simpeResult.action" preInvokeJS="confirm(\'You sure\')">
* A
- * </ww:a>
+ * </a:a>
* <!-- END SNIPPET: example3 -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/AppendIterator.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/AppendIterator.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/AppendIterator.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/AppendIterator.java Tue Mar 28 19:16:00 2006
@@ -82,14 +82,14 @@
* <!-- END SNIPPET: code -->
*
* <!-- START SNIPPET: example -->
- * <ww:append id="myAppendIterator">
- * <ww:param value="%{myList1}" />
- * <ww:param value="%{myList2}" />
- * <ww:param value="%{myList3}" />
- * </ww:append>
- * <ww:iterator value="%{#myAppendIterator}">
- * <ww:property />
- * </ww:iterator>
+ * <a:append id="myAppendIterator">
+ * <a:param value="%{myList1}" />
+ * <a:param value="%{myList2}" />
+ * <a:param value="%{myList3}" />
+ * </a:append>
+ * <a:iterator value="%{#myAppendIterator}">
+ * <a:property />
+ * </a:iterator>
* <!-- END SNIPPET: example -->
*
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Bean.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Bean.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Bean.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Bean.java Tue Mar 28 19:16:00 2006
@@ -34,15 +34,15 @@
* <!-- START SNIPPET: examples -->
* <-- in freemarker form -->
* [ww.bean name="org.apache.struts.action2.example.counter.SimpleCounter" id="counter"]
- * [ww:param name="foo" value="BAR"/]
- * The value of foo is : [ww:property value="foo"/], when inside the bean tag.<br />
- * [/ww:bean]
+ * [a:param name="foo" value="BAR"/]
+ * The value of foo is : [a:property value="foo"/], when inside the bean tag.<br />
+ * [/a:bean]
*
* <-- in jsp form -->
- * <ww:bean name="org.apache.struts.action2.example.counter.SimpleCounter" id="counter">
- * <ww:param name="foo" value="BAR" />
- * The value of foot is : <ww:property value="foo"/>, when inside the bean tag <br />
- * </ww:bean>
+ * <a:bean name="org.apache.struts.action2.example.counter.SimpleCounter" id="counter">
+ * <a:param name="foo" value="BAR" />
+ * The value of foot is : <a:property value="foo"/>, when inside the bean tag <br />
+ * </a:bean>
* <!-- END SNIPPET: examples -->
* </pre>
* <p/>
@@ -57,10 +57,10 @@
* <p/>
* <pre>
* <-- jsp form -->
- * <ww:property value="#counter" />
+ * <a:property value="#counter" />
*
* <-- freemarker form -->
- * [ww:property value="#counter.foo"/]
+ * [a:property value="#counter.foo"/]
* </pre>
* <p/>
* <p>In the property tag example, the <i>#</i> tells Ognl to search the context for the SimpleCounter class which has
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Checkbox.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Checkbox.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Checkbox.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Checkbox.java Tue Mar 28 19:16:00 2006
@@ -15,7 +15,7 @@
* <pre>
* <!-- START SNIPPET: example -->
* JSP:
- * <ww:checkbox label="checkbox test" name="checkboxField1" value="aBoolean" fieldValue="true"/>
+ * <a:checkbox label="checkbox test" name="checkboxField1" value="aBoolean" fieldValue="true"/>
*
* Velocity:
* #tag( Checkbox "label=checkbox test" "name=checkboxField1" "value=aBoolean" )
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/CheckboxList.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/CheckboxList.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/CheckboxList.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/CheckboxList.java Tue Mar 28 19:16:00 2006
@@ -8,7 +8,7 @@
/**
* <!-- START SNIPPET: javadoc -->
*
- * Creates a series of checkboxes from a list. Setup is like <ww:select /> or <ww:radio />, but creates checkbox tags.
+ * Creates a series of checkboxes from a list. Setup is like <a:select /> or <a:radio />, but creates checkbox tags.
*
* <!-- END SNIPPET: javadoc -->
*
@@ -16,7 +16,7 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:checkboxlist name="foo" list="bar"/>
+ * <a:checkboxlist name="foo" list="bar"/>
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/ComboBox.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/ComboBox.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/ComboBox.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/ComboBox.java Tue Mar 28 19:16:00 2006
@@ -15,7 +15,7 @@
* span from first to last. The population is done via javascript, and requires that this tag be surrounded by a
* <form>.<p/>
*
- * Note that unlike the <ww:select/> tag, there is no ability to define the individual <option> tags' id attribute
+ * Note that unlike the <a:select/> tag, there is no ability to define the individual <option> tags' id attribute
* or content separately. Each of these is simply populated from the toString() method of the list item. Presumably
* this is because the select box isn't intended to actually submit useful data, but to assist the user in filling
* out the text field.<p/>
@@ -26,12 +26,12 @@
* <pre>
* <!-- START SNIPPET: example -->
* JSP:
- * <ww:bean name="struts.util.Counter" id="year">
- * <ww:param name="first" value="text('firstBirthYear')"/>
- * <ww:param name="last" value="2000"/>
+ * <a:bean name="struts.util.Counter" id="year">
+ * <a:param name="first" value="text('firstBirthYear')"/>
+ * <a:param name="last" value="2000"/>
*
- * <ww:combobox label="Birth year" size="6" maxlength="4" name="birthYear" list="#year"/>
- * </ww:bean>
+ * <a:combobox label="Birth year" size="6" maxlength="4" name="birthYear" list="#year"/>
+ * </a:bean>
*
* Velocity:
* #tag( ComboBox "label=Birth year" "size=6" "maxlength=4" "name=birthYear" "list=#year" )
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Date.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Date.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Date.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Date.java Tue Mar 28 19:16:00 2006
@@ -109,10 +109,10 @@
* <p/> <b>Examples</b>
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:date name="person.birthday" format="dd/MM/yyyy" />
- * <ww:date name="person.birthday" format="%{getText('some.i18n.key')}" />
- * <ww:date name="person.birthday" nice="true" />
- * <ww:date name="person.birthday" />
+ * <a:date name="person.birthday" format="dd/MM/yyyy" />
+ * <a:date name="person.birthday" format="%{getText('some.i18n.key')}" />
+ * <a:date name="person.birthday" nice="true" />
+ * <a:date name="person.birthday" />
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/DatePicker.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/DatePicker.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/DatePicker.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/DatePicker.java Tue Mar 28 19:16:00 2006
@@ -17,7 +17,7 @@
* applications. Be sure to include proper stylesheet as described below if you don't want the calender widget to look
* transparent.</p>
*
- * <b>Important:</b> Be sure to set the id attributs if not used within a <ww:form /> tag, as it takes care of
+ * <b>Important:</b> Be sure to set the id attributs if not used within a <a:form /> tag, as it takes care of
* setting the id for you, being required to copy selected date to text input element.</p>
*
* Following a reference for the format parameter (copied from jscalendar documentation):
@@ -57,11 +57,11 @@
* <pre>
* <!-- START SNIPPET: expl1 -->
* Date in application's locale format:
- * <ww:datepicker name="order.date" id="order.date" />
+ * <a:datepicker name="order.date" id="order.date" />
* Date in german locale, with german texts:
- * <ww:datepicker name="delivery.date" id="delivery.date" template="datepicker_js.ftl" language="de" />
+ * <a:datepicker name="delivery.date" id="delivery.date" template="datepicker_js.ftl" language="de" />
* Date in german locale, with german texts and custom date format, including time:
- * <ww:datepicker name="invoice.date" id="invoice.date" template="datepicker_js.ftl" language="de" format="%d. %b &Y %H:%M" showstime="true" />
+ * <a:datepicker name="invoice.date" id="invoice.date" template="datepicker_js.ftl" language="de" format="%d. %b &Y %H:%M" showstime="true" />
* <!-- END SNIPPET: expl1 -->
* </pre>
* <p/>
@@ -70,13 +70,13 @@
*
* If you use this jscalendar based datepicker widget, you might want to use one of the standard stylesheets provided
* with jscalendar (all distribution stylesheets are included in webwork jar). The easiest way to do so is to place the
- * <ww:head/> tag in the head of your html page, as it takes care of including calendar css.
+ * <a:head/> tag in the head of your html page, as it takes care of including calendar css.
* Otherwise, to manually activate the calendar-blue style, include the following in your stylesheet definition:
*
* <!-- END SNIPPET: expldesc2 -->
* <pre>
* <!-- START SNIPPET: expl2 -->
- * <link href="<ww:url value="/webwork/jscalendar/calendar-blue.css" />" rel="stylesheet" type="text/css" media="all"/>
+ * <link href="<a:url value="/webwork/jscalendar/calendar-blue.css" />" rel="stylesheet" type="text/css" media="all"/>
* <!-- END SNIPPET: expl2 -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Debug.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Debug.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Debug.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Debug.java Tue Mar 28 19:16:00 2006
@@ -30,7 +30,7 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:debug/>
+ * <a:debug/>
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Div.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Div.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Div.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Div.java Tue Mar 28 19:16:00 2006
@@ -28,7 +28,7 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:div ... />
+ * <a:div ... />
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/DoubleSelect.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/DoubleSelect.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/DoubleSelect.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/DoubleSelect.java Tue Mar 28 19:16:00 2006
@@ -14,8 +14,8 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:doubleselect label="doubleselect test1" name="menu" list="{'fruit','other'}" doubleName="dishes" doubleList="top == 'fruit' ? {'apple', 'orange'} : {'monkey', 'chicken'}" />
- * <ww:doubleselect label="doubleselect test2" name="menu" list="#{'fruit':'Nice Fruits', 'other':'Other Dishes'}" doubleName="dishes" doubleList="top == 'fruit' ? {'apple', 'orange'} : {'monkey', 'chicken'}" />
+ * <a:doubleselect label="doubleselect test1" name="menu" list="{'fruit','other'}" doubleName="dishes" doubleList="top == 'fruit' ? {'apple', 'orange'} : {'monkey', 'chicken'}" />
+ * <a:doubleselect label="doubleselect test2" name="menu" list="#{'fruit':'Nice Fruits', 'other':'Other Dishes'}" doubleName="dishes" doubleList="top == 'fruit' ? {'apple', 'orange'} : {'monkey', 'chicken'}" />
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Else.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Else.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Else.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Else.java Tue Mar 28 19:16:00 2006
@@ -22,15 +22,15 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:if test="%{false}">
+ * <a:if test="%{false}">
* <div>Will Not Be Executed</div>
- * </ww:if>
- * <ww:elseif test="%{true}">
+ * </a:if>
+ * <a:elseif test="%{true}">
* <div>Will Be Executed</div>
- * </ww:elseif>
- * <ww:else>
+ * </a:elseif>
+ * <a:else>
* <div>Will Not Be Executed</div>
- * </ww:else>
+ * </a:else>
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/ElseIf.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/ElseIf.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/ElseIf.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/ElseIf.java Tue Mar 28 19:16:00 2006
@@ -26,15 +26,15 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:if test="%{false}">
+ * <a:if test="%{false}">
* <div>Will Not Be Executed</div>
- * </ww:if>
- * <ww:elseif test="%{true}">
+ * </a:if>
+ * <a:elseif test="%{true}">
* <div>Will Be Executed</div>
- * </ww:elseif>
- * <ww:else>
+ * </a:elseif>
+ * <a:else>
* <div>Will Not Be Executed</div>
- * </ww:else>
+ * </a:else>
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/FieldError.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/FieldError.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/FieldError.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/FieldError.java Tue Mar 28 19:16:00 2006
@@ -25,26 +25,26 @@
* <!-- START SNIPPET: example -->
*
* <!-- example 1 -->
- * <ww:fielderror />
+ * <a:fielderror />
*
* <!-- example 2 -->
- * <ww:fielderror>
- * <ww:param>field1</ww:param>
- * <ww:param>field2</ww:param>
- * </ww:fielderror>
- * <ww:form .... >>
+ * <a:fielderror>
+ * <a:param>field1</a:param>
+ * <a:param>field2</a:param>
+ * </a:fielderror>
+ * <a:form .... >>
* ....
- * </ww:form>
+ * </a:form>
*
* OR
*
- * <ww:fielderror>
- * <ww:param value="%{'field1'}" />
- * <ww:param value="%{'field2'}" />
- * </ww:fielderror>
- * <ww:form .... >>
+ * <a:fielderror>
+ * <a:param value="%{'field1'}" />
+ * <a:param value="%{'field2'}" />
+ * </a:fielderror>
+ * <a:form .... >>
* ....
- * </ww:form>
+ * </a:form>
*
* <!-- END SNIPPET: example -->
* </pre>
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/File.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/File.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/File.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/File.java Tue Mar 28 19:16:00 2006
@@ -17,8 +17,8 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:file name="anUploadFile" accept="text/*" />
- * <ww:file name="anohterUploadFIle" accept="text/html,text/plain" />
+ * <a:file name="anUploadFile" accept="text/*" />
+ * <a:file name="anohterUploadFIle" accept="text/html,text/plain" />
* <!-- END SNIPPET: example -->
* </pre>
*
@@ -54,13 +54,13 @@
String encType = (String) form.getParameters().get("enctype");
if (!"multipart/form-data".equals(encType)) {
// uh oh, this isn't good! Let's warn the developer
- log.warn("WebWork has detected a file upload UI tag (ww:file) being used without a form set to enctype 'multipart/form-data'. This is probably an error!");
+ log.warn("WebWork has detected a file upload UI tag (a:file) being used without a form set to enctype 'multipart/form-data'. This is probably an error!");
}
String method = (String) form.getParameters().get("method");
if (!"post".equalsIgnoreCase(method)) {
// uh oh, this isn't good! Let's warn the developer
- log.warn("WebWork has detected a file upload UI tag (ww:file) being used without a form set to method 'POST'. This is probably an error!");
+ log.warn("WebWork has detected a file upload UI tag (a:file) being used without a form set to method 'POST'. This is probably an error!");
}
}
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Form.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Form.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Form.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Form.java Tue Mar 28 19:16:00 2006
@@ -41,7 +41,7 @@
* <pre>
* <!-- START SNIPPET: example -->
*
- * <ww:form ... />
+ * <a:form ... />
*
* <!-- END SNIPPET: example -->
* </pre>
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/GenericUIBean.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/GenericUIBean.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/GenericUIBean.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/GenericUIBean.java Tue Mar 28 19:16:00 2006
@@ -29,13 +29,13 @@
* <pre>
* <!-- START SNIPPET: example -->
* JSP
- * <ww:component template="/my/custom/component.vm"/>
+ * <a:component template="/my/custom/component.vm"/>
* or
*
- * <ww:component template="/my/custom/component.vm">
- * <ww:param name="key1" value="value1"/>
- * <ww:param name="key2" value="value2"/>
- * </ww:component>
+ * <a:component template="/my/custom/component.vm">
+ * <a:param name="key1" value="value1"/>
+ * <a:param name="key2" value="value2"/>
+ * </a:component>
*
* Velocity
* #tag( Component "template=/my/custom/component.vm" )
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Head.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Head.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Head.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Head.java Tue Mar 28 19:16:00 2006
@@ -34,7 +34,7 @@
* <!-- START SNIPPET: example1 -->
* <head>
* <title>My page</title>
- * <ww:head/>
+ * <a:head/>
* </head>
* <!-- END SNIPPET: example1 -->
* </pre>
@@ -43,7 +43,7 @@
* <!-- START SNIPPET: example2 -->
* <head>
* <title>My page</title>
- * <ww:head theme="ajax" calendarcss="calendar-green"/>
+ * <a:head theme="ajax" calendarcss="calendar-green"/>
* </head>
* <!-- END SNIPPET: example2 -->
* </pre>
@@ -52,7 +52,7 @@
* <!-- START SNIPPET: example3 -->
* <head>
* <title>My page</title>
- * <ww:head theme="ajax" debug="true"/>
+ * <a:head theme="ajax" debug="true"/>
* </head>
* <!-- END SNIPPET: example3 -->
* </pre>
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Hidden.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Hidden.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Hidden.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Hidden.java Tue Mar 28 19:16:00 2006
@@ -15,9 +15,9 @@
* <pre>
* <!-- START SNIPPET: example -->
* <-- example one -->
- * <ww:hidden name="foo" />
+ * <a:hidden name="foo" />
* <-- example two -->
- * <ww:hidden name="foo" value="bar" />
+ * <a:hidden name="foo" value="bar" />
*
* Example One Resulting HTML (if foo evaluates to bar):
* <input type="hidden" name="foo" value="bar" />
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/I18n.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/I18n.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/I18n.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/I18n.java Tue Mar 28 19:16:00 2006
@@ -38,9 +38,9 @@
* <pre>
* <!-- START SNIPPET: example -->
*
- * <ww:i18n name="myCustomBundle">
- * The i18n value for key aaa.bbb.ccc in myCustomBundle is <ww:property value="text('aaa.bbb.ccc')" />
- * </ww:i18n>
+ * <a:i18n name="myCustomBundle">
+ * The i18n value for key aaa.bbb.ccc in myCustomBundle is <a:property value="text('aaa.bbb.ccc')" />
+ * </a:i18n>
*
* <!-- END SNIPPET: example -->
* </pre>
@@ -49,9 +49,9 @@
* <pre>
* <!-- START SNIPPET: i18nExample -->
*
- * <ww:i18n name="some.package.bundle" >
- * <ww:text name="some.key" />
- * </ww:i18n>
+ * <a:i18n name="some.package.bundle" >
+ * <a:text name="some.key" />
+ * </a:i18n>
*
* <!-- END SNIPPET: i18nExample -->
* </pre>
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/If.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/If.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/If.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/If.java Tue Mar 28 19:16:00 2006
@@ -26,15 +26,15 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:if test="%{false}">
+ * <a:if test="%{false}">
* <div>Will Not Be Executed</div>
- * </ww:if>
- * <ww:elseif test="%{true}">
+ * </a:if>
+ * <a:elseif test="%{true}">
* <div>Will Be Executed</div>
- * </ww:elseif>
- * <ww:else>
+ * </a:elseif>
+ * <a:else>
* <div>Will Not Be Executed</div>
- * </ww:else>
+ * </a:else>
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Include.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Include.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Include.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Include.java Tue Mar 28 19:16:00 2006
@@ -40,19 +40,19 @@
* <pre>
* <!-- START SNIPPET: example -->
* <-- One: -->
- * <ww:include value="myJsp.jsp" />
+ * <a:include value="myJsp.jsp" />
*
* <-- Two: -->
- * <ww:include value="myJsp.jsp">
- * <ww:param name="param1" value="value2" />
- * <ww:param name="param2" value="value2" />
- * </ww:include>
+ * <a:include value="myJsp.jsp">
+ * <a:param name="param1" value="value2" />
+ * <a:param name="param2" value="value2" />
+ * </a:include>
*
* <-- Three: -->
- * <ww:include value="myJsp.jsp">
- * <ww:param name="param1">value1</ww:param>
- * <ww:param name="param2">value2<ww:param>
- * </ww:include>
+ * <a:include value="myJsp.jsp">
+ * <a:param name="param1">value1</a:param>
+ * <a:param name="param2">value2<a:param>
+ * </a:include>
* <!-- END SNIPPET: example -->
*
* <!-- START SNIPPET: exampledescription -->
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/IteratorComponent.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/IteratorComponent.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/IteratorComponent.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/IteratorComponent.java Tue Mar 28 19:16:00 2006
@@ -32,15 +32,15 @@
* <!-- START SNIPPET: example1description -->
*
* <p>The following example retrieves the value of the getDays() method of the current object on the value stack and
- * uses it to iterate over. The <ww:property/> tag prints out the current value of the iterator.</p>
+ * uses it to iterate over. The <a:property/> tag prints out the current value of the iterator.</p>
*
* <!-- END SNIPPET: example1description -->
*
* <pre>
* <!-- START SNIPPET: example1code -->
- * <ww:iterator value="days">
- * <p>day is: <ww:property/></p>
- * </ww:iterator>
+ * <a:iterator value="days">
+ * <p>day is: <a:property/></p>
+ * </a:iterator>
* <!-- END SNIPPET: example1code -->
* </pre>
*
@@ -58,26 +58,26 @@
* <pre>
* <!-- START SNIPPET: example2code -->
*
- * <ww:bean name="org.apache.struts.action2.example.IteratorExample" id="it">
- * <ww:param name="day" value="'foo'"/>
- * <ww:param name="day" value="'bar'"/>
- * </ww:bean>
+ * <a:bean name="org.apache.struts.action2.example.IteratorExample" id="it">
+ * <a:param name="day" value="'foo'"/>
+ * <a:param name="day" value="'bar'"/>
+ * </a:bean>
* <p/>
* <table border="0" cellspacing="0" cellpadding="1">
* <tr>
* <th>Days of the week</th>
* </tr>
* <p/>
- * <ww:iterator value="#it.days" status="rowstatus">
+ * <a:iterator value="#it.days" status="rowstatus">
* <tr>
- * <ww:if test="#rowstatus.odd == true">
- * <td style="background: grey"><ww:property/></td>
- * </ww:if>
- * <ww:else>
- * <td><ww:property/></td>
- * </ww:else>
+ * <a:if test="#rowstatus.odd == true">
+ * <td style="background: grey"><a:property/></td>
+ * </a:if>
+ * <a:else>
+ * <td><a:property/></td>
+ * </a:else>
* </tr>
- * </ww:iterator>
+ * </a:iterator>
* </table>
*
* <!-- END SNIPPET: example2code -->
@@ -114,7 +114,7 @@
*
* </p> The next example iterates over a an action collection and passes every iterator value to another action. The
* trick here lies in the use of the '[0]' operator. It takes the current iterator value and passes it on to the edit
- * action. Using the '[0]' operator has the same effect as using >ww:property />. (The latter, however, does not
+ * action. Using the '[0]' operator has the same effect as using >a:property />. (The latter, however, does not
* work from inside the param tag). </p>
*
* <!-- END SNIPPET: example4description -->
@@ -122,16 +122,16 @@
* <pre>
* <!-- START SNIPPET: example4code -->
*
- * <ww:action name="entries" id="entries"/>
- * <ww:iterator value="#entries.entries" >
- * <ww:property value="name" />
- * <ww:property />
- * <ww:push value="...">
- * <ww:action name="edit" id="edit" >
- * <ww:param name="entry" value="[0]" />
- * </ww:action>
+ * <a:action name="entries" id="entries"/>
+ * <a:iterator value="#entries.entries" >
+ * <a:property value="name" />
+ * <a:property />
+ * <a:push value="...">
+ * <a:action name="edit" id="edit" >
+ * <a:param name="entry" value="[0]" />
+ * </a:action>
* </push>
- * </ww:iterator>
+ * </a:iterator>
*
* <!-- END SNIPPET: example4code -->
* </pre>
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Label.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Label.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Label.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Label.java Tue Mar 28 19:16:00 2006
@@ -20,7 +20,7 @@
* <!-- END SNIPPET: exdescription -->
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:label label="%{text('user_name')}" name="userName" />
+ * <a:label label="%{text('user_name')}" name="userName" />
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/MergeIterator.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/MergeIterator.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/MergeIterator.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/MergeIterator.java Tue Mar 28 19:16:00 2006
@@ -92,14 +92,14 @@
* <!-- END SNIPPET: javacode -->
*
* <!-- START SNIPPET: example -->
- * <ww:merge id="myMergedIterator1">
- * <ww:param value="%{myList1}" />
- * <ww:param value="%{myList2}" />
- * <ww:param value="%{myList3}" />
- * </ww:merge>
- * <ww:iterator value="%{#myMergedIterator1}">
- * <ww:property />
- * </ww:iterator>
+ * <a:merge id="myMergedIterator1">
+ * <a:param value="%{myList1}" />
+ * <a:param value="%{myList2}" />
+ * <a:param value="%{myList3}" />
+ * </a:merge>
+ * <a:iterator value="%{#myMergedIterator1}">
+ * <a:property />
+ * </a:iterator>
* <!-- END SNIPPET: example -->
*
* <!-- START SNIPPET: description -->
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/OptionTransferSelect.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/OptionTransferSelect.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/OptionTransferSelect.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/OptionTransferSelect.java Tue Mar 28 19:16:00 2006
@@ -45,7 +45,7 @@
* <!-- START SNIPPET: example -->
*
* <-- minimum configuration -->
- * <ww:optiontransferselect
+ * <a:optiontransferselect
* label="Favourite Cartoons Characters"
* name="leftSideCartoonCharacters"
* list="{'Popeye', 'He-Man', 'Spiderman'}"
@@ -54,7 +54,7 @@
* />
*
* <-- possible configuration -->
- * <ww:optiontransferselect
+ * <a:optiontransferselect
* label="Favourite Cartoons Characters"
* name="leftSideCartoonCharacters"
* leftTitle="Left Title"
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Param.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Param.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Param.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Param.java Tue Mar 28 19:16:00 2006
@@ -57,9 +57,9 @@
* This second example demonstrates how the text tag can use parameters from this param tag.
* <!-- START SNIPPET: example2 -->
* <pre>
- * <ww:text name="cart.total.cost">
- * <ww:param value="#session.cartTotal"/>
- * </ww:text>
+ * <a:text name="cart.total.cost">
+ * <a:param value="#session.cartTotal"/>
+ * </a:text>
* </pre>
* <!-- END SNIPPET: example2 -->
* <p/>
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Password.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Password.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Password.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Password.java Tue Mar 28 19:16:00 2006
@@ -18,7 +18,7 @@
* <!-- END SNIPPET: exdescription -->
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:password label="%{text('password')}" name="password" size="10" maxlength="15" />
+ * <a:password label="%{text('password')}" name="password" size="10" maxlength="15" />
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Property.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Property.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Property.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Property.java Tue Mar 28 19:16:00 2006
@@ -34,13 +34,13 @@
* <pre>
* <!-- START SNIPPET: example -->
*
- * <ww:push value="myBean">
+ * <a:push value="myBean">
* <!-- Example 1: -->
- * <ww:property value="myBeanProperty" />
+ * <a:property value="myBeanProperty" />
*
* <!-- Example 2: -->
- * <ww:property value="myBeanProperty" default="a default value" />
- * </ww:push>
+ * <a:property value="myBeanProperty" default="a default value" />
+ * </a:push>
*
* <!-- END SNIPPET: example -->
* </pre>
@@ -58,7 +58,7 @@
* <pre>
* <!-- START SNIPPET: i18nExample -->
*
- * <ww:property value="getText('some.key')" />
+ * <a:property value="getText('some.key')" />
*
* <!-- END SNIPPET: i18nExample -->
* </pre>
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Push.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Push.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Push.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Push.java Tue Mar 28 19:16:00 2006
@@ -19,10 +19,10 @@
* <p/> <b>Examples</b>
* <pre>
* <!-- START SNIPPET: example1 -->
- * <ww:push value="user">
- * <ww:propery value="firstName" />
- * <ww:propery value="lastName" />
- * </ww:push>
+ * <a:push value="user">
+ * <a:propery value="firstName" />
+ * <a:propery value="lastName" />
+ * </a:push>
* <!-- END SNIPPET: example1 -->
* </pre>
*
@@ -33,11 +33,11 @@
*
* <pre>
* <!-- START SNIPPET: example2 -->
- * <ww:push value="myObject"> ----- (1)
- * <ww:bean name="jp.SomeBean" id="myBean"/> ----- (2)
- * <ww:param name="myParam" value="top"/> ----- (3)
- * </ww:bean>
- * </ww:push>
+ * <a:push value="myObject"> ----- (1)
+ * <a:bean name="jp.SomeBean" id="myBean"/> ----- (2)
+ * <a:param name="myParam" value="top"/> ----- (3)
+ * </a:bean>
+ * </a:push>
* <!-- END SNIPPET: example2 -->
* </pre>
*
@@ -51,11 +51,11 @@
*
* <pre>
* <!-- START SNIPPET: example3 -->
- * <ww:push value="myObject"> ---(A)
- * <ww:bean name="jp.SomeBean" id="myBean"/> ---(B)
- * <ww:param name="myParam" value="top.mySomeOtherValue"/> ---(C)
- * </ww:bean>
- * </ww:push>
+ * <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>
* <!-- END SNIPPET: example3 -->
* </pre>
*
@@ -69,11 +69,11 @@
*
* <pre>
* <!-- START SNIPPET: example4 -->
- * <ww:push value="myObject"> ---- (i)
- * <ww:bean name="jp.SomeBean" id="myBean"/> ---- (ii)
- * <ww:param name="myParam" value="[1].top"/> -----(iii)
- * </ww:bean>
- * </ww:push>
+ * <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>
* <!-- END SNIPPET: example4 -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Radio.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Radio.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Radio.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Radio.java Tue Mar 28 19:16:00 2006
@@ -21,8 +21,8 @@
* <!-- END SNIPPET: exdescription -->
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:action name="GenderMap" id="genders"/>
- * <ww:radio label="Gender" name="male" list="#genders.genders"/>
+ * <a:action name="GenderMap" id="genders"/>
+ * <a:radio label="Gender" name="male" list="#genders.genders"/>
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Reset.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Reset.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Reset.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Reset.java Tue Mar 28 19:16:00 2006
@@ -25,14 +25,14 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:reset value="%{'Reset'}" />
+ * <a:reset value="%{'Reset'}" />
* <!-- END SNIPPET: example -->
* </pre>
*
* <pre>
* <!-- START SNIPPET: example2 -->
* Render an button reset:
- * <ww:reset type="button" value="%{'Reset'}" label="Reset the form"/>
+ * <a:reset type="button" value="%{'Reset'}" label="Reset the form"/>
* <!-- END SNIPPET: example2 -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/RichTextEditor.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/RichTextEditor.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/RichTextEditor.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/RichTextEditor.java Tue Mar 28 19:16:00 2006
@@ -24,7 +24,7 @@
* <pre>
* <!-- START SNIPPET: example -->
*
- * <ww:richtexteditor
+ * <a:richtexteditor
* toolbarCanCollapse="false"
* width="700"
* label="Description 1"
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Select.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Select.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Select.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Select.java Tue Mar 28 19:16:00 2006
@@ -16,7 +16,7 @@
* <pre>
* <!-- START SNIPPET: example -->
*
- * <ww:select label="Pets"
+ * <a:select label="Pets"
* name="petIds"
* list="petDao.pets"
* listKey="id"
@@ -26,7 +26,7 @@
* required="true"
* />
*
- * <ww:select label="Months"
+ * <a:select label="Months"
* name="months"
* headerKey="-1" headerValue="Select Month"
* list="#{'01':'Jan', '02':'Feb', [...]}"
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Set.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Set.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Set.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Set.java Tue Mar 28 19:16:00 2006
@@ -34,8 +34,8 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:set name="personName" value="person.name"/>
- * Hello, <ww:property value="#personName"/>. How are you?
+ * <a:set name="personName" value="person.name"/>
+ * Hello, <a:property value="#personName"/>. How are you?
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Submit.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Submit.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Submit.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Submit.java Tue Mar 28 19:16:00 2006
@@ -22,21 +22,21 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:submit value="%{'Submit'}" />
+ * <a:submit value="%{'Submit'}" />
* <!-- END SNIPPET: example -->
* </pre>
*
* <pre>
* <!-- START SNIPPET: example2 -->
* Render an image submit:
- * <ww:submit type="image" value="%{'Submit'}" label="Submit the form" src="submit.gif"/>
+ * <a:submit type="image" value="%{'Submit'}" label="Submit the form" src="submit.gif"/>
* <!-- END SNIPPET: example2 -->
* </pre>
*
* <pre>
* <!-- START SNIPPET: example3 -->
* Render an button submit:
- * <ww:submit type="button" value="%{'Submit'}" label="Submit the form"/>
+ * <a:submit type="button" value="%{'Submit'}" label="Submit the form"/>
* <!-- END SNIPPET: example3 -->
* </pre>
*
@@ -65,7 +65,7 @@
* <!-- START SNIPPET: ajxExample1 -->
* Remote form replacing another div:
* <div id='two' style="border: 1px solid yellow;">Initial content</div>
- * <ww:form
+ * <a:form
* id='theForm2'
* cssStyle="border: 1px solid green;"
* action='/AjaxRemoteForm.action'
@@ -73,9 +73,9 @@
* theme="ajax">
*
* <input type='text' name='data' value='WebWork User' />
- * <ww:submit value="GO2" theme="ajax" resultDivId="two" />
+ * <a:submit value="GO2" theme="ajax" resultDivId="two" />
*
- * </ww:form >
+ * </a:form >
* <!-- END SNIPPET: ajxExample1 -->
* </pre>
*
@@ -91,15 +91,15 @@
*
* <pre>
* <!-- START SNIPPET: ajxExample2 -->
- * <ww:form id="frm1" action="newPersonWithXMLResult" theme="ajax" >
- * <ww:textfield label="Name" name="person.name" value="person.name" size="20" required="true" />
- * <ww:submit id="submitBtn" value="Save" theme="ajax" cssClass="primary" notifyTopics="personUpdated, systemWorking" />
- * </ww:form >
+ * <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 >
*
- * <ww:div href="/listPeople.action" theme="ajax" errorText="error opps"
+ * <a:div href="/listPeople.action" theme="ajax" errorText="error opps"
* loadingText="loading..." id="cart-body" >
- * <ww:action namespace="" name="listPeople" executeResult="true" />
- * </ww:div>
+ * <a:action namespace="" name="listPeople" executeResult="true" />
+ * </a:div>
* <!-- END SNIPPET: ajxExample2 -->
* </pre>
*
@@ -133,10 +133,10 @@
* }
* </script>
*
- * <ww:form id="frm1" action="newPersonWithXMLResult" theme="ajax" >
- * <ww:textfield label="Name" name="person.name" value="person.name" size="20" required="true" />
- * <ww:submit id="submitBtn" value="Save" theme="ajax" cssClass="primary" onLoadJS="doGreatThings(data, type)" />
- * </ww:form>
+ * <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>
* <!-- END SNIPPET: ajxExample3 -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/TabbedPanel.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/TabbedPanel.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/TabbedPanel.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/TabbedPanel.java Tue Mar 28 19:16:00 2006
@@ -20,24 +20,24 @@
* <!-- END SNIPPET: exdesc -->
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:tabbedPanel id="test2" theme="simple" >
- * <ww:panel id="left" tabName="left" theme="ajax">
+ * <a:tabbedPanel id="test2" theme="simple" >
+ * <a:panel id="left" tabName="left" theme="ajax">
* This is the left pane<br/>
- * <ww:form >
- * <ww:textfield name="tt" label="Test Text" /> <br/>
- * <ww:textfield name="tt2" label="Test Text2" />
- * </ww:form>
- * </ww:panel>
- * <ww:panel remote="true" href="/AjaxTest.action" id="ryh1" theme="ajax" tabName="remote one" />
- * <ww:panel id="middle" tabName="middle" theme="ajax">
+ * <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">
* middle tab<br/>
- * <ww:form >
- * <ww:textfield name="tt" label="Test Text44" /> <br/>
- * <ww:textfield name="tt2" label="Test Text442" />
- * </ww:form>
- * </ww:panel>
- * <ww:panel remote="true" href="/AjaxTest.action" id="ryh21" theme="ajax" tabName="remote right" />
- * </ww:tabbedPanel>
+ * <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>
* <!-- END SNIPPET: example -->
* </pre>
*
@@ -51,10 +51,10 @@
*
* <pre>
* <!-- START SNIPPET: example2 -->
- * <link rel="stylesheet" type="text/css" href="<ww:url value="/webwork/tabs.css"/>">
- * <link rel="stylesheet" type="text/css" href="<ww:url value="/webwork/niftycorners/niftyCorners.css"/>">
- * <link rel="stylesheet" type="text/css" href="<ww:url value="/webwork/niftycorners/niftyPrint.css"/>" media="print">
- * <script type="text/javascript" src="<ww:url value="/webwork/niftycorners/nifty.js"/>"></script>
+ * <link rel="stylesheet" type="text/css" href="<a:url value="/webwork/tabs.css"/>">
+ * <link rel="stylesheet" type="text/css" href="<a:url value="/webwork/niftycorners/niftyCorners.css"/>">
+ * <link rel="stylesheet" type="text/css" href="<a:url value="/webwork/niftycorners/niftyPrint.css"/>" media="print">
+ * <script type="text/javascript" src="<a:url value="/webwork/niftycorners/nifty.js"/>"></script>
* <script type="text/javascript">
* dojo.event.connect(window, "onload", function() {
* if (!NiftyCheck())
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Text.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Text.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Text.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Text.java Tue Mar 28 19:16:00 2006
@@ -58,12 +58,12 @@
* <!-- START SNIPPET: example -->
*
* <!-- First Example -->
- * <ww:i18n name="struts.action.test.i18n.Shop">
- * <ww:text name="main.title"/>
- * </ww:i18n>
+ * <a:i18n name="struts.action.test.i18n.Shop">
+ * <a:text name="main.title"/>
+ * </a:i18n>
*
* <!-- Second Example -->
- * <ww:text name="main.title" />
+ * <a:text name="main.title" />
*
* <!-- END SNIPPET: example -->
* </pre>
@@ -72,7 +72,7 @@
* <pre>
* <!-- START SNIPPET: i18nExample -->
*
- * <ww:text name="some.key" />
+ * <a:text name="some.key" />
*
* <!-- END SNIPPET: i18nExample -->
* </pre>
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/TextArea.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/TextArea.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/TextArea.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/TextArea.java Tue Mar 28 19:16:00 2006
@@ -14,7 +14,7 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:textarea label="Comments" name="comments" cols="30" rows="8"/>
+ * <a:textarea label="Comments" name="comments" cols="30" rows="8"/>
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/TextField.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/TextField.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/TextField.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/TextField.java Tue Mar 28 19:16:00 2006
@@ -18,7 +18,7 @@
* <!-- END SNIPPET: exdescription -->
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:textfield label="%{text('user_name')}" name="user" />
+ * <a:textfield label="%{text('user_name')}" name="user" />
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/Token.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/Token.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/Token.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/Token.java Tue Mar 28 19:16:00 2006
@@ -16,7 +16,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 ww:token tag merely places a hidden element that contains
+ * TokenInterceptor or the TokenSessionInterceptor. The a:token tag merely places a hidden element that contains
* the unique token.</p>
* <!-- END SNIPPET: javadoc -->
*
@@ -24,7 +24,7 @@
*
* <pre>
* <!-- START SNIPPET: example -->
- * <ww:token />
+ * <a:token />
* <!-- END SNIPPET: example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/UIBean.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/UIBean.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/UIBean.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/UIBean.java Tue Mar 28 19:16:00 2006
@@ -463,53 +463,53 @@
* <!-- START SNIPPET: tooltipexample -->
*
* <!-- Example 1: -->
- * <ww:form
+ * <a:form
* tooltipConfig="#{'tooltipAboveMousePointer':'true',
* 'tooltipBgColor='#eeeeee'}" .... >
* ....
- * <ww:textfield label="Customer Name" tooltip="Enter the customer name" .... />
+ * <a:textfield label="Customer Name" tooltip="Enter the customer name" .... />
* ....
- * </ww:form>
+ * </a:form>
*
* <!-- Example 2: -->
- * <ww:form
+ * <a:form
* tooltipConfig="#{'tooltipAboveMousePointer':'true',
* 'tooltipLeftOfMousePointer':'true'}" ... >
* ....
- * <ww:textfield label="Address"
+ * <a:textfield label="Address"
* tooltip="Enter your address"
* tooltipConfig="#{'tooltipLeftOfMousePointer':'false'}" />
* ....
- * </ww:form>
+ * </a:form>
*
*
* <-- Example 3: -->
- * <ww:textfield
+ * <a:textfield
* label="Customer Name"
* tooltip="One of our customer Details'">
- * <ww:param name="tooltipConfig">
+ * <a:param name="tooltipConfig">
* tooltipWidth = 150 |
* tooltipAboveMousePointer = false |
* tooltipLeftOfMousePointer = false
- * </ww:param>
- * </ww:textfield>
+ * </a:param>
+ * </a:textfield>
*
*
* <-- Example 4: -->
- * <ww:textfield
+ * <a:textfield
* label="Customer Address"
* tooltip="Enter The Customer Address" >
- * <ww:param
+ * <a:param
* name="tooltipConfig"
* value="#{'tooltipStatic':'true',
* 'tooltipSticky':'true',
* 'tooltipAboveMousePointer':'false',
* 'tooltipLeftOfMousePointer':'false'}" />
- * </ww:textfield>
+ * </a:textfield>
*
*
* <-- Example 5: -->
- * <ww:textfield
+ * <a:textfield
* label="Customer Telephone Number"
* tooltip="Enter customer Telephone Number"
* tooltipConfig="#{'tooltipBgColor':'#cccccc',
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/URL.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/URL.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/URL.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/URL.java Tue Mar 28 19:16:00 2006
@@ -66,19 +66,19 @@
* <!-- START SNIPPET: example -->
*
* <-- Example 1 -->
- * <ww:url value="editGadget.action">
- * <ww:param name="id" value="%{selected}" />
- * </ww:url>
+ * <a:url value="editGadget.action">
+ * <a:param name="id" value="%{selected}" />
+ * </a:url>
*
* <-- Example 2 -->
- * <ww:url action="editGadget">
- * <ww:param name="id" value="%{selected}" />
- * </ww:url>
+ * <a:url action="editGadget">
+ * <a:param name="id" value="%{selected}" />
+ * </a:url>
*
* <-- Example 3-->
- * <ww:url includeParams="get" >
+ * <a:url includeParams="get" >
* <:param name="id" value="%{'22'}" />
- * </ww:url>
+ * </a:url>
*
* <!-- END SNIPPET: example -->
* </pre>
Modified: incubator/webwork2/src/java/org/apache/struts/action2/components/UpDownSelect.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/components/UpDownSelect.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/components/UpDownSelect.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/components/UpDownSelect.java Tue Mar 28 19:16:00 2006
@@ -30,7 +30,7 @@
* <!-- START SNIPPET: example -->
*
* <!-- Example 1: simple example -->
- * <ww:updownselect
+ * <a:updownselect
* list="#{'england':'England', 'america':'America', 'germany':'Germany'}"
* name="prioritisedFavouriteCountries"
* headerKey="-1"
@@ -38,7 +38,7 @@
* emptyOption="true" />
*
* <!-- Example 2: more complex example -->
- * <ww:updownselect
+ * <a:updownselect
* list="defaultFavouriteCartoonCharacters"
* name="prioritisedFavouriteCartoonCharacters"
* headerKey="-1"
Modified: incubator/webwork2/src/java/org/apache/struts/action2/dispatcher/mapper/DefaultActionMapper.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/dispatcher/mapper/DefaultActionMapper.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/dispatcher/mapper/DefaultActionMapper.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/dispatcher/mapper/DefaultActionMapper.java Tue Mar 28 19:16:00 2006
@@ -53,11 +53,11 @@
*
* <pre>
* <!-- START SNIPPET: method-example -->
- * <ww:form name="baz">
- * <ww:textfield label="Enter your name" name="person.name"/>
- * <ww:submit value="Create person"/>
- * <ww:submit name="method:anotherMethod" value="Cancel"/>
- * </ww:form>
+ * <a:form name="baz">
+ * <a:textfield label="Enter your name" name="person.name"/>
+ * <a:submit value="Create person"/>
+ * <a:submit name="method:anotherMethod" value="Cancel"/>
+ * </a:form>
* <!-- END SNIPPET: method-example -->
* </pre>
*
@@ -73,11 +73,11 @@
*
* <pre>
* <!-- START SNIPPET: action-example -->
- * <ww:form name="baz">
- * <ww:textfield label="Enter your name" name="person.name"/>
- * <ww:submit value="Create person"/>
- * <ww:submit name="action:anotherAction" value="Cancel"/>
- * </ww:form>
+ * <a:form name="baz">
+ * <a:textfield label="Enter your name" name="person.name"/>
+ * <a:submit value="Create person"/>
+ * <a:submit name="action:anotherAction" value="Cancel"/>
+ * </a:form>
* <!-- END SNIPPET: action-example -->
* </pre>
*
@@ -93,11 +93,11 @@
*
* <pre>
* <!-- START SNIPPET: redirect-example -->
- * <ww:form name="baz">
- * <ww:textfield label="Enter your name" name="person.name"/>
- * <ww:submit value="Create person"/>
- * <ww:submit name="redirect:www.google.com" value="Cancel"/>
- * </ww:form>
+ * <a:form name="baz">
+ * <a:textfield label="Enter your name" name="person.name"/>
+ * <a:submit value="Create person"/>
+ * <a:submit name="redirect:www.google.com" value="Cancel"/>
+ * </a:form>
* <!-- END SNIPPET: redirect-example -->
* </pre>
*
@@ -113,11 +113,11 @@
*
* <pre>
* <!-- START SNIPPET: redirect-action-example -->
- * <ww:form name="baz">
- * <ww:textfield label="Enter your name" name="person.name"/>
- * <ww:submit value="Create person"/>
- * <ww:submit name="redirect-action:dashboard" value="Cancel"/>
- * </ww:form>
+ * <a:form name="baz">
+ * <a:textfield label="Enter your name" name="person.name"/>
+ * <a:submit value="Create person"/>
+ * <a:submit name="redirect-action:dashboard" value="Cancel"/>
+ * </a:form>
* <!-- END SNIPPET: redirect-action-example -->
* </pre>
*
Modified: incubator/webwork2/src/java/org/apache/struts/action2/interceptor/ExecuteAndWaitInterceptor.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/interceptor/ExecuteAndWaitInterceptor.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/interceptor/ExecuteAndWaitInterceptor.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/interceptor/ExecuteAndWaitInterceptor.java Tue Mar 28 19:16:00 2006
@@ -100,11 +100,11 @@
* <html>
* <head>
* <title>Please wait</title>
- * <meta http-equiv="refresh" content="5;url=<ww:url includeParams="all" />"/>
+ * <meta http-equiv="refresh" content="5;url=<a:url includeParams="all" />"/>
* </head>
* <body>
* Please wait while we process your request.
- * Click <a href="<ww:url includeParams="all" />"></a> if this page does not reload automatically.
+ * Click <a href="<a:url includeParams="all" />"></a> if this page does not reload automatically.
* </body>
* </html>
* </pre>
Modified: incubator/webwork2/src/java/org/apache/struts/action2/interceptor/FileUploadInterceptor.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/interceptor/FileUploadInterceptor.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/interceptor/FileUploadInterceptor.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/interceptor/FileUploadInterceptor.java Tue Mar 28 19:16:00 2006
@@ -99,10 +99,10 @@
*
* And then you need to set encoding <code>multipart/form-data</code> in the form where the user selects the file to upload.
* <pre>
- * <ww:form action="doUpload" method="post" enctype="multipart/form-data">
- * <ww:file name="upload" label="File"/>
- * <ww:submit/>
- * </ww:form>
+ * <a:form action="doUpload" method="post" enctype="multipart/form-data">
+ * <a:file name="upload" label="File"/>
+ * <a:submit/>
+ * </a:form>
* </pre>
*
* And then in your action code you'll have access to the File object if you provide setters according to the
Modified: incubator/webwork2/src/java/org/apache/struts/action2/sitegraph/entities/JspView.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/sitegraph/entities/JspView.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/sitegraph/entities/JspView.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/sitegraph/entities/JspView.java Tue Mar 28 19:16:00 2006
@@ -14,10 +14,10 @@
}
protected Pattern getActionPattern() {
- return Pattern.compile("<ww:action [^>]*name=\"([^\"]+)\"[^>]*>");
+ return Pattern.compile("<a:action [^>]*name=\"([^\"]+)\"[^>]*>");
}
protected Pattern getFormPattern() {
- return Pattern.compile("<ww:form [^>]*action=\"([^\"]+)\"[^>]*>");
+ return Pattern.compile("<a:form [^>]*action=\"([^\"]+)\"[^>]*>");
}
}
Modified: incubator/webwork2/src/java/org/apache/struts/action2/static/CommonFunctions.js
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/static/CommonFunctions.js?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/static/CommonFunctions.js (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/static/CommonFunctions.js Tue Mar 28 19:16:00 2006
@@ -60,7 +60,7 @@
var rel = window['tab_contents_update_'+self.elementId];
// If the first tab is a remote tab, rel is null on initial loading...
// so don't try to call a method that doesn't exist. This is only
- // for IE, and the workaround is to use a <ww:action name="" executeResults="true" />
+ // for IE, and the workaround is to use a <a:action name="" executeResults="true" />
// as the content of the DIV.
if (rel.bind)
rel.bind();
Modified: incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/IteratorGeneratorTag.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/IteratorGeneratorTag.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/IteratorGeneratorTag.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/IteratorGeneratorTag.java Tue Mar 28 19:16:00 2006
@@ -39,22 +39,22 @@
* Example One:
* <pre>
* Generate a simple iterator
- * <ww:generator val="%{'aaa,bbb,ccc,ddd,eee'}">
- * <ww:iterator>
- * <ww:property /><br/>
- * </ww:iterator>
- * </ww:generator>
+ * <a:generator val="%{'aaa,bbb,ccc,ddd,eee'}">
+ * <a:iterator>
+ * <a:property /><br/>
+ * </a:iterator>
+ * </a:generator>
* </pre>
* This generates an iterator and print it out using the iterator tag.
*
* Example Two:
* <pre>
* Generate an iterator with count attribute
- * <ww:generator val="%{'aaa,bbb,ccc,ddd,eee'}" count="3">
- * <ww:iterator>
- * <ww:property /><br/>
- * </ww:iterator>
- * </ww:generator>
+ * <a:generator val="%{'aaa,bbb,ccc,ddd,eee'}" count="3">
+ * <a:iterator>
+ * <a:property /><br/>
+ * </a:iterator>
+ * </a:generator>
* </pre>
* This generates an iterator, but only 3 entries will be available in the iterator
* generated, namely aaa, bbb and ccc respectively because count attribute is set to 3
@@ -62,7 +62,7 @@
* Example Three:
* <pre>
* Generate an iterator with id attribute
- * <ww:generator val="%{'aaa,bbb,ccc,ddd,eee'}" count="4" separator="," id="myAtt" />
+ * <a:generator val="%{'aaa,bbb,ccc,ddd,eee'}" count="4" separator="," id="myAtt" />
* <%
* Iterator i = (Iterator) pageContext.getAttribute("myAtt");
* while(i.hasNext()) {
@@ -78,11 +78,11 @@
* Example Four:
* <pre>
* Generate an iterator with comparator attribute
- * <ww:generator val="%{'aaa,bbb,ccc,ddd,eee'}" converter="%{myConverter}">
- * <ww:iterator>
- * <ww:property /><br/>
- * </ww:iterator>
- * </ww:generator>
+ * <a:generator val="%{'aaa,bbb,ccc,ddd,eee'}" converter="%{myConverter}">
+ * <a:iterator>
+ * <a:property /><br/>
+ * </a:iterator>
+ * </a:generator>
*
*
* public class GeneratorTagAction extends ActionSupport {
Modified: incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/SortIteratorTag.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/SortIteratorTag.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/SortIteratorTag.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/SortIteratorTag.java Tue Mar 28 19:16:00 2006
@@ -42,15 +42,15 @@
* <!-- START SNIPPET: example -->
*
* USAGE 1:
- * <ww:sort comparator="myComparator" source="myList">
- * <ww:iterator>
+ * <a:sort comparator="myComparator" source="myList">
+ * <a:iterator>
* <!-- do something with each sorted elements -->
- * <ww:property value="..." />
- * </ww:iterator>
- * </ww:sort>
+ * <a:property value="..." />
+ * </a:iterator>
+ * </a:sort>
*
* USAGE 2:
- * <ww:sort id="mySortedList" comparator="myComparator" source="myList" />
+ * <a:sort id="mySortedList" comparator="myComparator" source="myList" />
*
* <%
* Iterator sortedIterator = (Iterator) pageContext.getAttribute("mySortedList");
Modified: incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/SubsetIteratorTag.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/SubsetIteratorTag.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/SubsetIteratorTag.java (original)
+++ incubator/webwork2/src/java/org/apache/struts/action2/views/jsp/iterator/SubsetIteratorTag.java Tue Mar 28 19:16:00 2006
@@ -72,40 +72,40 @@
* <pre>
* <!-- START SNIPPET: example1 -->
* <!-- A: List basic -->
- * <ww:subset source="myList">
- * <ww:iterator>
- * <ww:property />
- * </ww:iterator>
- * </ww:subset>
+ * <a:subset source="myList">
+ * <a:iterator>
+ * <a:property />
+ * </a:iterator>
+ * </a:subset>
* <!-- END SNIPPET: example1 -->
* </pre>
*
* <pre>
* <!-- START SNIPPET: example2 -->
* <!-- B: List with count -->
- * <ww:subset source="myList" count="3">
- * <ww:iterator>
- * <ww:property />
- * </ww:iterator>
- * </ww:subset>
+ * <a:subset source="myList" count="3">
+ * <a:iterator>
+ * <a:property />
+ * </a:iterator>
+ * </a:subset>
* <!-- END SNIPPET: example2 -->
* </pre>
*
* <pre>
* <!-- START SNIPPET: example3 -->
* <!-- C: List with start -->
- * <ww:subset source="myList" count="13" start="3">
- * <ww:iterator>
- * <ww:property />
- * </ww:iterator>
- * </ww:subset>
+ * <a:subset source="myList" count="13" start="3">
+ * <a:iterator>
+ * <a:property />
+ * </a:iterator>
+ * </a:subset>
* <!-- END SNIPPET: example3 -->
* </pre>
*
* <pre>
* <!-- START SNIPPET: example4 -->
* <!-- D: List with id -->
- * <ww:subset id="mySubset" source="myList" count="13" start="3" />
+ * <a:subset id="mySubset" source="myList" count="13" start="3" />
* <%
* Iterator i = (Iterator) pageContext.getAttribute("mySubset");
* while(i.hasNext()) {
@@ -118,11 +118,11 @@
* <pre>
* <!-- START SNIPPET: example5 -->
* <!-- D: List with Decider -->
- * <ww:subset source="myList" decider="myDecider">
- * <ww:iterator>
- * <ww:property />
- * </ww:iterator>
- * </ww:subset>
+ * <a:subset source="myList" decider="myDecider">
+ * <a:iterator>
+ * <a:property />
+ * </a:iterator>
+ * </a:subset>
* <!-- END SNIPPET: example5 -->
* </pre>
*
Modified: incubator/webwork2/src/test/org/apache/struts/action2/views/jsp/ui/FormTagTest.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/src/test/org/apache/struts/action2/views/jsp/ui/FormTagTest.java?rev=389662&r1=389661&r2=389662&view=diff
==============================================================================
--- incubator/webwork2/src/test/org/apache/struts/action2/views/jsp/ui/FormTagTest.java (original)
+++ incubator/webwork2/src/test/org/apache/struts/action2/views/jsp/ui/FormTagTest.java Tue Mar 28 19:16:00 2006
@@ -106,7 +106,7 @@
/**
* Testing that this: <p>
- * <ww:form name="'myForm'" namespace="'/testNamespace'" action="'testNamespaceAction'" method="'POST'">
+ * <a:form name="'myForm'" namespace="'/testNamespace'" action="'testNamespaceAction'" method="'POST'">
* <p/>
* doesn't create an action of "/testNamespace/testNamespaceAction.action" when the "struts.action.extension"
* config property is set to "jspa".
@@ -136,7 +136,7 @@
/**
* Testing that this: <p>
- * <ww:form name="'myForm'" action="'/testNamespace/testNamespaceAction.jspa'" method="'POST'">
+ * <a:form name="'myForm'" action="'/testNamespace/testNamespaceAction.jspa'" method="'POST'">
* <p/>
* doesn't create an action of "/testNamespace/testNamespaceAction.action"
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org