Examples of FaceletState


Examples of org.apache.myfaces.view.facelets.tag.jsf.FaceletState

       
        client.submit(submitButton);
       
        processLifecycleExecute();
       
        FaceletState faceletState = (FaceletState) facesContext.getViewRoot().getAttributes().get(
            ComponentSupport.FACELET_STATE_INSTANCE);       
               
        UIViewRoot root = new UIViewRoot();
        root.setLocale(locale);
        root.setRenderKitId("HTML_BASIC");
View Full Code Here

Examples of org.apache.myfaces.view.facelets.tag.jsf.FaceletState

       
        client.submit(submitButton);
       
        processLifecycleExecute();
       
        FaceletState faceletState = (FaceletState) facesContext.getViewRoot().getAttributes().get(
            ComponentSupport.FACELET_STATE_INSTANCE);       
               
        UIViewRoot root = new UIViewRoot();
        root.setLocale(locale);
        root.setRenderKitId("HTML_BASIC");
View Full Code Here

Examples of org.apache.myfaces.view.facelets.tag.jsf.FaceletState

       
        client.submit(submitButton);
       
        processLifecycleExecute();
       
        FaceletState faceletState = (FaceletState) facesContext.getViewRoot().getAttributes().get(
            ComponentSupport.FACELET_STATE_INSTANCE);       
               
        UIViewRoot root = new UIViewRoot();
        root.setLocale(locale);
        root.setRenderKitId("HTML_BASIC");
View Full Code Here

Examples of org.apache.myfaces.view.facelets.tag.jsf.FaceletState

       
        client.submit(submitButton);
       
        processLifecycleExecute();
       
        FaceletState faceletState = (FaceletState) facesContext.getViewRoot().getAttributes().get(
            ComponentSupport.FACELET_STATE_INSTANCE);       
               
        UIViewRoot root = new UIViewRoot();
        root.setLocale(locale);
        root.setRenderKitId("HTML_BASIC");
View Full Code Here

Examples of org.apache.myfaces.view.facelets.tag.jsf.FaceletState

        String uniqueId = actx.generateUniqueFaceletTagId(fcc.generateUniqueId(), tagId);
        if (src != null)
        {
            PageContext pctx = actx.getPageContext();
            // c:forEach is special because it requires FaceletState even if no pss is used.
            FaceletState restoredFaceletState = ComponentSupport.getFaceletState(ctx, parent, false);
            IterationState restoredSavedOption = (restoredFaceletState == null) ? null :
                (IterationState) restoredFaceletState.getState(uniqueId);

            if (restoredSavedOption != null)
            {           
                if (!PhaseId.RESTORE_VIEW.equals(ctx.getFacesContext().getCurrentPhaseId()))
                {
View Full Code Here

Examples of org.apache.myfaces.view.facelets.tag.jsf.FaceletState

    {
        AbstractFaceletContext actx = ((AbstractFaceletContext) ctx);
        PageContext pctx = actx.getPageContext();
        if (ELExpressionCacheMode.alwaysRecompile.equals(actx.getELExpressionCacheMode()))
        {
            FaceletState faceletState = ComponentSupport.getFaceletState(ctx, parent, true);
            faceletState.putBinding(uniqueId, base, ve);

            //Put the indirect EL into context
            ValueExpression fve;
            if (ExternalSpecifications.isUnifiedELAvailable())
            {
View Full Code Here

Examples of org.apache.myfaces.view.facelets.tag.jsf.FaceletState

                removeVarAndVarStatus(pctx, v, vO, vs, vsO);
            }
        }
        if (serializableValues)
        {
            FaceletState faceletState = ComponentSupport.getFaceletState(ctx, parent, true);
            faceletState.putState(uniqueId, iterationState);
        }
    }
View Full Code Here

Examples of org.apache.myfaces.view.facelets.tag.jsf.FaceletState

            finally
            {
                removeVarAndVarStatus(pctx, v, vO, vs, vsO);
            }
        }
        FaceletState faceletState = ComponentSupport.getFaceletState(ctx, parent, true);
        faceletState.putState(uniqueId, iterationState);
    }
View Full Code Here

Examples of org.apache.myfaces.view.facelets.tag.jsf.FaceletState

    public void storeViewStructureMetadata(FacesContext context, UIViewRoot root)
    {
        ViewPool viewPool = getViewPool(context, root);
        if (viewPool != null)
        {
            FaceletState faceletState = (FaceletState) root.getAttributes().get(
                    ComponentSupport.FACELET_STATE_INSTANCE);
            boolean isDynamic = faceletState != null ? faceletState.isDynamic() : false;
            if (!isDynamic)
            {
                viewPool.storeStaticViewStructureMetadata(context, root, faceletState);           
            }
            else
View Full Code Here

Examples of org.apache.myfaces.view.facelets.tag.jsf.FaceletState

   
    public ViewStructureMetadata retrieveViewStructureMetadata(FacesContext context,
            UIViewRoot root)
    {
        ViewPool viewPool = getViewPool(context, root);
        FaceletState faceletState = (FaceletState) root.getAttributes().get(
                ComponentSupport.FACELET_STATE_INSTANCE);
        boolean isDynamic = faceletState != null ? faceletState.isDynamic() : false;
        if (!isDynamic)
        {
            return viewPool.retrieveStaticViewStructureMetadata(context, root);
        }
        else
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.