I was trying to get around the fact that jquery inserts the # into the url, so the correct html template is not loaded, this does not happen if you use multi page html file - oh yes, this is for a jquery mobile page.
On Apr 3, 3:54 pm, Jonathan Lundell <jlund...@pobox.com> wrote: > On Apr 3, 2011, at 4:58 AM, ChrisM wrote: > > > > > update - seems to only work if you have multiple page definitions in > > same html file. > > I'd avoid using # in a URL, because a browser is likely to parse it as a > fragment (anchor) identifier. > > > > > > > > > > > On Apr 2, 1:02 pm, ChrisM <cjjmur...@gmail.com> wrote: > >> i am using the examples from; > > >> I have a incoming request at > > >>http://localhost:8000/#/init/default/map_geoloc > > >> in routes.py i have: > > >> routes_in = ((r'.*:/favicon.ico', r'/examples/static/favicon.ico'), > >> (r'.*:/robots.txt', r'/examples/static/robots.txt'), > >> (r'.*:/#/init/default/map_geoloc', r'/init/default/ > >> map_geoloc'), > >> ((r'.*http://otherdomain.com.*(?P<any>.*)', r'/app/ctr > >> \g<any>'))) > > >> doesn't seem to work as i have a google map which will load at > > >>http://localhost:8000/init/default/map_geoloc > > >> but through a jquery link > > >>http://localhost:8000/#/init/default/map_geoloc > > >> with the additional # google map will not load, anyone else solved > >> this one? > > >> Regards > >> Chrism