Click
  1. Click
  2. CLK-474

Format.message for MessageFormat.format

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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.

        Activity

        Yu Kobayashi created issue -
        Bob Schellink made changes -
        Field Original Value New Value
        Fix Version/s 1.5.1 [ 10090 ]
        Affects Version/s 1.5 [ 10060 ]
        Assignee Bob Schellink [ sabob ]
        Bob Schellink made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.1 [ 10100 ]
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development