    public void init() {
        logger = LoggerFactory.getLogger(getClass());
        logger.debug("initializing bean " + getClass().getName());
        attributes = Attributes.getBehaviorAttributes(ToggleControl.class, getClass());
        attributes.setAttribute("forPanel", "panel1");
        attributes.setAttribute("targetItem", "item1");
        attributes.remove("disableDefault");
        attributes.remove("event"); 
    }

    public void init() {
        logger = LoggerFactory.getLogger(getClass());
        logger.debug("initializing bean " + getClass().getName());
        attributes = Attributes.getBehaviorAttributes(ToggleControl.class, getClass());
        attributes.setAttribute("targetPanel", "panel1");
        attributes.setAttribute("targetItem", "item1");
        attributes.remove("disableDefault");
        attributes.remove("event"); 
    }
