[ofbiz-framework] branch trunk updated: Improved: Styles some clickable fields of backend tables as buttons.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch trunk updated: Improved: Styles some clickable fields of backend tables as buttons.

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

mbrohl 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 e4e32a1  Improved: Styles some clickable fields of backend tables as buttons.
e4e32a1 is described below

commit e4e32a1a64739638ce7692a898d662b523bc2991
Author: Michael Brohl <[hidden email]>
AuthorDate: Wed Mar 18 08:05:00 2020 +0100

    Improved: Styles some clickable fields of backend tables as buttons.
   
    (OFBIZ-11309)
   
    Thanks Ulrich Heidfeld for reporting and providing the patch, James Yong
    for additional review.
---
 applications/content/widget/cms/CMSForms.xml             | 2 +-
 applications/content/widget/forum/BlogForms.xml          | 2 +-
 applications/marketing/widget/sfa/forms/AccountForms.xml | 8 ++++----
 applications/party/widget/partymgr/PartyForms.xml        | 4 ++--
 applications/product/widget/catalog/CategoryForms.xml    | 2 +-
 applications/product/widget/catalog/ProdCatalogForms.xml | 2 +-
 applications/product/widget/catalog/ProductForms.xml     | 2 +-
 applications/product/widget/catalog/ReviewForms.xml      | 2 +-
 8 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/applications/content/widget/cms/CMSForms.xml b/applications/content/widget/cms/CMSForms.xml
index 3ad6d89..9fe93a7 100644
--- a/applications/content/widget/cms/CMSForms.xml
+++ b/applications/content/widget/cms/CMSForms.xml
@@ -44,7 +44,7 @@ under the License.
             </service>
         </actions>
 
-        <field name="caContentIdTo" title=" ">
+        <field name="caContentIdTo" title=" " widget-style="buttontext">
             <hyperlink description="${caContentIdTo}" target="EditAddContent" also-hidden="false">
                 <parameter param-name="MASTER_contentId" from-field="contentId"/>
                 <parameter param-name="MASTER_drDataResourceId" from-field="drDataResourceId"/>
diff --git a/applications/content/widget/forum/BlogForms.xml b/applications/content/widget/forum/BlogForms.xml
index 7b14d32..2b00a53 100644
--- a/applications/content/widget/forum/BlogForms.xml
+++ b/applications/content/widget/forum/BlogForms.xml
@@ -23,7 +23,7 @@ under the License.
     <form name="ListBlogs" type="list" list-name="blogs" separate-columns="true" paginate-target="blogMain"
         odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
         <field name="contentId"><hidden/></field>
-        <field name="contentName">
+        <field name="contentName" widget-style="buttontext">
             <hyperlink description="${contentName} [${contentId}]" target="editBlog">
                 <parameter param-name="blogContentId" from-field="contentId"/>
             </hyperlink>
diff --git a/applications/marketing/widget/sfa/forms/AccountForms.xml b/applications/marketing/widget/sfa/forms/AccountForms.xml
index ee971ba..c154052 100644
--- a/applications/marketing/widget/sfa/forms/AccountForms.xml
+++ b/applications/marketing/widget/sfa/forms/AccountForms.xml
@@ -137,22 +137,22 @@ under the License.
             <set field="relatedCompanyPartyId" from-field="relatedCompanies[0].partyIdFrom" type="Object"/>
             <set field="existRelationship" from-field="existRelationships[0]"/>
         </row-actions>
-        <field name="partyId" title="${uiLabelMap.PartyPartyId}" use-when="roleTypeId!=null&amp;roleTypeId=='ACCOUNT'">
+        <field name="partyId" title="${uiLabelMap.PartyPartyId}" use-when="roleTypeId!=null&amp;roleTypeId=='ACCOUNT'" widget-style="buttontext">
             <hyperlink description="${partyName} [${partyId}]" target="ViewAccountProfile">
                 <parameter param-name="partyId"/>
             </hyperlink>
         </field>
-        <field name="partyId" title="${uiLabelMap.PartyPartyId}" use-when="roleTypeId!=null&amp;roleTypeId=='CONTACT'">
+        <field name="partyId" title="${uiLabelMap.PartyPartyId}" use-when="roleTypeId!=null&amp;roleTypeId=='CONTACT'" widget-style="buttontext">
             <hyperlink description="${partyName} [${partyId}]" target="ViewContactProfile">
                 <parameter param-name="partyId"/>
             </hyperlink>
         </field>
-        <field name="partyId" title="${uiLabelMap.PartyPartyId}" use-when="roleTypeId!=null&amp;roleTypeId=='LEAD'">
+        <field name="partyId" title="${uiLabelMap.PartyPartyId}" use-when="roleTypeId!=null&amp;roleTypeId=='LEAD'" widget-style="buttontext">
             <hyperlink description="${partyName} [${partyId}]" target="ViewLeadProfile">
                 <parameter param-name="partyId"/>
             </hyperlink>
         </field>
-        <field name="partyId" title="${uiLabelMap.PartyPartyId}" use-when="roleTypeId!=null&amp;roleTypeId=='ACCOUNT_LEAD'">
+        <field name="partyId" title="${uiLabelMap.PartyPartyId}" use-when="roleTypeId!=null&amp;roleTypeId=='ACCOUNT_LEAD'" widget-style="buttontext">
             <hyperlink description="${partyName} [${partyId}]" target="ViewAccountLeadProfile">
                 <parameter param-name="partyId"/>
             </hyperlink>
diff --git a/applications/party/widget/partymgr/PartyForms.xml b/applications/party/widget/partymgr/PartyForms.xml
index 343e419..dc45a20 100644
--- a/applications/party/widget/partymgr/PartyForms.xml
+++ b/applications/party/widget/partymgr/PartyForms.xml
@@ -143,7 +143,7 @@ under the License.
                 <field-map field-name="userLogin" from-field="userLogin"/>
             </service>
         </row-actions>
-        <field name="partyId" sort-field="true">
+        <field name="partyId" sort-field="true" widget-style="buttontext">
             <hyperlink description="${partyId}" target="viewprofile">
                 <parameter param-name="partyId"/>
             </hyperlink>
@@ -1005,7 +1005,7 @@ under the License.
         <field name="thruDate"><date-time/></field>
         <field name="comments"><text/></field>
         <field name="updateButton"><submit button-type="button"/></field>
-        <field name="deleteButton"><hyperlink description="${uiLabelMap.CommonDelete}" target="deletePartyRelationship">
+        <field name="deleteButton" widget-style="buttontext"><hyperlink description="${uiLabelMap.CommonDelete}" target="deletePartyRelationship">
                 <parameter param-name="partyId"/>
                 <parameter param-name="partyIdFrom"/>
                 <parameter param-name="partyIdTo"/>
diff --git a/applications/product/widget/catalog/CategoryForms.xml b/applications/product/widget/catalog/CategoryForms.xml
index 1722f1f..2dcb7a0 100644
--- a/applications/product/widget/catalog/CategoryForms.xml
+++ b/applications/product/widget/catalog/CategoryForms.xml
@@ -244,7 +244,7 @@ under the License.
                 <field-map field-name="viewSize" from-field="viewSize"/>
             </service>
         </actions>
-        <field name="productCategoryId" sort-field="true">
+        <field name="productCategoryId" sort-field="true" widget-style="buttontext">
             <hyperlink description="${productCategoryId}" target="EditCategory" also-hidden="false">
                 <parameter param-name="productCategoryId"/>
             </hyperlink>
diff --git a/applications/product/widget/catalog/ProdCatalogForms.xml b/applications/product/widget/catalog/ProdCatalogForms.xml
index 7996b06..56b98fc 100644
--- a/applications/product/widget/catalog/ProdCatalogForms.xml
+++ b/applications/product/widget/catalog/ProdCatalogForms.xml
@@ -43,7 +43,7 @@ under the License.
                 <field-map field-name="noConditionFind" value="Y"/>
             </service>
         </actions>
-        <field name="prodCatalogId" sort-field="true">
+        <field name="prodCatalogId" sort-field="true" widget-style="buttontext">
             <hyperlink description="${prodCatalogId}" target="EditCatalog" also-hidden="false">
                 <parameter param-name="prodCatalogId"/>
             </hyperlink>
diff --git a/applications/product/widget/catalog/ProductForms.xml b/applications/product/widget/catalog/ProductForms.xml
index 208ee72..d3fd3c8 100644
--- a/applications/product/widget/catalog/ProductForms.xml
+++ b/applications/product/widget/catalog/ProductForms.xml
@@ -42,7 +42,7 @@ under the License.
                 <field-map field-name="viewSize" from-field="viewSize"/>
             </service>
         </actions>
-        <field name="productId" sort-field="true">
+        <field name="productId" sort-field="true" widget-style="buttontext">
             <hyperlink description="${productId}" target="EditProduct" also-hidden="false">
                 <parameter param-name="productId"/>
             </hyperlink>
diff --git a/applications/product/widget/catalog/ReviewForms.xml b/applications/product/widget/catalog/ReviewForms.xml
index 440577d..663a98c 100644
--- a/applications/product/widget/catalog/ReviewForms.xml
+++ b/applications/product/widget/catalog/ReviewForms.xml
@@ -56,7 +56,7 @@ under the License.
             <set field="reviewBy" value="${userLoginAndPartyDetails[0].firstName} ${userLoginAndPartyDetails[0].middleName} ${userLoginAndPartyDetails[0].lastName}"/>
         </row-actions>
         <field name="productReviewId"><hidden/></field>
-        <field name="productId">
+        <field name="productId" widget-style="buttontext">
             <hyperlink description="${productId}" target="EditProduct" also-hidden="false">
                 <parameter param-name="productId"/>
             </hyperlink>