Re: JSTL and boolean Attributes ???

2003-01-22 Thread Travis McCauley
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

Re: JSTL and boolean Attributes ???

2003-01-22 Thread Martin Cooper
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; > >

Re: JSTL and boolean Attributes ???

2003-01-22 Thread Pierre Delisle
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

RE: JSTL and boolean Attributes ???

2003-01-22 Thread Wendy Smoak
> 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

RE: JSTL and boolean Attributes ???

2003-01-22 Thread Wendy Smoak
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() { >

RE: JSTL and boolean Attributes ???

2003-01-22 Thread Jerome Jacobsen
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

JSTL and boolean Attributes ???

2003-01-22 Thread Leif Hanack
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() {