Thanks for finding that, that WIKI page was wrong. When I wrote it, I didn't think about markup inheritance. Using <wicket:head> with base pages/ markup inheritance is perfectly alright. I updated the WIKI page.
Eelco On 8/27/06, Erik Brakkee <[EMAIL PROTECTED]> wrote: > Hi, > > > In some of the documentation it is mentioned that wicket:head is not > supposed to be used in pages > (e.g. > http://www.wicket-wiki.org.uk/wiki/index.php/Including_CSS_resources). > However, if I use markup inheritance for all my pages, then the base > markup will contain a head section. This head section could be > insufficient since I might need some special css or javascript for some > pages. To do this, using wicket:head in those pages to include the extra > content (e.g. style sheets or javascript) solves the problem. Therefore, > I think wicket:head in pages is still useful. Is this a good use of > wicket:head or should I use some other means to add specific content to > the head section for some pages? > > Cheers > Erik > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
