Re: Google Maps API
at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) >> at >> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) >> at >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) >> at >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) >> at >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) >> at java.lang.Thread.run(Thread.java:619) >> Caused by: org.apache.commons.logging.LogConfigurationException: >> java.lang.ClassNotFoundException: >> org.apache.commons.logging.impl.Log4JLogger (Caused by >> java.lang.ClassNotFoundException: >> org.apache.commons.logging.impl.Log4JLogger) >> at >> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) >> at >> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) >> ... 40 more >> Caused by: java.lang.ClassNotFoundException: >> org.apache.commons.logging.impl.Log4JLogger >> at java.net.URLClassLoader$1.run(URLClassLoader.java:200) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:251) >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) >> at java.lang.Class.forName0(Native Method) >> at java.lang.Class.forName(Class.java:169) >> at >> org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:447) >> at java.security.AccessController.doPrivileged(Native Method) >> at >> org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435) >> at >> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376) >> ... 41 more >> >> >> >> >> martinf wrote: >> >>> This: >>> >>> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2/src/main/java/wicket/contrib/gmap/GMapHeaderContributor.java >>> >>> is the heart of its JavaScript header contribution. >>> Beyond that I don't see no real reason to add any JavaScript to the >>> HTML. >>> Just add it in its own *.js file and refer to that in the header section >>> of the HTML. >>> >>> For your other JS Problem, have you seen Firebug? It's a Firefox add-on, >>> quite usefull for JavaScript debugging. >>> >>> Martin >>> >>> >>> >>> Ballist1c wrote: >>> >>>> I'll definately have a look at that over the next day or so. At the >>>> same >>>> time, i would like to learn how to work these headerContributors for >>>> other javascript based APIs :) >>>> >>>> Thanks for the heads up martin,:) >>>> >>>> >>>> martinf wrote: >>>> >>>>> You have seen >>>>> http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 >>>>> havent you? >>>>> >>>>> For GeoCoding check out the examples. >>>>> >>>>> Martin >>>>> >>>>> >>>>> Ballist1c wrote: >>>>> >>>>>> Hey guys, >>>>>> >>>>>> I have been testing and attempting to get the google maps api >>>>>> running, >>>>>> with little avail. >>>>>> >>>>>> I have done some digging around for info and components written for >>>>>> Google map api integration. Unfortunately, the ones i have come >>>>>> across >>>>>> no longer exist in their respective SVNs :( >>>>>> >>>>>> As much as I would like to use something that i can load up and parse >>>>>> in values, i would very much like to learn how to generate custom >>>>>> Javascript in the tags like the one required for google maps >>>>>> to >>>>>> locate a position. >>>>>> >>>>>> e.g. >>>>>> >>>>>> >>>>>>//<![CDATA[ >>>>>> >>>>>>function load() { >>>>>> if (GBrowserIsCompatible()) { >>>>>>var map = new GMap2(document.getElementById("map")); >>>>>>map.setCenter(new GLatLng(37.4419, -122.1419), 13); >>>>>> } >>>>>>} >>>>>> >>>>>>//]]> >>>>>> >>>>>> >>>>>> At the moment I am stuck on how to reference javascript from an >>>>>> external HTTP url, as opposed to a local js file. >>>>>> >>>>>> e.g. "http://maps.google.com/maps?file=api&v=2&key=ABC"; >>>>>> >>>>>> If anyone has any tips, that would be greatly appreciated :) >>>>>> >>>>>> Thanks guys, >>>>>> >>>>>> Take care, >>>>>> Leo! >>>>>> >>>>>> >>>>> >>>> >>> >> >> > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Google-Maps-API-tf4553339.html#a13030048 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: Google Maps API
:) martinf wrote: You have seen http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 havent you? For GeoCoding check out the examples. Martin Ballist1c wrote: Hey guys, I have been testing and attempting to get the google maps api running, with little avail. I have done some digging around for info and components written for Google map api integration. Unfortunately, the ones i have come across no longer exist in their respective SVNs :( As much as I would like to use something that i can load up and parse in values, i would very much like to learn how to generate custom Javascript in the tags like the one required for google maps to locate a position. e.g. //<![CDATA[ function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(37.4419, -122.1419), 13); } } //]]> </pre><tt> At the moment I am stuck on how to reference javascript from an external HTTP url, as opposed to a local js file. e.g. "http://maps.google.com/maps?file=api&v=2&key=ABC"; If anyone has any tips, that would be greatly appreciated :) Thanks guys, Take care, Leo! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Google Maps API
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:174) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:619) Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529) ... 40 more Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.Log4JLogger at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:447) at java.security.AccessController.doPrivileged(Native Method) at org.apache.commons.logging.impl.LogFactoryImpl.loadClass(LogFactoryImpl.java:435) at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:376) ... 41 more martinf wrote: > > This: > > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2/src/main/java/wicket/contrib/gmap/GMapHeaderContributor.java > > is the heart of its JavaScript header contribution. > Beyond that I don't see no real reason to add any JavaScript to the HTML. > Just add it in its own *.js file and refer to that in the header section > of the HTML. > > For your other JS Problem, have you seen Firebug? It's a Firefox add-on, > quite usefull for JavaScript debugging. > > Martin > > > > Ballist1c wrote: >> >> I'll definately have a look at that over the next day or so. At the same >> time, i would like to learn how to work these headerContributors for >> other javascript based APIs :) >> >> Thanks for the heads up martin,:) >> >> >> martinf wrote: >>> >>> You have seen >>> http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 >>> havent you? >>> >>> For GeoCoding check out the examples. >>> >>> Martin >>> >>> >>> Ballist1c wrote: >>>> >>>> Hey guys, >>>> >>>> I have been testing and attempting to get the google maps api running, >>>> with little avail. >>>> >>>> I have done some digging around for info and components written for >>>> Google map api integration. Unfortunately, the ones i have come across >>>> no longer exist in their respe
Re: Google Maps API
This: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2/src/main/java/wicket/contrib/gmap/GMapHeaderContributor.java is the heart of its JavaScript header contribution. Beyond that I don't see no real reason to add any JavaScript to the HTML. Just add it in its own *.js file and refer to that in the header section of the HTML. For your other JS Problem, have you seen Firebug? It's a Firefox add-on, quite usefull for JavaScript debugging. Martin Ballist1c wrote: > > I'll definately have a look at that over the next day or so. At the same > time, i would like to learn how to work these headerContributors for other > javascript based APIs :) > > Thanks for the heads up martin,:) > > > martinf wrote: >> >> You have seen >> http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 >> havent you? >> >> For GeoCoding check out the examples. >> >> Martin >> >> >> Ballist1c wrote: >>> >>> Hey guys, >>> >>> I have been testing and attempting to get the google maps api running, >>> with little avail. >>> >>> I have done some digging around for info and components written for >>> Google map api integration. Unfortunately, the ones i have come across >>> no longer exist in their respective SVNs :( >>> >>> As much as I would like to use something that i can load up and parse in >>> values, i would very much like to learn how to generate custom >>> Javascript in the tags like the one required for google maps to >>> locate a position. >>> >>> e.g. >>> >>> >>>//<![CDATA[ >>> >>>function load() { >>> if (GBrowserIsCompatible()) { >>>var map = new GMap2(document.getElementById("map")); >>>map.setCenter(new GLatLng(37.4419, -122.1419), 13); >>> } >>>} >>> >>>//]]> >>> >>> >>> At the moment I am stuck on how to reference javascript from an external >>> HTTP url, as opposed to a local js file. >>> >>> e.g. "http://maps.google.com/maps?file=api&v=2&key=ABC"; >>> >>> If anyone has any tips, that would be greatly appreciated :) >>> >>> Thanks guys, >>> >>> Take care, >>> Leo! >>> >> >> > > -- View this message in context: http://www.nabble.com/Google-Maps-API-tf4553339.html#a12994699 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: Google Maps API
Theres also http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap :) Ballist1c wrote: I'll definately have a look at that over the next day or so. At the same time, i would like to learn how to work these headerContributors for other javascript based APIs :) Thanks for the heads up martin,:) martinf wrote: You have seen http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 havent you? For GeoCoding check out the examples. Martin Ballist1c wrote: Hey guys, I have been testing and attempting to get the google maps api running, with little avail. I have done some digging around for info and components written for Google map api integration. Unfortunately, the ones i have come across no longer exist in their respective SVNs :( As much as I would like to use something that i can load up and parse in values, i would very much like to learn how to generate custom Javascript in the tags like the one required for google maps to locate a position. e.g. //<![CDATA[ function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(37.4419, -122.1419), 13); } } //]]> </pre><tt> At the moment I am stuck on how to reference javascript from an external HTTP url, as opposed to a local js file. e.g. "http://maps.google.com/maps?file=api&v=2&key=ABC"; If anyone has any tips, that would be greatly appreciated :) Thanks guys, Take care, Leo! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Google Maps API
I quickly added the following line to one of my pages: add(HeaderContributor.forJavaScript("http://maps.google.com/maps?file=ap i&v=2&key=ABC")); It correctly renders in the page's header as http://maps.google.com/maps?file=api&v=2&key=ABC"</a>;> I'm using 1.3 beta-3. Either you're using a different version, or I don't think the header contribution is the problem. Can you do "view source" when the page hangs? Thomas > -Original Message- > From: Ballist1c [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 2. Oktober 2007 10:00 > To: users@wicket.apache.org > Subject: RE: Google Maps API > > > I have tried that... > > add(HeaderContributor.forJavaScript("http://maps.google.com/ma > ps?file=api&v=2&key=ABC")); > > However, when I have that line of code, accessing the page > with that HeaderContributor the system hangs, and the page > doesn't load, i dont even seem to get an error and the only > way i can get out of it is through a manual refresh to the baseURL. > > Any thoughts? > > > Thomas Maeder wrote: > > > > How does HeaderContributor.forJavaScript(final String location) not > > fit your needs? > > > > Thomas > > > > > > > >> > >> At the moment I am stuck on how to reference javascript from an > >> external HTTP url, as opposed to a local js file. > >> > >> e.g. "http://maps.google.com/maps?file=api&v=2&key=ABC"; > >> > >> If anyone has any tips, that would be greatly appreciated :) > >> > >> Thanks guys, > >> > >> Take care, > >> Leo! > >> -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Google Maps API
I'll definately have a look at that over the next day or so. At the same time, i would like to learn how to work these headerContributors for other javascript based APIs :) Thanks for the heads up martin,:) martinf wrote: > > You have seen > http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 > havent you? > > For GeoCoding check out the examples. > > Martin > > > Ballist1c wrote: >> >> Hey guys, >> >> I have been testing and attempting to get the google maps api running, >> with little avail. >> >> I have done some digging around for info and components written for >> Google map api integration. Unfortunately, the ones i have come across >> no longer exist in their respective SVNs :( >> >> As much as I would like to use something that i can load up and parse in >> values, i would very much like to learn how to generate custom Javascript >> in the tags like the one required for google maps to locate a >> position. >> >> e.g. >> >> >>//<![CDATA[ >> >>function load() { >> if (GBrowserIsCompatible()) { >>var map = new GMap2(document.getElementById("map")); >>map.setCenter(new GLatLng(37.4419, -122.1419), 13); >> } >>} >> >>//]]> >> >> >> At the moment I am stuck on how to reference javascript from an external >> HTTP url, as opposed to a local js file. >> >> e.g. "http://maps.google.com/maps?file=api&v=2&key=ABC"; >> >> If anyone has any tips, that would be greatly appreciated :) >> >> Thanks guys, >> >> Take care, >> Leo! >> > > -- View this message in context: http://www.nabble.com/Google-Maps-API-tf4553339.html#a12994550 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: Google Maps API
I have tried that... add(HeaderContributor.forJavaScript("http://maps.google.com/maps?file=api&v=2&key=ABC";)); However, when I have that line of code, accessing the page with that HeaderContributor the system hangs, and the page doesn't load, i dont even seem to get an error and the only way i can get out of it is through a manual refresh to the baseURL. Any thoughts? Thomas Maeder wrote: > > How does HeaderContributor.forJavaScript(final String location) not fit > your needs? > > Thomas > > > >> >> At the moment I am stuck on how to reference javascript from >> an external HTTP url, as opposed to a local js file. >> >> e.g. "http://maps.google.com/maps?file=api&v=2&key=ABC"; >> >> If anyone has any tips, that would be greatly appreciated :) >> >> Thanks guys, >> >> Take care, >> Leo! >> -- >> View this message in context: >> http://www.nabble.com/Google-Maps-API-tf4553339.html#a12993967 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Google-Maps-API-tf4553339.html#a12994533 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: Google Maps API
You have seen http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-gmap2 havent you? For GeoCoding check out the examples. Martin Ballist1c wrote: > > Hey guys, > > I have been testing and attempting to get the google maps api running, > with little avail. > > I have done some digging around for info and components written for Google > map api integration. Unfortunately, the ones i have come across no longer > exist in their respective SVNs :( > > As much as I would like to use something that i can load up and parse in > values, i would very much like to learn how to generate custom Javascript > in the tags like the one required for google maps to locate a > position. > > e.g. > > >//<![CDATA[ > >function load() { > if (GBrowserIsCompatible()) { >var map = new GMap2(document.getElementById("map")); >map.setCenter(new GLatLng(37.4419, -122.1419), 13); > } >} > >//]]> > > > At the moment I am stuck on how to reference javascript from an external > HTTP url, as opposed to a local js file. > > e.g. "http://maps.google.com/maps?file=api&v=2&key=ABC"; > > If anyone has any tips, that would be greatly appreciated :) > > Thanks guys, > > Take care, > Leo! > -- View this message in context: http://www.nabble.com/Google-Maps-API-tf4553339.html#a12994408 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: Google Maps API
How does HeaderContributor.forJavaScript(final String location) not fit your needs? Thomas > > At the moment I am stuck on how to reference javascript from > an external HTTP url, as opposed to a local js file. > > e.g. "http://maps.google.com/maps?file=api&v=2&key=ABC"; > > If anyone has any tips, that would be greatly appreciated :) > > Thanks guys, > > Take care, > Leo! > -- > View this message in context: > http://www.nabble.com/Google-Maps-API-tf4553339.html#a12993967 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Google Maps API
Hey guys, I have been testing and attempting to get the google maps api running, with little avail. I have done some digging around for info and components written for Google map api integration. Unfortunately, the ones i have come across no longer exist in their respective SVNs :( As much as I would like to use something that i can load up and parse in values, i would very much like to learn how to generate custom Javascript in the tags like the one required for google maps to locate a position. e.g. //<![CDATA[ function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(37.4419, -122.1419), 13); } } //]]> At the moment I am stuck on how to reference javascript from an external HTTP url, as opposed to a local js file. e.g. "http://maps.google.com/maps?file=api&v=2&key=ABC"; If anyone has any tips, that would be greatly appreciated :) Thanks guys, Take care, Leo! -- View this message in context: http://www.nabble.com/Google-Maps-API-tf4553339.html#a12993967 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]