The onlye thing that most html-el tags need to be modified to support indexed property in JSTL, so we can do multi row updates.
But that is post 1.1 I am sure.

.V

Hal Deadman wrote:
I think the faster everyone moves from "logic" tags to JSTL the happier
everyone will be. The JSTL choose tag already supports if/elseif/else. The
expression language in JSTL makes logic easy that would be nasty with the
various logic tags.

<c:choose>
<c:when test="${foo.bar eq 'baz'}">
...
</c:when>
<c:otherwise>
...
</c:otherwise>
</c:choose>

http://www.manning.com/bayern/appendixA.pdf



-----Original Message-----
From: James Turner [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003 4:44 PM
To: [EMAIL PROTECTED]
Subject: Proposed: logic:else clause


I find in my code, I do the following a lot:

<logic:equal name="foo" property="bar" value"baz">
.
.
.
</logic:equal>
<logic:notEqual name="foo" property="bar" value"baz">
.
.
.
</logic:notEqual>

I'd like to propose (and would be willing to code) the following:
<logic:equal name="foo" property="bar" value"baz">
.
.
.
<logic:else>
.
.
.
</logic:else>
</logic:equal>


What do people think?
James

_________________________________________
James
ICQ#: 8239923
More ways to contact me: http://wwp.icq.com/8239923
See more about me: http://web.icq.com/whitepages/about_me?Uin=8239923
_________________________________________



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to