is the css file actually copied into the output folder? i know eclipse and
other ides do not always copy css/html files by default.

-igor


On 2/13/07, spencer.c <[EMAIL PROTECTED]> wrote:


The generated HTML is:
<link href="resources/com.test.pages.Share/1.css" rel="stylesheet"
type="text/css" wicket:id="pageCSS"/>

Changing the markup to your suggestion doesn't change the behavior, except
eliminating the error message.  The stylesheet still does not get applied.
In fact, looking at the markup, it looks like the <wicket:link> doesn't
get
replaced correctly?

Generated response:
<head>
<wicket:link>
<link href="1.css" rel="Stylesheet" type="text/css"/>
</wicket:link>


Thanks for the ideas.



igor.vaynberg wrote:
>
> what does the generated url look like?
>
> also you dont need a component for this if its a static ref, i think the
> following should work
>
> <wicket:link>
> <link rel="Stylesheet" type="text/css" href="1.css"/>
> </wicket:link>
>
> -igor
>
>
--
View this message in context:
http://www.nabble.com/Simple-CSS-Link-tf3222758.html#a8951591
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to