Lookups dont populate the values back on the form

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

Lookups dont populate the values back on the form

ashmil
Hi,

I am new to ofbiz and and facing a peculiar issue.

My layered lookups are popping up fine but when I select from the list, the value doesn't get populated back on the form. Wondering if it has anything to do with javascript (Javascript is enabled in my browser). I have also included the GlobalDecorator on my screen. This part of the Lookup form doesnt seem to be working:
        <field name="productId" title="Product ID"  widget-style="smallSubmit">
            <hyperlink also-hidden="false" target-type="plain" description="${productId}" target="javascript:set_value('${productId}')"/>
        </field>

I have also noticed a similar problem with the calendar lookup. In that case, the lookup itself doesn't work on the input form for a datetime field though a default javascript calendar image shows up.

This is happening only in my custom application. The ofbiz applications don't seem to have this issue.

Any pointers towards solving this issue will be appreciated.

Thanks
Ashwini