Re: Abstract Bean Processing

2005-01-28 Thread Hubert Rabago
Instead of using the StorableObject in your form bean, use a LazyDynaBean, then when the form gets submitted, use BeanUtils.copyProperties to copy from the LazyDynaBean to your concrete StorableObject instances. Hubert On Fri, 28 Jan 2005 16:55:34 +0900, Sylvain ~ <[EMAIL PROTECTED]> wrote: > H

Re: Abstract Bean Processing

2005-01-28 Thread listed
Hi Silvian, you have to know the propertyname and write accessor-methods. Where should struts know, which property to put out? Have a look at the jstl-core library. Greets Mark Sylvain ~ wrote: Hi, I wanted to create a Form Bean to represent a list of StorableObjects with a filter bean nested ins

Abstract Bean Processing

2005-01-27 Thread Sylvain ~
Hi, I wanted to create a Form Bean to represent a list of StorableObjects with a filter bean nested inside in order to be able to handle generically list display of Objects. Here is my ListBean code : public class ListBean extends ActionForm { private ArrayList l; private StorableObject