On Sat, 8 Feb 2003, Mirko Nasato wrote:
> Henri Yandell wrote:
>
> >On Fri, 7 Feb 2003, Ivonne Barrantes wrote:
> >
> >
> >>? When we'll be able to enjoy the beneficts of our beloved "ELSE" for JSTL ?
> >>
> >>I know we have the <c:choose> tag, but it takes more code lines then a
> >>simple <c:else>
> >>
> >>What do you think about it Shawn?
> >>
> >>
> >
> >Shawn mentioned it in a post a week back or so I think. Unsure if it was
> >on Dev or Users. Basically the problem with <c:else> is that there's no
> >container tag:
> >
> ><c:if..>
> ></c:if>
> ><c:else>
> ></c:else>
> >
> >so it's probably a pain to implement.
> >
> >
> Why not something like:
>
> <c:if test="...">
> foo
> <c:else>
> bar
> </c:else>
> </c:if>
Why not:
<c:if test="...">
<c:do>
foo
</c:do>
<c:else>
bar
</c:else>
</c:if>
?? Just to make it a bit nicer in xml look and feel.
Which of course is synonymous to choose I think :)
Hen
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]