Author: jleroux
Date: Wed Sep 21 07:34:13 2016
New Revision: 1761687
URL:
http://svn.apache.org/viewvc?rev=1761687&view=revLog:
Improves: Maximise the utilisation of common labels in various applications
(OFBIZ-8110)
There are many commonalities among entity field definitions. Often these field
definitions have led to unique label definitions, where a shared (common) label
could have sufficed.
As examples you can take:
* the various Id fields (where for most label CommonId could be used)
* the various Type fields (where for most label CommonType could be used)
This is a placeholder ticket, intended to capture applicable issues as sub tasks
to address the aspect of maximising the utilisation of labels in the
CommonUiLabels.xml file and to track progress.
Thanks: Pierre Smits
Modified:
ofbiz/trunk/specialpurpose/myportal/widget/PortalAdmForms.xml
Modified: ofbiz/trunk/specialpurpose/myportal/widget/PortalAdmForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/widget/PortalAdmForms.xml?rev=1761687&r1=1761686&r2=1761687&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/myportal/widget/PortalAdmForms.xml (original)
+++ ofbiz/trunk/specialpurpose/myportal/widget/PortalAdmForms.xml Wed Sep 21 07:34:13 2016
@@ -27,7 +27,7 @@ under the License.
<field name="originalPortalPageId" position="2"><text-find/></field>
<field name="portalPageName" title="${uiLabelMap.CommonName}"><text-find/></field>
<field name="parentPortalPageId" position="2"><text-find/></field>
- <field name="description"><text-find/></field>
+ <field name="description" title="${uiLabelMap.CommonDescription}"><text-find/></field>
<field name="securityGroupId" position="2" title="${uiLabelMap.CommonSecurityGroupId}"><text-find/></field>
<field name="searchButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
@@ -88,8 +88,8 @@ under the License.
<text/>
</field>
<field name="parentPortalPageId" position="2"><text/></field>
- <field name="portalPageName"><text/></field>
- <field name="description" position="2"><text size="60"/></field>
+ <field name="portalPageName" title="${uiLabelMap.CommonName}"><text/></field>
+ <field name="description" title="${uiLabelMap.CommonDescription}" position="2"><text size="60"/></field>
<field name="sequenceNum"><text/></field>
<field name="securityGroupId" >
<drop-down allow-empty="true">