myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Hong" <anthony.bin.h...@gmail.com>
Subject Re: How to set parameter in resource bundle in page
Date Tue, 14 Mar 2006 09:35:20 GMT
Great solution.
Thanks Arvid

On 3/14/06, Arvid Hülsebus <arvid.huelsebus@atanion.com> wrote:
> You can use <h:outputFormat> like this:
>
>        <h:outputFormat value="#{bundle.list_footer}">
>          <f:param value="#{controller.addressCount}" />
>        </h:outputFormat>
>
> Regards,
> Arvid
>
> Anthony Hong wrote:
>
> >IN JSF page, usual do i18n like
> ><f:loadBundle basename="#{facesContext.application.messageBundle}"
> >var="tagVar"/>
> >
> >then  <h:outputText value="#{tagVar.TEMPLATE_LOGIN_USER}"/>:
> >
> >I have a question how to use a composite message. like
> >tagKey=We met for {0} days
> >
> >--
> >
> >Anthony Hong
> >
> >
> >
>


--

Anthony Hong

Mime
View raw message