At 9:02 AM -0600 1/31/05, Hubert Rabago wrote:
I only recently became aware of BeanUtils' non-static object counterparts,
and I haven't had a chance to use them yet or figure out if Struts can
use them.
I think I raised this question recently on the user list, but if not, it's worth raising again. What would be a plausible configuration model for Struts to use multiple instances of the beanutils classes? Ted has (at least once) suggested giving ActionForm the responsibility for population itself (by adding a "populate" method) -- this makes a certain amount of sense, but before implementing it, I would want to try hard to come up with a design which insulated Struts from the details of the HTTP Servlet API.
I like the idea of adding a populate() method to ActionForm. If you make the argument to this a Map that you retrieve from request.getParameterMap(), the ActionForm will be insulated from the Servlet API.
-- Jeff Beal
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]