Examples of applyComponentChangesForCurrentView()


Examples of org.apache.myfaces.trinidad.change.ChangeManager.applyComponentChangesForCurrentView()

        ExternalContext ec = FacesContext.getCurrentInstance().getExternalContext();
        // Used by SessionChangeManager to confirm that the state was not restored.
        ec.getRequestMap().put(DOCUMENT_CREATED_KEY, Boolean.TRUE);
      }
      ChangeManager cm = RequestContext.getCurrentInstance().getChangeManager();
      cm.applyComponentChangesForCurrentView(FacesContext.getCurrentInstance());
    }
    return super.doEndTag();
  }

View Full Code Here

Examples of org.apache.myfaces.trinidad.change.ChangeManager.applyComponentChangesForCurrentView()

    // Apply changes once we have a stable UIComponent subtree is completely
    //  created. End of document tag is a best bet.
    if (component instanceof UIXDocument)
    {
      ChangeManager cm = RequestContext.getCurrentInstance().getChangeManager();
      cm.applyComponentChangesForCurrentView(FacesContext.getCurrentInstance());
    }
    return super.doEndTag();
  }

View Full Code Here

Examples of org.apache.myfaces.trinidad.change.ChangeManager.applyComponentChangesForCurrentView()

    // Apply changes once we have a stable UIComponent subtree is completely
    //  created. End of document tag is a best bet.
    if (component instanceof UIXDocument)
    {
      ChangeManager cm = RequestContext.getCurrentInstance().getChangeManager();
      cm.applyComponentChangesForCurrentView(FacesContext.getCurrentInstance());
    }
    return super.doEndTag();
  }

View Full Code Here

Examples of org.apache.myfaces.trinidad.change.ChangeManager.applyComponentChangesForCurrentView()

    {
      _wrapped.buildView(facesContext, uiViewRoot);
      if(PhaseId.RENDER_RESPONSE.equals(FacesContext.getCurrentInstance().getCurrentPhaseId()))
      {         
        ChangeManager cm = RequestContext.getCurrentInstance().getChangeManager();
        cm.applyComponentChangesForCurrentView(FacesContext.getCurrentInstance());
      }
    }

    @Override
    public void renderView(FacesContext facesContext, UIViewRoot uiViewRoot)
View Full Code Here

Examples of org.apache.myfaces.trinidad.change.ChangeManager.applyComponentChangesForCurrentView()

        ExternalContext ec = FacesContext.getCurrentInstance().getExternalContext();
        // Used by SessionChangeManager to confirm that the state was not restored.
        ec.getRequestMap().put(DOCUMENT_CREATED_KEY, Boolean.TRUE);
      }
      ChangeManager cm = RequestContext.getCurrentInstance().getChangeManager();
      cm.applyComponentChangesForCurrentView(FacesContext.getCurrentInstance());
    }
    return super.doEndTag();
  }

View Full Code Here

Examples of org.apache.myfaces.trinidad.change.ChangeManager.applyComponentChangesForCurrentView()

    super.buildView(context, viewToRender);
   
    // Apply changes once we have a stable view tree built. This is the earliest
    // opportunity, the document was just attached to the view root.
    ChangeManager cm = RequestContext.getCurrentInstance().getChangeManager();
    cm.applyComponentChangesForCurrentView(FacesContext.getCurrentInstance());
  }
 
 
  /**
   * Overridden to check wthether the physical viewId (as determined by PageResolver)
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.