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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new 4516d6c701 Improved: adds comments in template for CommonScreens.xml 
to initiate a new plugin
4516d6c701 is described below

commit 4516d6c701b1b69040ab5075c58c339b76c42451
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Fri Apr 12 17:59:41 2024 +0200

    Improved: adds comments in template for CommonScreens.xml to initiate a new 
plugin
    
    As mentionned by Pierre Smits at
    https://github.com/apache/ofbiz-plugins/pull/75#issuecomment-2024611763
    this was missing
---
 framework/resources/templates/CommonScreens.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/framework/resources/templates/CommonScreens.xml 
b/framework/resources/templates/CommonScreens.xml
index 6a10f19e88..7f341def7d 100644
--- a/framework/resources/templates/CommonScreens.xml
+++ b/framework/resources/templates/CommonScreens.xml
@@ -29,6 +29,13 @@ under the License.
 
                 <set field="layoutSettings.companyName" 
from-field="uiLabelMap.@component-resource-name@CompanyName" global="true"/>
                 <set field="layoutSettings.companySubtitle" 
from-field="uiLabelMap.@component-resource-name@CompanySubtitle" global="true"/>
+                <!-- layoutSettings.headerImageUrl can be used to specify an 
application specific logo; if not set,
+                    then the global layoutSettings.commonHeaderImageUrl 
(specified in GlobalDecorator) will be used. -->
+                <!--<set field="layoutSettings.headerImageUrl" 
value="/images/ofbiz_logo.png" global="true"/>-->
+
+                <!-- <set field="layoutSettings.headerMiddleBackgroundUrl" 
value="" global="true"/> -->
+                <!-- <set field="layoutSettings.headerRightBackgroundUrl" 
value="" global="true"/> -->
+                <!-- TODO: Use transform to specify component URI -->
 
                 <set field="activeApp" value="@webapp-name@" global="true"/>
                 <set field="applicationMenuName" value="MainAppBar" 
global="true"/>
@@ -64,4 +71,4 @@ under the License.
             </widgets>
         </section>
     </screen>
-</screens>
\ No newline at end of file
+</screens>

Reply via email to