Package org.apache.myfaces.trinidad.context

Examples of org.apache.myfaces.trinidad.context.ComponentContextManager.peekChange()


    ComponentContextManager compCtxMgr = null;
    if (!_inSuspendOrResume)
    {
      compCtxMgr = RequestContext.getCurrentInstance().getComponentContextManager();
      ComponentContextChange change = compCtxMgr.peekChange();
      if (change instanceof CollectionComponentChange &&
          ((CollectionComponentChange)change)._component == this)
      {
        // Remove the component context change if one was added
        compCtxMgr.popChange();
View Full Code Here


    ComponentContextManager compCtxMgr = null;
    if (!_inSuspendOrResume)
    {
      compCtxMgr = RequestContext.getCurrentInstance().getComponentContextManager();
      ComponentContextChange change = compCtxMgr.peekChange();
      if (change instanceof CollectionComponentChange &&
          ((CollectionComponentChange)change)._component == this)
      {
        // Remove the component context change if one was added
        compCtxMgr.popChange();
View Full Code Here

    try
    {
      ComponentContextManager compCtxMgr =
        RequestContext.getCurrentInstance().getComponentContextManager();
      ComponentContextChange change = compCtxMgr.peekChange();

      if (change instanceof CollectionComponentChange &&
          ((CollectionComponentChange)change)._component == this)
      {
        // Remove the component context change if one was added
View Full Code Here

      return;
    }

    ComponentContextManager compCtxMgr =
      RequestContext.getCurrentInstance().getComponentContextManager();
    ComponentContextChange change = compCtxMgr.peekChange();

    if (!(change instanceof CollectionComponentChange) ||
        ((CollectionComponentChange)change)._component != this)
    {
      _LOG.warning("COLLECTION_NOT_IN_CONTEXT", getId());
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.