Announcement Announcement Module
Collapse
No announcement yet.
using resourceBunble with arguments Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • using resourceBunble with arguments

    Hi,

    I have just a simple question. Is there some possibility to pass dynamic argument(parameter) when resolving i18n messages via 'resourceBundle' keyword in webflow definition?

    For example,
    I have a prop. file messages_en.properties that contains the message:
    object.deleted=The object {0} has been deleted

    In webflow I'd like to use that message:
    <set name="flashScope.message" value="resourceBundle['object.deleted']" />

    This works fine, but how should I pass a value of parameter {0} ?

  • #2
    typo in title of the thread

    Of course, I should have written 'resourceBundle' instead of 'resourceBunble' in the title of the thread. Excuse me.
    Last edited by [email protected]; Mar 26th, 2009, 06:16 AM.

    Comment

    Working...
    X