Re: Problem with BeanUtils

2004-04-15 Thread Bill Siggelkow
YOUSFI wrote: I found the problem. The Object passed to getLibelle was in fact a String. I love it when I'm right 8^) Seriously, I am glad you were able to solve the problem. Bill Siggelkow - To unsubscribe, e-mail: [EMAIL PROT

RE: Problem with BeanUtils

2004-04-14 Thread YOUSFI
-- De : news [mailto:[EMAIL PROTECTED] la part de Bill Siggelkow Envoye : mardi 13 avril 2004 14:05 A : [EMAIL PROTECTED] Objet : Re: Problem with BeanUtils First of all, I assume that you are calling the getProperty method of BeanUtils -- Are you sure that the object you are passing is an instance of

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-13 Thread Hubert Rabago
that class yes? > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 13 April 2004 23:02 > To: 'Struts Users Mailing List' > Subject: RE: Problem with BeanUtils > > > Yes I'm quite sure the object is an in

RE: Problem with BeanUtils

2004-04-13 Thread Andrew Hill
2004 23:02 To: 'Struts Users Mailing List' Subject: RE: Problem with BeanUtils Yes I'm quite sure the object is an instance of my class TypAbonne. I added some thing like a System.out.prinln("obj=" + obj) in my method getLibelle and I received [EMAIL PROTECTED] I thin

RE: Problem with BeanUtils

2004-04-13 Thread YOUSFI
-Message d'origine- De : news [mailto:[EMAIL PROTECTED] la part de Bill Siggelkow Envoye : mardi 13 avril 2004 14:05 A : [EMAIL PROTECTED] Objet : Re: Problem with BeanUtils First of all, I assume that you are calling the getProperty method of BeanUtils -- Are you sure that the object y

Re: Problem with BeanUtils

2004-04-13 Thread Bill Siggelkow
First of all, I assume that you are calling the getProperty method of BeanUtils -- Are you sure that the object you 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() a

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