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
--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
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
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
4 matches
Mail list logo