Sorry, I misquoted my own code...

I meant to say "<wicket:head>" and not "<wicket:id>". Sorry!

So, to repeat what I was trying to say:


In my page, my css delaration was embedded in a <wicket:head> like so:

<html>
  <head>
    <wicket:head>
      <link wicket:id="css" rel="Stylesheet" type="text/css"
href="styles/main.css"/>
    </wicket:head>
  </head>
  <body>
    ...
  </body>
</html>


I removed the <wicket:head> tags and everything worked as expected. It took a 
while to find, but I finally found it.

Thanks again!




On Mon, 2006-02-06 at 06:40 +0100, Juergen Donnerstag wrote:
> 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
> > Wicket-user@lists.sourceforge.net
> > 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
> Wicket-user@lists.sourceforge.net
> 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&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to