public void onBeforeRender() { super.onBeforeRender(); // make sure that the icon for the RequiredBorder is registered SharedResources sr = getApplication().getSharedResources(); if (null == sr.get(Application.class, RequiredBorder.ICON_NAME, null, null, false)) { Resource icon = new BrixFileNodeResource( IconFactory.createStarSmallIconReference().getName(), (BricketApplication) getApplication()); sr.add(RequiredBorder.ICON_NAME, icon); } visitChildren(shinyVisitor); }