[web2py] Menu item without URL

2013-04-29 Thread LJ
Hi How can i create a menu item without a URL? Basically what i want is that if a menu item expands into a submenu, then that menu item should not be clickable, only the sub menu items should have URLs. If i write it as None, it still gets converted to a default URL (default/index) For eg. "M

[web2py] Re: Multiple databases

2013-04-28 Thread LJ
prepare the "username, password, company_code" inputs > because you don't know what db to use before the user fills the forms and > sends the results hitting the "submit" button. > > On Sunday, April 28, 2013 8:15:43 PM UTC+2, LJ wrote: >> >> Thank

[web2py] Re: Multiple databases

2013-04-28 Thread LJ
= DAL(dburi) > > with > > db = DAL(dburi, > folder=os.path.join(request.folder,'..','otherapp','databases')) > > and it will share the database with the otherapp. > > > On Friday, 26 April 2013 23:43:47 UTC-5, LJ wrote: >> >&g

[web2py] Multiple databases

2013-04-26 Thread LJ
Hi I am new to web2py as well as python, but i found it very interesting developing some simple applications. However, i am unsure about how to configure the application for using multiple database depending on user login. There are two possible scenarios i am considering: Scenario 1 (Single i