[OFBiz] Dev - Change to performFind and related services

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

[OFBiz] Dev - Change to performFind and related services

David E. Jones

I changed the performFind and related services to look for a  
parameter called "noConditionFind". If there are no condition  
parameters passed in no search will be performed unless  
noConditionFind=Y. If there are condition parameters passed in then  
it will perform the find regardless of what noConditionFind is (or  
isn't, ie can be left out).

So any existing lookup forms will not do a search unless values are  
specified and the form submitted, OR if the noConditionFind field is  
added to the form the search will be done even if no values are  
specified. The LookupPartyName (in LookupForms.xml in the party  
component) and the LookupProduct (in the FieldLookupForms.xml file in  
the product component) have both been changed to include this field.

So, if the field doesn't exist the only side effect is that no find  
all type of operation (ie with no constraints) can be done. Or in  
other words the only purpose of adding the field is to support  
unconstrained finds (or "find alls").

-David



 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

smime.p7s (3K) Download Attachment