External resource references not working in Wicket/Jetty

2008-04-07 Thread classacts

I'm trying to display a static google map as the background for a div tag but
it doesn't seem to work when i place this static HTML code in my WebPage:


div style=background-image:
url(http://maps.google.com/staticmap?center=54.55,-3.88amp;zoom=5amp;size=500x450amp;key=ABQIw3BrxANqPQrDF3i-BIABYxQJqY1rPYzEgN6DCh6NXOCZP6CbIBQMW79KO5x4CXyX-_qTpdPBavy7xA);
width: 500px; height: 450px;/div


If I hand create an html file with that tag, it works.  It also works if I
launch the page from Wicket (the background won't show) then save the page
as an HTML file and load it that way.  I think there is something happening
to the request that is causing this issue - my only guess is the web browser
is requesting that image from Jetty instead of going directly to
maps.google.com?  I removed all CSS that could be affecting the div tag in
question, so that is ruled out.  Any ideas how to get this to work?

Thanks
-- 
View this message in context: 
http://www.nabble.com/External-resource-references-not-working-in-Wicket-Jetty-tp16537251p16537251.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: External resource references not working in Wicket/Jetty

2008-04-07 Thread Martin Funk
ugh...
are you sure the link is correct?
at least the one in you mail doesn't work here.

Bad Request Your client has issued a malformed or illegal request.



2008/4/7, classacts [EMAIL PROTECTED]:


 I'm trying to display a static google map as the background for a div tag
 but
 it doesn't seem to work when i place this static HTML code in my WebPage:


 div style=background-image:
 url(
 http://maps.google.com/staticmap?center=54.55,-3.88amp;zoom=5amp;size=500x450amp;key=ABQIw3BrxANqPQrDF3i-BIABYxQJqY1rPYzEgN6DCh6NXOCZP6CbIBQMW79KO5x4CXyX-_qTpdPBavy7xA
 );
 width: 500px; height: 450px;/div


 If I hand create an html file with that tag, it works.  It also works if I
 launch the page from Wicket (the background won't show) then save the page
 as an HTML file and load it that way.  I think there is something
 happening
 to the request that is causing this issue - my only guess is the web
 browser
 is requesting that image from Jetty instead of going directly to
 maps.google.com?  I removed all CSS that could be affecting the div tag in
 question, so that is ruled out.  Any ideas how to get this to work?

 Thanks
 --
 View this message in context:
 http://www.nabble.com/External-resource-references-not-working-in-Wicket-Jetty-tp16537251p16537251.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]