Hi everybody I am trying to link a CSS file to my template using this code:
<wicket:head> <wicket:link> <link rel="Stylesheet" type="text/css" href="css/main.css" media="screen" /> <wicket:link> </wicket:head> Also tried with: <wicket:head> <link wicket:id="CSSMain" rel="Stylesheet" type="text/css" href="css/main.css" media="screen" /> </wicket:head> But in both cases i get this in the code of the response page: <link href="/Bujero/test/resources/es.bytelecom.bujero.web.pages.common.BaseWebPage/css/main_es_ES.css" rel="stylesheet" type="text/css" media="screen"/> That URL gets a 404 error. That long name is actually the package and the class where the css file is stored, that is not an error being so long. Also, 'es_ES' is added to the filename, how to remove? Thanks. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user