Try this maybe. Not sure on this one.
<c:set var="myPageTitle" scope="request"> <c:out value="${page.name}"/><c:out value=".title"/> </c:set>
then later do
<h:outputText value="#{bundle[myPageTitle]}"/>
Shawn
From: Frank Felix
Debatin [mailto:[EMAIL PROTECTED]
This would have a different effect. I organized the ressources with keys such as "myPage.title". So I would like to have
#{bundle[ page.name + '.title' ] } <!-- doesn't work -->
to be resolved to
#{bundle[ 'myPage.title' ] }
Thanks Frank Felix
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I'm sure it would work like this: <h:outputText value="#{ bundle[prefix] }" /> <h:outputText value="#{ bundle[key] }" />
But I don't know, if you would like to do it like that (because it's not a really nice solution)
Regards, Andy
**************************************************************************** This email may contain confidential *************************************************************************** |
- RE: String concatenation in EL Garner, Shawn
- RE: String concatenation in EL CONNER, BRENDAN \(SBCSI\)
- Re: String concatenation in EL Andrew Robinson
- RE: String concatenation in EL Frank Felix Debatin