[web2py] Re: SQLFORM.grid ondelete possible bug

2011-11-28 Thread Casey Schroeder
ell as any suggestions on my need to elegantly 'remove' would be of help. Thanks On Nov 17, 9:45 am, Casey Schroeder wrote: > Thanks Massimo, > > I am trying this: > >     delmem = lambda table, itid, ct: > auth.del_membership(auth.id_group("auth_group_1"),

[web2py] Re: SQLFORM.grid ondelete possible bug

2011-11-17 Thread Casey Schroeder
ually, but it appears the same as that in mercurial. Thanks On Nov 17, 7:52 am, Massimo Di Pierro wrote: > Hello Casey, Can you show us your test? > > On Nov 16, 1:14 pm, Casey Schroeder wrote: > > > > > > > > > There may be an update on this that i misse

[web2py] Re: SQLFORM.grid ondelete possible bug

2011-11-16 Thread Casey Schroeder
There may be an update on this that i missed, but can I ask if this fix is sufficient? I believe that the ret parameter is the effected row count, correct? If you just deleted the record, can you reliably retrieve it from the table and record id in ondelete, i.e. before a subsequent commit? My *

[web2py] Re: image in form

2011-11-03 Thread Casey Schroeder
t how the > sytem works. It does not show the 'image'. I think it would be nice if > it did display the filename, but I realise this is a feature request. > However now it shows theimageit does not mislead one into thinking > there is noimageloaded. > > Peter > >

[web2py] Re: image in form

2011-11-03 Thread Casey Schroeder
I have not experienced this before, and i have done similar things, but what do your validators look like? I.E. db.artists.image.requires=... On Oct 31, 10:30 pm, peter wrote: > I define a table > > db.define_table('artists', >                 Field('name'), >                 Field('image','uplo

[web2py] My latest lazy web2py deployment

2011-10-31 Thread Casey Schroeder
Keywords: SQLFORM.grid, GAE, fluxflex, Amazon SQLFORM.grid is great. Love it and use it. However, i loved it so much i left GAE to use it (for now). GAE has search limitations as it is on free text and the use of OR - which puts a damper on the out of the box .grid web2py functionality and cust

[web2py] GAE and (smart) grid

2011-10-15 Thread Casey Schroeder
Running into the problem that GAE doesn't like the use of OR, embedded in the use of dbset.select(left... on line 1640 in the SQLFORM.grid definition. I assume it is because of the restriction to no joins on GAE. For my purposes, i just set searchable=False as a parameter and that fixed my prob

[web2py] Re: layout with submenu

2011-08-04 Thread Casey Schroeder
the proper syntax you should use base on the example app > and welcome app... Then you only have to generalize the approach when you > are trusting in your code. > > Richard > > > > > > > > On Mon, Aug 1, 2011 at 1:56 PM, Casey Schroeder wrote: > >

[web2py] Re: layout with submenu

2011-08-01 Thread Casey Schroeder
ing'),[]), (T('analysis'),False,URL('analysis_consulting'), []) ] ), (T('Education'),False,URL('home_edu'), [ (T('agriculture'),False,URL('agri

[web2py] Re: layout with submenu

2011-07-30 Thread Casey Schroeder
Hi Richard, i ran into a similar problem with sub-sub-menus just today using a number of the available layouts in the layouts plugin - in fact all 4 that i downloaded. It worked fine with the default layout, but with the other four the menu was not navigable. I used firefox 5 and the latest sour

[web2py] link issue in example app

2011-07-30 Thread Casey Schroeder
The link to experts4solutions is written as http://experts4solutions";>experts4solutions (worldwide)

[web2py] Menu Refresh

2010-07-12 Thread Casey Schroeder
Hi to all, I had a question: I noticed that when i tried to make my response.menu dynamic, based on the values in the session, there was a lag in the update: i.e. I would set the session values in the controller for the current page, but the menu appears to already be rendered based on the values