replace(0, getViewCount(), newChildren);
replace(0, 0, newChildren);
  protected void loadChildren(ViewFactory f)  {    Element el = getElement();    int count = el.getElementCount();    View[] newChildren = new View[count];    for (int i = 0; i < count; ++i)      {        Element child = el.getElement(i);        View view = f.create(child);        newChildren[i] = view;      }    replace(0, getViewCount(), newChildren);  }