Skip to content

Instantly share code, notes, and snippets.

@princeneres
Created October 16, 2023 21:03
Show Gist options
  • Select an option

  • Save princeneres/5170901db88777934efb04a0cc05623f to your computer and use it in GitHub Desktop.

Select an option

Save princeneres/5170901db88777934efb04a0cc05623f to your computer and use it in GitHub Desktop.
Using LanguageUtil.format to multiples params in message
<%
String changeLog = LanguageUtil.format(
resourceBundle,
"workflow-configuration-changelog",
new String[] { String.valueOf(user.getUserId()), user.getEmailAddress() },
false
);
_log.info(changeLog);
%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment