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
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
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.
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
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.
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:
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
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?
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?
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
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 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
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
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
Everything is explained here :)
https://groups.google.com/d/topic/web2py/QZ11R6eYQdM/discussion
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.
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/
Forget my previous email , I've found the answer in the book:
{{=plugin_wiki.widget('jqgrid',table='... ) }}
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
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
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
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.
OK. :-) Thanks!
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
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
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)
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.
27 matches
Mail list logo