resource bundles with EL syntax

Discussion in 'Java' started by ittay.dror@gmail.com, Apr 7, 2005.

  1. Guest

    hi,

    it seems natural to me that now that EL is there, resource bundles can
    use it to fomat messages. Why use 'my name is {0}', when you can do 'my
    name is ${name}', or 'my name is {0} i'm from {1} and {2} years old
    ....' which is prone to mistakes (missing args, wrong order etc.).

    so, does anyone know of tags implementing this (replacements for
    fmt:message)?

    thanx,
    ittay
    , Apr 7, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. M Series
    Replies:
    0
    Views:
    346
    M Series
    Oct 20, 2003
  2. Replies:
    4
    Views:
    11,984
  3. pojo

    resource bundles...

    pojo, Feb 22, 2006, in forum: Java
    Replies:
    1
    Views:
    911
    Rhino
    Feb 22, 2006
  4. enrique

    Why resource bundles

    enrique, Apr 17, 2007, in forum: Java
    Replies:
    1
    Views:
    340
    Wojtek
    Apr 17, 2007
  5. Marco

    cross-jars resource bundles

    Marco, Oct 13, 2009, in forum: Java
    Replies:
    4
    Views:
    719
    Roedy Green
    Oct 14, 2009
Loading...

Share This Page