public NodePicker(String id, IModel<BrixNode> model, JcrTreeNode rootNode, NodeFilter visibilityFilter, NodeFilter enabledFilter) {
super(id, model);
this.rootNode = rootNode;
add(grid = new NodePickerTreeGridPanel("grid", visibilityFilter, enabledFilter) {
@Override
protected JcrTreeNode getRootNode() {
return NodePicker.this.rootNode;
}