[web2py] Re: Automatic Field representation without "rows" object?

2013-06-21 Thread anonymouse
:D Looks good! I'll have to check out trunk and try it out. Thanks for the answers (makes me feel like I'm getting pretty good with web2py) and especially for the code! -C On Thursday, 20 June 2013 22:08:27 UTC-5, Anthony wrote: > > FYI, see possible solution here: > https://groups.google.co

[web2py] Automatic Field representation without "rows" object?

2013-06-20 Thread anonymouse
Hi all, I was playing with record/field representation and was wondering if there is a simple solution for my problem. Here's what I'm trying to do -- print out a record using the "represent" function from the DB table. Here's my model: models/document.py db.define_table('document', Field(

[web2py] Re: translation from php to python

2012-06-05 Thread anonymouse
This really isn't the place for discussing PHP shopping carts, we'd love to help you, but I think you need to help yourself a little bit first. Do some PHP tutorials on File IO (that's what "fputs" is about) and basic web stuff (using REQUEST, POST, GET vars, learn about the web environment).

[web2py] Re: Using components via LOAD with conditional models is not working

2012-06-04 Thread anonymouse
posed to LDAP). On Monday, 4 June 2012 14:13:24 UTC-5, pbreit wrote: > > Hmmm...I would have expected a LOAD(...ajax=True) to trigger conditional > models properly. > > Not the answer you're looking for but I very strongly advise against > premature optimization (ie, co

[web2py] Using components via LOAD with conditional models is not working

2012-06-04 Thread anonymouse
Hi all, I'm having an issue trying to load a component that relies on conditionally loaded models. It appears that either the conditional model file is not executed/evaluated using the LOAD function. The following files are relevant to this issue: models/people/personnel.py controllers/people

[web2py] menu issues when no subitems

2012-04-12 Thread anonymouse
Hi, [FYI, my problem is SOLVED -- But I still wonder about this...] I have been using a menu with web2py since v1.8x (currently 1.98.2). I now have 3 different versions running on three different servers. PRODUCTION -- 1.98.2 -- menu is OK TEST - 1.99.3 -- menu is screwy DEV - 1.99.4 -- menu i