Documented: migration to help system using asciidoc files

(OFBIZ-11587)

Add <set field=helpAnchor... in CommonScreens for application where it's
not present. With this commit all OFBiz application help go to the html
generated from asciidoc files
This commit is contained in:
holivier
2020-09-28 15:15:04 +02:00
parent d7408de03f
commit 9eaf180a4b
6 changed files with 10 additions and 6 deletions
@@ -30,6 +30,7 @@ under the License.
<set field="applicationMenuName" value="ApAppBar" global="true"/>
<set field="applicationMenuLocation" value="component://accounting/widget/ap/ApMenus.xml" global="true"/>
<set field="applicationTitle" from-field="uiLabelMap.AccountingApManagerApplication" global="true"/>
<set field="helpAnchor" from-field="helpAnchor" default-value="_accounting"/>
<set field="invoiceMenuLocation" value="component://accounting/widget/ap/ApInvoiceMenus.xml" global="true"/>
</actions>
<widgets>
@@ -146,7 +147,7 @@ under the License.
</widgets>
</section>
</screen>
<screen name="CommonInvoiceDecorator">
<section>
<actions>
@@ -193,7 +194,7 @@ under the License.
</widgets>
</section>
</screen>
<screen name="CommonPaymentGroupDecorator">
<section>
<actions>
@@ -33,6 +33,7 @@ under the License.
<set field="applicationMenuName" value="ArAppBar" global="true"/>
<set field="applicationMenuLocation" value="component://accounting/widget/ar/ArMenus.xml" global="true"/>
<set field="applicationTitle" from-field="uiLabelMap.AccountingArManagerApplication" global="true"/>
<set field="helpAnchor" from-field="helpAnchor" default-value="_accounting"/>
</actions>
<widgets>
<include-screen name="ApplicationDecorator" location="component://commonext/widget/CommonScreens.xml"/>
@@ -372,7 +372,7 @@ under the License.
<set field="headerItem" value="main"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one entity-name="Product" value-field="product"/>
<set field="helpAnchor" value="_help_for_the_party_find_screen"/>
<set field="helpAnchor" value="_help_for_catalog_main_screen"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
@@ -42,6 +42,7 @@ under the License.
<set field="activeApp" value="facilitymgr" global="true"/>
<set field="applicationMenuName" value="FacilityAppBar" global="true"/>
<set field="applicationMenuLocation" value="component://product/widget/facility/FacilityMenus.xml" global="true"/>
<set field="helpAnchor" from-field="helpAnchor" default-value="_core_business_applications"/>
<set field="applicationTitle" from-field="uiLabelMap.ProductFacilityManagerApplication" global="true"/>
</actions>
<widgets>
@@ -43,6 +43,7 @@ under the License.
<set field="activeApp" value="workeffort" global="true"/>
<set field="applicationMenuName" value="WorkEffortAppBar" global="true"/>
<set field="applicationMenuLocation" value="component://workeffort/widget/WorkEffortMenus.xml" global="true"/>
<set field="helpAnchor" from-field="helpAnchor" default-value="_core_business_applications"/>
<set field="applicationTitle" from-field="uiLabelMap.WorkEffortManagerApplication" global="true"/>
</actions>
<widgets>
+3 -3
View File
@@ -37,7 +37,7 @@ under the License.
<!-- <set field="layoutSettings.headerMiddleBackgroundUrl" value="" global="true"/> -->
<!-- <set field="layoutSettings.headerRightBackgroundUrl" value="" global="true"/> -->
<!-- Help link actions -->
<set field="helpTopic" value="${groovy: webappName.toUpperCase() + '_' + requestAttributes._CURRENT_VIEW_}"/>
<set field="helpAnchor" from-field="helpAnchor" default-value="_web_tools"/>
<set field="applicationMenuLocation" value="component://webtools/widget/Menus.xml" global="true"/>
<set field="applicationMenuName" value="WebtoolsAppBar" global="true"/>
<set field="applicationTitle" from-field="uiLabelMap.FrameworkWebTools" global="true"/>
@@ -214,7 +214,7 @@ under the License.
</widgets>
</section>
</screen>
<screen name="CommonArtifactDecorator">
<section>
<actions>
@@ -322,5 +322,5 @@ under the License.
</widgets>
</section>
</screen>
</screens>