[web2py] Re: web2py 2.6.1 is OUT - IMPORTANT READ

2013-09-30 Thread Meir
Hi Massimo! Could describe best part: - new API jQuery('#component').reload() Has some practical example? And congratulations on the excellent work! Em quinta-feira, 12 de setembro de 2013 19h27min37s UTC-3, Massimo Di Pierro escreveu: > > Web2py 2.6.1 is finally OUT. It needs some more testin

[web2py] Re: Web2py fast introduction in Pycon Brazil

2013-10-01 Thread Meir
Hello Vinicius, Congratulations and thanks for all the help you given me and web2py community! Em terça-feira, 1 de outubro de 2013 11h57min53s UTC-3, viniciusban escreveu: > > Hi guys. > > Yesterday I taught a quick introduction to Web2py here in Brazil, > during the first day of training in

[web2py] LOAD web2py 2.5 - OK | LOAD web2py 2.6 nothing...

2013-10-02 Thread Meir
Hello community! I have in my application using web2py 2.5 LOAD feature working perfectly. I migrated my application to web2py 2.6 and stopped working LOAD, but not in error ... Any idea? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2

RES: [web2py] Re: LOAD web2py 2.5 - OK | LOAD web2py 2.6 nothing...

2013-10-02 Thread Meir
] Re: LOAD web2py 2.5 - OK | LOAD web2py 2.6 nothing... Did you copy the new web2py.js file to your application? On Wednesday, October 2, 2013 10:25:11 AM UTC-4, Meir wrote: Hello community! I have in my application using web2py 2.5 LOAD feature working perfectly. I migrated my

[web2py] Master / Detail with field value in the detail and overall value in the master

2013-10-03 Thread Meir
Hello community, all right? I resolve an impasse ... I have a screen with Master / Detail. Detail is in the SQLFORM.grid and I would like to update or insert a record in the detail he added up the total value of a field that is in the Master. What better way for this? Remembering: The D

RES: [web2py] Re: Master / Detail with field value in the detail and overall value in the master

2013-10-03 Thread Meir
Thank you! I will test now! But in the case of JavaScript that calls a delete, event exists to delete? For this case must deduct the value in the header ... De: web2py@googlegroups.com [mailto:web2py@googlegroups.com] Em nome de ?? Enviada em: quinta-feira, 3 de outubro de 2013 10:09 Para: we

[web2py] Static column with value in query

2013-10-17 Thread Meir
Hello community, I have a simple question about DAL: in some cases I write a query and create a static column has a default value, for example: select name, age, *'admin' as permission* from table_client How can I set this using the DAL? -- Resources: - http://web2py.com - http://web2py.com/

RES: [web2py] Re: Static column with value in query

2013-10-17 Thread Meir
Hello! I guess I was not clear in the question I wanted to replicate information that is static in the query, it does not come from the database ... Another example: select name, address, phone number, 'marked' category from client (MS-SQL) In this case, the specific info

Re: [web2py] Re: Static column with value in query

2013-10-17 Thread Meir
Perfect! Thanks! Em quinta-feira, 17 de outubro de 2013 16h03min03s UTC-3, Niphlod escreveu: > > you can select an expression > > fixed_column = "'admin' as admin" > rows = db(db.table).select(db.table.ALL, fixed_column) > rows[0][fixed_column] 'admin' > > However, in python is much more

[web2py] LOAD e form.custom na view...

2013-10-24 Thread Meir
Hello! I have the following questions: I have a function(Def) that generates a FORM in my controller that invoke the view through the LOAD function. But the view I used "form.custom", but the FORM LOAD brings in pure form generated by web2py ... I was clear in doubt? In short: I need the LOAD

[web2py] SQLFORM.grid to view and using groupby clause

2013-11-12 Thread Meir
Hello, I have the following problem: I have created a view in the legacy database. In this view created a field ID of type integer and unique. I used SQLFORM.grid using fields = [...] to specify the fields that wanted and used the groupby = ... to perform clustering. But it returns an error sta

Re: [web2py] SQLFORM.grid to view and using groupby clause

2013-11-13 Thread Meir
Hello Johann, It's why I created this view with the concept of cube to BI. I carry a lot of information forlater summarize according to the parameters of the users, but this I do in web2py. I'm working with web2py like my small BI ... Then the assembly is accomplished in various ways as defined

Re: [web2py] SQLFORM.grid to view and using groupby clause

2013-11-13 Thread Meir
n in the > grid? > > Regards > Johann > > > On 13 November 2013 03:06, Meir >wrote: > >> >> Hello, >> >> I have the following problem: I have created a view in the legacy >> database. >> In this view created a field ID of type integer and uniq

[web2py] Re: web2py 2.8.1 is OUT

2013-11-27 Thread Meir
Hello Massimo, congratulations!!! Hello Massimo, congratulations! What would db().select().as_tree()? Has example? Em quarta-feira, 27 de novembro de 2013 18h31min05s UTC-2, Massimo Di Pierro escreveu: > > Changelog > > > - no more winservice (use nssm instead) > - better imap support in DAL >

[web2py] web2py 2.8.1 -> What would db().select().as_tree()? Has example?

2013-11-28 Thread Meir
Hello! Someone could inform the purpose and use of the db()select()as_tree()? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message b