I will try that latter for now I uninstall everything... I would like that lazy option to be not depending of the other plugin... I don't understand for now how I could trigger lazy option without it. I don't need the other autocomplet widget anyway.
Also... I need something more complex then your working example... I need lazy option to work with a many-to-many table the schema looks like this sample sampling point linking_table_for_mn_relation_between_sampling_point_and process process Then Sample table has process_id sampling_point_id process_id choosed should filter sampling_point_id dropbox Richard On Thu, Sep 22, 2011 at 1:59 PM, kenji4569 <hos...@s-cubism.jp> wrote: > I am not sure about the version, but it seems OK. > However I see no other possible reason, so would you try to upgrade > the web2py version? > > On 9月23日, 午前2:35, Richard Vézina <ml.richard.vez...@gmail.com> wrote: > > I have 1.6.1 under web2py 1.98.2 > > > > > > > > > > > > > > > > On Thu, Sep 22, 2011 at 1:31 PM, kenji4569 <hos...@s-cubism.jp> wrote: > > > Sorry I misunderstood. > > > > > If you have JS errors in your browser, the jQuery version might be > > > suspicious. > > > > > >Does suggest_widget is essential to trigger lazy_option plugin? > > > No. The suggest_widget triggers two kind of events called > > > "product_category__selected" and "product_category__unselected" where > > > "product_category" is the name of the input field. > > > The lazy_option then catches the events. The event names are passed to > > > the constructor arguments of the lazy_option. So the lazy_option > > > could handle any JS events not only those triggered by the > > > suggest_widget. > > > > > Kenji > > > > > On 9月23日, 午前12:58, Richard Vézina <ml.richard.vez...@gmail.com> wrote: > > > > Does suggest_widget is essential to trigger lazy_option plugin? > > > > > > Richard > > > > > > On Thu, Sep 22, 2011 at 11:55 AM, Richard Vézina < > > > > > > ml.richard.vez...@gmail.com> wrote: > > > > > > > On Thu, Sep 22, 2011 at 11:39 AM, kenji4569 <hos...@s-cubism.jp> > > > wrote: > > > > > > >> >When I put value into category it's not > > > > >> >always update the color field dropbox or it takes quite some time > > > when it > > > > >> >works > > > > >> It might be... due to intercontinental communication. > > > > > > > What do you mean? > > > > > > > I am not talking about your own website... It's work well there. I > mean > > > > > when I install both plugins and make it run with the demo models > you > > > suggest > > > > > category, color, product... > > > > > > > Could it be related somehow about web2py version, I use 1.98.2 > > > actually, or > > > > > jQuery version? > > > > > > > Richard > > > > > > >> One solution could be to add ajax progress bar for the > application, > > > > >> but it's a little bit out of the plugin scope. > > > > > > >> Regards, > > > > >> Kenji > > > > > > >> On 9月23日, 午前12:22, Richard Vézina <ml.richard.vez...@gmail.com> > > > wrote: > > > > >> > Ok I understand I was needing to install an other of your > plugins... > > > > > > >> > It's working quite anarchically... When I put value into > category > > > it's > > > > >> not > > > > >> > always update the color field dropbox or it takes quite some > time > > > when > > > > >> it > > > > >> > works... > > > > > > >> > Richard > > > > > > >> > On Thu, Sep 22, 2011 at 10:48 AM, Richard < > > > ml.richard.vez...@gmail.com > > > > >> >wrote: > > > > > > >> > > Hello Kenji, > > > > > > >> > > I would try your : > > > > > > >> > >http://dev.s-cubism.com/plugin_lazy_options_widget > > > > > > >> > > But I get this error : > > > > > > >> > > No module named plugin_suggest_widget > > > > > > >> > > I am reading the code and don't understand why and where > > > > >> > > plugin_suggest_widget import should coming from base on your > > > website > > > > >> > > code example. > > > > > > >> > > The installation of the plugin don't work out of the box or I > am > > > doing > > > > >> > > something wrong... > > > > > > >> > > I try to make it works by visiting the > plugin_lazy_options_widget/ > > > > >> > > index page once plugin install... > > > > > > >> > > Thanks for help. > > > > > > >> > > Richard >