[web2py] Application packaging training in hyderabad

2016-12-04 Thread Info Cim
Tech Repack online training is best in providing Application Packaging Online Training, software Application packaging training in hyderabad packaging online training. Contact : +91 8374805705. -- Resources: - http://web2py.com - http://web2py.com/book (D

[web2py] Exception: Server address not specified

2015-08-04 Thread info
In [1] : from gluon.tools import Mail In [2] : mail = Mail() In [3] : mail.settings.server = 'smtp.gmail.com:465' In [4] : mail.settings.sender = 'x...@gmail.com' In [5] : mail.settings.login = 'x...@gmail.com:yyy' ALTERNATIVELY: I used "[5] : mail.settings.login = 'xxx:yyy'" In [6] : q=mail.send('

[web2py] Re: smartgrid - display linked_tables link as a dropdown button instead

2015-07-06 Thread info
Hello, I have 7 actions per row so it would be great to have actions dropdown. Please find attached patch for bootstrap theme. for Version 2.11.2-stable+timestamp.2015.05.30.16.33.24 On Thursday, January 17, 2013 at 11:14:59 PM UTC+2, Jim S wrote: > > I have a number of smartgrids built where t

[web2py] Re: fillable pdf forms

2015-06-26 Thread info
Very true, and Ive loaded it I run the standard example and get this in response: Command '/usr/bin/pdftk https://mmb21167.pythonanywhere.com/IW_Test/static/bk_forms/sch_a.pdf fill_form /tmp/tmpwwY6xU output /tmp/tmpDT0sFG' returned non-zero exit status 134 Any idea why it would be ove

[web2py] represent for SQLFORM.grid

2015-06-09 Thread info
Hello, The represent works fine for grid view but I need to apply represent function for the add, edit forms. db.product.price.represent = lambda x, row: current.currency.format_price(x) Inside html template I use {{=form}} as well as {{=form.custom.widget.price}} Thank you for the help. --

[web2py] Static per template

2015-06-01 Thread info
Hello all, Thanks for the great framework. I have a question: How would I achieve the setup, assume we have different templates: /views/template1 /views/template2 ... so I can switch between templates just passing variable of the template name. (ex: current.config.template_folder) How coul

[web2py] SMARTGIRD is it possible to have a lambda function in LINKED_TABLES?

2014-04-05 Thread info . abicos
Hello, I'd like to give access to a subtable only if there is something to see in it (this is of course depending on the main table). So, I tried this which does not... myform = SQLFORM.smartgrid(db.my_main_table, linked_tables=dict(my_main_table= *lambda row:* ['my_sub_table'] if *my_cou