Re: [Wicket-user] wicket:head in page template...
Igor Vaynberg wrote: afaik it should be ok, where does it say otherwise? Well, on the wiki it said today: " If you are authoring a page, you don't need (and shouldn't use) tags but instead put it in the page's head section directly.". But Eelco edited the wiki page today, and modified it to: "The pair can be used in Panels, Borders and Fragments, and is used for doing a 'header contribution', meaning that the contents will be written to the section of the page the component is placed in. If you are authoring a normal page, you don't need tags but instead put it in the page's head section directly. The exception to this is when you use markup inheritance, and one of the pages to extend wants to contribute to the header of some extending page, and the header is not part of the region. In that case, you can use . " Problem solved! -Igor 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 Wicket-user@lists.sourceforge.net 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 Wicket-user@lists.sourceforge.net 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket:head in page template...
Thanks for finding that, that WIKI page was wrong. When I wrote it, I didn't think about markup inheritance. Using 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 > Wicket-user@lists.sourceforge.net > 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket:head in page template...
The wiki page is maybe a bit too general in saying "If you are authoring a page, you don't need (and shouldn't use) tags but instead put it in the page's head section directly." I think what it's trying to say is to use the "" section directly where possible, i.e. if the page is a simple page or a "base page". /Gwyn On 27/08/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > afaik it should be ok, where does it say otherwise? > > -Igor > > > > 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 > > Wicket-user@lists.sourceforge.net > > 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 > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > -- Download Wicket 1.2.1 now! - http://wicketframework.org - 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket:head in page template...
afaik it should be ok, where does it say otherwise?-IgorOn 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 beinsufficient since I might need some special css or _javascript_ for somepages. 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 ofwicket: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 Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net 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 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user