Thanks Stifan, but in the link you sent I couldn't find the implementation
of the the cookbook
Carlo
On Thursday, May 8, 2014 2:51:47 PM UTC+2, 黄祥 wrote:
>
> please take a look at cookbook web2py appliances.
>
> ref:
> http://www.web2py.com/appliances
>
> best regards,
> stifan
>
--
Resour
Hi everyone,
I would like to write an app to organize recipes. Besides creating/updating
the recipes, I will add functionalities based
on the ingredients the recipes use. Therefore, I thought of creating a
table which will store the recipes and another for the ingredients.
Every recipe will have
tton=button)
> def result():
> start = request.vars['start']
> end = request.vars['end']
> filename = os.path.join(request.folder,'private',str(uuid4()))
> create_pdf(filename, db, start, end)
> response.headers['Content-Type'
Would there be a way to do what I explained if I give up using the
SQLFORM.factory? How could I validate my form using e.g. JavaScript?
On Wednesday, April 23, 2014 3:55:50 PM UTC+2, csavorgn wrote:
>
> Hi everyone,
> I'm using a SQLFORM.factory to get the data I need to gener
btn" , _title=T("in a new tab"),
> _href=URL("default","yourcontroller",args=[*row.id* <http://row.id/>]),
> *_target='_blank'*)
>
> Am Mittwoch, 23. April 2014 15:55:50 UTC+2 schrieb csavorgn:
>
>> Hi everyone,
>> I'm
Hi everyone,
I'm using a SQLFORM.factory to get the data I need to generate a PDF file
using ReportLab.
I'm using a submit button to check for the data entered and to open a new
page using redirect:
redirect(URL("default","result", vars=dict(start=form.vars.date_start,
ref=URL("default","yourcontroller",args=[row.id]), *_target='_blank'*)
>
> Am Donnerstag, 17. April 2014 09:41:35 UTC+2 schrieb csavorgn:
>
>> Hi,
>> I'm using a SQLFORM.factory to let the user enter some data and I added a
>> button us
I'm almost done with my first app :)
I managed to get a nice looking PDF from a table I created with pyfpdf
except for one thing: when the cell content is too long it doesn't fit in
the cell. Is there a way to get a table where the cell heights auto adjust?
Thanks
Carlo
--
Resources:
- http://w
7, Oli wrote:
>>
>>
>> URL('Link for a new tab', _class="btn" , _title=T("in a new tab"),
>> _href=URL("default","yourcontroller",args=[row.id]), *_target='_blank'*)
>>
>
> I may be missing something, but
7, Oli wrote:
>>
>>
>> URL('Link for a new tab', _class="btn" , _title=T("in a new tab"),
>> _href=URL("default","yourcontroller",args=[row.id]), *_target='_blank'*)
>>
>
> I may be missing something, but
Hi,
I'm using a SQLFORM.factory to let the user enter some data and I added a
button using
buttons=[INPUT(_type="submit",_value="Go!")]
When "Go!" is pressed a new page is opened using the following code:
if form.process().accepted:
redirect(URL("default","go", vars=dict(name=form.v
I'm a web2py newbie and I'm programming my first app.
The app is based on a database table with many fields. To help user enter
data in the table I want to prepare 3 forms to add table rows: every form
will be used in a different frequent use pattern.
The behaviour I would like to achieve is the
Thank you for the answer!
On Monday, April 7, 2014 11:34:33 PM UTC+2, 黄祥 wrote:
>
> 1) when the form is accessed some of the fields should already contain a
>> hint which is not necessarily the default value of the field
>>
>
> i think you can achieve it using default
> e.g.
> table.registration
Hi, I'm a web2py newbie and I'm developing my first app.
In my app I have a database containing a table with many fields. I would
like to create three different forms to add rows to the table.
Each one of these forms should help the user to fill the data corresponding
to a special situation.
This
14 matches
Mail list logo