You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by Dan Haywood <dk...@gmail.com> on 2011/04/16 19:09:06 UTC
Re: Missing resources in wicket ui
Yeah, those are non-fatal warnings.
As you might have figured out, the Wicket viewer is a collection of
Wicket components, consisting of a Java class and corresponding HTML
file. I've extended this (see PanelAbstract#renderHead(...)) so that
every component will also try to load a .css file with the same name. A
good example is ActionParametersFormPanel.... you'll see a .java, a
.html and a .css file all together.
In the case of CssMenuItemPanel, there is a .java file and a .html file,
but I haven't needed to create a .css file. You could add an empty one
(alongside the .html file) and the errors ought to go away.
Cheers
Dan
On 14/04/2011 19:08, Kevin Meyer - KMZ wrote:
> Hi Dan,
>
> I'm running the wicket viewer, and I'm getting lots of warnings about a
> missing resource:
>
> org/apache/isis/viewer/wicket/ui/components/widgets/cssmenu/CssMenuItemPanel.css
>
> and a few others (e.g.):
> org/apache/isis/viewer/wicket/ui/components/entity/blocks/propcoll/PropCollForm.css
>
>
> Otherwise, the Wicket viewer seems to be behaving itself nicely -
> contributed actions are picking up the current object for passing in as
> parameter, etc.
>
> Kevin
>
>