svn commit: r928477 - /ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml

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

svn commit: r928477 - /ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml

jleroux@apache.org
Author: jleroux
Date: Sun Mar 28 19:08:21 2010
New Revision: 928477

URL: http://svn.apache.org/viewvc?rev=928477&view=rev
Log:
Fix a bug reported in user ML by Gabriele Franzini. Weird code, looks like untested intial code...

Modified:
    ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml

Modified: ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml?rev=928477&r1=928476&r2=928477&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml (original)
+++ ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml Sun Mar 28 19:08:21 2010
@@ -116,10 +116,10 @@ under the License.
                 </sub-hyperlink>
             </display-entity>
         </field>
-        <field name="approverId" field-name="partyId" widget-style="buttontext">
-            <display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}">
+        <field name="approverId" widget-style="buttontext">
+            <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${firstName} ${middleName} ${lastName} ${groupName}">
                 <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${approverId}" link-style="buttontext">
-                    <parameter param-name="approverId" from-field="approverId"/>
+                    <parameter param-name="partyId" from-field="approverId"/>
                 </sub-hyperlink>
             </display-entity>
         </field>
@@ -184,10 +184,10 @@ under the License.
                 </sub-hyperlink>
             </display-entity>
         </field>
-        <field name="approverId" field-name="partyId" widget-style="buttontext">
-            <display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}">
+        <field name="approverId" widget-style="buttontext">
+            <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${firstName} ${middleName} ${lastName} ${groupName}">
                 <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${approverId}" link-style="buttontext">
-                    <parameter param-name="approverId" from-field="approverId"/>
+                    <parameter param-name="partyId" from-field="approverId"/>
                 </sub-hyperlink>
             </display-entity>
         </field>