Author: ajaquith
Date: Mon Mar  8 23:43:51 2010
New Revision: 920570

URL: http://svn.apache.org/viewvc?rev=920570&view=rev
Log:
Fixed feature that was broken: localized strings needed by Dirk's JavaScript 
works again. The code has also been refactored slightly so that it cached 
rather than having to continually hit the disk looking for resource bundles on 
every request.

Modified:
    
incubator/jspwiki/trunk/src/WebContent/templates/default/layout/DefaultLayout.jsp

Modified: 
incubator/jspwiki/trunk/src/WebContent/templates/default/layout/DefaultLayout.jsp
URL: 
http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/templates/default/layout/DefaultLayout.jsp?rev=920570&r1=920569&r2=920570&view=diff
==============================================================================
--- 
incubator/jspwiki/trunk/src/WebContent/templates/default/layout/DefaultLayout.jsp
 (original)
+++ 
incubator/jspwiki/trunk/src/WebContent/templates/default/layout/DefaultLayout.jsp
 Mon Mar  8 23:43:51 2010
@@ -125,7 +125,7 @@
          JavaScript: localized strings and functions
     --%>
     <script type="text/javascript">//<![CDATA[
-    <s:layout-component name="jslocalizedstrings" />
+    ${templateJsStrings}
     <s:layout-component name="jsfunction" />
     //]]></script>
     <%--


Reply via email to