[web2py] dropdownlist sort, orderby..

2012-02-18 Thread Mchurch
I have some tables, one is : db.define_table('category', Field('language_id', db.language), Field('is_menu','boolean', default=False), Field('name'), Field('text'), Field('order','integer'), format=lambda r: r.name +"/"+ r.language_id.language) Using the appadmin/insert/db/ ,

[web2py] Re: dropdownlist sort, orderby..

2012-02-18 Thread Mchurch
Pheraps the solution is in IS_IN_DB and orderby... On 18 Feb, 10:07, Mchurch wrote: > I have some  tables, one is : > db.define_table('category', >     Field('language_id', db.language), >     Field('is_menu','boolean', default=False), >     Field('name'), >     Field('text'), >     Field('order'

[web2py] javascript/openlayers example in web2py

2012-02-18 Thread Manuele Pesenti
ciao! I hope not to be too mutch out of topic... this time I have a question related to javascript and it's integration with web2py. Here under you'll find the only way I found to run this simple openlayers example http://openlayers.org/dev/examples/osm.html * controllers/plugin_map.py def

[web2py] Re: javascript/openlayers example in web2py

2012-02-18 Thread Anthony
> >