Author: mridulpathak
Date: Sat Jul 16 07:00:29 2016
New Revision: 1752901
URL:
http://svn.apache.org/viewvc?rev=1752901&view=revLog:
[OFBIZ-7561] Attr Name should not be allowed to edit while updating Party Attribute record. Thanks Ankit Joshi for contribution.
Modified:
ofbiz/trunk/applications/party/config/PartyUiLabels.xml
ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml
Modified: ofbiz/trunk/applications/party/config/PartyUiLabels.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/config/PartyUiLabels.xml?rev=1752901&r1=1752900&r2=1752901&view=diff==============================================================================
--- ofbiz/trunk/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/trunk/applications/party/config/PartyUiLabels.xml Sat Jul 16 07:00:29 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/trunk/applications/party/widget/partymgr/PartyForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml?rev=1752901&r1=1752900&r2=1752901&view=diff==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyForms.xml Sat Jul 16 07:00:29 2016
@@ -728,6 +728,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}">