On Sun, 2006-03-05 at 23:09 -0500, Gili wrote:
> 
> David Leangen wrote:
> >>    That's news to me. So when is <wicket:head> used? 
> > 
> > In borders and components when you want to contribute to the <head> of
> > the output.
> 
>       But Juergen said "<wicket:head> in Pages don't make any sense". Isn't a 
> Page a component too? So is Page different from other components in that 
> its <head> is automatically interpreted as <wicket:head> or something?

I meant to say "panel" above, and not "component".

Somebody else can probably answer better than I can, but my
understanding is that a Page "naturally" contains a header. The header
of a Page is always contributed, so it would be redundant to use the
<wicket:head> tag.

Borders and panels, on the other hand, do not necessarily contribute.
The header is there in many cases just for previewing. If you actually
want part of the header to be contributed, you need to explicitly tell
Wicket this. The way this is done is by using the <wicket:head> tag.


HTH




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to