ajaxAutoCompleter

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

ajaxAutoCompleter

Gavin Mabie
Hi all

 

I am having problems creating a ajaxAutocomplete dropdown list.  My app is
based on the ecommerce component.  In it I try to use a keywordsearch such
as in the catalogscreen - keywordsearchbox.ftl  example.  The dropdown does
however not work.  Looking at the webpage source I see that - <script
language="JavaScript"
type="text/javascript">ajaxAutoCompleter('productJumpFormProductId,/catalog/
control/LookupProduct,ajaxLookup=Y&amp;searchValueField=productId',
true);</script> - does not get generated although "selectall.js" get loaded.
Is there a place where I can set ajaxEnabled to "on/true/y" or is this not
the problem here?
 
Thanks for the help.
 
Gavin

 

Reply | Threaded
Open this post in threaded view
|

Re: ajaxAutoCompleter

james_sg
may i know if you are using version 10.4 or 9.4?

Gavin Mabie wrote
Hi all

 

I am having problems creating a ajaxAutocomplete dropdown list.  My app is
based on the ecommerce component.  In it I try to use a keywordsearch such
as in the catalogscreen - keywordsearchbox.ftl  example.  The dropdown does
however not work.  Looking at the webpage source I see that - <script language="JavaScript" type="text/javascript">ajaxAutoCompleter('productJumpFormProductId,/catalog/ control/LookupProduct,ajaxLookup=Y&amp;searchValueField=productId', true);</script> - does not get generated although "selectall.js" get loaded.
Is there a place where I can set ajaxEnabled to "on/true/y" or is this not
the problem here?
 
Thanks for the help.
 
Gavin

 
Reply | Threaded
Open this post in threaded view
|

Re: ajaxAutoCompleter

Bilgin Ibryam-2
In reply to this post by Gavin Mabie
If your application is based on ecommerse I suppose you use ftl but not form
widget to create that field.
Autocompleter is added automatically to lookup fields generated by form
widget. For ftl generated fields, you have to add the javascript part
yourself.

HTH
Bilgin

On Tue, Oct 12, 2010 at 8:58 AM, Gavin Mabie <[hidden email]>wrote:

> Hi all
>
>
>
> I am having problems creating a ajaxAutocomplete dropdown list.  My app is
> based on the ecommerce component.  In it I try to use a keywordsearch such
> as in the catalogscreen - keywordsearchbox.ftl  example.  The dropdown does
> however not work.  Looking at the webpage source I see that - <script
> language="JavaScript"
>
> type="text/javascript">ajaxAutoCompleter('productJumpFormProductId,/catalog/
> control/LookupProduct,ajaxLookup=Y&amp;searchValueField=productId',
> true);</script> - does not get generated although "selectall.js" get
> loaded.
> Is there a place where I can set ajaxEnabled to "on/true/y" or is this not
> the problem here?
>
> Thanks for the help.
>
> Gavin
>
>
>
>