I just wrote a unit test that proves identical ids in different head sections do not conflict. I should've known Juergen already thought about that.
Anway, I'm curious what kind of exception you were getting and how that can be reproduced. Eelco On 5/29/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
Ah, they would have the same name in the header section? I see. Kind of sucks that that is possible anyway. We might consider putting up an issue for this. A possible breakout would be to transform any provided ids of header container components to e.g. an auto number or e.g. 'name space' the id. Eelco On 5/29/06, David Leangen <[EMAIL PROTECTED]> wrote: > > > Though if you look at that: it's between <wicket:head> tags, meaning > > it will be contributed to the header. What the resolver for that tag > > will do is try to resolve it to a package resource at run time, so > > <link wicket:id="css" rel="Stylesheet" type="text/css" href="tree.css" > > /> will be expanded to <link rel="stylesheet" type="text/css" > > href="/wicket-examples/nested/resources/wicket.markup.html.tree.Tr > > ee/tree.css" > > />. > > > > Did you have a problem, or did you expect to have one? > > Well, since the code has changed and there is no more <wicket:head> in the > tree component, discussion of the problem I was having is moot... but to > answer your question, the problem was having two components with the name > "css". Since "css" is a rather common name to use for a CSS comonent, the > chances of conflict are high. Since in my border, I also named my CSS > component "css", Wicket threw an exception. > > > Cheers, > Dave > > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user >
------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
