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) <wicket:head> tags but instead put
it in the page's head section directly.". But Eelco edited the wiki
page today, and modified it to:
"The <wicket:head> 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 <head> section of the page
the component is placed in. If you are authoring a normal page, you
don't need <wicket:head> 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
<wicket:extend> region. In that case, you can use
<wicket:head>. "
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