Package pt.ist.fenixWebFramework.renderers.components

Examples of pt.ist.fenixWebFramework.renderers.components.HtmlBlockContainer.addChild()


        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()
                .getRootStudentCurriculumGroupBean(), getBolonhaStudentEnrollmentBean().getExecutionPeriod(), 0);
View Full Code Here


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

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

        generateGroup(container, getBolonhaStudentEnrollmentBean().getStudentCurricularPlan(), getBolonhaStudentEnrollmentBean()
                .getRootStudentCurriculumGroupBean(), getBolonhaStudentEnrollmentBean().getExecutionPeriod(), 0);

        return container;
View Full Code Here

                PresentationContext newContext = getContext().createSubContext(getContext().getMetaObject());
                newContext.setProperties(new Properties());
                newContext.setRenderMode(RenderMode.OUTPUT);

                container.addChild(getScript());
                container.addChild(input);
                container.addChild(new HtmlText("<br/>", false));
                HtmlText text =
                        new HtmlText(RenderUtils.getResourceString("RENDERER_RESOURCES",
                                "renderers.label.tags.are.space.separated"));
View Full Code Here

                PresentationContext newContext = getContext().createSubContext(getContext().getMetaObject());
                newContext.setProperties(new Properties());
                newContext.setRenderMode(RenderMode.OUTPUT);

                container.addChild(getScript());
                container.addChild(input);
                container.addChild(new HtmlText("<br/>", false));
                HtmlText text =
                        new HtmlText(RenderUtils.getResourceString("RENDERER_RESOURCES",
                                "renderers.label.tags.are.space.separated"));
                text.setClasses(getTextClasses());
View Full Code Here

                newContext.setProperties(new Properties());
                newContext.setRenderMode(RenderMode.OUTPUT);

                container.addChild(getScript());
                container.addChild(input);
                container.addChild(new HtmlText("<br/>", false));
                HtmlText text =
                        new HtmlText(RenderUtils.getResourceString("RENDERER_RESOURCES",
                                "renderers.label.tags.are.space.separated"));
                text.setClasses(getTextClasses());
                container.addChild(text);
View Full Code Here

                container.addChild(new HtmlText("<br/>", false));
                HtmlText text =
                        new HtmlText(RenderUtils.getResourceString("RENDERER_RESOURCES",
                                "renderers.label.tags.are.space.separated"));
                text.setClasses(getTextClasses());
                container.addChild(text);
                container.addChild(RenderKit.getInstance().renderUsing(tagCloud, newContext, tagList, tagList.getClass()));

                return container;

            }
View Full Code Here

                HtmlText text =
                        new HtmlText(RenderUtils.getResourceString("RENDERER_RESOURCES",
                                "renderers.label.tags.are.space.separated"));
                text.setClasses(getTextClasses());
                container.addChild(text);
                container.addChild(RenderKit.getInstance().renderUsing(tagCloud, newContext, tagList, tagList.getClass()));

                return container;

            }
View Full Code Here

            }
        }
        hiddenValue.setOnChange("this.form." + prefix + HIDDEN_NAME + ".value='true';this.form.submit();");
        hiddenValue.setController(new PostBackController(hidden, getDestination()));

        container.addChild(hidden);

        return container;
    }

    private static class PostBackController extends HtmlController {
View Full Code Here

        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);

        generateGroup(container, getBolonhaStudentEnrollmentBean().getStudentCurricularPlan(), getBolonhaStudentEnrollmentBean()
                .getRootStudentCurriculumGroupBean(), getBolonhaStudentEnrollmentBean().getExecutionPeriod(), 0);
View Full Code Here

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

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

        generateGroup(container, getBolonhaStudentEnrollmentBean().getStudentCurricularPlan(), getBolonhaStudentEnrollmentBean()
                .getRootStudentCurriculumGroupBean(), getBolonhaStudentEnrollmentBean().getExecutionPeriod(), 0);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.