And the components are all added to the right container? The exception message indicates that the markups component hierachy and the java component hierarchy don't match
Juergen On 2/3/06, David Leangen <[EMAIL PROTECTED]> wrote: > > > > > So, the problem is most probably not due to the code, but rather to my > > > stupidity. Any ideas where I could look? > > > > > > > usually it is due to some misspelling, brackets may be > > Sorry for asking about this again... but I don't think it's the > spelling. > > Can you help me decipher the error message? > > On the error page, the html in question (shown in red) is this: > > <link wicket:id="css" src="#"/> > > In the list of components, I have this: > > 3 css 708 bytes wicket.markup.html.WebMarkupContainer > > > So why is this a problem, since both elements are there? > > > html and java are as follows: > > <wicket:head> > <link wicket:id="css" src="#"/> > </wicket:head> > > > WebMarkupContainer css = new WebMarkupContainer("css"); > css.add(new AttributeModifier("src", true, new Model("myStyle.css"))); > add(css); > > > > > > ------------------------------------------------------- > 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