There is possibly going to be an If-the-else in the next major release -
see release notes, but for now I use equal/notEqual and it works ok for
me...
Cheers, Keith
Please note new extension number/s below...
Keith Morrell
EDS Consultant, TRAID Project
Phone +64-9-308-5650
EDS internal extn 4150
>From Telecom PABX 84150
Fax +64-9-309-8543
Cell +64-21-649-395
Email T906399 (internal) or [EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 24/04/01 11:06:15 >>>
Hi all,
I searched through the archives and could not find a satisfactory
answer to
the following:
There seem to be <logic:equal> and <logic:notEqual> tags, but there's
no
<logic:else> tag. I was looking at Jakarta Taglibs and could not find
such a
tag either. Does anyone have any idea how to do this without
scriptlets?
Of course, the 'else' could be something like the tag equivalent of
if (x==5)
foo;
if (x==6)
bar;
if (x!=5 && x!=6)
baz;
but that doesn't cut it if you have way too many cases in the else.
thanks,
Iraklis