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

Format.message for MessageFormat.format

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5
    • 2.0.1, 1.5.1
    • core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: