Re: use boolean field as property

2005-06-25 Thread Lucas Bern
Hia Tony, it seems that your bean is not what his ckass name says to be I mean, mybean, is not a JavaBean because it does not implement the getter for isGood attribute in a correct way... it should be public class mybean{ boolean isGood; public boolean isIsGood(){ return isGood; } public vo

use boolean field as property

2005-06-25 Thread Tony Smith
I have a class public class mybean{ boolean isGood; public boolean getIsGood(){ return isGood; } public void setIsGood(boolean good){ this.isGood = good; } } Suppose I have a list of mybean, can I do this: xxxgood My app throws a ex