Kris Schneider wrote:
+1
Although it may seem like splitting hairs because (in your case) the same
object instance is passed to the doBusiness method, there's a huge
architectural/design difference between:
public class myModel {
public void doBusiness(DynaActionForm data) {
...
}
}
and:
public class myModel {
public void doBusiness(DynaBean data) {
...
}
}
I suppose another possibility would be to use BeanUtils.describe or
PropertyUtils.describe (not sure which is preferred) to generate a Map to pass
to the doBusiness method. Either describe method can deal with a DynaBean.
This is cool. I will give it a whirl.
Thanks.
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com
--
To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>