[web2py] Re: The web2py grid/crud plugin you've always dreamed about! Options

2012-10-19 Thread Jacinto Parga Fernández
I'm working with web2py 2.1.1 and I have the same problem with PowerGrid What is then __init__.py solution? Thanks El martes, 9 de agosto de 2011 11:45:52 UTC+2, peter escribió: > > I found the problem, it was caused by having something in _init_.py > Thanks > > > On Aug 8, 4:10 pm, peter wr

[web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-09-18 Thread Massimo Di Pierro
+1 On Sep 18, 4:33 am, Bruno Rocha wrote: > here is the live demohttp://labs.blouweb.com/PowerGrid/default/onlydata > > 2011/9/18 António Ramos > > > > > > > > > > > Can you post a screenshot of the powergrid ? > > > 2011/9/18 tomt > > >> Hi, > > >> I have a question about using powertable. > >

Re: [web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-09-18 Thread Bruno Rocha
here is the live demo http://labs.blouweb.com/PowerGrid/default/onlydata 2011/9/18 António Ramos > Can you post a screenshot of the powergrid ? > > > 2011/9/18 tomt > >> Hi, >> >> I have a question about using powertable. >> >> When I try to build a powertable on the following select: >> >> tas

Re: [web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-09-18 Thread António Ramos
Can you post a screenshot of the powergrid ? 2011/9/18 tomt > Hi, > > I have a question about using powertable. > > When I try to build a powertable on the following select: > > tasks=db(db.task.cpaid==3).select(db.task.cpa,db.task.description,db.task.ls_js) > I get the following error: > File

[web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-09-17 Thread tomt
Hi, I have a question about using powertable. When I try to build a powertable on the following select: tasks=db(db.task.cpaid==3).select(db.task.cpa,db.task.description,db.task.ls_js) I get the following error: File "/home/xa21/workspace/web2py/applications/cpa4/models/ plugin_powertable.py",

[web2py] Re: The web2py grid/crud plugin you've always dreamed about! Options

2011-08-09 Thread peter
I found the problem, it was caused by having something in _init_.py Thanks On Aug 8, 4:10 pm, peter wrote: > And where does the custom_importer get its paths from, because they > seem different in some apps to in others. > So how can I check the paths or change them. > Thanks > > On Aug 8, 1:08 

[web2py] Re: The web2py grid/crud plugin you've always dreamed about! Options

2011-08-08 Thread peter
And where does the custom_importer get its paths from, because they seem different in some apps to in others. So how can I check the paths or change them. Thanks On Aug 8, 1:08 pm, Bruno Rocha wrote: > it is imported by the web2py custom_importer > > > > > > On Mon, Aug 8, 2011 at 8:26 AM, peter

Re: [web2py] Re: The web2py grid/crud plugin you've always dreamed about! Options

2011-08-08 Thread Bruno Rocha
it is imported by the web2py custom_importer On Mon, Aug 8, 2011 at 8:26 AM, peter wrote: > Let me ask the question the other way round. How come powergridapp > does find the module powergrid. If I look at the current working > directory, it is the web2py folder, and if I look at sys.path, it do

[web2py] Re: The web2py grid/crud plugin you've always dreamed about! Options

2011-08-08 Thread peter
Let me ask the question the other way round. How come powergridapp does find the module powergrid. If I look at the current working directory, it is the web2py folder, and if I look at sys.path, it does not have the applications folder in there, so how come the from plugin_PowerGrid.PowerGrid im

[web2py] Re: The web2py grid/crud plugin you've always dreamed about! Options

2011-08-06 Thread peter
It is 1.98.2 On Aug 6, 5:28 pm, Bruno Rocha wrote: > What is your web2py version? > > The plugin works only in 1.97+ > > http://zerp.ly/rochacbruno > Em 06/08/2011 08:55, "peter" escreveu: > > > > > I have powergridapp working on my system, however when I added the > > powergrid plugin to my a

[web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-28 Thread niknok
I observed a curious behavior when scrolling inside a modal window: when you reach the top (or bottom) of the modal, your main window also scrolls up(or down) as well. Very nice. Kudos to Bruno! +1 for plans to make this part of web2py/contrib On Jul 26, 6:15 am, Bruno Rocha wrote: > BTW: > You

[web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-25 Thread Will
does it or how does it support record representation for linked tables ? The record has a 'product' field linked to a 'db.product' with an id. and name field, and the name appeared in PowerTable with the following code in db.py . The representation that worked fine in PowerTables is only displayin

Re: [web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-24 Thread Bruno Rocha
Thank you Tom! I will see the problem and solve the issue, thanks for contribution On Sun, Jul 24, 2011 at 9:19 PM, tomt wrote: > Hello, > > I tried a clean install of web2py.app.PowerGrid.w2p and it didn't fix > any problems. > > I upgraded my python from 2.5.2 to 2.7.2, and web2py no longer

[web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-24 Thread tomt
Hello, I tried a clean install of web2py.app.PowerGrid.w2p and it didn't fix any problems. I upgraded my python from 2.5.2 to 2.7.2, and web2py no longer throws an error on line 446 in modules/plugin_PowerGrid/PowerGrid.py" > with open(path ,"r") as f: Web2py still complains about 'by' in d

[web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-23 Thread tomt
Bruno, Thanks for the feedback. I was digging around and found that if I changed: db.define_table('comments',Field('byuser'),Field('comment','text')) That error went away. My version of web2py (Version 1.97.1) seems to be treating 'by' as a reserved word. After I changed this, the database tabl

Re: [web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-23 Thread Bruno Rocha
On Sat, Jul 23, 2011 at 8:23 AM, Martín Mulone wrote: > Very nice and have a lot of examples. I'm rewriting powerpack, to come in a > few weeks in version 2.0. Do you want to include in it also as an example? Hi Martin, of course it will be nice to have it included in your app. just wait me to d

Re: [web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-23 Thread Bruno Rocha
On Sat, Jul 23, 2011 at 1:22 PM, mr.freeze wrote: > Fantastic! I modified the WebGrid slice to recommend using this > instead. Great work. > Nice, thanks! But, this is in beta, some things can crash, and webgrid works with more datasources, PowerGrid is working only with Table and Query by def

Re: [web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-23 Thread Bruno Rocha
On Sat, Jul 23, 2011 at 3:13 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > should this be included in web2py/contrib? Would be very nice if it can go to contrib, but wait it to left beta version, I am doing a lot of tests and writing a better docs. as it uses model and controller

Re: [web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-23 Thread Bruno Rocha
On Sat, Jul 23, 2011 at 2:34 AM, tomt wrote: > DatabaseError: malformed database schema (comments) - near "by": > Hi Tom, I just tested it and works normally with latest web2py from download link, I am using Ubuntu 11.04 and Python 2.7. It seens to be a problem in auth.requires_membership, try

[web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-23 Thread David Marko
+1 to be part of web2py contrib ...

[web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-23 Thread mr.freeze
Fantastic! I modified the WebGrid slice to recommend using this instead. Great work. On Jul 22, 5:35 pm, Bruno Rocha wrote: > Hi, > > I present you PowerGrid Plugin (now in beta 0.1) > [http://labs.blouweb.com/PowerGrid/] > > What is it? > > A plugin to show, manage and paginate data > It works

Re: [web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-23 Thread Martín Mulone
Very nice and have a lot of examples. I'm rewriting powerpack, to come in a few weeks in version 2.0. Do you want to include in it also as an example? 2011/7/23 Massimo Di Pierro > +1 > > should this be included in web2py/contrib? > > On Jul 22, 5:35 pm, Bruno Rocha wrote: > > Hi, > > > > I pre

[web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-22 Thread Massimo Di Pierro
+1 should this be included in web2py/contrib? On Jul 22, 5:35 pm, Bruno Rocha wrote: > Hi, > > I present you PowerGrid Plugin (now in beta 0.1) > [http://labs.blouweb.com/PowerGrid/] > > What is it? > > A plugin to show, manage and paginate data > It works with paginated JSON callbacks, you can

[web2py] Re: The web2py grid/crud plugin you've always dreamed about!

2011-07-22 Thread tomt
Hi, Your latest plugin looks great and I am eager to learn more about it. However, I got some errors when I installed web2py.app.PowerGrid.w2p and tried to run it: Traceback (most recent call last): File "/home/xa21/workspace/web2py/gluon/restricted.py", line 192, in restricted exec ccode