It appears that if I have a <head> section in my border component as well as a <head> on my page, both heads get contributed to the final output.
For example, this is my border: <?xml version="1.0"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.sourceforge.net/" xml:lang="en" lang="en"> <wicket:head> <title>Border Title</title> <link wicket:id="css" rel="Stylesheet" type="text/css" href="styles/border.css"/> </wicket:head> <body> <wicket:border> <wicket:body/> </wicket:border> </body> </html> While this is one of my pages: <?xml version="1.0"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.sourceforge.net/" xml:lang="en" lang="en"> <wicket:head> <title>Page Title</title> <link rel="Stylesheet" type="text/css" href="styles/page.css"/> </wicket:head> <body> <span wicket:id="border"> Lots of really interesting stuff... </span><!-- wicket:id="border" --> </body> </html> The output looks like this: <?xml version="1.0"?> <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Border Title</title> <link rel="Stylesheet" type="text/css" href="styles/border.css"/> <title>Page Title</title> <link href="page.css" type="text/css" rel="Stylesheet"/> </head> <head> <title>Page Title</title> <link href="page.css" type="text/css" rel="Stylesheet"/> </head><body> <span> Lots of really interesting stuff... </span><!-- wicket:id="border" --> </body> </html> I end up with a multi-headed beast! Is there no workaround to be able to include a stylesheet for static viewing during the development process without creating this hideous two-faced monster in the dynamic output? 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
