You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by Henri Yandell <ba...@generationjava.com> on 2002/04/09 18:35:00 UTC

[SUGGESTION]

I've noticed code like:


   <c:if test="${foo == null}">   [ok, I prolly have the syntax wrong].

This seems quite cryptic when JSP and JSTL are doing their best to hide
cryptic things like 'null'. Could there be:

<c:if exists="foo">  instead?


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [SUGGESTION]

Posted by Shawn Bayern <ba...@essentially.net>.
Hi again, Henri,

For general suggestions, it's best to mail

 jsr-52-comments@jcp.org

so that they get recorded officially.  I'm personally happy to discuss any
issues at length on this list -- as you can probably tell :-) -- but it's
good to make sure to register your feedback officially too.

As for this particular comment, it's mostly a matter of syntactic taste.  
The actual handling of null (versus "") is, I believe, still being
debated.

Shawn

On Tue, 9 Apr 2002, Henri Yandell wrote:

> I've noticed code like:
> 
> 
>    <c:if test="${foo == null}">   [ok, I prolly have the syntax wrong].
> 
> This seems quite cryptic when JSP and JSTL are doing their best to hide
> cryptic things like 'null'. Could there be:
> 
> <c:if exists="foo">  instead?
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>