On Wed, 2005-12-07 at 19:47 -0800, Igor Vaynberg wrote:
> That is because you still have the <wicket:head> tags in our markup.
> 
> Wicket looks for these and appends their output to the markup of the
> page. This is so components can reference their own css without the
> page having to know about it - component reusability. 
> 
> if you do not want that output in your page markup then remove
> <wicket:head> tags completely from your border markup.

Ah!

My mistake was thinking that the page head was only included by
including the <wicket:head> tag. I now understand that the page head is
included no matter what. So, to be more precise:

border:

<html>
  <head>
    <tag>Will NOT be included</tag>
    <wicket:head>
      <tag>WILL be contributed</tag>
    <wicket:head>
  </head>
</html>

page:

<html>
  <head>
    <tag>WILL be contributed</tag>
    <wicket:head>
      <tag>WILL be contributed</tag>
    <wicket:head>
  </head>
</html>


Thanks for the help!

BTW, I added this explanation to the wiki:

  http://www.wicket-
wiki.org.uk/wiki/index.php/Consistent_page_layout_using_borders


Cheers,
Dave





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to