Skip to content

Commit

Permalink
Improved: adds comments in template for CommonScreens.xml to initiate…
Browse files Browse the repository at this point in the history
… a new plugin

As mentionned by Pierre Smits at
apache/ofbiz-plugins#75 (comment)
this was missing
  • Loading branch information
JacquesLeRoux committed Apr 12, 2024
1 parent c327993 commit 4516d6c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion framework/resources/templates/CommonScreens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down Expand Up @@ -64,4 +71,4 @@ under the License.
</widgets>
</section>
</screen>
</screens>
</screens>

0 comments on commit 4516d6c

Please sign in to comment.