[web2py] Re: unordered list and pagination

2012-04-12 Thread Annet
Massimo, Thanks for helping me solve the problem. This: fields=(db.Organization.name , ) # <<< > the commma > ... doesn't work. It had to be: fields=[db.Organization.name ] > Kind regards, Annet.

[web2py] Re: unordered list and pagination

2012-04-11 Thread Massimo Di Pierro
fields=(db.Organization.name ) should be fields=(db.Organization.name , ) # <<< the commma or fields=[db.Organization.name ] On Wednesday, 11 April 2012 00:37:39 UTC-5, Annet wrote: > > Massi

[web2py] Re: unordered list and pagination

2012-04-10 Thread Annet
Massimo, Sorry, I clicked the post button, before writing a reply. In the old Google Groups I had the option to remove a post, it seems to no longer be available. Anyway, line 56 is the first empty line at the end of addressbook.py When I create an empty controller and just put the following f

[web2py] Re: unordered list and pagination

2012-04-10 Thread Annet
Massimo, On Tuesday, 10 April 2012 15:39:04 UTC+2, Massimo Di Pierro wrote: > > can you show us addressbook.py around linke 56? > > On Tuesday, 10 April 2012 01:06:20 UTC-5, Annet wrote: >> >> Massimo, >> >> Please try trunk version (you appear to be using an older version). If >>> the problem p

[web2py] Re: unordered list and pagination

2012-04-10 Thread Massimo Di Pierro
can you show us addressbook.py around linke 56? On Tuesday, 10 April 2012 01:06:20 UTC-5, Annet wrote: > > Massimo, > > Please try trunk version (you appear to be using an older version). If the >> problem persists open a google code ticket about this. > > > I tried the trunk version, now I get a

[web2py] Re: unordered list and pagination

2012-04-09 Thread Annet
Massimo, Please try trunk version (you appear to be using an older version). If the > problem persists open a google code ticket about this. I tried the trunk version, now I get another error: Traceback (most recent call last): File "/Library/Python/2.5/site-packages/web2py/gluon/restrict

[web2py] Re: unordered list and pagination

2012-04-09 Thread Massimo Di Pierro
Please try trunk version (you appear to be using an older version). If the problem persists open a google code ticket about this. massimo On Monday, 9 April 2012 01:45:50 UTC-5, Annet wrote: > > Massimo, > > Thanks for your reply. I like the solution, however, it results in the > following tick

[web2py] Re: unordered list and pagination

2012-04-08 Thread Annet
Massimo, Thanks for your reply. I like the solution, however, it results in the following ticket: Traceback (most recent call last): File "/Library/Python/2.5/site-packages/web2py/gluon/restricted.py", line 205, in restricted exec ccode in environment File "/Library/Python/2.5/site-pac

[web2py] Re: unordered list and pagination

2012-04-08 Thread Massimo Di Pierro
def index(): query = (db.Organization.nodeID==db.NodeKeyword.nodeID)&(db.Organization.nodeID==db.Address.nodeID)&\ (db.Organization.approved==True)&(db.NodeKeyword.word==request.vars.word)&\ (db.Address.locality==request.vars.locality)&(db.Address.addrType==PHYSICALADDR) fields = (db.O

[web2py] Re: unordered list and pagination

2012-04-08 Thread Annet
Is there a way to implement this using twitter bootstrap's pagination component: http://twitter.github.com/bootstrap/components.html Annet.