*
* @return the formatted message.
*/
public Object getValue()
{
final ResourceBundleFactory resourceBundleFactory = getResourceBundleFactory();
final ResourceBundle bundle;
if (resourceIdentifier == null)
{
bundle = ExpressionUtilities.getDefaultResourceBundle(this);
}
else
{
bundle = resourceBundleFactory.getResourceBundle(resourceIdentifier);
}
final String newFormatString = bundle.getString(formatKey);
messageFormatSupport.setFormatString(newFormatString);
messageFormatSupport.setLocale(resourceBundleFactory.getLocale());
return messageFormatSupport.performFormat(getDataRow());
}