@SuppressWarnings("unchecked")
  public void render(Comboitem item, Object bean, int index) throws Exception {
    final List<Component> kids = cast((List) item.getAttribute(KIDS));
    ((List<Component>) item.getChildren()).addAll(kids);
    // item.removeAttribute(KIDS);

    // remove template mark of cloned component and its descendants
    _binder.setupTemplateComponent(item, null);

    // setup clone id
    BindingRendererUtil.setupCloneIds(item);

    // bind bean to the associated listitem and its descendants
    final String varname = (String) _template.getAttribute(DataBinder.VARNAME);
    final Map<Object, Object> templatemap = cast((Map) item.getAttribute(DataBinder.TEMPLATEMAP));
    templatemap.put(varname, bean);

    // apply the data binding
    _binder.loadComponent(item);

    // feature# 3026221: Databinder shall fire onCreate when cloning each items
    DataBinder.postOnCreateEvents(item); // since 5.0.4
  }