public Object getAsObject(FacesContext context, UIComponent component, String value) {
if (value == null || value.length() == 0) {
return null;
}
Integer id = new Integer(value);
TagJpaController controller = (TagJpaController) context.getApplication().getELResolver().getValue(context.getELContext(), null, "customerJpa");
return controller.findTag(id);
}