protected void onComponentCreated(FaceletContext faceletContext, UIComponent menuCommand, UIComponent parent) {
Application application = faceletContext.getFacesContext().getApplication();
UIViewRoot root = ComponentSupport.getViewRoot(faceletContext, parent);
UIComponent component = application.createComponent(getSubComponentType());
component.setId(root.createUniqueId());
component.setRendererType(null);
setAttributes(faceletContext, component);
menuCommand.getFacets().put(TobagoConstants.FACET_ITEMS, component);
}