Examples of addPartialTarget()


Examples of org.apache.myfaces.trinidad.context.RequestContext.addPartialTarget()

   
    // If we toggled rendered, we'd better toggle the parent
    if (rendered != _editedComponent.isRendered())
      rc.addPartialTarget(_editedComponent.getParent());
    else
      rc.addPartialTarget(_editedComponent);

    return null;
  }

  public void setComponent(UIComponent component)
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RequestContext.addPartialTarget()

    {
      getInput().setSubmittedValue(null);
      getInput().setValue(event.getReturnValue());

      RequestContext afContext = RequestContext.getCurrentInstance();
      afContext.addPartialTarget(getInput());
      dialogViewId =  "/demos/successDialog.jspx";
    }
    else
    {
      dialogViewId =  "/demos/cancelledDialog.jspx";
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RequestContext.addPartialTarget()

  {
    if (event.getReturnValue() != null)
    {
      getTableInput().setValue(event.getReturnValue());
      RequestContext afContext = RequestContext.getCurrentInstance();
      afContext.addPartialTarget(getTableInput());
    }
  }


  public UIXCommand getDummyCommand()
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RequestContext.addPartialTarget()

        childFacesBean.setProperty(selectedKey, (child == actionItem));
      }
    }

    RequestContext adfContext = RequestContext.getCurrentInstance();
    adfContext.addPartialTarget(parent);
  }
}
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RequestContext.addPartialTarget()

 
  public String updatePartial()
  {
    _editorBean.update();
    RequestContext afContext = RequestContext.getCurrentInstance();
    afContext.addPartialTarget(_editorBean.getComponent());
    return null;
  }
 
  public String nextChartType()
  {
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RequestContext.addPartialTarget()

  }

  private void _addTarget(UIComponent target)
  {
    RequestContext adfContext = RequestContext.getCurrentInstance();
    adfContext.addPartialTarget(target);
  }

  private PartialDemoStatusBean _status;
  private UIXOutput _listUpdate;
  private Boolean _renderInputFileTemp;
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RequestContext.addPartialTarget()

      child.getAttributes().put("selected",
                                child == actionItem);
    }

    RequestContext adfContext = RequestContext.getCurrentInstance();
    adfContext.addPartialTarget(parent);
  }
}
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RequestContext.addPartialTarget()

  {
    // Force MessageBox to be re-rendered via PPR, since the set
    // of messages may have changed.
    RequestContext afContext = RequestContext.getCurrentInstance();
    if (afContext != null)
      afContext.addPartialTarget(component);

    ResponseWriter writer = context.getResponseWriter();

    Map<String, String> origSkinResourceMap = rc.getSkinResourceKeyMap();
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RequestContext.addPartialTarget()

  {
    // Force MessageBox to be re-rendered via PPR, since the set
    // of messages may have changed.
    RequestContext afContext = RequestContext.getCurrentInstance();
    if (afContext != null)
      afContext.addPartialTarget(component);

    ResponseWriter writer = context.getResponseWriter();

    Map<String, String> origSkinResourceMap = arc.getSkinResourceKeyMap();
View Full Code Here

Examples of org.apache.myfaces.trinidad.context.RequestContext.addPartialTarget()

    // the ReturnEvent - we just use its value
    ReturnEvent returnEvent =
      afContext.getDialogService().getReturnEvent(component);
    if (returnEvent != null)
    {
      afContext.addPartialTarget(component);
      queueReturnEvent(facesContext, component, returnEvent);
    }
    else
    {
      Map<String, String> parameterMap =
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.