@JSFFaceletTag public class ValidatorBaseTagHandler extends ValidatorHandler { public ValidatorBaseTagHandler(ValidatorConfig config) { super(config); } @Override protected MetaRuleset createMetaRuleset(Class type) { MetaRuleset ruleSet = super.createMetaRuleset(type); //Add rule to handle EL expressions ruleSet.addRule(_ValidatorRule.INSTANCE); return ruleSet; } }
@JSFFaceletTag( name = "mcv:validateDateRestriction", bodyContent = "empty", validatorClass = "org.apache.myfaces.commons.validator.DateRestrictionValidator") public class ValidateDateRestrictionTagHandler extends ValidatorBaseTagHandler { public ValidateDateRestrictionTagHandler(ValidatorConfig config) { super(config); } @Override protected MetaRuleset createMetaRuleset(Class type) { MetaRuleset ruleSet = super.createMetaRuleset(type); ruleSet.addRule(_DateRestrictionRule.INSTANCE); return ruleSet; } }
/** * * @author Leonardo Uribe */ @JSFFaceletTag( name = "jsf:element", componentClass = "org.apache.myfaces.view.facelets.component.JsfElement") public class JsfElementHandler extends javax.faces.view.facelets.ComponentHandler { public JsfElementHandler(ComponentConfig config) { super(config); } protected MetaRuleset createMetaRuleset(Class type) { MetaRuleset rules = super.createMetaRuleset(type); rules.alias("class", "styleClass"); rules.addRule(ElementNameRule.INSTANCE); return rules; } }
/** * Subtag of <choose> that follows <when> tags * and runs only if all of the prior conditions evaluated to * 'false' * * @author Jacob Hookom * @version $Id: ChooseOtherwiseHandler.java,v 1.3 2008/07/13 19:01:44 rlubke Exp $ */ @JSFFaceletTag(name="c:otherwise") public final class ChooseOtherwiseHandler extends TagHandler { public ChooseOtherwiseHandler(TagConfig config) { super(config); } public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, ELException { this.nextHandler.apply(ctx, parent); } }
/** * Subtag of <choose> that follows <when> tags * and runs only if all of the prior conditions evaluated to * 'false' * * @author Jacob Hookom * @version $Id: ChooseOtherwiseHandler.java,v 1.3 2008/07/13 19:01:44 rlubke Exp $ */ @JSFFaceletTag(name="c:otherwise") public final class ChooseOtherwiseHandler extends TagHandler { public ChooseOtherwiseHandler(TagConfig config) { super(config); } public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, ELException { this.nextHandler.apply(ctx, parent); } }
/** * Subtag of <choose> that follows <when> tags * and runs only if all of the prior conditions evaluated to * 'false' * * @author Jacob Hookom * @version $Id$ */ @JSFFaceletTag(name="c:otherwise") public final class ChooseOtherwiseHandler extends TagHandler { public ChooseOtherwiseHandler(TagConfig config) { super(config); } @Override public void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, ELException { this.nextHandler.apply(ctx, parent); } }
@JSFFaceletTag(name="composite:actionSource") public class ActionSourceHandler extends AttachedObjectTargetHandler<ActionSource2AttachedObjectTarget>
@JSFFaceletTag( name = "f:selectItems", bodyContent = "empty",
@JSFFaceletTag(name="composite:valueHolder") public class ValueHolderHandler extends AttachedObjectTargetHandler<ValueHolderAttachedObjectTarget>
@JSFFaceletTag(name="composite:actionSource") public class ActionSourceHandler extends AttachedObjectTargetHandler<ActionSource2AttachedObjectTarget>
@JSFFaceletTag(name="composite:actionSource") public class ActionSourceHandler extends AttachedObjectTargetHandler<ActionSource2AttachedObjectTarget>
@JSFFaceletTag( name = "f:selectItems", bodyContent = "empty",
@JSFFaceletTag(name="composite:editableValueHolder") public class EditableValueHolderHandler extends AttachedObjectTargetHandler<EditableValueHolderAttachedObjectTarget>
@JSFFaceletTag( name = "f:selectItems", bodyContent = "empty",
@JSFFaceletTag(name="composite:valueHolder") public class ValueHolderHandler extends AttachedObjectTargetHandler<ValueHolderAttachedObjectTarget>
@JSFFaceletTag(name="composite:editableValueHolder") public class EditableValueHolderHandler extends AttachedObjectTargetHandler<EditableValueHolderAttachedObjectTarget>
@JSFFaceletTag(name="composite:valueHolder") public class ValueHolderHandler extends AttachedObjectTargetHandler<ValueHolderAttachedObjectTarget>
@JSFFaceletTag(name="composite:editableValueHolder") public class EditableValueHolderHandler extends AttachedObjectTargetHandler<EditableValueHolderAttachedObjectTarget>
@JSFFaceletTag( name = "f:verbatim", bodyContent = "empty",
@JSFFaceletTag( name = "h:outputStylesheet", componentClass = "org.apache.myfaces.view.facelets.tag.jsf.html._HtmlOutputStylesheet")