[web2py:26497] innerHTML about Calendar

2009-07-14 Thread
hi,all in the innerHTML, I excute the web2py_ajax_init(), but the Calendar do not pop. follow code was excuted, I promise try { jQuery("input.datetime").focus( function() {Calendar.setup({ inputField:this.id, ifFormat:"{{=T('%Y-%m-%d %H:%M:%S')}}", showsTime: true,timeFormat: "24" });}); } ca

[web2py:26417] Re: report bug, maybe

2009-07-13 Thread
is not a bug. A blank password field is not a blank password > because the former is a hash of the actual password. A blank password > field means the user cannot login because that is no string that > hashes to blank. > > On Jul 13, 7:55 am, 张峥 wrote: >

[web2py:26412] Re: Preventing escaping of HTML coming from the database

2009-07-13 Thread
sorry, in the XML(), sanitize default value is False Tamas 写道: > Hello, > > I'm not sure if I'm doing something wrong or is this some 'feature' in > web2py. > > I am storing pieces of HTML in the database, and would like to embed > those strings into a page (it is more complicated than this, but

[web2py:26409] Re: Preventing escaping of HTML coming from the database

2009-07-13 Thread
{{=XML(variations[x].content,sanitize=False)}} You can try.. Tamas 写道: > Hello, > > I'm not sure if I'm doing something wrong or is this some 'feature' in > web2py. > > I am storing pieces of HTML in the database, and would like to embed > those strings into a page (it is more complicated th

[web2py:26408] report bug, maybe

2009-07-13 Thread
hi all: in app/models/db.py .. auth.settings.mailer=mail auth.settings.registration_requires_verification = True auth.settings.registration_requires_approval = True ... Look into the table auth user, I found the field "password" is blank. so, the user's password will be set to blank al

[web2py:26306] the Mercurial

2009-07-11 Thread
in the version 1.65.1, I can't find the Mercurial module, How can i use it --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To

[web2py:26241] Re: how can i write a PIL image object to response

2009-07-11 Thread
@Massimo I also need a example, matplotlib in the web2py, thanks Tim Michelsen 写道: > mdipierro: > >> You can do it like in django: >> >> from PIL import Image >> def image(): >> image = Image.new("RGB", (800, 600)) >> response.headers['Content-Type']="image/png" >> image.sav

[web2py:26238] Re: innerHTML about javascript

2009-07-10 Thread
gt; return dict() >> end/ >> in view >> index.html >> >> {{extend 'layout.html'}} >> info >> display info >> >> get_info.html >> >> >> alert('test') >> >> >> th

[web2py:25947] innerHTML about javascript

2009-07-08 Thread
hello,all: IN web2py, I want to use ajax("body_2_5",[],"right"); to display a page. but javascript function in the page can't run The problem may be innerHTML, can you help me my English was poor,sorry!! --~--~-~--~~~---~--~~ You received this message because yo