Results 1 to 2 of 2

Thread: using resourceBunble with arguments

Hybrid View

  1. #1

    Default 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. #2

    Default 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 renat.akhmerov@gmail.com; Mar 26th, 2009 at 05:16 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •