Hello,

I apologise for asking a question that may seem so basic to more
experienced Wicketeers and that has been asked over and over.

I read the docs and searched the archive. Although the topic is indeed
discussed, there was not enough information (or perhaps just not stated
in a way that I could understand) to allow me to figure out what's going
with CSS. Actually, I'm also having a bit of trouble in terms of tags.

My goal is to have a different css page depending on the l10n, client
type, or perhaps other requirements. 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>Page Title</title>
    <link wicket:id="css" rel="Stylesheet" type="text/css"
href="styles/main.css"/>
    <script language="javascript" type="text/javascript"
src="scripts/page.js"></script>
  </wicket:head>
  <body>
    <wicket:border>

      <wicket:body/>

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


Pretty basic, I think. However, where and how would I make the change
for the CSS. Where and how is the <wicket:head> tag handled? I suppose
that it is in this handler that <link wicked:id=""> is handled...


In order for me to better understand how tags are handled, could
somebody please point me to the relevant classes, so I can take a look
at the code directly?

If I can, I'll try to add useful info to the wiki.


Thanks so much!
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