Author: jacopoc
Date: Sat Dec 9 06:02:27 2006
New Revision: 484979
URL:
http://svn.apache.org/viewvc?view=rev&rev=484979Log:
Applied (slightly modified) patch from Rashko Rejmer (OFBIZ-505) to fix a bug in the "lookup party and user login" screen.
However, this lookup has still at least one issue: userLogins that don't have a party associated to them are not shown (for example, the "system" userLogin).
Modified:
incubator/ofbiz/trunk/applications/party/webapp/partymgr/lookup/LookupForms.xml
Modified: incubator/ofbiz/trunk/applications/party/webapp/partymgr/lookup/LookupForms.xml
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/party/webapp/partymgr/lookup/LookupForms.xml?view=diff&rev=484979&r1=484978&r2=484979==============================================================================
--- incubator/ofbiz/trunk/applications/party/webapp/partymgr/lookup/LookupForms.xml (original)
+++ incubator/ofbiz/trunk/applications/party/webapp/partymgr/lookup/LookupForms.xml Sat Dec 9 06:02:27 2006
@@ -90,7 +90,8 @@
<form name="lookupPartyAndUserLoginAndPerson" default-title-style="tableheadtext"
default-tooltip-style="tabletext" default-widget-style="inputBox"
- target="LookupPerson" title="" type="single">
+ target="LookupPartyAndUserLoginAndPerson" paginate-target="LookupPartyAndUserLoginAndPerson"
+ title="" type="single">
<!--<auto-fields-entity entity-name="PartyAndUserLoginAndPerson" default-field-type="find" />-->
<field name="partyId" title="${uiLabelMap.PartyPartyId}"><text-find/></field>
<field name="userLoginId" title="${uiLabelMap.PartyUserLoginId}"><text-find/></field>
@@ -112,8 +113,8 @@
</service>
</actions>
<!--<auto-fields-entity entity-name="PartyAndUserLoginAndPerson" default-field-type="display"/>-->
- <field name="partyId" title="${uiLabelMap.PartyPartyId}" widget-style="buttontext">
- <hyperlink also-hidden="false" target-type="plain" description="${partyId}" target="javascript:set_value('${partyId}', '${userLoginId}', '${parameters.webSitePublishPoint}')"/>
+ <field name="partyId" title="${uiLabelMap.PartyPartyId}">
+ <display description="${partyId}"/>
</field>
<field name="userLoginId" title="${uiLabelMap.PartyUserLoginId}" widget-style="buttontext">
<hyperlink also-hidden="false" target-type="plain" description="${userLoginId}" target="javascript:set_value('${userLoginId}', '${userLoginId}', '${parameters.webSitePublishPoint}')"/>