[web2py] URL() problem with list nested in dict

2010-06-28 Thread zxynax
desired: http://www.example.com/app/default/index?blah=1&blah=2 There does not seem to be any way to do this with URL. URL(request.application,'default','index',vars={'blah':1,'blah':2}) would simply write over first key val and URL(request.application,'default','index',vars={'blah':[1,2]}) tries

[web2py] cookbook

2010-04-13 Thread zxynax
Don't know if this is the right place for this. On page 70 of the cookbook it shows the example below: def index(): form = SQLFORM(db.dog) if form.accept(request.vars,session): response.flash = "record %i created" % form.vars.id return dict(form=form) Neither FORM nor SQLFORM have a m

[web2py] lighttpd + mod_rewrite question/issue

2010-04-20 Thread zxynax
would like the following behavior: request = http://www.example.com/ to go to http://www.example.com/exampleapplication instead of what it would do normally which would be http://www.example.com/welcome/default/index But I would like this to be entirely unseen by the user. -- Subscription setti

[web2py] Re: lighttpd + mod_rewrite question/issue

2010-04-20 Thread zxynax
Took a bit of playing/searching but I've got it now. No worries. Love the framework Massimo! On Apr 20, 12:17 pm, zxynax wrote: > would like the following behavior: > request =http://www.example.com/ > to go tohttp://www.example.com/exampleapplication > instead of what it

[web2py:16619] Re: Interesting Phenomenon

2009-02-20 Thread zxynax
Version is 1.56.3 Further, the ProxyPass wasn't a contributor to any part of what happens: I shut it off entirely and the results were the same. On Feb 20, 11:09 am, mdipierro wrote: > which version are you running? > > On Feb 20, 9:58 am, "zxy...@gmail.com" wrote: > > > > > Greetings, > > > I

[web2py:16621] Re: Interesting Phenomenon

2009-02-20 Thread zxynax
ProxyPass directive. Thank you for your interest. On Feb 20, 1:35 pm, Timothy Farrell wrote: > Are you using error-based redirects? > > > > > > zxynax wrote: > > Version is 1.56.3 > > > Further, the ProxyPass wasn't a contributor to any part of what > >

[web2py:16625] Re: Interesting Phenomenon

2009-02-20 Thread zxynax
I believe that is exactly what is happening. Anyway...for your viewing enjoyment: http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> {{=response.title or URL(r=request)}} {{include 'web2py_ajax.html'}}