tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Jacobsen" <jerome.jacob...@gentootech.com>
Subject RE: JSTL and boolean Attributes ???
Date Wed, 22 Jan 2003 16:27:59 GMT
I think it should work too.  Perhaps changing the isValid to getValid would
fix it.  What error are you getting?

> -----Original Message-----
> From: Leif Hanack [mailto:leif.hanack@t-systems.com]
> Sent: Wednesday, January 22, 2003 11:24 AM
> To: taglibs-user@jakarta.apache.org
> Subject: JSTL and boolean Attributes ???
>
>
> Hello,
>
> i want to access a boolean attribute through JSTL.
>
> If my class looks like:
>
> class Checker {
> 	private boolean m_isValid = false;
>
> 	public void setValid( boolean p_isValid ) {
> 		m_isValid = p_isValid;
> 	}
>
> 	public boolean isValid() {
> 		return m_isValid;
> 	}
> }
>
> it seems that JSTL can not access my field:
>
> <c:out value="${checker.valid}"/>
>
> Correct? If so, why can't JSTL handle that?
>
> Thanks in advance, Leif
>
> --
> To unsubscribe, e-mail:
> <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:taglibs-user-help@jakarta.apache.org>




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


Mime
View raw message