Examples of doPrePhaseActions()


Examples of javax.faces.context.Flash.doPrePhaseActions()

             * of the FacesContext instance for this request is set with the proper PhaseId constant for the current
             * phase as the first instruction at the beginning of each phase
             */
            context.setCurrentPhaseId(currentPhaseId);
           
            flash.doPrePhaseActions(context);
           
            // let the PhaseExecutor do some pre-phase actions
            executor.doPrePhaseActions(context);

            phaseListenerMgr.informPhaseListenersBefore(currentPhaseId);
View Full Code Here

Examples of javax.faces.context.Flash.doPrePhaseActions()

           
            try
            {
                facesContext.setCurrentPhaseId(renderExecutor.getPhase());
               
                flash.doPrePhaseActions(facesContext);
               
                // let the PhaseExecutor do some pre-phase actions
                renderExecutor.doPrePhaseActions(facesContext);
               
                phaseListenerMgr.informPhaseListenersBefore(renderExecutor.getPhase());
View Full Code Here

Examples of javax.faces.context.Flash.doPrePhaseActions()

             * of the FacesContext instance for this request is set with the proper PhaseId constant for the current
             * phase as the first instruction at the beginning of each phase
             */
            context.setCurrentPhaseId(currentPhaseId);
           
            flash.doPrePhaseActions(context);
           
            // let the PhaseExecutor do some pre-phase actions
            executor.doPrePhaseActions(context);

            phaseListenerMgr.informPhaseListenersBefore(currentPhaseId);
View Full Code Here

Examples of javax.faces.context.Flash.doPrePhaseActions()

           
            try
            {
                facesContext.setCurrentPhaseId(renderExecutor.getPhase());
               
                flash.doPrePhaseActions(facesContext);
               
                // let the PhaseExecutor do some pre-phase actions
                renderExecutor.doPrePhaseActions(facesContext);
               
                phaseListenerMgr.informPhaseListenersBefore(renderExecutor.getPhase());
View Full Code Here

Examples of javax.faces.context.Flash.doPrePhaseActions()

           
            try
            {
                facesContext.setCurrentPhaseId(PhaseId.RENDER_RESPONSE);
               
                flash.doPrePhaseActions(facesContext);
               
                // let the PhaseExecutor do some pre-phase actions
               
                //renderExecutor.doPrePhaseActions(facesContext);
                Method doPrePhaseActionsMethod = phaseExecutor.getClass().getMethod("doPrePhaseActions", FacesContext.class);
View Full Code Here

Examples of javax.faces.context.Flash.doPrePhaseActions()

     protected void handleBeforePhase(FacesContext context,
                                      ListIterator<PhaseListener> listenersIterator,
                                      PhaseEvent event) {

         Flash flash = context.getExternalContext().getFlash();
         flash.doPrePhaseActions(context);
         RequestStateManager.clearAttributesForPhase(context,
                                                     context.getCurrentPhaseId());
         while (listenersIterator.hasNext()) {
             PhaseListener listener = listenersIterator.next();
             if (this.getId().equals(listener.getPhaseId()) ||
View Full Code Here

Examples of javax.faces.context.Flash.doPrePhaseActions()

                                      ListIterator<PhaseListener> listenersIterator,
                                      PhaseEvent event) {

         try {
            Flash flash = context.getExternalContext().getFlash();
            flash.doPrePhaseActions(context);
         } catch (UnsupportedOperationException uoe) {
             if (LOGGER.isLoggable(Level.FINE)) {
                 LOGGER.fine("ExternalContext.getFlash() throw UnsupportedOperationException -> Flash unavailable");
             }
         }
View Full Code Here

Examples of javax.faces.context.Flash.doPrePhaseActions()

                                      ListIterator<PhaseListener> listenersIterator,
                                      PhaseEvent event) {

         try {
            Flash flash = context.getExternalContext().getFlash();
            flash.doPrePhaseActions(context);
         } catch (UnsupportedOperationException uoe) {
             if (LOGGER.isLoggable(Level.FINE)) {
                 LOGGER.fine("ExternalContext.getFlash() throw UnsupportedOperationException -> Flash unavailable");
             }
         }
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.