WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Conditional formatting elements of a collection in c:forEach

Re: Conditional formatting elements of a collection in c:forEach

by Rashmi Rubdi-2 :: Rate this Message:

| View in Thread

Thank you Martin, I'm new to using resource bundle, I'll learn it and
give this a try.

-Rashmi


On Wed, Feb 11, 2009 at 12:29 PM, Martin Cooper <martinc@...> 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: taglibs-user-unsubscribe@...
For additional commands, e-mail: taglibs-user-help@...

 « Return to Thread: Conditional formatting elements of a collection in c:forEach