.addUIFormInput(new UIFormCheckBoxInput("showMaxWindow", "showMaxWindow", false));
addUIFormInput(uiSettingSet);
setSelectedTab(uiSettingSet.getId());
WebuiRequestContext context = WebuiRequestContext.getCurrentInstance();
Param param = initParams.getParam("PageTemplate");
List<SelectItemCategory> itemCategories = (List<SelectItemCategory>)param.getMapGroovyObject(context);
UIFormInputItemSelector uiTemplate = new UIFormInputItemSelector("Template", "template");
uiTemplate.setItemCategories(itemCategories);
addUIFormInput(uiTemplate);