/** * <p class="changed_added_2_0">Construct this instance around the configuration information in argument <code>config</code></p> * @param config the <code>TagConfig</code> subclass for this kind * of attached object. */ public ValidatorHandler(ValidatorConfig config) { super(config); this.config = config; this.validatorId = config.getValidatorId(); }
String validatorId = _delegate.getValidatorConfig().getValidatorId(); _delegate.getValidatorConfig().getNextHandler().apply(ctx, parent); if (validatorIdAvailable) _delegate.getValidatorConfig().getNextHandler().apply(ctx, parent); mctx.popEnclosingValidatorIdToStack(); if (groupsAvailable)
private boolean isWrapping() { // Would be nice if there was some easy way to determine whether // we are a leaf handler. However, even leaf handlers have a // non-null nextHandler - the CompilationUnit.LEAF instance. // We assume that if we've got a TagHandler or CompositeFaceletHandler // as our nextHandler, we are not a leaf. return ((owner.getValidatorConfig().getNextHandler() instanceof TagHandler) || (owner.getValidatorConfig().getNextHandler() instanceof CompositeFaceletHandler)); }
String validatorId = _delegate.getValidatorConfig().getValidatorId(); _delegate.getValidatorConfig().getNextHandler().apply(ctx, parent); _delegate.getValidatorConfig().getNextHandler().apply(ctx, parent);
private boolean isWrapping() { // Would be nice if there was some easy way to determine whether // we are a leaf handler. However, even leaf handlers have a // non-null nextHandler - the CompilationUnit.LEAF instance. // We assume that if we've got a TagHandler or CompositeFaceletHandler // as our nextHandler, we are not a leaf. return ((owner.getValidatorConfig().getNextHandler() instanceof TagHandler) || (owner.getValidatorConfig().getNextHandler() instanceof CompositeFaceletHandler)); }
/** * <p class="changed_added_2_0">Construct this instance around the configuration information in argument <code>config</code></p> * @param config the <code>TagConfig</code> subclass for this kind * of attached object. */ public ValidatorHandler(ValidatorConfig config) { super(config); this.config = config; this.validatorId = config.getValidatorId(); }
private boolean isWrapping() { // Would be nice if there was some easy way to determine whether // we are a leaf handler. However, even leaf handlers have a // non-null nextHandler - the CompilationUnit.LEAF instance. // We assume that if we've got a TagHandler or CompositeFaceletHandler // as our nextHandler, we are not a leaf. return ((owner.getValidatorConfig().getNextHandler() instanceof TagHandler) || (owner.getValidatorConfig().getNextHandler() instanceof CompositeFaceletHandler)); }
/** * <p class="changed_added_2_0">Construct this instance around the configuration information in argument <code>config</code></p> * @param config the <code>TagConfig</code> subclass for this kind * of attached object. */ public ValidatorHandler(ValidatorConfig config) { super(config); this.config = config; this.validatorId = config.getValidatorId(); }
private boolean isWrapping() { // Would be nice if there was some easy way to determine whether // we are a leaf handler. However, even leaf handlers have a // non-null nextHandler - the CompilationUnit.LEAF instance. // We assume that if we've got a TagHandler or CompositeFaceletHandler // as our nextHandler, we are not a leaf. return ((owner.getValidatorConfig().getNextHandler() instanceof TagHandler) || (owner.getValidatorConfig().getNextHandler() instanceof CompositeFaceletHandler)); }
/** * <p class="changed_added_2_0">Construct this instance around the configuration information in argument <code>config</code></p> * @param config the <code>TagConfig</code> subclass for this kind * of attached object. */ public ValidatorHandler(ValidatorConfig config) { super(config); this.config = config; this.validatorId = config.getValidatorId(); }
private void applyWrapping(FaceletContext ctx, UIComponent parent) throws IOException { ComponentValidators validators = ComponentValidators.getValidators(ctx.getFacesContext(), true); validators.pushValidatorInfo(createValidatorInfo(ctx)); owner.getValidatorConfig().getNextHandler().apply(ctx, parent); validators.popValidatorInfo(); }
public ValidateHandler(ValidatorConfig config) { this((TagConfig) config); this.validatorId = config.getValidatorId(); }
private void applyWrapping(FaceletContext ctx, UIComponent parent) throws IOException { ComponentValidators validators = ComponentValidators.getValidators(ctx.getFacesContext(), true); validators.pushValidatorInfo(createValidatorInfo(ctx)); owner.getValidatorConfig().getNextHandler().apply(ctx, parent); validators.popValidatorInfo(); }
public ValidateHandler(ValidatorConfig config) { this((TagConfig) config); this.validatorId = config.getValidatorId(); }
private void applyWrapping(FaceletContext ctx, UIComponent parent) throws IOException { ComponentValidators validators = ComponentValidators.getValidators(ctx.getFacesContext(), true); validators.pushValidatorInfo(createValidatorInfo(ctx)); owner.getValidatorConfig().getNextHandler().apply(ctx, parent); validators.popValidatorInfo(); }
public String getValidatorId(FaceletContext ctx) { return config.getValidatorId(); }
private void applyWrapping(FaceletContext ctx, UIComponent parent) throws IOException { ComponentValidators validators = ComponentValidators.getValidators(ctx.getFacesContext(), true); validators.pushValidatorInfo(createValidatorInfo(ctx)); owner.getValidatorConfig().getNextHandler().apply(ctx, parent); validators.popValidatorInfo(); }
/** * <p class="changed_added_2_0">Construct this instance around the configuration information in argument <code>config</code></p> * @param config the <code>TagConfig</code> subclass for this kind * of attached object. */ public ValidatorHandler(ValidatorConfig config) { super(config); this.config = config; this.validatorId = config.getValidatorId(); }
/** * <p class="changed_added_2_0">Construct this instance around the configuration information in argument <code>config</code></p> * @param config the <code>TagConfig</code> subclass for this kind * of attached object. */ public ValidatorHandler(ValidatorConfig config) { super(config); this.config = config; this.validatorId = config.getValidatorId(); }
/** * <p class="changed_added_2_0">Construct this instance around the configuration information in argument <code>config</code></p> * @param config the <code>TagConfig</code> subclass for this kind * of attached object. */ public ValidatorHandler(ValidatorConfig config) { super(config); this.config = config; this.validatorId = config.getValidatorId(); }