You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2021/02/13 17:09:49 UTC

[ofbiz-framework] 01/02: Fixed: Use from-field pattern instead of value=${***} pattern in 'set' element (OFBIZ-9607)

This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release17.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 4a26aecbf53d9ec03c77451cbe489cfc2d7d61c4
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Sat Feb 13 17:55:29 2021 +0100

    Fixed: Use from-field pattern instead of value=${***} pattern in 'set' element (OFBIZ-9607)
    
    Fixes a syntax issue spotted while testing FreeMarker 2.3.31
---
 applications/content/widget/forum/ForumScreens.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/content/widget/forum/ForumScreens.xml b/applications/content/widget/forum/ForumScreens.xml
index 23ba20e..f8bef82 100644
--- a/applications/content/widget/forum/ForumScreens.xml
+++ b/applications/content/widget/forum/ForumScreens.xml
@@ -26,7 +26,7 @@ under the License.
             <actions>
                 <set field="headerItem" value="Forum"/>
                 <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
-                <set field="pageTitle" from-field="uiLabelMap.[titleProperty]"/>
+                <set field="pageTitle" from-field="uiLabelMap.${titleProperty}"/>
             </actions>
             <widgets>
                 <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">