You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by pb...@apache.org on 2008/06/08 23:28:09 UTC

svn commit: r664558 - /struts/struts1/trunk/core/src/main/java/org/apache/struts/Globals.java

Author: pbenedict
Date: Sun Jun  8 14:28:09 2008
New Revision: 664558

URL: http://svn.apache.org/viewvc?rev=664558&view=rev
Log:
STR-2740: Support XHTML versions

Modified:
    struts/struts1/trunk/core/src/main/java/org/apache/struts/Globals.java

Modified: struts/struts1/trunk/core/src/main/java/org/apache/struts/Globals.java
URL: http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts/Globals.java?rev=664558&r1=664557&r2=664558&view=diff
==============================================================================
--- struts/struts1/trunk/core/src/main/java/org/apache/struts/Globals.java (original)
+++ struts/struts1/trunk/core/src/main/java/org/apache/struts/Globals.java Sun Jun  8 14:28:09 2008
@@ -197,6 +197,15 @@
     public static final String XHTML_KEY = "org.apache.struts.globals.XHTML";
 
     /**
+     * The request attributes key under which XHTML version is stored.  The 
+     * version is stored as a {@link java.math.BigDecimal}. The attribute
+     * has no effect if {@link #XHTML_KEY} is not set.
+     *
+     * @since Struts 1.4
+     */
+    public static final String XHTML_VERSION_KEY = "org.apache.struts.globals.XHTML_VERSION";
+
+    /**
      * The name of the taglib package.
      */
     public static final String TAGLIB_PACKAGE = "org.apache.struts.taglib.html";