Package pt.ist.fenixWebFramework.renderers.components

Examples of pt.ist.fenixWebFramework.renderers.components.HtmlMultipleHiddenField


            return new HtmlText();
        }

        final HtmlBlockContainer container = new HtmlBlockContainer();

        HtmlMultipleHiddenField hiddenEnrollments = new HtmlMultipleHiddenField();
        hiddenEnrollments.bind(getRenderer().getInputContext().getMetaObject(), "curriculumModulesToRemove");
        hiddenEnrollments.setConverter(new DomainObjectKeyArrayConverter());
        hiddenEnrollments.setController(enrollmentsController);

        HtmlMultipleHiddenField hiddenDegreeModulesToEvaluate = new HtmlMultipleHiddenField();
        hiddenDegreeModulesToEvaluate.bind(getRenderer().getInputContext().getMetaObject(), "degreeModulesToEvaluate");
        hiddenDegreeModulesToEvaluate.setConverter(getBolonhaStudentEnrollmentBean().getDegreeModulesToEvaluateConverter());
        hiddenDegreeModulesToEvaluate.setController(getDegreeModulesToEvaluateController());

        container.addChild(hiddenEnrollments);
        container.addChild(hiddenDegreeModulesToEvaluate);

        generateGroup(container, getBolonhaStudentEnrollmentBean().getStudentCurricularPlan(), getBolonhaStudentEnrollmentBean()
View Full Code Here


            return new HtmlText();
        }

        final HtmlBlockContainer container = new HtmlBlockContainer();

        HtmlMultipleHiddenField hiddenEnrollments = new HtmlMultipleHiddenField();
        hiddenEnrollments.bind(getRenderer().getInputContext().getMetaObject(), "curriculumModulesToRemove");
        hiddenEnrollments.setConverter(new DomainObjectKeyArrayConverter());
        hiddenEnrollments.setController(getEnrollmentsController());

        HtmlMultipleHiddenField hiddenDegreeModulesToEvaluate = new HtmlMultipleHiddenField();
        hiddenDegreeModulesToEvaluate.bind(getRenderer().getInputContext().getMetaObject(), "degreeModulesToEvaluate");
        hiddenDegreeModulesToEvaluate.setConverter(getBolonhaStudentEnrollmentBean().getDegreeModulesToEvaluateConverter());
        hiddenDegreeModulesToEvaluate.setController(getDegreeModulesToEvaluateController());

        HtmlMultipleHiddenField hiddenExtraCurricularEnrollments = new HtmlMultipleHiddenField();
        hiddenExtraCurricularEnrollments.bind(getRenderer().getInputContext().getMetaObject(), "extraCurricularEnrolments");
        hiddenExtraCurricularEnrollments.setConverter(new ErasmusExtraCurricularEnrolmentConverter());
        hiddenExtraCurricularEnrollments.setController(controller);

        container.addChild(hiddenEnrollments);
        container.addChild(hiddenDegreeModulesToEvaluate);
        container.addChild(hiddenExtraCurricularEnrollments);
View Full Code Here

                radioButtonGroup.setConverter(new DomainObjectKeyConverter());
                container.addChild(radioButtonGroup);
                generateCourseGroupCycles(container, dismissalBean.getStudentCurricularPlan(), dismissalBean.getExecutionPeriod());

            } else if (dismissalTypeValue == DismissalType.CURRICULAR_COURSE_CREDITS) {
                final HtmlMultipleHiddenField hiddenCurricularCourses = new HtmlMultipleHiddenField();

                // slot refered by name
                hiddenCurricularCourses.bind(getInputContext().getMetaObject(), "dismissals");

                hiddenCurricularCourses.setConverter(new SelectedCurricularCoursesKeyConverter());
                hiddenCurricularCourses.setController(curricularCoursesController);
                container.addChild(hiddenCurricularCourses);

                final HtmlMultipleHiddenField hiddenOptionalCurricularCourses = new HtmlMultipleHiddenField();

                // slot refered by name
                hiddenOptionalCurricularCourses.bind(getInputContext().getMetaObject(), "optionalDismissals");

                hiddenOptionalCurricularCourses.setConverter(new SelectedOptionalCurricularCoursesKeyConverter());
                hiddenOptionalCurricularCourses.setController(optionalCurricularCoursesController);
                container.addChild(hiddenOptionalCurricularCourses);

                generateCurricularCourses(container, dismissalBean.getStudentCurricularPlan(), dismissalBean.getExecutionPeriod());
            } else {
                radioButtonGroup = new HtmlRadioButtonGroup();
View Full Code Here

            if (studentEnrolmentBean == null) {
                return new HtmlText();
            }

            HtmlMultipleHiddenField hiddenEnrollments = new HtmlMultipleHiddenField();
            hiddenEnrollments.bind(getInputContext().getMetaObject(), "curriculumModules"); // slot
            // refered
            // by
            // name
            hiddenEnrollments.setConverter(new DomainObjectKeyArrayConverter());
            hiddenEnrollments.setController(enrollmentsController);

            HtmlMultipleHiddenField hiddenDegreeModulesToEnrol = new HtmlMultipleHiddenField();
            hiddenDegreeModulesToEnrol.bind(getInputContext().getMetaObject(), "degreeModulesToEnrol"); // slot
            // refered
            // by
            // name
            hiddenDegreeModulesToEnrol.setConverter(new DegreeModuleToEnrolKeyConverter());
            hiddenDegreeModulesToEnrol.setController(degreeModulesToEnrolController);

            container.addChild(hiddenEnrollments);
            container.addChild(hiddenDegreeModulesToEnrol);

            generateModules(container, studentEnrolmentBean.getStudentCurricularPlan(),
View Full Code Here

TOP

Related Classes of pt.ist.fenixWebFramework.renderers.components.HtmlMultipleHiddenField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.