ajax not working on lookup field

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

ajax not working on lookup field

joelfradkin@gmail.com
I am sure I messed this up, but unsure how to fix.
I modified my lookupsupplierproduct to use my own groovy.
This works well for the search itself. I wanted a distinct list of products.
But when I enter a key stroke or two I get no records found.
I thought I had it fixed when I set the groovy to look for add_product_id, but now its not working.
Can any one point me to how the lookup macro gets data when there is no specified groovy file?
If I can take a look at what that is doing I can probably fix my code.

(Side Note when you use the original code where the ajax works it seems to put all the products on the list on the screen next to the edit field (usually only has one value).

    <screen name="LookupSupplierProduct">
        <section>
            <condition>
                <if-service-permission service-name="catalogPermissionCheck" main-action="VIEW"/>
            </condition>
            <actions>
                <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
                <script location="component://fia/webapp/fia/WEB-INF/actions/FindSupplierProductDistinct.groovy"/>
Joel Fradkin