Re: [appfuse-user] check empty collection with tag lib

2006-11-29 Thread Matt Raible
1.1.2 should support functions if you change your web.xml to be a 2.4 XSD. Matt On 11/29/06, Luiz Fernando Rodrigues <[EMAIL PROTECTED]> wrote: I tried to use that once but I had no success. The jakarta-taglib (1.06 and 1.1.2 ) used in my appfuse doesn't support functions. Is there another lib

Re: [appfuse-user] check empty collection with tag lib

2006-11-29 Thread Gilberto C Andrade
This works for me (I use JSTL): disabled="disabled" gilberto > I tried to use that once but I had no success. The jakarta-taglib > (1.06 and 1.1.2 ) used in my appfuse doesn't support functions. Is > there another library that impl

Re: [appfuse-user] check empty collection with tag lib

2006-11-29 Thread Luiz Fernando Rodrigues
I tried to use that once but I had no success. The jakarta-taglib (1.06 and 1.1.2 ) used in my appfuse doesn't support functions. Is there another library that implements it? Luiz On 11/28/06, Matt Raible <[EMAIL PROTECTED]> wrote: You could also use JSTL's functions library, and the "length"

Re: [appfuse-user] check empty collection with tag lib

2006-11-28 Thread Matt Raible
You could also use JSTL's functions library, and the "length" function. http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/fn/tld-summary.html Matt On 11/28/06, Michael Horwitz <[EMAIL PROTECTED]> wrote: Hi, The empty operator checks both to see if the collection is set and if it is empty

Re: [appfuse-user] check empty collection with tag lib

2006-11-28 Thread Michael Horwitz
Hi, The empty operator checks both to see if the collection is set and if it is empty. So if you want to know if set but empty: test="${aCollection != null && empty aCollection}" Regards Mike. On 11/28/06, Luiz Fernando Rodrigues <[EMAIL PROTECTED]> wrote: Hello, Does any one know how

[appfuse-user] check empty collection with tag lib

2006-11-28 Thread Luiz Fernando Rodrigues
Hello, Does any one know how to test if a collection is empty or not with the tag? As far as I know, if I write test="${empty aCollection}" will test if the variable aCollection is set or not. I search for somehow identify if aCollection is an empty collection or not. thanks, Luiz --