You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2016/07/16 07:05:19 UTC

svn commit: r1752903 - in /ofbiz/branches/release14.12/applications/party: config/PartyUiLabels.xml widget/partymgr/PartyForms.xml

Author: mridulpathak
Date: Sat Jul 16 07:05:18 2016
New Revision: 1752903

URL: http://svn.apache.org/viewvc?rev=1752903&view=rev
Log:
[OFBIZ-7561] Attr Name should not be allowed to edit while updating Party Attribute record. Migrating fix from trunk r1752901.

Modified:
    ofbiz/branches/release14.12/applications/party/config/PartyUiLabels.xml
    ofbiz/branches/release14.12/applications/party/widget/partymgr/PartyForms.xml

Modified: ofbiz/branches/release14.12/applications/party/config/PartyUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/party/config/PartyUiLabels.xml?rev=1752903&r1=1752902&r2=1752903&view=diff
==============================================================================
--- ofbiz/branches/release14.12/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/branches/release14.12/applications/party/config/PartyUiLabels.xml Sat Jul 16 07:05:18 2016
@@ -9190,6 +9190,9 @@
         <value xml:lang="zh">没有为这个会员找到访问。</value>
         <value xml:lang="zh_TW">沒有找到這個團體的訪問.</value>
     </property>
+    <property key="PartyNotModifRecreateAttribute">
+        <value xml:lang="en">This cannot be changed without re-creating the Attribute.</value>
+    </property>
     <property key="PartyNotModifRecreatSecurityGroup">
         <value xml:lang="de">Kann nicht geändert werden ohne die Sicherheitsgruppe neu zu erstellen.</value>
         <value xml:lang="en">This cannot be changed without re-creating the securityGroup.</value>

Modified: ofbiz/branches/release14.12/applications/party/widget/partymgr/PartyForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/party/widget/partymgr/PartyForms.xml?rev=1752903&r1=1752902&r2=1752903&view=diff
==============================================================================
--- ofbiz/branches/release14.12/applications/party/widget/partymgr/PartyForms.xml (original)
+++ ofbiz/branches/release14.12/applications/party/widget/partymgr/PartyForms.xml Sat Jul 16 07:05:18 2016
@@ -552,6 +552,7 @@ under the License.
         <alt-target use-when="attribute==null" target="createPartyAttribute"/>
         <auto-fields-service service-name="updatePartyAttribute" map-name="attribute"/>
         <field name="partyId"><hidden value="${partyId}"/></field>
+        <field use-when="attribute!=null" name="attrName" tooltip="${uiLabelMap.PartyNotModifRecreateAttribute}"><display/></field>
         <field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
         <field name="cancelLink" title=" " widget-style="smallSubmit">
             <hyperlink target="${cancelPage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}">