Uploaded image for project: 'Click'
  1. Click
  2. CLK-474

Format.message for MessageFormat.format

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 2.0.1, 1.5.1
    • Component/s: core
    • Labels:
      None

      Description

      Could you please add this to net.sf.click.util.Format?

      public String message(String pattern, Object arguments)

      { return MessageFormat.format(pattern, arguments); }
      public String message(String pattern, Object[] arguments) { return MessageFormat.format(pattern, arguments); }

      Usually I extends Format as MyFormat and add this.
      I use this for ${format.message($pattern, $args)} in Velocity.

        Attachments

          Activity

            People

            • Assignee:
              sabob Bob Schellink
              Reporter:
              click_yukoba Yu Kobayashi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: