[web2py] Re: problem with a date in a form

2013-06-20 Thread palomar
yes, I'm italian :D I've already check it in my it.py is %d/%m/%Y for the input I use the calendar I have, for exeple 20/06/2013 and the error say me "enter date as 28/08/1963" and the date is in that format! -- --- You received this message because you are subscribed to the Google Groups "

[web2py] problem with a date in a form

2013-06-19 Thread palomar
I have a form that I submit by ajax and I have a problem with a date field. in my db: db.define_table('fatture', Field('codice','string', length=10), Field('dataf', 'date')) in my form: ajax function: ajax('inseriscifa',['codice','dataf'],':eval') controller: def inseriscifa():

[web2py] Re: row.id with "L" after upgrading to

2013-06-19 Thread palomar
thanks for your reply! -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.c

[web2py] Re: row.id with "L" after upgrading to

2013-06-19 Thread palomar
are, you shouldn't convert it to an INT because you'll get errors. > > The "L" means it's a LONG and not an INT. > > On Tuesday, June 18, 2013 7:11:14 AM UTC-7, palomar wrote: >> >> I've just updated to 2.5.1 and I found this problem: >> Insid

[web2py] row.id with "L" after upgrading to

2013-06-18 Thread palomar
I've just updated to 2.5.1 and I found this problem: Inside my site have a google map and I need to add an array with several marker; in my controller I have a simple query with a cycle def mappa: markers=[] for row in db().select(db.produttori.ALL): markers.append([row.id, row.lat

[web2py] Re: compute field doesn't work on update

2013-02-06 Thread palomar
up Il giorno sabato 19 gennaio 2013 18:43:51 UTC+1, palomar ha scritto: > > I had the 2.1 and I've just updated to 2.3 (I hoped to solve the > problem...) > > request.vars.id is the vars from the ajax call; it works, I'm sure, > articolo.p_p is correctly updated >

[web2py] Re: Web2Py compute fields not working on update

2013-01-22 Thread palomar
:13:04 UTC-6, palomar wrote: >> >> Sorry but I have the same problem; i tried with readable=true and >> writable=true and to comment the line in DAL.py, but nothing. >> I have this table: >> db.define_table('magazzino', >> Field('id_tipo&#

[web2py] Re: compute field doesn't work on update

2013-01-19 Thread palomar
I had the 2.1 and I've just updated to 2.3 (I hoped to solve the problem...) request.vars.id is the vars from the ajax call; it works, I'm sure, articolo.p_p is correctly updated Il giorno sabato 19 gennaio 2013 18:03:34 UTC+1, palomar ha scritto: > > Other users have the

[web2py] compute field doesn't work on update

2013-01-19 Thread palomar
Other users have the same problem and, sorry but I can't find my solution; i tried with readable=true and writable=true, to update all the field interested in the compute function, to comment the line in DAL.py, but nothing. I have this table: db.define_table('magazzino', Field('id_tipo',

[web2py] Re: Web2Py compute fields not working on update

2013-01-11 Thread palomar
Sorry but I have the same problem; i tried with readable=true and writable=true and to uncomment the line in DAL.py, but nothing. I have this table: db.define_table('magazzino', Field('id_tipo', 'integer',default=0), Field('p_p','double', default=0.0), Field('pp_tot','double', writabl

Re: [web2py] Re: powerTable AttributeError: 'DAL' object has no attribute 'virtual'

2012-11-24 Thread palomar
id: db.prodotti[id].nomeb > or > db.task.designer.represent = lambda value: db.staff[value].name > > The problem with this is that it will then generate an error if > SQLFORM.grid is used to display the same table. > > > On Friday, November 23, 2012 1:50:27 PM UTC-6, palomar wrote:

[web2py] powertable | insert JSFUNCTION in dtfeatures['fnFooterCallback']

2012-11-23 Thread palomar
Hi, I'm using the plugin powertable and I need to insert my JS funciont on the footer; the option to change is dtfeatures['fnFooterCallback'] but I have a problem to insert my JS function. What or where I have to insert it? Thanks... --

Re: [web2py] Re: powerTable AttributeError: 'DAL' object has no attribute 'virtual'

2012-11-23 Thread palomar
)) line 286: elif field.represent: r = field.represent(r) Someone can help me? ciao ;) Il giorno venerdì 23 novembre 2012 20:44:02 UTC+1, palomar ha scritto: > > i think > > response.files.append(URL(r=request,c='static',f='plugin_pow

Re: [web2py] Re: powerTable AttributeError: 'DAL' object has no attribute 'virtual'

2012-11-23 Thread palomar
i think response.files.append(URL(r=request,c='static',f='plugin_powertable/ui/css/%s/jquery-ui-1.8.24.custom.js')) ;) Il giorno giovedì 18 ottobre 2012 06:06:33 UTC+2, tomt ha scritto: > > After a little digging around on the web I found out why I was powertable > was generating errors with th

[web2py] web2py on HelioHost

2012-06-03 Thread palomar
Internal Server Error". Somebody have already used heliohost? Or somebody can help me with the configuration? Thanks (and sorry for my english...) palomar