Package pt.ist.fenixWebFramework.renderers.components.state

Examples of pt.ist.fenixWebFramework.renderers.components.state.IViewState


        }

        messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(domainException.getKey(), domainException.getArgs()));
        saveMessages(request, messages);

        IViewState viewState = RenderUtils.getViewState();

        if (viewState != null) {
            ViewDestination destination = viewState.getDestination("exception");

            if (destination != null) {
                return forwardForDestination(destination);
            }
        }
View Full Code Here


        return bundleMappings;
    }

    protected Object getObjectFromViewState(final String viewStateId) {
        IViewState viewState = RenderUtils.getViewState(viewStateId);
        return viewState == null ? null : viewState.getMetaObject().getObject();
    }
View Full Code Here

    @EntryPoint
    public ActionForward searchAlumni(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) throws Exception {

        AlumniSearchBean searchBean;
        final IViewState viewState = RenderUtils.getViewState("searchAlumniBean");
        if (viewState != null) {
            searchBean = (AlumniSearchBean) viewState.getMetaObject().getObject();
        } else {
            searchBean = new AlumniSearchBean();
        }

        List<Registration> registrations = Alumni.readRegistrations(searchBean);
View Full Code Here

    public ActionForward juryReportFeedbackUpload(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) {
        try {

            final IViewState viewState = RenderUtils.getViewState("thesisProcessBean.edit.documents");
            if (!viewState.isValid()) {
                return juryReportFeedbackUploadInvalid(mapping, actionForm, request, response);
            }
            ExecuteProcessActivity.run(getProcess(request), JuryReporterFeedbackUpload.class, getThesisProcessBean());
            addSuccessMessage(request, "message.thesis.jury.report.feedback.uploaded.with.success");
View Full Code Here

    public ActionForward submitJuryElementsDocument(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request,
            HttpServletResponse response) {
        try {

            final IViewState viewState = RenderUtils.getViewState("thesisProcessBean.edit.documents");
            if (!viewState.isValid()) {
                return submitJuryElementsDocumentInvalid(mapping, actionForm, request, response);
            }
            ExecuteProcessActivity.run(getProcess(request), SubmitJuryElementsDocuments.class, getThesisProcessBean());
            addSuccessMessage(request, "message.thesis.jury.elements.added.with.success");
View Full Code Here

TOP

Related Classes of pt.ist.fenixWebFramework.renderers.components.state.IViewState

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.