Update of 
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors
In directory 
james.mmbase.org:/tmp/cvs-serv11507/cmsc/edit-webapp/src/webapp/editors

Modified Files:
        index.jsp 
Log Message:
CMSC-723 - Update title by change language - Added fmt:setBundle to fix this.


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors
See also: http://www.mmbase.org/jira/browse/CMSC-723


Index: index.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/edit-webapp/src/webapp/editors/index.jsp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- index.jsp   29 May 2008 05:09:20 -0000      1.13
+++ index.jsp   9 Jun 2008 16:18:23 -0000       1.14
@@ -2,7 +2,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd";>
 <[EMAIL PROTECTED] file="globals.jsp" %>
 <mm:import externid="bottomurl" from="parameters">dashboard.jsp</mm:import>
-
 <mm:cloud loginpage="login.jsp" rank="basic user">
    <mm:cloudinfo type="user" id="username" write="false"/>
    <mm:listnodes type="user" constraints="username='${username}'">
@@ -18,6 +17,7 @@
    </mm:listnodes>
 
    <fmt:setLocale value="${language}" scope="session"/>
+   <fmt:setBundle basename="cmsc" scope="request" /> <%-- Reload the resource 
bundle again for JSTL --%>
    <mm:write referid="language" jspvar="lang" vartype="String">
       <% request.getSession().setAttribute("org.apache.struts.action.LOCALE", 
new Locale(lang));%>
    </mm:write>
@@ -46,4 +46,3 @@
       </html:html>
    </mm:cloud>
 </mm:locale>
-
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to