[web2py] Re: plug-in webfolder

2010-02-14 Thread villas
>> with version 1.74.11 and above you do not need to modify validator.py :) Ah! I couldn't find any instructions except your old post. Thanks. D -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@goog

[web2py] Re: plug-in webfolder

2010-02-14 Thread selecta
ok it's fixed @villas: If you liked that I'm sure you will like some of the more advances plug-ins that I am currently developing and planing :) On Feb 14, 9:46 pm, selecta wrote: > with version 1.74.11 and above you do not need to modify > validator.py :) > > .. will fix the missing import, thx

[web2py] Re: plug-in webfolder

2010-02-14 Thread selecta
with version 1.74.11 and above you do not need to modify validator.py :) .. will fix the missing import, thx On Feb 14, 9:35 pm, villas wrote: > On Jan 29, 9:38 am, selecta wrote: > > > It depends on an improved IS_IN_SET validator. To use the plug-in you > > need to replace the constructor of

[web2py] Re: plug-in webfolder

2010-02-14 Thread villas
On Jan 29, 9:38 am, selecta wrote: > It depends on an improved IS_IN_SET validator. To use the plug-in you > need to replace the constructor of IS_IN_SET (gluon/validators.py) Hi Selecta, I like the plugin! However, I am not so happy to modify validators.py. I suggest: Either, if IS_IN_SET val

[web2py] Re: plug-in webfolder

2010-02-01 Thread mdipierro
:-) On Feb 1, 5:46 am, villas wrote: > One of the best examples of a picture being worth a thousand words! > Thanks. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe f

[web2py] Re: plug-in webfolder

2010-02-01 Thread villas
One of the best examples of a picture being worth a thousand words! Thanks. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsub

[web2py] Re: plug-in webfolder

2010-02-01 Thread selecta
ok its done, new version and screenshot up http://jaguar.biologie.hu-berlin.de/~fkrause/web2py.plugin.webfolder.w2p http://jaguar.biologie.hu-berlin.de/~fkrause/screenshot_webfolder.png On Jan 31, 11:55 pm, selecta wrote: > yes, good idea, will do that as soon as i find time for it > > On Jan 31,

[web2py] Re: plug-in webfolder

2010-01-31 Thread selecta
yes, good idea, will do that as soon as i find time for it On Jan 31, 4:16 pm, mdipierro wrote: > Any chance you can modify it so that you first select select a file/ > folder on the left hand tree and then when you insert/delete/move the > system already knows which file/folder to act on? > > On

[web2py] Re: plug-in webfolder

2010-01-31 Thread mdipierro
Any chance you can modify it so that you first select select a file/ folder on the left hand tree and then when you insert/delete/move the system already knows which file/folder to act on? On Jan 31, 5:15 am, selecta wrote: > guess i just called it webfolder, don't know if this is the right term

[web2py] Re: plug-in webfolder

2010-01-31 Thread selecta
guess i just called it webfolder, don't know if this is the right term a screenshot shuld explain everything http://jaguar.biologie.hu-berlin.de/~fkrause/screenshot_webfolder.png On Jan 30, 7:17 pm, villas wrote: > Hi Selecta > Pls forgive my ignorance,  but could you please describe very briefly

[web2py] Re: plug-in webfolder

2010-01-30 Thread villas
Hi Selecta Pls forgive my ignorance, but could you please describe very briefly what a 'webfolder' plugin does? Many thanks, D -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To uns

[web2py] Re: plug-in webfolder

2010-01-30 Thread leone
Thanks On 30 Gen, 13:37, selecta wrote: > ok i updated the plugin, hope it works now > address is > stillhttp://jaguar.biologie.hu-berlin.de/~fkrause/web2py.plugin.webfolder.w2p > > On Jan 30, 10:34 am, selecta wrote: > > > > > Field('parent', 'reference plugin_webfolder_files', default=0, > >

[web2py] Re: plug-in webfolder

2010-01-30 Thread selecta
ok i updated the plugin, hope it works now address is still http://jaguar.biologie.hu-berlin.de/~fkrause/web2py.plugin.webfolder.w2p On Jan 30, 10:34 am, selecta wrote: > Field('parent', 'reference plugin_webfolder_files', default=0, > requires = IS_IN_DB(db,'plugin_webfolder_files.id','%(name)

[web2py] Re: plug-in webfolder

2010-01-30 Thread selecta
Field('parent', 'reference plugin_webfolder_files', default=0, requires = IS_IN_DB(db,'plugin_webfolder_files.id','%(name)s')) this is what i used but leone said that with postgres he get IntegrityError: insert or update on table "plugin_webfolder_files" violates foreign key constraint "plugin_web

[web2py] Re: plug-in webfolder

2010-01-29 Thread mdipierro
I do not understand: Field('parent', 'integer', default=0, requires = IS_IN_DB (db,'plugin_webfolder_files.id','%(name)s')) Why this is interger and not a reference. Why a default value that would not pass validation? Why not this: Field('parent', 'reference plugin_webfolder_files', default=None

[web2py] Re: plug-in webfolder

2010-01-29 Thread selecta
maybe it is also a mistake to state default=0 try with default=None or without the default value On Jan 29, 4:19 pm, selecta wrote: > guess this has something to do with how i define the table > i would guess this line does not work > Field('parent', 'reference plugin_webfolder_files', default=0,

[web2py] Re: plug-in webfolder

2010-01-29 Thread selecta
guess this has something to do with how i define the table i would guess this line does not work Field('parent', 'reference plugin_webfolder_files', default=0, requires = IS_IN_DB(db,'plugin_webfolder_files.id','%(name)s')) you can exchange it with Field('parent', 'integer', default=0, requires = I

[web2py] Re: plug-in webfolder

2010-01-29 Thread leone
Using postgres i debug IntegrityError: insert or update on table "plugin_webfolder_files" violates foreign key constraint "plugin_webfolder_files_parent_fkey" DETAIL: Key (parent)=(0) is not present in table "plugin_webfolder_files". Have you a suggest? On 29 Gen, 10:38, selecta wrote: > Here is