userPrefernces.add(new Label("subsiterootLabel", new ResourceModel("subsiteroot")));
userPrefernces.add(new TextField("subsiteroot", new PropertyModel(this, "subSiteRoot")));
userPrefernces.add(new Label("subsiteLabel", new ResourceModel("default.subsite")));
userPrefernces.add(new DropDownChoice("defaultSubSite", new PropertyModel(this, "subite"),getSubSites));
userPrefernces.add(new Label("templateDirLabel", new ResourceModel("templatedir")));
userPrefernces.add(new RequiredTextField("templateDir", new PropertyModel(this, "templateDir")));
userPrefernces.add(new Label("profileLabel", new ResourceModel("default.profile")));
userPrefernces.add(new DropDownChoice("profile", new PropertyModel(this, "profile"), getProfileList));
userPrefernces.add(new Label("roleLabel", new ResourceModel("default.role")));
userPrefernces.add(new DropDownChoice("role", new PropertyModel(this, "role"), getRoleNames));
userPrefernces.add(new Button("addUserPrefernces", new ResourceModel("common.save"))