/** * Initialize the component. */ private void init() { setVersioned(false); // we need id when we are replacing the whole tree setOutputMarkupId(true); // create container for tree items itemContainer = new TreeItemContainer("i"); add(itemContainer); checkModel(); }