This works for me (I use JSTL):
<c:if test="${not empty inscricaoList}">
                    <input type="submit"
                           <c:if test="${turma.flEncerrado or
turma.situacao != 'Fechada'}">
                                    disabled="disabled"
 </c:if>       
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 implements it?
>
> Luiz
>
> On 11/28/06, Matt Raible <[EMAIL PROTECTED]> wrote:
>> 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. 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 to test if a collection is empty or not with
>> > > the <c:if /> 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
>> > >
>> > >
>> > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail:
>> > [EMAIL PROTECTED]
>> > > For additional commands, e-mail: [EMAIL PROTECTED]
>> > >
>> > >
>> >
>> >
>>
>>
>> -- 
>> http://raibledesigns.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to