@Override
public String getAsString (final FacesContext context, final UIComponent component, final Object value) {
+ // Trace message
+ this.loggerBeanLocal.logTrace(MessageFormat.format("getAsString: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
+
// Is the object null?
if (null == value) {
// Is null
}
// Return category id
- return String.valueOf(((Category) value).getCategoryId());
+ String str = String.valueOf(((Category) value).getCategoryId());
+
+ // Trace message
+ this.loggerBeanLocal.logTrace(MessageFormat.format("getAsString: str={0} - EXIT!", str)); //NOI18N
+
+ // Return it
+ return str;
}
}