i find the problem

my date have this format:
gg/mm/yyyy

if i change the date format with
yyyy-mm-dd
all work

how can resolve this problem? (italian format is the first gg/mm/yyyy
and the calendar components retun this format)

On 3 Set, 08:38, ceriox <cer...@gmail.com> wrote:
> i follow your instruction:
>
> firebug message:
> <html><body><h1>Internal error</h1>Ticket issued: <a href="/admin/
> default/ticket/TCRM/127.0.0.1.2010-09-03.08-30-20.1e1b084c-1266-484a-
> ab1e-a700ce9a0b67" target="_blank">TCRM/
> 127.0.0.1.2010-09-03.08-30-20.1e1b084c-1266-484a-ab1e-a700ce9a0b67</
> a></body><!-- this is junk text else IE does not display the page:
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>  //--
>
> ></html>
>
> ticket text:
> Traceback (most recent call last):
>   File "gluon/restricted.py", line 186, in restricted
>   File "C:/Documents and Settings/Assistenza/Desktop/web2py/web2py/
> applications/TCRM/controllers/plugin_jqgrid.py", line 58, in <module>
>   File "gluon/globals.py", line 96, in <lambda>
>   File "C:/Documents and Settings/Assistenza/Desktop/web2py/web2py/
> applications/TCRM/controllers/plugin_jqgrid.py", line 41, in data
>   File "gluon/sql.py", line 3228, in select
>   File "gluon/sql.py", line 3290, in parse
> ValueError: invalid literal for int() with base 10: '01/09/2010'
>
> i suppose the problem is int() on the date field, i try to find the
> cast in jquery code to change it with str()
>
> On 2 Set, 18:09, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > 1) install firebug
> > 2) open firebug before you load the page that makes the ajax request
> > 3) click on console (you will see the ajax request)
> > 4) click on the ajax request to run it again on a new tab and see the
> > output.
> > 5) post it here
>
> > On Sep 2, 9:24 am, ceriox <cer...@gmail.com> wrote:
>
> > > i try but i can't understand the log of firebug ... i never use it
> > > before
> > > On 2 Set, 15:25, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > Can try check with firebug what is being stranferred between client
> > > > and server?
>
> > > > On Sep 2, 8:02 am, ceriox <cer...@gmail.com> wrote:
>
> > > > > i have a strange problem with jquery.
> > > > > i have a date field in my db:
>
> > > > > ...
> > > > > Field('Data_richiesta','date', label='Data richiesta'),
> > > > > ....
> > > > > and other field ..
>
> > > > > and jquery string in my controller:
> > > > > table=plugin_jqgrid(db.Rapportino,columns=['id', 'Motivo',
> > > > > 'Data_richiesta'],col_widths={'id':80,'Motivo':150, 'Data_richiesta':
> > > > > 150},width=300)
>
> > > > > with this, jquery table display nothing :S
>
> > > > > but if i delete 'Data_richiesta' field in jquery string:
>
> > > > > table=plugin_jqgrid(db.Rapportino,columns=['id',
> > > > > 'Motivo'],col_widths={'id':80,'Motivo':150},width=300)
>
> > > > >  i can see all my record .. what i'm doing wrong??

Reply via email to