Hi all -

I get the following error when I try this:
  <entity-condition entity-name="modelNumber" delegator-name="partslookup" 
list-name="models">
                    <condition-expr field-name="modelValue" 
env-name="modelValue"/>
                    <order-by field-name="modelnu"/>
                </entity-condition>

error:
org.ofbiz.base.util.GeneralException: Error rendering screen 
[component://ecommerce/widget/CatalogScreens.xml#DisplayFoundModels]: 
java.lang.IllegalArgumentException: Error in Entity Find: could not find entity 
with name [modelNumber] (Error in Entity Find: could not find entity with name 
[modelNumber])

entity-def:
<entity-group group="org.ofbiz.lookup" entity="ModelNumber"/>    

delegator-def:
    <delegator name="partslookup" entity-model-reader="main" 
entity-group-reader="main" entity-eca-reader="main">
        <group-map group-name="org.ofbiz.lookup" 
datasource-name="lookuppostgres"/>        
    </delegator>

The entity engine does create the table in the remote database using the 
correct delegator. Do I need to set the delegator someother place?

Rick


Reply via email to