Doubt regarding setting for Autocomplete feature(Ajax)

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

Doubt regarding setting for Autocomplete feature(Ajax)

pradeep ruhil
Hi,
I have a doubt regarding settings for autocomplete feature for product Id.
This is feature is present in Manufacturing module in findProduction run
screen.
Now when I copy pasted the lookup from the productionRunForms.xml file to
another file, just to test the
autocomplete feature in another form of manufacturing module, it worked
file.
But when i copy pasted this : <field name="productId"
title="${uiLabelMap.ProductProductId}"><lookup
target-form-name="LookupProduct"/></field>

in my custom module in hot-deploy folder, the autocomplete feature didn't
work.
Please help me what I am missing in this.

Thanks & Regards
Pradeep Ruhil
Reply | Threaded
Open this post in threaded view
|

Re: Doubt regarding setting for Autocomplete feature(Ajax)

Adrian Crum
Make sure you have LookupProduct request/view set up in your
controller.xml file.

-Adrian

pradeep ruhil wrote:

> Hi,
> I have a doubt regarding settings for autocomplete feature for product Id.
> This is feature is present in Manufacturing module in findProduction run
> screen.
> Now when I copy pasted the lookup from the productionRunForms.xml file to
> another file, just to test the
> autocomplete feature in another form of manufacturing module, it worked
> file.
> But when i copy pasted this : <field name="productId"
> title="${uiLabelMap.ProductProductId}"><lookup
> target-form-name="LookupProduct"/></field>
>
> in my custom module in hot-deploy folder, the autocomplete feature didn't
> work.
> Please help me what I am missing in this.
>
> Thanks & Regards
> Pradeep Ruhil
>
Reply | Threaded
Open this post in threaded view
|

Re: Doubt regarding setting for Autocomplete feature(Ajax)

pradeep ruhil
Hi,
Thanks for reply.
I have already done these settings, otherwise when i click on lookup image i
will get the exception,
requested resource doesn't exist.



On Wed, Mar 17, 2010 at 12:56 AM, Adrian Crum <[hidden email]> wrote:

> Make sure you have LookupProduct request/view set up in your controller.xml
> file.
>
> -Adrian
>
>
> pradeep ruhil wrote:
>
>> Hi,
>> I have a doubt regarding settings for autocomplete feature for product Id.
>> This is feature is present in Manufacturing module in findProduction run
>> screen.
>> Now when I copy pasted the lookup from the productionRunForms.xml file to
>> another file, just to test the
>> autocomplete feature in another form of manufacturing module, it worked
>> file.
>> But when i copy pasted this : <field name="productId"
>> title="${uiLabelMap.ProductProductId}"><lookup
>> target-form-name="LookupProduct"/></field>
>>
>> in my custom module in hot-deploy folder, the autocomplete feature didn't
>> work.
>> Please help me what I am missing in this.
>>
>> Thanks & Regards
>> Pradeep Ruhil
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Doubt regarding setting for Autocomplete feature(Ajax)

Bilgin Ibryam-2
Also make sure that you have the necessary javascript files included in
your page.

Bilgin

> Hi,
> Thanks for reply.
> I have already done these settings, otherwise when i click on lookup image i
> will get the exception,
> requested resource doesn't exist.
>
>
>
> On Wed, Mar 17, 2010 at 12:56 AM, Adrian Crum <[hidden email]> wrote:
>
>  
>> Make sure you have LookupProduct request/view set up in your controller.xml
>> file.
>>
>> -Adrian
>>
>>
>> pradeep ruhil wrote:
>>
>>    
>>> Hi,
>>> I have a doubt regarding settings for autocomplete feature for product Id.
>>> This is feature is present in Manufacturing module in findProduction run
>>> screen.
>>> Now when I copy pasted the lookup from the productionRunForms.xml file to
>>> another file, just to test the
>>> autocomplete feature in another form of manufacturing module, it worked
>>> file.
>>> But when i copy pasted this : <field name="productId"
>>> title="${uiLabelMap.ProductProductId}"><lookup
>>> target-form-name="LookupProduct"/></field>
>>>
>>> in my custom module in hot-deploy folder, the autocomplete feature didn't
>>> work.
>>> Please help me what I am missing in this.
>>>
>>> Thanks & Regards
>>> Pradeep Ruhil
>>>
>>>
>>>      
>
>  

Reply | Threaded
Open this post in threaded view
|

RE: Doubt regarding setting for Autocomplete feature(Ajax)

pradeepruhil85
I have included the all the javascript file in commonscreens.xml file of my module.

But still, the script file in not able to call.
I have written a simple alert in the beginning of the file, still no alert pop up comes in.
Can you tell me why my script file are not able to load.

-----Original Message-----
From: Bilgin Ibryam [mailto:[hidden email]]
Sent: Wednesday, March 17, 2010 1:30 PM
To: [hidden email]
Subject: Re: Doubt regarding setting for Autocomplete feature(Ajax)

Also make sure that you have the necessary javascript files included in
your page.

Bilgin

> Hi,
> Thanks for reply.
> I have already done these settings, otherwise when i click on lookup image i
> will get the exception,
> requested resource doesn't exist.
>
>
>
> On Wed, Mar 17, 2010 at 12:56 AM, Adrian Crum <[hidden email]> wrote:
>
>
>> Make sure you have LookupProduct request/view set up in your controller.xml
>> file.
>>
>> -Adrian
>>
>>
>> pradeep ruhil wrote:
>>
>>
>>> Hi,
>>> I have a doubt regarding settings for autocomplete feature for product Id.
>>> This is feature is present in Manufacturing module in findProduction run
>>> screen.
>>> Now when I copy pasted the lookup from the productionRunForms.xml file to
>>> another file, just to test the
>>> autocomplete feature in another form of manufacturing module, it worked
>>> file.
>>> But when i copy pasted this : <field name="productId"
>>> title="${uiLabelMap.ProductProductId}"><lookup
>>> target-form-name="LookupProduct"/></field>
>>>
>>> in my custom module in hot-deploy folder, the autocomplete feature didn't
>>> work.
>>> Please help me what I am missing in this.
>>>
>>> Thanks & Regards
>>> Pradeep Ruhil
>>>
>>>
>>>
>
>


______________________________________________________________________

This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: Doubt regarding setting for Autocomplete feature(Ajax)

Bilgin Ibryam-2
On Wed, Mar 17, 2010 at 11:15 AM, Pardeep Ruhil <
[hidden email]> wrote:

> I have included the all the javascript file in commonscreens.xml file of my
> module.
>
> But still, the script file in not able to call.
> I have written a simple alert in the beginning of the file, still no alert
> pop up comes in.
> Can you tell me why my script file are not able to load.
>
>

Can you use the lookup button?
If so then you have loaded the javascript files successfully.
If not, then check web.xml of your web application. It should contain
"allowedPaths" init-param, and there should be "/images:" location added.

Bilgin