... UISelectItems selectItemsComponent = new UISelectItems(); selectItemsComponent.setValue(selectItems); nextQuestionDropDown.getChildren().add(selectItemsComponent); ...
public UISelectItems getExecutionSemesterItems() { if (executionSemesterItems == null) { executionSemesterItems = new UISelectItems(); executionSemesterItems.setValue(readExecutionSemesterLabels()); } return executionSemesterItems; }
public UISelectItems getCompetenceCourseExecutionSemesters() { if (competenceCourseExecutionSemesters == null) { competenceCourseExecutionSemesters = new UISelectItems(); competenceCourseExecutionSemesters.setValue(readCompetenceCourseExecutionSemesterLabels()); } return competenceCourseExecutionSemesters; }
public UISelectItems getCurricularRuleItems() throws FenixServiceException { if (curricularRuleItems == null) { curricularRuleItems = new UISelectItems(); curricularRuleItems.setValue(readCurricularRulesLabels()); } return curricularRuleItems; }
public UISelectItems getFutureExecutionSemesterItems() { if (futureExecutionSemesterItems == null) { futureExecutionSemesterItems = new UISelectItems(); futureExecutionSemesterItems.setValue(readFutureExecutionSemesterLabels()); } return futureExecutionSemesterItems; }
public UISelectItems getDepartmentUnitItems() { if (departmentUnitItems == null) { departmentUnitItems = new UISelectItems(); departmentUnitItems.setValue(readDepartmentUnitLabels()); } return departmentUnitItems; }
public UISelectItems getBeginExecutionPeriodItemsForCompositeRule() throws FenixServiceException { if (beginExecutionPeriodItemsForCompositeRule == null) { beginExecutionPeriodItemsForCompositeRule = new UISelectItems(); beginExecutionPeriodItemsForCompositeRule.setValue(readExecutionPeriodItems()); } return beginExecutionPeriodItemsForCompositeRule; }
public UISelectItems getCurricularRuleTypeItems() { if (curricularRuleTypeItems == null) { curricularRuleTypeItems = new UISelectItems(); curricularRuleTypeItems.setValue(getRuleTypes()); } return curricularRuleTypeItems; }
public UISelectItems getBeginExecutionPeriodItemsForRule() { if (beginExecutionPeriodItemsForRule == null) { beginExecutionPeriodItemsForRule = new UISelectItems(); beginExecutionPeriodItemsForRule.setValue(readExecutionPeriodItems()); } return beginExecutionPeriodItemsForRule; }
public UISelectItems getEndExecutionPeriodItemsForRule() { if (endExecutionPeriodItemsForRule == null) { endExecutionPeriodItemsForRule = new UISelectItems(); final List<SelectItem> values = new ArrayList<SelectItem>(readExecutionPeriodItems()); values.add(0, new SelectItem(NO_SELECTION_STRING, BundleUtil.getString(Bundle.BOLONHA, "opened"))); endExecutionPeriodItemsForRule.setValue(values); } return endExecutionPeriodItemsForRule; }
public UISelectItems getEndExecutionPeriodItemsForCompositeRule() throws FenixServiceException { if (endExecutionPeriodItemsForCompositeRule == null) { endExecutionPeriodItemsForCompositeRule = new UISelectItems(); final List<SelectItem> values = new ArrayList<SelectItem>(readExecutionPeriodItems()); values.add(0, new SelectItem(NO_SELECTION_STRING, BundleUtil.getString(Bundle.BOLONHA, "opened"))); endExecutionPeriodItemsForCompositeRule.setValue(values); } return endExecutionPeriodItemsForCompositeRule; }
public UISelectItems getDegreeTypeItems() { if (degreeTypeItems == null) { degreeTypeItems = new UISelectItems(); final List<SelectItem> value = new ArrayList<SelectItem>(); value.add(new SelectItem(NO_SELECTION_STRING, getSchoolAcronym())); for (Iterator<DegreeType> iterator = DegreeType.all().sorted().iterator(); iterator.hasNext();) { final DegreeType degreeType = iterator.next(); value.add(new SelectItem(degreeType.getExternalId(), degreeType.getName().getContent())); } degreeTypeItems.setValue(value); } return degreeTypeItems; }
public UISelectItems getDepartmentUnitItems() { if (departmentUnitItems == null) { departmentUnitItems = new UISelectItems(); departmentUnitItems.setValue(readDepartmentUnits(getSelectedCurricularRuleType())); } return departmentUnitItems; }
public UISelectItems getScientificAreaUnitItems() { if (scientificAreaUnitItems == null) { scientificAreaUnitItems = new UISelectItems(); scientificAreaUnitItems.setValue(readScientificAreaUnitLabels(getTransferToDepartmentUnitID())); } return scientificAreaUnitItems; }
public UISelectItems getCompetenceCourseGroupUnitItems() { if (competenceCourseGroupUnitItems == null) { competenceCourseGroupUnitItems = new UISelectItems(); competenceCourseGroupUnitItems.setValue(readCompetenceCourseGroupUnitLabels(getTransferToScientificAreaUnitID())); } return competenceCourseGroupUnitItems; }
public UISelectItems getDegreeModuleItems() { if (degreeModuleItems == null) { degreeModuleItems = new UISelectItems(); degreeModuleItems.setValue(readDegreeModules(getSelectedCurricularRuleType())); } return degreeModuleItems; }
public UISelectItems getCourseGroupItems() { if (courseGroupItems == null) { courseGroupItems = new UISelectItems(); courseGroupItems.setValue(readParentCourseGroups(getSelectedCurricularRuleType())); } return courseGroupItems; }
protected void validateValue(FacesContext context, Object value) { UISelectItems selectItems = new UISelectItems(); selectItems.setTransient(true); selectItems.setValue(getCountriesChoicesAsSelectItemList()); getChildren().add(selectItems); super.validateValue(context,value); } }
protected void validateValue(FacesContext context, Object value) { UISelectItems selectItems = new UISelectItems(); selectItems.setTransient(true); selectItems.setValue(getLanguagesChoicesAsSelectItemList()); getChildren().add(selectItems); super.validateValue(context,value); } }
public UISelectItems getDegreeItems() { if (degreeItems == null) { degreeItems = new UISelectItems(); degreeItems.setValue(readBolonhaDegrees(getSelectedCurricularRuleType(), getSelectedDegreeType())); } return degreeItems; }