Package javax.faces.component

Examples of javax.faces.component.UIViewRoot.processUpdates()


            }
        });
       
        try
        {
            root.processUpdates(facesContext);
        }
        catch (Throwable e)
        {
            // JSF 2.0: publish the executor's exception (if any).
            publishException (e, PhaseId.UPDATE_MODEL_VALUES, facesContext);
View Full Code Here


            }
        });
    
        try
        {
            root.processUpdates(facesContext);
        }
        catch (Throwable e)
        {
            // JSF 2.0: publish the executor's exception (if any).
            publishException (e, PhaseId.UPDATE_MODEL_VALUES, facesContext);
View Full Code Here

            }
        });
       
        try
        {
            root.processUpdates(facesContext);
        }
        catch (Throwable e)
        {
            // JSF 2.0: publish the executor's exception (if any).
            publishException (e, PhaseId.UPDATE_MODEL_VALUES, facesContext);
View Full Code Here

            }
        });
    
        try
        {
            root.processUpdates(facesContext);
        }
        catch (Throwable e)
        {
            // JSF 2.0: publish the executor's exception (if any).
            publishException (e, PhaseId.UPDATE_MODEL_VALUES, facesContext);
View Full Code Here

        }
        // CASE: response complete;
        // check for existence of events before processUpdates
        checkEventQueuesSizes(events, 1, 1, 1, 1);
        facesContext.responseComplete();
        root.processUpdates(facesContext);
        // there should be no events
        checkEventQueuesSizes(events, 0, 0, 0, 0);

        // reset FacesContext
        facesContext.setRenderResponse(false);
View Full Code Here

            PhaseId.ANY_PHASE.equals(phaseId)) {
            assertEquals(expected, TestListener.trace());
        } else {
            assertEquals("", TestListener.trace());
        }
        root.processUpdates(facesContext);
        if (PhaseId.UPDATE_MODEL_VALUES.equals(phaseId) ||
            PhaseId.PROCESS_VALIDATIONS.equals(phaseId) ||
            PhaseId.APPLY_REQUEST_VALUES.equals(phaseId) ||
            PhaseId.ANY_PHASE.equals(phaseId)) {
            assertEquals(expected, TestListener.trace());
View Full Code Here

    * @see org.jboss.portletbridge.lifecycle.LifecyclePhase#executePhase(javax.faces.context.FacesContext)
    */
   public void executePhase(FacesContext context) {
    UIViewRoot viewRoot = context.getViewRoot();
    if (null != viewRoot) {
      viewRoot.processUpdates(context);

    }
  }

   /* (non-Javadoc)
 
View Full Code Here

        }

          UIViewRoot root = facesContext.getViewRoot();
          root.processDecodes(facesContext);
          root.processValidators(facesContext);
          root.processUpdates(facesContext);
          root.processApplication(facesContext);
         
          renderedView = renderView();
          htmlPaint2D = (HtmlImage) renderedView.getHtmlElementById(p2d.getClientId(facesContext));
      assertTrue( width ==(((UIPaint2D)p2d).getWidth()) );
View Full Code Here

        }
        // CASE: response complete;
        // check for existence of events before processUpdates
        checkEventQueuesSizes(events, 1, 1, 1, 1);
        facesContext.responseComplete();
        root.processUpdates(facesContext);
        // there should be no events
        checkEventQueuesSizes(events, 0, 0, 0, 0);

        // reset FacesContext
        facesContext.setRenderResponse(false);
View Full Code Here

            PhaseId.ANY_PHASE.equals(phaseId)) {
            assertEquals(expected, TestListener.trace());
        } else {
            assertEquals("", TestListener.trace());
        }
        root.processUpdates(facesContext);
        if (PhaseId.UPDATE_MODEL_VALUES.equals(phaseId) ||
            PhaseId.PROCESS_VALIDATIONS.equals(phaseId) ||
            PhaseId.APPLY_REQUEST_VALUES.equals(phaseId) ||
            PhaseId.ANY_PHASE.equals(phaseId)) {
            assertEquals(expected, TestListener.trace());
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.