Examples of SmoothlyUpdateable


Examples of org.xulfaces.SmoothlyUpdateable

  protected void processSmoothlyUpdateable(FacesContext facesContext,UIComponent component){
    // If parent component is smoothly updateable, it has no sense to add the current child to
    // the bridge for client side update. The parent will be updated and then all its children.
    if(!isParentSmoothlyUpdateable(component)){   
      if (component instanceof SmoothlyUpdateable) {
        SmoothlyUpdateable smoothlyUpdateable = (SmoothlyUpdateable) component;
        if (smoothlyUpdateable.needsUpdate()) {
          Bridge bridge = XulUtils.getBridge();
          Zone zone = new Zone(component.getClientId(facesContext));
          if (log.isDebugEnabled()) {
            log.debug("Add UpdateZoneCommand for DOM zone " + zone.getNodeId());
          }
View Full Code Here

Examples of org.xulfaces.SmoothlyUpdateable

    stringBuffer.append(":tr");
    treeRowComponent.setNodeId(stringBuffer.toString());
    responseWriter.writeAttribute("id",treeRowComponent.getNodeId(), "id");
    if(!isParentSmoothlyUpdateable(component)){
      if (component instanceof SmoothlyUpdateable) {
        SmoothlyUpdateable smoothlyUpdateable = (SmoothlyUpdateable) component;
        if (smoothlyUpdateable.needsUpdate()) {
          Bridge bridge = XulUtils.getBridge();
          Zone zone = new Zone(treeRowComponent.getNodeId());
          bridge.addCommand(new UpdateZoneCommand(zone,buildTargetName(component)));
        }
      }
View Full Code Here

Examples of org.xulfaces.SmoothlyUpdateable

        String nodeId = computeId(facesContext,treeItemComponent);             
        treeItemComponent.setNodeId(nodeId);
                    
        if(!isParentSmoothlyUpdateable(component)){
          if (treeItemComponent instanceof SmoothlyUpdateable) {
          SmoothlyUpdateable smoothlyUpdateable = (SmoothlyUpdateable) treeItemComponent;
          if (smoothlyUpdateable.needsUpdate()) {
            Bridge bridge = XulUtils.getBridge();
            Zone zone = new Zone(nodeId);
            bridge.addCommand(new UpdateZoneCommand(zone,buildTargetName(component)));
          }
        } 
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.