示例#1
0
 @Override
 public String getAsString(FacesContext ctx, UIComponent cmp, Object obj) {
   return fmt.format(String.valueOf(obj));
 }
示例#2
0
 @Override
 public Object getAsObject(FacesContext ctx, UIComponent cmp, String value) {
   return fmt.unformat(value);
 }