tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <Wendy.Sm...@asu.edu>
Subject RE: JSTL and boolean Attributes ???
Date Wed, 22 Jan 2003 16:41:34 GMT
> Out of curiosity, have you tried <c:out value="${checker.isValid}"/> ?
> Maybe it will recognise the 'is' prefix and not turn it into getIsValid.

Me again.  Does this work?

<c:choose>
  <c:when test="${checker.valid}" />
    Valid!
  </c:when>
  <c:otherwise>
    Invalid
  </c:otherwise>
</c:choose>

Perhaps it only knows about the 'is<PropertyName>' construct when it is
expecting a boolean value?

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message