Author: xlawrence
Date: Tue Jan 22 12:27:12 2008
New Revision: 68

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D68&repname=3D=
corporate_portal_templates_v3
Log:
set bundles in layout manager

Modified:
    trunk/src/jsp/common/box/box_layoutmanager.jsp

Modified: trunk/src/jsp/common/box/box_layoutmanager.jsp
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/src/jsp/common/=
box/box_layoutmanager.jsp&rev=3D68&repname=3Dcorporate_portal_templates_v3
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/src/jsp/common/box/box_layoutmanager.jsp (original)
+++ trunk/src/jsp/common/box/box_layoutmanager.jsp Tue Jan 22 12:27:12 2008
@@ -21,7 +21,7 @@
 <c:set var=3D"boxID" scope=3D"request" value=3D"${param.name}_${param.id}"=
/>
 =

 <!-- Let us declare the default Jahia boxes so we can use them -->
-<jahia-components:declare-default-boxes id=3D"${param.name}_${param.id}"/>
+<jahia-components:declare-default-boxes id=3D"${param.name}_${param.id}" b=
undleKey=3D"DEFAULT_V3_LANG"/>
 =

 <!-- Let us include the custom_box_types.jsp where all custom box types sh=
ould be defined -->
 <jahiaHtml:include page=3D"common/box/custom_box_types.jsp" />
@@ -29,20 +29,28 @@
 <!-- Let us declare the main box list that will contain all the different =
boxes we want -->
 <jahia-components:declare-box-list name=3D"${param.name}_${param.id}"
                                    title=3D"${param.name}_${param.id}"
+                                   bundleKey=3D"DEFAULT_V3_LANG"
+                                   titleKey=3D"boxContainer"
                                    authorizedTypes=3D"<jahia_default_boxes=
>,rss"
                                    excludedTypes=3D"webapps">
 </jahia-components:declare-box-list>
 =

 <!-- Let us now display the main box list with all the different boxes it =
has -->
 <jahia-components:box-list name=3D"${param.name}_${param.id}" id=3D"${para=
m.name}_${param.id}">
-    <jahiaHtml:actionMenu name=3D"${param.name}_${param.id}" resourceBundl=
e=3D"jahiatemplates.default_v3_lang" useFieldSet=3D"true" namePostFix=3D".b=
oxContainerList">
+    <jahiaHtml:actionMenu name=3D"${param.name}_${param.id}"
+                          resourceBundle=3D"jahiatemplates.default_v3_lang"
+                          useFieldSet=3D"true"
+                          namePostFix=3D".boxContainers">
         <!-- Let us define the layout manager area. This should be compose=
d only by layout manager boxes -->
         <ajax:layout-manager-area>
             <content:container id=3D"boxContainer">
                 <content:textField valueId=3D"boxTitle" name=3D"boxTitle" =
defaultValue=3D"" display=3D"" diffActive=3D"true"/>
                  <!-- Let us define the current box as a layout-manager bo=
x.-->
                 <ajax:layout-manager-box id=3D"lm_box_${boxContainer.id}" =
title=3D"${boxTitle}">
-                    <jahiaHtml:actionMenu name=3D"boxContainer" resourceBu=
ndle=3D"jahiatemplates.default_v3_lang" useFieldSet=3D"true" namePostFix=3D=
".boxContainerList">
+                    <jahiaHtml:actionMenu name=3D"boxContainer"
+                                          resourceBundle=3D"jahiatemplates=
.default_v3_lang"
+                                          useFieldSet=3D"true"
+                                          namePostFix=3D".boxContainerList=
">
                         <!-- Let us invoke the box tag so it will dispatch=
 the request to the correct JSP file used for box display -->
                         <p><jahia-components:box displayTitle=3D"false" id=
=3D"${param.name}_${param.id}"/></p>
                     </jahiaHtml:actionMenu>

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to