Author: hermanns
Date: Mon May 1 08:34:04 2006
New Revision: 398625
URL: http://svn.apache.org/viewcvs?rev=398625&view=rev
Log:
Form Tag needs accept-charset attribute
o added new attribute to Form, FormTag and form.ftl
o updated taglib.tld
o fixed dest dir property for ant xdoclet-taglib target
Issue Number: WW-1303
Modified:
incubator/webwork2/action/src/test/java/org/apache/struts/action2/views/jsp/ui/FormTagTest.java
incubator/webwork2/action/src/test/resources/org/apache/struts/action2/views/jsp/ui/Formtag-1.txt
incubator/webwork2/action/src/test/resources/org/apache/struts/action2/views/jsp/ui/Formtag-2.txt
Modified: incubator/webwork2/action/src/test/java/org/apache/struts/action2/views/jsp/ui/FormTagTest.java
URL: http://svn.apache.org/viewcvs/incubator/webwork2/action/src/test/java/org/apache/struts/action2/views/jsp/ui/FormTagTest.java?rev=398625&r1=398624&r2=398625&view=diff
==============================================================================
--- incubator/webwork2/action/src/test/java/org/apache/struts/action2/views/jsp/ui/FormTagTest.java
(original)
+++ incubator/webwork2/action/src/test/java/org/apache/struts/action2/views/jsp/ui/FormTagTest.java
Mon May 1 08:34:04 2006
@@ -46,6 +46,7 @@
tag.setPageContext(pageContext);
tag.setName("myForm");
tag.setMethod("POST");
+ tag.setAcceptcharset("UTF-8");
tag.setAction("myAction");
tag.setEnctype("myEncType");
tag.setTitle("mytitle");
@@ -67,6 +68,7 @@
tag.setName("myForm");
tag.setMethod("POST");
tag.setAction("myAction");
+ tag.setAcceptcharset("UTF-8");
tag.setEnctype("myEncType");
tag.setTitle("mytitle");
tag.setOnsubmit("submitMe()");
Modified: incubator/webwork2/action/src/test/resources/org/apache/struts/action2/views/jsp/ui/Formtag-1.txt
URL: http://svn.apache.org/viewcvs/incubator/webwork2/action/src/test/resources/org/apache/struts/action2/views/jsp/ui/Formtag-1.txt?rev=398625&r1=398624&r2=398625&view=diff
==============================================================================
--- incubator/webwork2/action/src/test/resources/org/apache/struts/action2/views/jsp/ui/Formtag-1.txt
(original)
+++ incubator/webwork2/action/src/test/resources/org/apache/struts/action2/views/jsp/ui/Formtag-1.txt
Mon May 1 08:34:04 2006
@@ -1,4 +1,4 @@
-<form id="myAction" name="myForm" onsubmit="submitMe(); return true;" action="myAction"
method="POST" enctype="myEncType" title="mytitle">
+<form id="myAction" name="myForm" onsubmit="submitMe(); return true;" action="myAction"
method="POST" enctype="myEncType" title="mytitle" accept-charset="UTF-8">
<table class="wwFormTable">
</table>
</form>
Modified: incubator/webwork2/action/src/test/resources/org/apache/struts/action2/views/jsp/ui/Formtag-2.txt
URL: http://svn.apache.org/viewcvs/incubator/webwork2/action/src/test/resources/org/apache/struts/action2/views/jsp/ui/Formtag-2.txt?rev=398625&r1=398624&r2=398625&view=diff
==============================================================================
--- incubator/webwork2/action/src/test/resources/org/apache/struts/action2/views/jsp/ui/Formtag-2.txt
(original)
+++ incubator/webwork2/action/src/test/resources/org/apache/struts/action2/views/jsp/ui/Formtag-2.txt
Mon May 1 08:34:04 2006
@@ -1,5 +1,5 @@
<script src="/struts/xhtml/validation.js"></script>
-<form namespace="" id="myAction" name="myForm" onsubmit="submitMe(); return validateForm_myAction();"
action="myAction" method="POST" enctype="myEncType" title="mytitle">
+<form namespace="" id="myAction" name="myForm" onsubmit="submitMe(); return validateForm_myAction();"
action="myAction" method="POST" enctype="myEncType" title="mytitle" accept-charset="UTF-8">
<table class="wwFormTable"> <tr>
<td class="tdLabel"></td>
<td> <script language="javascript" src="/struts/optiontransferselect.js"></script>
|