uiGrid.configure("expression", new String[]{"groupId", "membership"}, new String[]{"Delete"});
UIFormPageIterator uiIterator = (UIFormPageIterator)uiGrid.getUIPageIterator();
uiIterator.setPageList(new SerializablePageList<Permission>(Permission.class, Collections.<Permission>emptyList(), 10));
addChild(uiIterator);
uiIterator.setRendered(false);
UIFormPopupWindow uiPopup = addChild(UIFormPopupWindow.class, null, null);
uiPopup.setWindowSize(540, 0);
UIGroupMembershipSelector uiMembershipSelector = createUIComponent(UIGroupMembershipSelector.class, null, null);
uiMembershipSelector.setId("ListPermissionSelector");
uiMembershipSelector.getChild(UITree.class).setId("TreeListPermissionSelector");
uiMembershipSelector.getChild(UIBreadcumbs.class).setId("BreadcumbsListPermissionSelector");
uiPopup.setUIComponent(uiMembershipSelector);
}