Yes you can. BeanUtils will work. DynaProperty[] dynaProperties = bean.getDynaClass().getDynaProperties(); for (DynaProperty property : dynaProperties) { use property.getName() and BeanUtils.copyProperties() }
You may use BeanUtils.populate(). As for me, all the BeanUtils package works fine with DynaForms. Rémi Le Lundi 29 Août 2005 10:06, Karin Schellner a écrit : > For initializing a formbean with data from another already existing > bean, I would like to use the BeanUtils.copyProperties() method - > Does anyone know, if there is a possibility to use the > BeanUtils.copyProperties() method also with Dynaforms - I don't think > so, as Dynaforms have only the generic getter and setter methods but > maybe there is some solution to this? > > thanks a lot, > karin. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]