> if you do not want to have a part of the border head in the page head than 
> put that part in the plain html head:
> 
> for border:
> 
> <html>
> <head>
>    <titel>This does not go to the head of page</titel>
>    <wicket:head>
>       <link rel="Stylesheet" .. this goes to the head of the page .../>
>    </wicket:head>
> </head>
> ...
> </html>

Thank you. That's what I thought...

However, even after trying several ways, including what you write above,
even those tags not included in the <wicket:head> section are still
being included.

For example:

  Border:
  <html>
    <head>
      <wicket:head>
        <title>Border Title</title>
        <link wicket:id="css" rel="Stylesheet" type="text/css"
href="styles/border.css"/>
        <script language="javascript" type="text/javascript"
src="scripts/border.js"></script>
      </wicket:head>
    </head>
    <body>
      <wicket:border>

        <wicket:body/>

      </wicket:border>
    </body>
  </html>

and page...

  <html>
  <head>
    <link rel="Stylesheet" type="text/css" href="styles/page.css"/>
    <script language="javascript" type="text/javascript"
src="scripts/page.js"></script>
    <title>Page Title</title>
    <wicket:head>
      <meta name="description" content="Page description"/>
    </wicket:head>
  </head>
  <body>
    <span wicket:id="border">
      Some really cool stuff...
    </span><!-- wicket:id="border" -->
  </body>
</html>


... give this:


  <html>  
  <head>
    <link rel="Stylesheet" type="text/css" href="styles/page.css"/>
    <script language="javascript" type="text/javascript" 
src="scripts/page.js"></script>
    
      <title>Page Title</title>
    
  
      <meta name="description" content="Page description"/>
      <link href="styles/border.css" type="text/css" rel="Stylesheet"/>
      <script language="javascript" type="text/javascript" 
src="scripts/border.js"></script>
    </head>
    <body>
      <span>
        Some really cool stuff...
      </span><!-- wicket:id="border" -->

    </body>
  </html>

Is this a bug, then?


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