Author: martinc
Date: Tue Mar 22 21:13:26 2005
New Revision: 158727
URL: http://svn.apache.org/viewcvs?view=rev&rev=158727
Log:
Port the fix for Bugzilla #34027 to the 1.2.X branch.
Modified:
struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/taglib/html/FormTag.java
Modified:
struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/taglib/html/FormTag.java
URL:
http://svn.apache.org/viewcvs/struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/taglib/html/FormTag.java?view=diff&r1=158726&r2=158727
==============================================================================
---
struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/taglib/html/FormTag.java
(original)
+++
struts/core/branches/STRUTS_1_2_BRANCH/src/share/org/apache/struts/taglib/html/FormTag.java
Tue Mar 22 21:13:26 2005
@@ -475,7 +475,9 @@
StringBuffer results = new StringBuffer("<form");
// render attributes
- renderName(results);
+ if (!this.isXhtml()) {
+ renderName(results);
+ }
renderAttribute(results, "method", getMethod() == null ? "post" :
getMethod());
renderAction(results);
renderAttribute(results, "accept-charset", getAcceptCharset());
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]