[web2py] Re: SQLFORM.grid links bug

2015-09-22 Thread zenzeromod
Hi Hiphlod, You are right, I copied from my code a conditional button but without removing all unnecessary code. links = [dict(header=A(XML(STRONG('Stato')), _class='button btn'), body=lambda row: (A(XML('Pubblica' ), _class='button btn btn-default',

[web2py] SQLFORM.grid links bug

2015-09-21 Thread zenzeromod
Hi All, I was customizing a SQLFORM.grid startig from the code: model: db.define_table('aziende', Field('ragione_sociale', requires=[IS_NOT_EMPTY( error_message=err_mess),

[web2py] Re: SQLFORM.grig oncreate redirection to the just created record

2015-09-13 Thread zenzeromod
I Stifan, My problem is better explained and solved here using the "id" post var of the grid. https://groups.google.com/forum/#!searchin/web2py/sqlform$20id$20record$20created/web2py/TzzECzjFZPg/7AlHDFaGObQJ Many Thanks Fabrizio Il giorno domenica 13 settembre 2015 02:39:56 UTC+2, 黄祥 ha

[web2py] two form into view but one loaded using LOAD helper

2015-09-12 Thread zenzeromod
Hi All, in the next view there are two forms "form" and one loaded using LOAD('gestione') If I use the form pointing http:gestione/notizie_parametri/5/notizie everything works fine but not using LOAD('gestione', 'notizie_parametri.load', args=(request.args(0, cast=int),

[web2py] SQLFORM.grig oncreate redirection to the just created record

2015-09-12 Thread zenzeromod
Hi All, In my controller there is a grid: grid = SQLFORM.grid(newstable, create=True, editable=False, deletable=False, details=False, csv=False,

[web2py] Re: addremove; hg api change again

2015-07-19 Thread zenzeromod
Hi Dave, I am a mercurial-cli very addicted user. In my very very very personal opinion mercurial is better than git for my projects, but now I'm not looking for a flame mercurial vs git or hg-cli vs hg-api. I have an engineering problem. Can I base my next project on hg api? Now I know that

[web2py] addremove; hg api change again

2015-07-17 Thread zenzeromod
Ciao, I want to use https://kallithea-scm.org/ as mercurial repository web interface. Everything works fine except one last step in web2py web interface. When I click on the Versioning web interface button I get the error: Versione web2py™ Version