> CP version 2.2.1
>
> I have a form that uses a javascript calendar to pick
dates. It
> references calendar.html (in my templates folder).
>
> Javascript:
> var obj_calwindow = window.open(
> "templates/calendar.html?datetime=" +
this.dt_current.valueOf()+
> '&id=' + this.id,
> 'Calendar', 'width=200,height='+(this.time_comp ?
215 : 190)+
>
',status=no,resizable=no,top=200,left=200,dependent=yes,a
lwaysRaised=yes'
> );
> obj_calwindow.opener = window;
> obj_calwindow.focus();
>
> The input form uses this as a date/time picker and it
works well in
> Internet Explorer. I run the exact same code in
Firefox and I get a
> 404 Not Found error:
>
> 28/Apr/2006:09:49:04 HTTP INFO Page handler: "The
path '/calendar.html'
> was not
> found."
> Traceback (most recent call last):
> File
"C:\Python\Lib\site-packages\cherrypy\_cphttptool
s.py", line
> 105, in _run
>
> self.main()
> File
"C:\Python\Lib\site-packages\cherrypy\_cphttptool
s.py", line
> 246, in main
>
> page_handler, object_path, virtual_path =
> self.mapPathToObject(path)
> File
"C:\Python\Lib\site-packages\cherrypy\_cphttptool
s.py", line
> 312, in mapP
> athToObject
> raise cherrypy.NotFound(objectpath)
> NotFound: 404
>
> 127.0.0.1 - - [28/Apr/2006:09:49:04] "GET
> /calendar.html?datetime=1146232144293&
> id=1 HTTP/1.1" 404 727 "http://127.0.0.1:8080
/entryform" "Mozilla/5.0
> (W
> indows; U; Windows NT 5.1; en-US; rv:1.8.0.2)
Gecko/20060308
> Firefox/1.5.0.2"
Is /calendar.html the URL that's supposed to get requested
?
Which URL(s) does IE request ?
Remi.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|