[OFBiz] SVN: r7058 - trunk/applications/product/webapp/catalog/lookup

jacopo@svn.ofbiz.org jacopo at svn.ofbiz.org
Thu Mar 23 10:55:04 CST 2006


Author: jacopo
Date: 2006-03-23 10:54:56 -0600 (Thu, 23 Mar 2006)
New Revision: 7058

Modified:
   trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml
Log:
Slightly modified the lookup product page:

* now it's possiible to select also virtual product ids
* variants are not shown in the main list: they can be selected after clicking the variants link



Modified: trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml
===================================================================
--- trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml	2006-03-23 14:28:44 UTC (rev 7057)
+++ trunk/applications/product/webapp/catalog/lookup/FieldLookupForms.xml	2006-03-23 16:54:56 UTC (rev 7058)
@@ -50,7 +50,8 @@
                 </entity-options>
             </drop-down>
         </field>
-        <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> 
+        <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
+        <field name="isVariant"><hidden value="N"/></field>
         <field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
     </form>
     <form name="listLookupProduct" 
@@ -63,10 +64,9 @@
                 <field-map field-name="entityName" value="Product"/>
             </service>
         </actions>
-        <field name="productId" title=" " widget-style="buttontext" use-when="isVirtual==null||&quot;${isVirtual}&quot;.equals(&quot;N&quot;)">
+        <field name="productId" title=" " widget-style="buttontext">
             <hyperlink also-hidden="false" target-type="plain" description="${productId}" target="javascript:set_values('${productId}', '${internalName}')"/>
         </field>
-        <field name="productId" title=" " use-when="isVirtual!=null&amp;&amp;&quot;${isVirtual}&quot;.equals(&quot;Y&quot;)"><display/></field>
         <field name="brandName"><display/></field>
         <field name="internalName"><display/></field>
         <field name="productTypeId"><display/></field>



More information about the Svn mailing list