[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglibs-user
Subject:    Re: Using Sets with JSTL
From:       Patrick Burleson <taglibs-user () patrickburleson ! com>
Date:       2003-12-30 20:43:19
Message-ID: 3FF1E367.2030306 () patrickburleson ! com
[Download RAW message or body]

Kris Schneider wrote:

>One possibility: http://marc.theaimsgroup.com/?l=taglibs-user
>
>  
>
Thanks

>I'm not sure why it's not included, or if it was even considered, but here's a
>guess. While Collection, and hence List and Set, supports "contains", Map does
>not. Instead, Map supports "containsKey" and "containsValue". So, what would you
>provide for tags? 
>
But don't Maps support the [$key] notion of looking up values?? Why not 
something similar for Sets?

>This may be a case where developing your own taglib would be
>appropriate. Or, maybe what you're doing is better suited to a servlet or
>component of an MVC/Model 2 framework. In other words, do more data processing
>before forwarding to the JSP.
>
>  
>
I had not considered this. But I could do that with my current MVC. I 
could just pass a list of the values as they should be displayed.

Thanks,
Patrick




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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic