[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.webtools.jsf] Re: Strings from a bundle
|
Hi, Francesco.
Won't <h:outputText value="City of #{bundle.city_name}" /> do the trick?
On Mon, 2008-04-14 at 09:22 +0000, Francesco Stupazzoni wrote:
> Hi,
> I have a bundle where I have defined some strings like:
>
> login_button_label=Login
> city_name= Boston
>
> and I use it in a command button like this way:
>
> <h:commandButton value="#{bundle.login_button_label}"
> title="#{bundle.login_button_label}"></h:commandButton>
>
> Inside a panel grid I have a
>
> <p>City of X</p>
>
> My question is: is there any way to substitute X with something like
> "#{bundle.city_name}" so I'll see City of Boston or, in general City of
> valueofcity_name???
>
> Thanks
>