Doh! I originally downloaded the 1.1 release, then saw the quickstart projects. The IDEA project is using 1.0.1 and not 1.1. Thanks for pointing that out. :-)
Charlie On 2/17/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Or you sure you are using 1.1 and not 1.0? 1.1 has support for header > contribution. It was one of the major improvements over 1.0 (see > http://wicket.sourceforge.net/ news item for October 30) > > Eelco > > On 2/17/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > > I'm not sure, but the message looks like wicket:head is not supported > > at all in 1.1 > > > > Juergen > > > > On 2/17/06, Charlie Hubbard <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I'm using the latest stable build 1.1, and I'm trying to include a > > > wicket:head tag in my panel's template, and I'm get the following > > > exception: > > > > > > wicket.markup.MarkupException: Markup for a panel component must begin > > > with '<wicket:panel>' > > > [markup = file:/C:/src/BangersAndMash/classes/wicket/gmaps/GmapPanel.html, > > > index = 1, current = '<wicket:head>' (line 2, column 5)] > > > at > > > wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:247) > > > at > > > wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:626) > > > at wicket.markup.html.panel.Panel.onRender(Panel.java:93) > > > at wicket.Component.render(Component.java:1038) > > > at wicket.MarkupContainer.renderNext(MarkupContainer.java:855) > > > at wicket.MarkupContainer.renderAll(MarkupContainer.java:759) > > > at wicket.Page.onRender(Page.java:737) > > > at wicket.Component.render(Component.java:1038) > > > at wicket.Page.doRender(Page.java:476) > > > at wicket.RequestCycle.respond(RequestCycle.java:665) > > > at wicket.RequestCycle.request(RequestCycle.java:376) > > > at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:221) > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > > at > > > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) > > > at > > > org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) > > > at > > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) > > > at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) > > > at > > > org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) > > > at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) > > > at org.mortbay.http.HttpServer.service(HttpServer.java:879) > > > at org.mortbay.http.HttpConnection.service(HttpConnection.java:790) > > > at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961) > > > at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) > > > at > > > org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) > > > at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300) > > > at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511) > > > > > > Here is my tempalte: > > > > > > <html xmlns="http://www.w3.org/1999/xhtml" > > > xmlns:wicket="http://wicket.sourceforge.net/" xml:lang="en" > > > lang="en"> > > > <wicket:head> > > > <script src="http://google.com/maps?file=js&hl=en" > > > type="text/javascript"></script> > > > <script src="gmap.js" type="text/javascript"></script> > > > <script type="text/javascript"> > > > function _initGoogle() { > > > initMap("map", "sidebar", "meta", "perma", "mapType", > > > "printer", "" ) > > > } > > > </script> > > > <LINK REL="StyleSheet" HREF="gmapviewer.css" TYPE="text/css" > > > MEDIA="screen"/> > > > </wicket:head> > > > > > > <body onload="initGoogle()"> > > > <wicket:panel> > > > <div class="container"> > > > <div id="mapType" class="header"> </div> > > > <div id="sidebar" class="right"> </div> > > > <div id="map" class="content"></div> > > > <div class="footer"> > > > <div id="meta"></div> > > > <a id="perma" href="#"></a> > > > <div id="printer"></div> > > > </div> > > > </div> > > > </wicket:panel> > > > </body> > > > </html> > > > > > > If you noticed I also have an onload in the body tag for the > > > javascript. I'm hoping this is working for 1.1 builds. > > > > > > Thanks > > > Charlie > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > > > files > > > for problems? Stop! Download the new AJAX search engine that makes > > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user