Re: [web2py] Re: web2py: encrypt uploaded files

2012-04-26 Thread minhcd
will get this Key from RDBMS, then query Key/Value storage to get file(Value) and streaming back to browser. On Thursday, April 26, 2012 11:41:18 PM UTC+7, minhcd wrote: > > Hi, I think your recipe will work ;) > > My situation is different a bit from Naveed. My database is RDBMS,

Re: [web2py] Re: web2py: encrypt uploaded files

2012-04-26 Thread minhcd
Hi, I think your recipe will work ;) My situation is different a bit from Naveed. My database is RDBMS, but i want to store uploaded file in a Key/Value storage(NoSQL). How can I intervent to store/retrieve process? I want to temporarily store uploaded file in memory, than call API to put this

[web2py] How can I add description to some field generated by SQLFORM?

2011-09-13 Thread minhcd
I used SQLFORM to generate a form like that: (by "return dict(form=form)" on Controller) Field1: [...input box...] Field2: [...input box...] Field3: [...input box...] But how I can write description beside each input-box like that: Field1: [...input box...] - Description of field1 here Field2: [

[web2py] Howto customize DB(or Form) Validator in web2py?

2011-09-11 Thread minhcd
Here are my 2 tables defintion: db.define_table('question', Field('category_id',db.category), Field('content'), Field('number_of_options','integer'), Field('has_options_detail','boolean',default=False)) ## Has or not has detail for each option db.define_table('options_detail', ##