In the wiki, there is a gotcha that look like this :
Adding wicket:head to a Page
wicket:head is intended for panels and borders only. Do not add this to a
page.
The problem is : it is exactly what I wanted to do. I got a child class
that need to add some css/javascript to the header of the
The following works for me:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml; xmlns:wicket=
http://www.wicketframework.org;
head
title~/title
wicket:head
script
Yeah, I know, I also implemented something and It work. But since it is in
the gotcha part of the wiki, this mean that we should not do this. But
since it work, I don't know why...
Marc
On 1/24/07, Otan [EMAIL PROTECTED] wrote:
The following works for me:
!DOCTYPE html PUBLIC -//W3C//DTD
On Wed, 24 Jan 2007, Marc-Andre Houle wrote:
In the wiki, there is a gotcha that look like this :
Adding wicket:head to a Page
wicket:head is intended for panels and borders only. Do not add this to a
page.
The problem is : it is exactly what I wanted to do. I got a child class
that
Wiki : Yes it is if you create an account.
The comment of igor in the mailling list archive is directly related to what
I want to do.
What I want to know is : Why is it not in the wiki, should I update the
wiki? I don't want to disturb developer because they surely have something
else to do,
I changed the WIKI entry. Thanks for finding.
Eelco
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT business topics through
On 1/24/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
In the wiki, there is a gotcha that look like this :
Adding wicket:head to a Page
wicket:head is intended for panels and borders only. Do not add this to a
page.
The problem is : it is exactly what I wanted to do. I got a child class
Yeah, but when you have big chunk and everything, you don't necessary want
this to be in the Java world. At least, that what I think since I want all
my decoration in html and all my logic in java...
On 1/24/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
On 1/24/07, Marc-Andre Houle [EMAIL
Sure. Just wanted to point out that there is an alternative way, which
is not better or worse, just different :)
Eelco
On 1/24/07, Marc-Andre Houle [EMAIL PROTECTED] wrote:
Yeah, but when you have big chunk and everything, you don't necessary want
this to be in the Java world. At least, that
On Wed, 24 Jan 2007, Eelco Hillenius wrote:
I changed the WIKI entry. Thanks for finding.
This remains
Note: the use of wicket:head should not even be necessary at all
in a Page, since everything in the head of a Page is already
contributed to the output.
The development team is
Changed it, thanks,
Eelco
On 1/24/07, Timo Rantalaiho [EMAIL PROTECTED] wrote:
On Wed, 24 Jan 2007, Eelco Hillenius wrote:
I changed the WIKI entry. Thanks for finding.
This remains
Note: the use of wicket:head should not even be necessary at all
in a Page, since everything in the
Oops! Let me correct my previous post. Based on the new Wiki, wicket:head is
not necessary for a child markup if it is a page; the html head is enough
to be contributed to the final head of the markup.
On 25/01/07, Otan [EMAIL PROTECTED] wrote:
The following works for me:
!DOCTYPE html PUBLIC
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
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
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
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
16 matches
Mail list logo