[web2py] A web2py BBS in c-hina has been launched, since in c-hina, this web2py group is forbidden.

2012-05-23 Thread web2py_lover
A web2py BBS in c-hina has been launched, since in c-hina, this web2py group is forbidden. http://web2py.sinaapp.com/

[web2py] Re: How to hide all fields of SQLFORM with submit button only?

2012-03-26 Thread web2py_lover
It is OK, I use raw sql to do this thing. id = db.to_be_lawyer.update_or_insert(db.to_be_lawyer.user_id==form.record.id, user_id=form.record.id, created_time=datetime.datetime.today()) response.flash = '已经申请,请等待通知!' On 3月27日, 上午9时50分, web2py_lover wrote: > not work &

[web2py] Re: How to hide all fields of SQLFORM with submit button only?

2012-03-26 Thread web2py_lover
: > > > db.to_be_lawyer.name.readable = False > > ... > > > The fields parameter of SQLFORM defaults to all, but passing an empty > > sequence should prevent all fields to show. > > > On 26 mar, 07:31, web2py_lover wrote: > > > > How to hide all fie

[web2py] How to hide all fields of SQLFORM with submit button only?

2012-03-26 Thread web2py_lover
How to hide all fields of SQLFORM with submit button only? all fields of db.to_be_lawyer are 'name' and 'age'. I try db.to_be_lawyer.name.default = 'default name' db.to_be_lawyer.age.default = '28' form_to_be_lawyer= SQLFORM(db.to_be_lawyer, fields=[], buttons = [INPUT(

[web2py] Re: I save content of textarea into db.doc following,

2012-02-22 Thread web2py_lover
, 下午10时26分, Massimo Di Pierro wrote: > yes. There are some example in the source and on > thehttp://web2py.com/examples/default/examplespage > > On Feb 21, 3:27 am, web2py_lover wrote: > > > > > > > > > I save content oftextareainto db.docas following,

[web2py] in my IE 6.0 the layout is wrong.

2012-02-21 Thread web2py_lover
in my IE 6.0, the layout of http://web2py.com/examples/default/index shows ok but mine (Current (1.99.4 stable), runing web2py_src in win as server) http://127.0.0.1:8000/examplesshows not ok, the layout is wrong.

[web2py] my IE 6.0, the layout of four columns

2012-02-21 Thread web2py_lover
in my IE 6.0, the layout of http://web2py.com/examples/default/index shows ok but mine (Current (1.99.4 stable)) http://127.0.0.1:8000/examplesshows not ok, I think it is the problem of following, am I right? I can't find the definition of four columns in any css file, R

[web2py] I save content of textarea into db.doc following,

2012-02-21 Thread web2py_lover
I save content of textarea into db.docas following, db.define_table('doc', Field('title'), Field('content', 'text')) But how can I save this 'text' content into xxx.doc (as ms office format) for downloading? Can pyRTF do this thing, how to ? Thank you all.