tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rashmi <>
Subject Re: Conditional formatting elements of a collection in c:forEach
Date Wed, 11 Feb 2009 17:45:31 GMT
Thank you Martin, I'm new to using resource bundle, I'll learn it and
give this a try.


On Wed, Feb 11, 2009 at 12:29 PM, Martin Cooper <> wrote:
> Assuming you have a resource bundle around somewhere, add two format strings
> to the bundle, one for each of your two display orders; use a condition
> ('when', 'if' or whatever) to set a variable with the appropriate key; then
> use that variable to specify the key to <fmt:message> within your loop.
> --
> Martin Cooper

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

View raw message