RE: DynaActionForm Coolness

2003-05-31 Thread Steve Raeburn
Aha! Found the culprit. From PropertyUtilsBean.getSimpleProperty()... // Handle DynaBean instances specially if (bean instanceof DynaBean) { DynaProperty descriptor = ((DynaBean) bean).getDynaClass().getDynaProperty(name); if (descriptor == null) { thr

RE: DynaActionForm Coolness

2003-05-31 Thread Steve Raeburn
--Original Message- > From: Ted Husted [mailto:[EMAIL PROTECTED] > Sent: May 30, 2003 1:40 PM > To: Struts Users Mailing List > Subject: Re: DynaActionForm Coolness > > > OK, my turn =:) > > Given an Action that just does this: > > DynaActionForm input

Re: DynaActionForm Coolness

2003-05-31 Thread Kris Schneider
My guess would be that a special code path is taken by PropertyUtils.getProperty if the bean is a DynaBean so that it's looking for "map" as a dyna property and not a standard bean property. Ted Husted wrote: OK, my turn =:) Given an Action that just does this: DynaActionForm input = (DynaAct

Re: DynaActionForm Coolness

2003-05-31 Thread Ted Husted
OK, my turn =:) Given an Action that just does this: DynaActionForm input = (DynaActionForm) form; Map map = input.getMap(); request.setAttribute(Tokens.LIST,map); return mapping.findForward(Tokens.SUCCESS); How come this works: and this works: (I can create a list of parameters from