Nili Adoram wrote: > Hi all, > > I have a problem resolving a stylesheet link as follows: > > This is the markup: > <link wicket:id="globalCss" href="../include/global_en.css" > rel="stylesheet" type="text/css"></link>
why is globalCss needed? the servlet gets a request for a url, which is mounted, so it can just request the resource locator of the mount to locate this file > > This is the component: > add(new StyleSheetReference("globalCss",new > PackageResourceReference(Application.get(), > RssSettings.class, "include/global_en.css"))); > > The PackageResourceReference indeed exists but the rendering fails. > > In MarkupContainer.renderNext(), no component resolver is able to > resolve this tag > ( AutoLinkResolver is unable to resolve it since it has a wicket:id > attribute and WicketLinkResolver is unable to resolve it since it is not > defined as <wicket:link>) > so I get the markup exception: 'Unable to find component with id > "globalCss"' > > Please advise, > > Thanks, > Nili > > > > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > -- =================================== Ittay Dror, Chief architect, openQRM TL, R&D, Qlusters Inc. [EMAIL PROTECTED] +972-3-6081994 Fax: +972-3-6081841 http://www.openQRM.org - Keeps your Data-Center Up and Running _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user