I have a similar problem. I've created a class to hold the basic layout (using CSS) so I need to include a one stylesheet - I've then created a child of that class, which includes a panel - which needs an additional style sheet and some _javascript_. The upshot is two <head> entries and no onload in the body.
 
WoggulBorder.html
<html xmlns:wicket>
<wicket:head>
  <title>Woggul</title>
  <link rel="stylesheet" type="text/css" href="" />
</wicket:head>
<body>
<wicket:border>
 <div id="header">
  &nbsp;Username:
  <span wicket:id="username">Username goes here</span>
 </div>
...
UserEdit.html
<html xmlns:wicket>
<wicket:head>
    <link rel="stylesheet" type="text/css" href="" />
</wicket:head>
<body>
  <div wicket:id="border">
    <span wicket:id="feedback">feedbackmessages will be put here</span>
 
    <form wicket:id="form">
...
 
FromToListPanel.html
<html xmlns:wicket="">
<wicket:head>
  <script type="text/_javascript_" src=""/>
</wicket:head>
 
<body >
  <wicket:panel>
 
    <table border="1">
...
 
Gives the following in the final rendered HTML
 
<html xmlns:wicket>
<head>
    <link rel="stylesheet" type="text/css" href="feedback.css" />

  <title>Woggul</title>
  <link rel="stylesheet" type="text/css" href="layout.css" />

  <script type="text/_javascript_" src="fromToList.js"/>
</head>
<head>
  <title>Woggul</title>
  <link rel="stylesheet" type="text/css" href="layout.css" />

  <script type="text/_javascript_" src="fromToList.js"/>
</head><body>
  <div wicket:id="border"><wicket:border>
	<div id="header">
		&nbsp;Username:
		<span wicket:id="username">kevin</span>
	</div>
 
I can zip up all the files and send them to you if it would help

Kevin

 


DISCLAIMER:-----------------------------------------------------------------------------------------------
This Email may contain confidential and/or privileged information and is intended
solely for the addressee(s) named. If you have received this information in error, or
are advised that you have been posted this Email by accident, please notify the
sender by return Email, do not redistribute it, delete the Email and keep no copies.
----------------------------------------------------------------------------------------------------------------------

Reply via email to