return null;
}
try
{
final ResourceBundleFactory resourceBundleFactory = runtime.getResourceBundleFactory();
final ResourceBundle bundle = resourceBundleFactory.getResourceBundle(resourceId);
// update the format string, if neccessary ...
if (ObjectUtilities.equal(formatKey, appliedFormatKey) == false)
{
final String newFormatString = bundle.getString(formatKey);
messageFormatSupport.setFormatString(newFormatString);
appliedFormatKey = formatKey;
}
messageFormatSupport.setLocale(resourceBundleFactory.getLocale());
messageFormatSupport.setTimeZone(resourceBundleFactory.getTimeZone());
return messageFormatSupport.performFormat(runtime.getDataRow());
}
catch (MissingResourceException mre)
{
if (logger.isDebugEnabled())