[web2py] Re: Issue with length of cookie header

2012-12-03 Thread Dominic Cioccarelli
load(env.http_cookie) except Cookie.CookieError, e: pass # invalid cookies Not sure whether it would be worthwhile making it more resilient? Regards, Dominic. On Tuesday, 4 December 2012 00:33:45 UTC+1, Dominic Cioccarelli wrote: > > Hi Massimo, > > sure

[web2py] Re: Issue with length of cookie header

2012-12-03 Thread Dominic Cioccarelli
ote: > > Can you post your cookie parsing code? It would help us understand the > problem. > > On Monday, 3 December 2012 15:28:12 UTC-6, Dominic Cioccarelli wrote: >> >> Hi all, >> >> I have discovered an issue with the way web2py treats the "cookies&qu

[web2py] Issue with length of cookie header

2012-12-03 Thread Dominic Cioccarelli
Hi all, I have discovered an issue with the way web2py treats the "cookies" header. Specifically, when the header grows bigger than a certain size, web2py doesn't retrieve all the required cookies for the domain in question. In my case, the application is running on an intranet for a rather big

[web2py] Re: Adding to derived smartgrid constraints.

2012-10-02 Thread Dominic Cioccarelli
')) > > db.define_table('model', > Field('name'), > Field('make_id', db.make), > Field('options', 'list:reference option')) > > Then I make a controller as follows: > > def index(): > query = db.m

[web2py] Adding to derived smartgrid constraints.

2012-10-02 Thread Dominic Cioccarelli
I already posted this as a continuation of an existing question, but I figured it may be better to break it out into a separate thread... What happens if I want the constraint to add to the existing constraints that have been built by smartgrid? For example, if I have the model: db.define_table

[web2py] Re: Customising "sub page" generated by smartgrid.

2012-10-01 Thread Dominic Cioccarelli
provide custom search forms for each downstream linked table > by passing a dict of the search form methods. > > Once you really get in to the smartgrid, it isn't hard at all to deviate > from what comes out of the box. > > -Jim > > > On Monday, October 1, 2012

Re: [web2py] Smartgrid linked table issue.

2012-10-01 Thread Dominic Cioccarelli
er_signature=False, links_in_grid=True, editable=False, deletable=False) > return dict(facilities=facilities) > > > On Tue, Sep 25, 2012 at 5:06 AM, Dominic Cioccarelli < > dominic.c...@gmail.com > wrote: > >> Hi all, >> >> I'm having some difficul

[web2py] Customising "sub page" generated by smartgrid.

2012-10-01 Thread Dominic Cioccarelli
Hi all, ok, making more and more progress with smartgrid but still a couple of gaps. I have a model structure which, simplifying things somewhat, has a hierarchy A-.>B->C. samrtgrid allows me to set up the model structure and then simply define a controller and view for A: I get the CRUD web p

[web2py] Re: Options for displaying large database tables (jqGrid issues)

2012-09-25 Thread Dominic Cioccarelli
>{{=grid}} > > It will do pagination, searching, etc. If you are logged in, it will also > allow create/edit/update. There is a also a SQLFORM.smartgrid. > > > On Monday, 24 September 2012 09:11:14 UTC-5, Dominic Cioccarelli wrote: >> >> Hi all, >> >> I&#

[web2py] Smartgrid linked table issue.

2012-09-25 Thread Dominic Cioccarelli
Hi all, I'm having some difficulties with smartgrid and linked tables. My model is as follows: db.define_table('facility', Field('facility_id','id'), Field('name'), Field('type'), migrate=False) db.define_table('server', Field('server_id','id'), Field('server_name'),

[web2py] Options for displaying large database tables (jqGrid issues)

2012-09-24 Thread Dominic Cioccarelli
Hi all, I'm pretty new to web2py, so please go easy ;-) I'm looking for a plugin to help with the display of database tables. Specifically, it needs to support very large tables, so pagination, searching, etc. needs to be done on the server side. I first looked at PowerGrid