A patch from Sascha Rodekamp "Refactor fieldlookup.js" (https://issues.apache.org/jira/browse/OFBIZ-3491) - OFBIZ-3491

Mostly changes in the fieldlookup.js to make the code a little bit smaller. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917250 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2010-02-28 18:54:15 +00:00
parent 292f1cda85
commit b632244a4f
2 changed files with 25 additions and 224 deletions
@@ -282,8 +282,10 @@ under the License.
<!-- Lookup Layer Example -->
<form name="ExampleLookupFields" type="single" title="">
<!-- Standard LookupLayer -->
<field name="partyIdFrom" position="1" title="${uiLabelMap.CommonPartyID} ${uiLabelMap.CommonFrom}"><lookup target-form-name="LookupPartyExamplePopup" presentation="layer" position="normal"/></field>
<field name="partyIdTo" position="2" title="${uiLabelMap.CommonPartyID} ${uiLabelMap.CommonTo}"><lookup target-form-name="LookupPartyExamplePopupByName" presentation="layer" position="center" height="500px" width="600px"/></field>
<!-- passes the name in one and the id in another field, the layer is centered -->
<field name="partyIdTo" position="2" title="${uiLabelMap.CommonPartyID} ${uiLabelMap.CommonTo}"><lookup target-form-name="LookupPartyExamplePopupByName" description-field-name="partyIdFrom" presentation="layer" position="center" height="500px" width="600px"/></field>
</form>
<form name="SelectionBoxesExampleForm" type="single">