Hello all,

I have trouble getting a very simple bean (o'reilly book example)  to
return boolean values.  I call it with:

<c: choose>
	<c:when test="${foo.valid}">

...


and the validation code in the bean looks like:

public boolean isValid(){
	return true;
	}


This generates the following error message:

org.apache.jasper.JasperException: javax.servlet.jsp.JspException: An
error occurred while evaluating custom action attribute "test" with
value "${foo.valid}": Unable to find a value for "valid" in object of
class "foobar.FooBarBean" using operator "." (null)

Everything works fine with method getName which returns a String that
I can output with c:out.

anyone?

thanks

/Petter Karlstr�m

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

Reply via email to