tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Madigan" <>
Subject fmt:bundle
Date Wed, 16 Nov 2005 08:37:25 GMT
I was wondering if anyone could shed some light on a problem I am having!

I have a pafe that needs to get a resource bundle based on a string passed
into the page.  It is kinda like this:

<fmt:bundle basename='common'/>
<fmt:message key='${foo}' var='bar'/>

<c:forEach var='bar' items='barMap'>

    <fmt:bundle basename='bar.key'>
    <fmt:message key='${bar.value}'/>


Things work well for the first <fmt:bundle ant the first <fmt:bundle in the
<c:forEach.  The second <fmt:message acts like it con't find the resource in
the bundle.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message