Package org.apache.myfaces.trinidad.context

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


  {
    // 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

  {
    // 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();
   
    // Check if INLINE validation mode is enabled
    boolean inlineValidation =
View Full Code Here

    // the ReturnEvent - we just use its value
    ReturnEvent returnEvent =
      afContext.getDialogService().getReturnEvent(component);
    if (returnEvent != null)
    {
      afContext.addPartialTarget(component);
      queueReturnEvent(context, component, returnEvent);
    }
    else
    {
      Map<String, String> parameterMap =
View Full Code Here

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

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

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

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

    return null;
  }
View Full Code Here

   
    // 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

  {
    // 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

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