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>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user