jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajaqu...@apache.org
Subject svn commit: r630648 - /incubator/jspwiki/trunk/etc/web.xml
Date Sun, 24 Feb 2008 18:18:11 GMT
Author: ajaquith
Date: Sun Feb 24 10:18:09 2008
New Revision: 630648

URL: http://svn.apache.org/viewvc?rev=630648&view=rev
Log:
Eliminated the need to hard-code <fmr:setBundle> tags in JSPs by setting the web.xml
<comtext-param> javax.servlet.jsp.jstl.fmt.localizationContext so that it points to
templates.default. Removed the setBundle tags from all JSPs.

Modified:
    incubator/jspwiki/trunk/etc/web.xml

Modified: incubator/jspwiki/trunk/etc/web.xml
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/etc/web.xml?rev=630648&r1=630647&r2=630648&view=diff
==============================================================================
--- incubator/jspwiki/trunk/etc/web.xml (original)
+++ incubator/jspwiki/trunk/etc/web.xml Sun Feb 24 10:18:09 2008
@@ -14,6 +14,12 @@
    </description>
    <display-name>JSPWiki</display-name>
 
+   <!-- Resource bundle default location -->
+   <context-param>
+     <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
+     <param-value>templates.default</param-value>
+   </context-param>
+
    <!--
       This is new in 2.4.  This defines a servlet filter which filters all requests. 
    -->



Mime
View raw message