This should work.
Do you get an exception? What is it?
Are you sure checker refers to a scoped variable that exists?
Here's a handy way I use to check that the object is there.
If checker indeed references an object you should get some hex output
as if you called toString() on the object lik
Where is your 'checker' object, and how did you create it and put it
there?
--
Martin Cooper
On Wed, 22 Jan 2003, Leif Hanack wrote:
> Hello,
>
> i want to access a boolean attribute through JSTL.
>
> If my class looks like:
>
> class Checker {
> private boolean m_isValid = false;
>
>
This should work.
Do you get an exception? What is it?
Are you sure checker refers to a scoped variable that exists?
-- Pierre
Leif Hanack wrote:
>
> Hello,
>
> i want to access a boolean attribute through JSTL.
>
> If my class looks like:
>
> class Checker {
> private boolean
> Out of curiosity, have you tried ?
> Maybe it will recognise the 'is' prefix and not turn it into getIsValid.
Me again. Does this work?
Valid!
Invalid
Perhaps it only knows about the 'is' construct when it is
expecting a boolean value?
--
Wendy Smoak
Applications Syst
Leif wrote:
> 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() {
>
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:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 11:24 AM
> To: [EMAIL PROTECTED]
> Subject: JSTL and boo
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() {