You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Nicolas Malin (Jira)" <ji...@apache.org> on 2023/12/22 09:44:00 UTC

[jira] [Closed] (OFBIZ-12875) Use screen engine for the request getJSONuilabels

     [ https://issues.apache.org/jira/browse/OFBIZ-12875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Malin closed OFBIZ-12875.
---------------------------------
    Fix Version/s: 22.01.01
                   18.12.11
       Resolution: Fixed

Commit on different release :
 * 18.12 : 82c17376880a8fd8a11261e1e00dad45cfed344d (https://github.com/apache/ofbiz-framework/commit/82c17376880a8fd8a11261e1e00dad45cfed344d)
 * 22.01 : ad98d7807682ad346b200f08b90436b10082416f (https://github.com/apache/ofbiz-framework/commit/ad98d7807682ad346b200f08b90436b10082416f)
 * trunk : b87ff9e5b62d46bcf37f15e4a3f4c217cfd83ca9 (https://github.com/apache/ofbiz-framework/commit/b87ff9e5b62d46bcf37f15e4a3f4c217cfd83ca9)

> Use screen engine for the request getJSONuilabels
> -------------------------------------------------
>
>                 Key: OFBIZ-12875
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12875
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework/common
>    Affects Versions: 22.01.01, 18.12.10
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Major
>             Fix For: 22.01.01, 18.12.11
>
>
> Before this improvement, you can resolve a list of labels to display with the uiLabel resource file
>       like : "CommonUiLabels" : ["CommonUpload", "CommonSave", "CommonCompleted"]
>     
>     We remove the possibility to specify a uiLabel resource file and make it work by default with CommonUiLabels.
>     After that we implement the json return on extend theme screen so we can add some uiLabel ressource by theme extension or component screen definition.
>     
>     Other enhancement, on getJSONuiLabels instead resolve the label with a list position you can call your label with it key.
>           resolve : uiLabelJsonObjects.CommonUiLabels[1]
>            become : uiLabelJsonObjects.CommonSave



--
This message was sent by Atlassian Jira
(v8.20.10#820010)