<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=164534116-16022007>I'm really quite
confused about some weirdness I have with the referring url in
seaside.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=164534116-16022007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=164534116-16022007>I'm trying to
implement the google maps api (<A
href="http://www.google.com/apis/maps/">http://www.google.com/apis/maps/</A>)
into my app. To do so I have to sign up for an encrypted key for the
domain/app that my app uses. (e.g. <A
href="http://localhost:9090/seaside">http://localhost:9090/seaside</A>).
You then need to include a link to the google maps script
like...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=164534116-16022007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=164534116-16022007><FONT size=2><script
src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=MY_KEY"
type="text/javascript"></script></FONT><BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=164534116-16022007><FONT size=2>...which
should check the key and give you access provided that the request comes from
your domain/app.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=164534116-16022007><FONT
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=164534116-16022007><FONT size=2>I can get this
working in Java with Tomcat with no worries what so ever but from seaside
(specifying the same url in #linkToScript: in my #updateRoot:) I
persistently get told the key is for a different url. I have tried a
number of different keys for variations on the domain (e.g. with and without
seaside) but no joy.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=164534116-16022007><FONT
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=164534116-16022007><FONT size=2>I have left
messages on the google map discussion forum but I'm not convinced I'll get much
joy there it seems to be a peculiarity of Seaside. Although I can't quite
fathom why is there something under the covers that means the url in the browser
bar is not the one being passed on to google?!!</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=164534116-16022007><FONT
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=164534116-16022007><FONT size=2>Any insights
would be most helpful</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=164534116-16022007><FONT
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=164534116-16022007><FONT
size=2>Thanks</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=164534116-16022007><FONT size=2>Alan
Capewell</FONT></DIV><A
href="http://www.google.com/apis/maps/"></A></SPAN></FONT></BODY></HTML>