public void applyMetadata(FaceletContext ctx, Object instance) { ((ValueHolder) instance) .setConverter(ctx.getFacesContext().getApplication().createConverter(this.converterId)); }
/** * Returns a new DateTimeConverter * * @see DateTimeConverter */ protected Converter createConverter(FaceletContext ctx) throws FacesException, ELException, FaceletException { return ctx.getFacesContext().getApplication().createConverter(DateTimeConverter.CONVERTER_ID); }