Example #1
0
 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);
 }