[web2py] Re: anybody got vim web2py code-completion working? (omnicomplete)

2010-03-07 Thread selecta
I use supertab cntn. http://www.vim.org/scripts/script.php?script_id=1643 it has a smart mode that "knows" when to use omni-complete you need vim with py support compiled (think vim-gtk on ubuntu does that) other plugins that I use are http://www.vim.org/scripts/script.php?script_id=521 http://www

[web2py] how to set 2 web2py-component-commands

2010-03-09 Thread selecta
in my controller I got response.headers['web2py-component-command'] = 'web2py_ajax_page("GET","%s","","table_code")' % URL(r=request,f='table_code',args=[table_id]) But now I want to update two components. The following does not work response.headers['web2py-component-command'] = 'web2py_ajax_pa

[web2py] plugin tablewizard

2010-03-09 Thread selecta
Hi there, I had the idea of creating a table wizard but after creating part of it I realized that I will not need it after all. It is unfinished and does not actually do much beyond showing the source code and the table form. Lots of things to not work e.g. validators Maybe it is helpful for peopl

[web2py] js bug: multiple crud update forms with delete

2010-03-10 Thread selecta
If you load multiple crud update forms with the delete checkbox onto one page with LOAD and you click the delete checkbox the warning will pop up multiple times (according to the number of update forms) you can test this with my tablewizard plug-in, install it create a table with multiple columns

[web2py] Re: js bug: multiple crud update forms with delete

2010-03-12 Thread selecta
*bump* multiple crud update forms with delete checkbox cause the delete pop- up to open too often On Mar 10, 10:47 am, selecta wrote: > If you load multiple crud update forms with the delete checkbox onto > one page with LOAD and you click the delete checkbox the warning will > pop up

[web2py] Re: Where do you use web2py?

2010-03-12 Thread selecta
check out http://www.semanticsbml.org/aym (screeshots at sf.net will help if you do not want to input something) http://www.semanticsbml.org/semanticSBML/ these are my current official web2py projects the second one will use web2py as a application gui for now only some new features are exposed tha

[web2py] Re: Web2py Plugin IRC Chat Comments

2010-03-13 Thread selecta
If it is possible I am in favor of relocating plug-ins to an extra folder since this would ease my development a lot. I develop plug-ins for multiple apps (e.g. a tracker plug-in) and I use version control. Right now I have to decide which project is taking control of developing the plug-in. It wor

[web2py] Re: How to call other web2py applications from within a web2py application

2010-03-13 Thread selecta
here is an example of a modular application design sorry there are no comments yet, I will add that soon but I am short on time 2day but you have questions feel free to ask even though the example does not explicitly answer you question all the components you need for you modular application desig

[web2py] Re: How to call other web2py applications from within a web2py application

2010-03-15 Thread selecta
whooops forgot to link the slice I made http://www.web2pyslices.com/main/slices/take_slice/74 On Mar 13, 4:27 pm, mdipierro wrote: > The answer to your question is long. I will try write a blog post > about it. > > On Mar 12, 6:26 am, Rahul wrote: > > > > >     Hi All, Massimo, > >            I'

[web2py] Re: Web2py Plugin IRC Chat Comments

2010-03-15 Thread selecta
On Mar 13, 4:25 pm, mdipierro wrote: > If I understand you are asking for a web2py level plugin system vs an > app level plugin system. This has nothing to do with relocation of > plugins under an app subfolder. Am I correct? Well maybe but consider the following pseudo ls /app1/.cvs /app1/con

[web2py] Re: using functions in an update query

2010-03-16 Thread selecta
for p in db(db.products.id>0).select(): p.update(product_name = 'Tiger Woods') or [p.update(product_name = 'Tiger Woods') for p in db(db.products.id>0).select()] On Mar 16, 12:06 pm, Russell wrote: > Hi, > > I'm trying to update some text fields in a database.  In SQL I would > do something l

[web2py] Re: best web frameworks

2010-03-19 Thread selecta
hmmm, what do I learn from that? What should I use they are all the same (oh yes different licenses and dependencies on different py versions) or is this comparision pointless? Confusion o_O On Mar 19, 12:53 pm, Alex Fanjul wrote: > FYI:http://www.bestwebframeworks.com/python/ > -- > Alejandro Fa

[web2py] Re: proposal: admin-less ticket support

2010-03-23 Thread selecta
I wrote an issue tracker plugin that can do some of the things (except for deleting all tickets and downloading) also tickets are displayed a little different, sorted by number of error appearance and stacktrace only if you are interested I could post the plugin, it has still some issues but you co

[web2py] recaptcha in LOAD not working

2010-04-05 Thread selecta
I tried to use Recaptcha in a LOAD div but I does not work The problem is that the page stats reloading when it gets to the div loaded with LOAD where the recaptcha javascripts are in and gets stuck on reloading it controller: ... form = SQLFORM.factory(Field('tag_name')) captcha = None if not au

[web2py] Re: recaptcha in LOAD not working

2010-04-05 Thread selecta
hen using LOAD > web2py traps all ajax calls, so the recaptcha requests are not making > it to the server. > > -Thadeus > > > > On Mon, Apr 5, 2010 at 5:05 PM, selecta wrote: > > I tried to use Recaptcha in a LOAD div but I does not work > > > The problem is tha

[web2py] Re: Flatpages plugin

2010-04-07 Thread selecta
I like it alot but how do I create new wiki pages? On Apr 6, 6:32 am, Mariano Reingart wrote: > Hi, attached is plugin_flatpages, a dynamic wiki/html user editable > pages plugin. > > It supports: >  * page edition by users (in the same page) >  * page history >  * preview >  * format conversion

[web2py] building database querys from parts

2010-04-08 Thread selecta
is it possible to build database queries from smaller pieces I had something in mind like filter = [] for key,value in session.filter.iteritems(): if key.startswith('os') and value: os = key.split()[1] filter.append( (db.software.os == os) ) ... ret

[web2py] Re: recaptcha in LOAD not working

2010-04-08 Thread selecta
currently i'm quite buisy but i will send you a test app soon my data on Ubuntu 9.10 opera 10.10, google-chrome-beta 5.0.342.9-r43360, firefox 3.5.8 web2py 1.76.3 and whatever jquery version comes with it On Apr 7, 12:24 pm, DenesL wrote: > Hi selecta, can you send me a test app?. >

[web2py] Re: Customizing default form

2010-04-14 Thread selecta
there is a jquery plugin for that http://www.joesak.com/2008/11/19/a-jquery-function-to-auto-fill-input-fields-and-clear-them-on-click/ {{response.files.append(URL(request.application,'static','jquery.autofill.js'))}} {{=FORM(INPUT(_name='q',_size=10,_id="txtSearch"))}}