support parameterised messages in strings loaded by loadBundle tag
------------------------------------------------------------------

                 Key: TOBAGO-636
                 URL: https://issues.apache.org/jira/browse/TOBAGO-636
             Project: MyFaces Tobago
          Issue Type: New Feature
    Affects Versions: 1.0.13
         Environment: Linux, JBoss 4.2.2
            Reporter: Tim Stephenson
            Priority: Minor


It would be nice if Tobago tags that support attributes read from a resource 
bundle loaded via loadBundle could also support parameterisation like JSF core 
/ html does. For example if a properties file contains

        welcome_intro = Hello {0} and welcome!

and a faces JSP contains this

        <h:outputFormat value="#{msg.welcome_intro}">
                <f:param value="Tim"></f:param>
        </h:outputFormat>

Then the displayed text would be: 
       Hello Tim and welcome

Since Tobago loads resources from within a web directory whereas the JSF core 
load bundle loads from the class loader it is not possible (or at least easy) 
to mix and match some Tobago tags with some core tags so to use substitutions I 
am currently forced to load all resources the JSF core way  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to