[web2py] Re: Bootstrap3 package - help to test

2014-04-30 Thread Rob Goldsmith
Hi - I'm very late to this thread but just wanted to say thank you to Paolo ... your package massively helped me get up and running quickly on a new project without having to hack away at the old code. I'd also be happy to contribute via Github if there are areas that need work? On Monday, 23 D

[web2py] Re: Best way to implement SQL select query

2014-04-17 Thread Rob Goldsmith
27;W1 2TR', 'SW1 5AB' ...] On Wednesday, 16 April 2014 13:39:02 UTC+1, Rob Goldsmith wrote: > > I tried posting this earlier, but it doesn't seem to have appeared yet - > so apologies if this comes up twice. > > I am writing a web2py application which accepts

[web2py] Most efficient way to do SQL select with condition constrained by a list

2014-04-16 Thread Rob Goldsmith
Hi I'm writing a web2py application that starts with a UK postcode and then retrieves information for surrounding UK postcodes. I have tried two methods of doing this - both of which work fine when the surrounding search area is relatively small (i.e. when there are few extra postcodes). Method

[web2py] Best way to implement SQL select query

2014-04-16 Thread Rob Goldsmith
I tried posting this earlier, but it doesn't seem to have appeared yet - so apologies if this comes up twice. I am writing a web2py application which accepts a UK postcode then provides information about nearby postcodes. I have tried two methods, both of which work fine when the number of near

[web2py] Small typo in book

2012-10-12 Thread Rob Goldsmith
In chapter 5, under "Mobile development"... Notice that the decorator must be important once before using it in a > controller. I assume should be Notice that the decorator must be imported before using it in a controller. --

[web2py] Re: Displaying a message following auth.requires_login() redirect

2012-08-21 Thread Rob Goldsmith
thentication = failed_authentication > > Anthony > > On Monday, August 20, 2012 5:48:33 AM UTC-4, Rob Goldsmith wrote: >> >> Is it possible to display a message to the user on the login form when >> they have been redirected as a result of an auth.requires_login() redirect?

[web2py] Displaying a message following auth.requires_login() redirect

2012-08-20 Thread Rob Goldsmith
Is it possible to display a message to the user on the login form when they have been redirected as a result of an auth.requires_login() redirect? (e.g. "You must be logged in to view this page") I found this discussion of the functionality from 2010 https://groups.google.com/forum/?fromgroups#!

[web2py] Re: Triggering LOAD

2012-08-14 Thread Rob Goldsmith
27;mydiv')}} > > yields: > > <!-- > web2py_component('/test/default/myaction','mydiv'); > //-->loading... > > Bruno mentioned the use of web2py_ajax_page() -- that function is > ultimately called by web2py_component(), so either will work,

[web2py] Triggering LOAD

2012-08-10 Thread Rob Goldsmith
Hi Is it possible to trigger the LOAD component when a user clicks on something, or can it only be used when a page is first loaded? I have been using the ajax function to do this but would prefer the extra flexibility of LOAD if it is possible. thanks Rob. --