heh, sorry. That'll only work if you're at 2.0 already. But you probably are working at 1.2, so you need the latest code of the 1_2 branch. Or wait for 1.2.1
Eelco On 6/8/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > i wouldn't test against current "trunk" ..... > > johan > > > > On 6/8/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote: > > Could you please try against current trunk? Just this weekend I got > > rid of the need to preregister shared resources. > > > > Also, you might have to set another IClassResolver in > > IApplicationSettings for OSGi. I don't know the exact details on that, > > but there are enough people on this list that do work with OSGi and > > Wicket. > > > > Eelco > > > > > > On 6/8/06, Saioa Arrizabalaga <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I am trying to make it work the HelloWorld example, using Wicket ( 1.2) > > > + OSGi (Knopflerfish 1.3.4). Unfortunately, I get a > > > WicketRuntimeException when WebPage tries to resolve the "cookies.js" > > > resource (below the complete stack trace). > > > > > > If I comment in the WebPage code where the call to this resource is > > > done from (3 lines of code), the HelloWorld example works perfectly. > > > > > > Any idea of why can this happen? > > > What are the consequences of ignore cookies? > > > > > > Thank you very much, > > > Saioa > > > > > > P.D.: Here you have the complete stack trace in case anyone wants to > > > have a look! > > > > > > wicket.WicketRuntimeException: Unable to resolve shared resource > > > [ResourceReference name = cookies.js, scope = class > > > wicket.markup.html.WebPage, locale = null, style = null] > > > at wicket.ResourceReference.bind(ResourceReference.java:127) > > > at > wicket.ResourceReference.getSharedResourceKey > (ResourceReference.java:160) > > > at wicket.RequestCycle.urlFor(RequestCycle.java:715) > > > at wicket.RequestCycle.urlFor(RequestCycle.java:699) > > > at wicket.Component.urlFor(Component.java :2203) > > > at > wicket.markup.html.WebPage$PageMapChecker.renderHead(WebPage.java:461) > > > at wicket.Component.renderHead(Component.java:1751) > > > at > wicket.markup.html.internal.HtmlHeaderContainer.renderHeaderSections > (HtmlHeaderContainer.java:231) > > > at > wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:141) > > > at > wicket.Component.renderComponent(Component.java:1674) > > > at wicket.MarkupContainer.onRender(MarkupContainer.java:925) > > > at wicket.Component.render(Component.java:1511) > > > at wicket.Component.render(Component.java:1477) > > > at wicket.MarkupContainer.autoAdd(MarkupContainer.java:196) > > > at > wicket.markup.resolver.HtmlHeaderResolver.resolve(HtmlHeaderResolver.java:82) > > > at > wicket.MarkupContainer.renderNext(MarkupContainer.java > :1359) > > > at > wicket.MarkupContainer.renderAll(MarkupContainer.java:942) > > > at wicket.Page.onRender(Page.java:867) > > > at wicket.Component.render(Component.java:1511) > > > at wicket.Page.renderPage(Page.java:411) > > > at > wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:149) > > > ... 22 more > > > > > > > > > _______________________________________________ > > > Wicket-user mailing list > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
