Author: mridulpathak
Date: Sat Jul 16 07:04:03 2016
New Revision: 1752902
URL:
http://svn.apache.org/viewvc?rev=1752902&view=revLog:
[OFBIZ-7561] Attr Name should not be allowed to edit while updating Party Attribute record. Migrating fix from trunk r1752901.
Modified:
ofbiz/branches/release15.12/applications/party/config/PartyUiLabels.xml
ofbiz/branches/release15.12/applications/party/widget/partymgr/PartyForms.xml
Modified: ofbiz/branches/release15.12/applications/party/config/PartyUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/party/config/PartyUiLabels.xml?rev=1752902&r1=1752901&r2=1752902&view=diff==============================================================================
--- ofbiz/branches/release15.12/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/branches/release15.12/applications/party/config/PartyUiLabels.xml Sat Jul 16 07:04:03 2016
@@ -9754,6 +9754,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="ar">Ùا ÙÙ
Ù٠اÙتغÙÙر دÙ٠إعادة Ø®ÙÙ Ù
جÙ
Ùعة اÙØ£Ù
Ù</value>
<value xml:lang="de">Kann nicht geändert werden ohne die Sicherheitsgruppe neu zu erstellen.</value>
Modified: ofbiz/branches/release15.12/applications/party/widget/partymgr/PartyForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/party/widget/partymgr/PartyForms.xml?rev=1752902&r1=1752901&r2=1752902&view=diff==============================================================================
--- ofbiz/branches/release15.12/applications/party/widget/partymgr/PartyForms.xml (original)
+++ ofbiz/branches/release15.12/applications/party/widget/partymgr/PartyForms.xml Sat Jul 16 07:04:03 2016
@@ -725,6 +725,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}">