Package com.sun.facelets.tag

Examples of com.sun.facelets.tag.MetaRuleset.alias()


               facesContext.getExternalContext().log("showEvent attribute has been already set for component with id: " +
                       idAttribute != null ? idAttribute.getValue() : null +
                       "[" + eventAttribute.getValue() + "]. event attribute is deprecated and thus has been dropped!");
               ruleset.ignore("event");
           } else {
               ruleset.alias("event", "showEvent");
           }
       }
              return ruleset;
   }
}
View Full Code Here


        if (!UILibrary.Namespace.equals(this.tag.getNamespace())) {
            meta.add(new TagMetaData(type));
        }
       
        meta.alias("class", "styleClass");

        return meta;
    }

    private class TagMetaData extends Metadata {
View Full Code Here

        if (!UILibrary.Namespace.equals(this.tag.getNamespace())) {
            meta.add(new TagMetaData(type));
        }
       
        meta.alias("class", "styleClass");

        return meta;
    }

    private class TagMetaData extends Metadata {
View Full Code Here

      FacesContext.getCurrentInstance().getExternalContext().log(builder.toString());
  }

  MetaRuleset ruleset = super.createMetaRuleset(clazz);
  ruleset.alias("submitOnSlide", "onSlideSubmit");

  ruleset.addRule(new MetaRule() {

      public Metadata applyRule(String name, final TagAttribute attribute, MetadataTarget metadataTarget) {
    if (SLIDER_LISTENER.equals(name)) {
View Full Code Here

                        .log("showEvent attribute has been already set for component with id: "
                             + idAttribute != null ? idAttribute.getValue() : null
                             + "[" + eventAttribute.getValue() + "]. event attribute is deprecated and thus has been dropped!");
                ruleset.ignore("event");
            } else {
                ruleset.alias("event", "showEvent");
            }
        }
        return ruleset;
    }
}
View Full Code Here

               facesContext.getExternalContext().log("showEvent attribute has been already set for component with id: " +
                       idAttribute != null ? idAttribute.getValue() : null +
                       "[" + eventAttribute.getValue() + "]. event attribute is deprecated and thus has been dropped!");
               ruleset.ignore("event");
           } else {
               ruleset.alias("event", "showEvent");
           }
       }
              return ruleset;
   }
}
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.