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:
<snip/>
> Here is my ListBean code :
>
> public class ListBean extends ActionForm {
>
> private ArrayList l;
> private StorableObject filter;
>
<snip/>
> The StorableObject Class is abstract, and thus doesn't have any
> properties, implementing classes have such properties accessors. Form
> population with the right class type is made at runtime by the action.
>
<snip/>
> So, my question, is there a way to make struts use a generic form bean
> with any properties names and values and then handle it by hand in the
> action ?
>
> Any input would be appreciated.
> Sylvain.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]