Package javax.faces.view.facelets

Examples of javax.faces.view.facelets.MetaRuleset


            wrappedHandlerDelegate.apply(ctx, parent);
        }
    }

    public MetaRuleset createMetaRuleset(Class type) {
        MetaRuleset metaRuleset = wrappedHandlerDelegate.createMetaRuleset(type);
        for (MetaRule metaRule : metaRules) {
            metaRuleset.addRule(metaRule);
        }
        return metaRuleset;
    }
View Full Code Here


    public AjaxPollHandler(ComponentConfig config) {
        super(config);
    }

    protected MetaRuleset createMetaRuleset(Class type) {
        MetaRuleset m = super.createMetaRuleset(type);
        m.addRule(META_RULE);
        return m;
    }
View Full Code Here

    super(config);
  }
 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
   
    metaRuleset.addRule(new MethodRule("closeListener", null, new Class[]{CloseEvent.class}));
    metaRuleset.addRule(new MethodRule("toggleListener", null, new Class[]{ToggleEvent.class}));
   
    return metaRuleset; 
  }
View Full Code Here

    super(config);
  }
 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] dateSelectEventClass = new Class[]{DateSelectEvent.class};
   
    metaRuleset.addRule(new MethodRule("selectListener", null, dateSelectEventClass));
   
    return metaRuleset;
  }
View Full Code Here

    super(config);
  }
 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] selectEventClasses = new Class[]{NodeSelectEvent.class};
    Class[] expandEventClasses = new Class[]{NodeExpandEvent.class};
    Class[] collapseEventClasses = new Class[]{NodeCollapseEvent.class};
   
    metaRuleset.addRule(new MethodRule("nodeSelectListener", List.class, selectEventClasses));
    metaRuleset.addRule(new MethodRule("nodeExpandListener", List.class, expandEventClasses));
    metaRuleset.addRule(new MethodRule("nodeCollapseListener", List.class, collapseEventClasses));
   
    return metaRuleset;
  }
View Full Code Here

    super(config);
  }
 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] eventClasses = new Class[]{CloseEvent.class};
   
    metaRuleset.addRule(new MethodRule("closeListener", null, eventClasses));
   
    return metaRuleset; 
  }
View Full Code Here

    super(config);
  }
 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] fileUploadEventClass = new Class[]{FileUploadEvent.class};
   
    metaRuleset.addRule(new MethodRule("fileUploadListener", List.class, fileUploadEventClass));
   
    return metaRuleset;
  }
View Full Code Here

    super(config);
  }
 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
    Class[] paramList = new Class[]{String.class, String[].class};
   
    MetaRule metaRule = new MethodRule("commandHandler", String.class, paramList);
    metaRuleset.addRule(metaRule);
   
    return metaRuleset;
  }
View Full Code Here

    super(config);
  }
 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
   
    metaRuleset.addRule(new MethodRule("toggleListener", null, new Class[]{ToggleEvent.class}));
    metaRuleset.addRule(new MethodRule("closeListener", null, new Class[]{CloseEvent.class}));
    metaRuleset.addRule(new MethodRule("resizeListener", null, new Class[]{ResizeEvent.class}));
   
    return metaRuleset; 
  }
View Full Code Here

    super(config);
  }
 
  @SuppressWarnings("unchecked")
  protected MetaRuleset createMetaRuleset(Class type) {
    MetaRuleset metaRuleset = super.createMetaRuleset(type);
   
    metaRuleset.addRule(new MethodRule("overlaySelectListener", null, new Class[]{OverlaySelectEvent.class}));
    metaRuleset.addRule(new MethodRule("stateChangeListener", null, new Class[]{StateChangeEvent.class}));
    metaRuleset.addRule(new MethodRule("pointSelectListener", null, new Class[]{PointSelectEvent.class}));
    metaRuleset.addRule(new MethodRule("markerDragListener", null, new Class[]{MarkerDragEvent.class}));
   
    return metaRuleset;
  }
View Full Code Here

TOP

Related Classes of javax.faces.view.facelets.MetaRuleset

Copyright © 2018 www.massapicom. 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.