tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mirko Nasato <mirko.nas...@email.it>
Subject Re: ELSE for JSTL
Date Sat, 08 Feb 2003 13:06:30 GMT
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>

Regards.

\mirko



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message