I am not sure that is what he is looking for. Are you looking to get autocomplete for commands as your program right? Perhaps this? http://www.web2py.com/AlterEgo/default/show/178 - j
On Thu, 2009-06-25 at 10:11 -0700, Yannick wrote: > Hello, > > I think you can just create an Ajax from the front end and call an > Auto complete action the return value from DB (if needed) : > Like your action can be something like this: > > def autoComplete(): > q='' > if request.vars: > q=request.vars.q > if not q: > return q > rows= # Here you retrieve data you want from the DB > data='' > for row in rows: > data = # here you do want you want with the data like format > them... > return data > > > I hope it helps... > > Cheers, > Yannick P. > > On Jun 25, 4:36 am, Nur Hisyam Mohamed <nhis...@gmail.com> wrote: > > Hi, > > > > I'm new with python and web2py. > > > > I'm just wondering if it is possible for me to get "auto-complete" to > > be used for web2py. > > Usually what I do for other python modules is by using pydiction and > > use vim to get the > > auto-complete feature. > > > > However since the modules inside web2py are not registered inside the > > system (OS) itself, > > how do I get the auto-complete features? (I can't simply import gluon > > in python shell) > > > > Any tips? Thanks in advance. > > > > Thanks. > > > > Best regards, > > --nhisyam > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---