Hi,

I have loaded a resource bundle using
    <tc:loadBundle basename="messages" var="bundle" />
and can output messages from the bundle like this:
    <tc:out value="#{bundle.title}" />
where the relevant line of the resource bundle props file is
    title = Welcome
which is all fine. But how can i substitute values into the resource
bundle message?

I tried putting this in the props file
    title = Welcome {0}
and this into the jsp:
        <tc:out value="#{bundle.title}">
                <f:param value="#{bean.name}"></f:param>
        </tc:out>
following the examples of JSF core, but apparently the tc control does
not understand the param as I just see Welcome {0} output without any
substitution.

Is there some other way to achieve this for Tobago resource bundles?

thanks in advance

-- 
Tim Stephenson
e: [EMAIL PROTECTED]

Reply via email to