You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by aj...@apache.org on 2008/02/24 19:18:11 UTC

svn commit: r630648 - /incubator/jspwiki/trunk/etc/web.xml

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. 
    -->