Re: BeanUtils.populate error

2005-06-15 Thread Janek Ziniewicz
Thank you delbd, that indeed could produce an error. I 've found that the error occured when fields in form didn't have unique "name" attributes and I tried to perform forward to the same form. href="/NILTemp/showAttachment.do?attid=name="att"property="id"/>">[View] I use SimpleDispatch

Re: BeanUtils.populate error

2005-06-15 Thread Martin Gainty
Jan- Can we see how the bean argument is constructed Can we see how the map argument is constructed You may want to take a look at the javadoc located at http://jakarta.apache.org/commons/beanutils/api/org/apache/commons/beanutils/BeanUtils.html#populate(java.lang.Object,%20java.util.Map) If you a

RE: BeanUtils.populate error

2005-06-15 Thread David Suarez
Turn "debug" on for BeanUtils, your log file will show exactly the property that was trying to be converted when it failed and you can update it accordingly. Regards...djsuarez -Original Message- From: Jan Ziniewicz [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 15, 2005 8:07 AM To: use

[OT] Re: BeanUtils.populate error

2005-06-15 Thread DGraham
"I can give you more detailed information but i guess that it is quite typical error." ... that could probably be resolved by downloading the source for beanutils, firing up a debugger, and stepping through PropertyUtils.setSimpleProperty(Object bean, String name, Object value). -Dennis "Ja

RE: BeanUtils.populate error

2005-06-15 Thread Marco Mistroni
Hello, This is too little info :-) Apparently, you are trying to copy two properties which have same name but Different type... Regards marco -Original Message- From: Jan Ziniewicz [mailto:[EMAIL PROTECTED] Sent: 15 June 2005 14:07 To: user@struts.apache.org Subject: Bea

Re: BeanUtils.populate error

2005-06-15 Thread delbd
You most probably have the wrong setter parameters for one or several of your from's properties. like have you have a setDate(Date date) instead of setDate(String date) The only allowed signatures, if am not wrong are setXXX(String) and setXXX(FormFile) Le Mercredi 15 Juin 2005 15:07, Jan Ziniew