Without wicket:id Wicket automatically creates a link for you provided
the css file is in the same directory. Though you should get a
"component was not rendered" exception if you added a component like
you did.
With wicket:id you MUST add a proper Component with the same id.

Juergen

On 2/6/06, David Leangen <[EMAIL PROTECTED]> wrote:
>
> Finally found the problem!!
>
> In my page, my css delaration was embedded in a <wicket:id> like so:
>
> <wicket:id>
>   <link wicket:id="css" rel="Stylesheet" type="text/css"
> href="styles/main.css"/>
> </wicket:id>
>
>
> In 1.1, this was tolerated, but in 1.2, it creates an exception.
>
> The problem was that the exception message was difficult to decipher.
>
> I removed the <wicket:id> tags and everything worked as expected.
>
> Thanks again so much for all the help!
>
>
>
>
>
> -------------------------------------------------------
> 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to