Re: [web2py] Re: web2py with Eclipse -- still lots of undefined stuff

2011-06-19 Thread Anthony
Massimo suggested this recently: https://groups.google.com/d/msg/web2py/z-ckQANc9PY/-tGhBE6oxYMJ On Monday, June 20, 2011 2:14:47 AM UTC-4, Pierre Thibault wrote: > 2011/6/20 weheh > >> Hi Pierre, I've read your excellent pages and followed your >> instructions before, to good effect. Of course

[web2py] email alert in cron

2011-06-19 Thread Manuele Pesenti
Dear all, there could be some reason why a controller called by cron is executed except the command mail.send? Perhaps does it require a logged user? moreover no error ticket about it is listed in errors but no mail is send by function... any suggestion about it? thanks a lot Manuele

[web2py] Re: plugins

2011-06-19 Thread José L .
selecta, the downloads from http://pymantis.org/pymantis_server/plugin_release/download don't work in any of its versions. Do you have some control version system where I could take a look to these plugins? Thanks.

Re: [web2py] Re: web2py with Eclipse -- still lots of undefined stuff

2011-06-19 Thread Pierre Thibault
2011/6/20 weheh > Hi Pierre, I've read your excellent pages and followed your > instructions before, to good effect. Of course, the downside is that > one ends up with a lot of junk code in the beginning of one's files. I > was under the impression that the latest version of web2py bypassed > all

[web2py] how to extend view

2011-06-19 Thread Canhua Chen
hi, I want the of all html pages to be base64 encoded before sending to the clients, how do I do it ? Can I extend the view syntax or add something middleware-like ? thanks.

[web2py] Re: web2py with Eclipse -- still lots of undefined stuff

2011-06-19 Thread weheh
Hi Pierre, I've read your excellent pages and followed your instructions before, to good effect. Of course, the downside is that one ends up with a lot of junk code in the beginning of one's files. I was under the impression that the latest version of web2py bypassed all that with a simple 1-liner:

Re: [web2py] web2py with Eclipse -- still lots of undefined stuff

2011-06-19 Thread Pierre Thibault
2011/6/19 weheh > I'm using web2py 1.96.4 with Eclipse. I put >from gluon import * > in a model I was debugging. Eclipse still shows all the web2py stuff > like db, DIV, session, T, etc. as being undefined variables. What am I > doing wrong? All these things are magically imported by web2py

[web2py] web2py with Eclipse -- still lots of undefined stuff

2011-06-19 Thread weheh
I'm using web2py 1.96.4 with Eclipse. I put from gluon import * in a model I was debugging. Eclipse still shows all the web2py stuff like db, DIV, session, T, etc. as being undefined variables. What am I doing wrong?

[web2py] Re: list: reference multiselect

2011-06-19 Thread weheh
This is one way it used to be done: http://web2pyslices.com/main/slices/take_slice/70 There is also plugin wiki. Question is, which is the preferred method these days?

Re: Re : Re: Re : Re: Re : Re: [web2py] Re: Email invitation

2011-06-19 Thread Massimo Di Pierro
OK try this: def invitation(): form = SQLFORM.factory(Field('email',requires=IS_EMAIL())) if form.accepts(request): db.invitation.insert(token = form.vars.email) MESSAGE = 'click %s to register' url = URL('user/register',host=request.env.http_host) mail.send

[web2py] Re: help: how can I select from list:string

2011-06-19 Thread hywang
thank you :-) On 6月19日, 下午12时20分, Anthony wrote: > db(db.testtable.name.contains('kate')).select() > > Seehttp://web2py.com/book/default/chapter/06#Many-to-Many,-list:,-and-contains > . > > Anthony > > > > > > > > On Sunday, June 19, 2011 12:10:14 AM UTC-4, hywang wrote: > > db.define_table("test

[web2py] list: reference multiselect

2011-06-19 Thread weheh
Web2py has changed so much in the last 6 months that I figure I should ask what's the best way to do this. I have a Field('myfield','list:reference another_table',default=[0]). I want to represent the field with a multi-select pull-down type of widget instead of the default multi-select list widget

[web2py] Re: Social network plug-in

2011-06-19 Thread peter
I tried the facebook clone app, and when I logged in using my google id I got and internal error. friends/85.211.34.104.2011-06-19.21-09-18.b6e21f1b-1439-46c0-b2f9- a2d40bee1b20 On Jun 19, 7:41 am, niknok wrote: > Can someone post this somewhere where resume download is supported? I > got a cr

[web2py] problem with using powertable in components

2011-06-19 Thread apple
Just started using powertables. This is a brilliant tool and works fantastically in most cases. However I have had a problem trying to load two powertables on a page within components. It seems to show the two tables correctly but then renders a bunch of extra tables that are empty and misformatted

Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: [web2py] Re: Email invitation

2011-06-19 Thread Dwayne
Everything is explained here :) https://groups.google.com/d/topic/web2py/QZ11R6eYQdM/discussion

[web2py] Re: Help with db.import_from_csv_file()?

2011-06-19 Thread villas
BTW I used to have problems with field 'type' because it was a reserved word on firebird DB. I have always avoided that name since.

[web2py] Re: import error

2011-06-19 Thread selecta
thanks sounds great, i will try first thing tomorrow morning at work, things are kind of messed up at home right now ... On Jun 18, 1:39 am, Pierre Thibault wrote: > 2011/6/17 selecta > > > I also have problems importing pygments from the modules directory > >http://jaguar.biologie.hu-berlin.de/

[web2py] Re: Use plugin_wiki widgets in standard views

2011-06-19 Thread José L .
Forget my previous email , I've found the answer in the book: {{=plugin_wiki.widget('jqgrid',table='... ) }}

[web2py] Use plugin_wiki widgets in standard views

2011-06-19 Thread José L .
I'd like to use some of the widgets plugin_wiki has (mainly jqgrid and tags) , but I don't want to use plugin wiki pages to build the site because I'd like to have more flexibility (specially with layouts and javascript). Is there an easy way to use some of these widgets in a "normal" view? (I've

[web2py] Re: FORM Field change keyboary reaction type

2011-06-19 Thread pbreit
Any behaviors you see are provided by the browser. What you are seeing on a multi-down is that some browsers let you press enter to select the current entry and move to the next field. To do what you want, you'd need to trap keyboard entry using JavaScript, perhaps with onkeydown/onkeypress/onke

Re: Re : Re: Re : Re: Re : Re: Re : Re: [web2py] Re: Email invitation

2011-06-19 Thread Ovidio Marinho
what solution you need? Ovidio Marinho Falcao Neto ovidio...@gmail.com 88269088 Paraiba-Brasil 2011/6/19 Dwayne > Thank you pbreit. Maybe I can pay 30 dollars to the first person who finds > a solution. And the solution can be post

Re : Re: Re : Re: Re : Re: Re : Re: [web2py] Re: Email invitation

2011-06-19 Thread Dwayne
Thank you pbreit. Maybe I can pay 30 dollars to the first person who finds a solution. And the solution can be posted online obviously.

[web2py] Re: Help with db.import_from_csv_file()?

2011-06-19 Thread Wei Wang
OK. :-) Thanks!

[web2py] Re: Help with db.import_from_csv_file()?

2011-06-19 Thread Wei Wang
I think I may have found out why that was happening. In the latest version of dal.py, lines 4765-4766 read: elif field.type in ('double','integer'): value = None That basically eliminates any data of type double or integer. Commenting those two lines and restart web2

[web2py] Re: Help with db.import_from_csv_file()?

2011-06-19 Thread Massimo Di Pierro
This is a bug that has been fixed in trunk. Sorry about it. Massimo On Jun 19, 1:55 am, Wei Wang wrote: > Greetings! > > I have a simple form, which takes in a CSV file name and upload the file for > import to database. > > This is the code to import uploaded data: > >     if form.accepts(reques

[web2py] Help with db.import_from_csv_file()?

2011-06-19 Thread Wei Wang
Greetings! I have a simple form, which takes in a CSV file name and upload the file for import to database. This is the code to import uploaded data: if form.accepts(request.vars, session): response.flash = 'Form accepted' db.import_from_csv_file(request.vars.csvfile.file)

[web2py] FORM Field change keyboary reaction type

2011-06-19 Thread max
Is there any way to change the behaviour of the field in web2py. I want to use the ente rkey in the number side of the keyboard for jumping into the next field. looks like there is something similar in the multiple value columns.