svn commit: r1037079 - in /ofbiz/trunk/applications/content/widget: SurveyScreens.xml content/ContentScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1037079 - in /ofbiz/trunk/applications/content/widget: SurveyScreens.xml content/ContentScreens.xml

buscob
Author: buscob
Date: Fri Nov 19 23:22:48 2010
New Revision: 1037079

URL: http://svn.apache.org/viewvc?rev=1037079&view=rev
Log:
Added missing uiLabels property-map loading in screens used in the Ajax form update.
This caused some labels to not being localized when using the form pagination.

Modified:
    ofbiz/trunk/applications/content/widget/SurveyScreens.xml
    ofbiz/trunk/applications/content/widget/content/ContentScreens.xml

Modified: ofbiz/trunk/applications/content/widget/SurveyScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/SurveyScreens.xml?rev=1037079&r1=1037078&r2=1037079&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/SurveyScreens.xml (original)
+++ ofbiz/trunk/applications/content/widget/SurveyScreens.xml Fri Nov 19 23:22:48 2010
@@ -205,7 +205,7 @@ under the License.
         <section>
             <actions>
                 <property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
-            <set field="titleProperty" value="PageTitleFindSurveyResponse"/>
+                <set field="titleProperty" value="PageTitleFindSurveyResponse"/>
                 <set field="tabButtonItem" value="FindSurveyResponse"/>
                 <set field="labelTitleProperty" value="PageTitleFindSurveyResponse"/>
 
@@ -355,6 +355,11 @@ under the License.
             <condition>
                 <if-has-permission permission="CONTENTMGR" action="_VIEW"/>
             </condition>
+            <actions>
+                <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
+                <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
+                <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
+            </actions>
             <widgets>
                 <include-form name="ListFindSurvey" location="component://content/webapp/content/survey/SurveyForms.xml"/>
             </widgets>

Modified: ofbiz/trunk/applications/content/widget/content/ContentScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentScreens.xml?rev=1037079&r1=1037078&r2=1037079&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/content/ContentScreens.xml (original)
+++ ofbiz/trunk/applications/content/widget/content/ContentScreens.xml Fri Nov 19 23:22:48 2010
@@ -72,6 +72,7 @@ under the License.
             </condition>
             <actions>
                 <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
+                <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
             </actions>
             <widgets>
                 <include-form name="ListContent" location="component://content/widget/content/ContentForms.xml"/>