You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Gomathi <go...@koensoft.com> on 2006/07/12 13:15:53 UTC

dynamic attribure use

Hai,
What is the use of dynamic attribute of<form-bean> in struts-config.xml
like <form-bean dynamic="false">
Kindly Regards
gomes

Re: dynamic attribure use

Posted by Niall Pemberton <ni...@gmail.com>.
On 7/13/06, Laurie Harper <la...@holoweb.net> wrote:
> Gomathi wrote:
> > Hai,
> > What is the use of dynamic attribute of<form-bean> in struts-config.xml
> > like <form-bean dynamic="false">
>
> IIRC, it's to tell Struts to treat your form bean as a DynaBean when
> it's not based on DynaActionFrom or a sub-class. In general, you
> shouldn't need to set it.

Originally this was true, but in Struts 1.2 it automatically
determines if the bean is dynamic and there is no need to set it. In
the 1.3 version of the DTD its been removed.

Niall

> L.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: dynamic attribure use

Posted by Laurie Harper <la...@holoweb.net>.
Gomathi wrote:
> Hai,
> What is the use of dynamic attribute of<form-bean> in struts-config.xml
> like <form-bean dynamic="false">

IIRC, it's to tell Struts to treat your form bean as a DynaBean when 
it's not based on DynaActionFrom or a sub-class. In general, you 
shouldn't need to set it.

L.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org