Problem with BeanUtils

2004-04-13 Thread YOUSFI
Hi all, I'm trying to use BeanUtils (I have the same problem with PropertyUtils) to read dynamically a bean property. But it does not work. I think I'm missing some thing very impportant. I have a bean wuith some properties(see below TypAbonne.java). When I pass a bean instance of this classand t

RE: Problem with BeanUtils

2004-04-13 Thread YOUSFI
ou are passing is an instance of your class (TypAbonne) -- from what you indicated it sounds like it is actually a String -- java.lang.String has two "getter" methods -- getClass() and getBytes(). YOUSFI wrote: > Hi all, > I'm trying to use BeanUtils (I have the same problem wi

Problem with BeanUtils

2004-04-13 Thread YOUSFI
Hi all, I'm trying to use BeanUtils (I have the same problem with PropertyUtils) to read dynamically a bean property. But it does not work. I think I'm missing some thing very impportant. I have a bean wuith some properties(see below TypAbonne.java). When I pass a bean instance of this classand th

RE: Problem with BeanUtils

2004-04-14 Thread YOUSFI
your class (TypAbonne) -- from what you indicated it sounds like it is actually a String -- java.lang.String has two "getter" methods -- getClass() and getBytes(). YOUSFI wrote: > Hi all, > I'm trying to use BeanUtils (I have the same problem with PropertyUtils) to > rea