Could be because the <html:link> tag is Map backed form aware and is using get(String name) method of the DynaAction form, rather than getMap(). Of course the get() method does not have a property named "map".
I'll take at look at the tag source and check if this is the case. Steve > -----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 = (DynaActionForm) form; > Map map = input.getMap(); > request.setAttribute(Tokens.LIST,map); > return mapping.findForward(Tokens.SUCCESS); > > How come this works: > > <html:link action="/MultipleParametersForm" name="<%=Tokens.LIST%>" > > > and this works: > > <bean:write name="<%=Tokens.MULTIPLE_PARAMETERS_FORM%>" > property="latDeg" /> > > (I can create a list of parameters from the map, and access the > DynaProperties.) > > But this doesn't? > > <html:link action="/MultipleParametersForm" > name="<%=Tokens.MULTIPLE_PARAMETERS_FORM%>" property="map" > > > (I can't pass the same map stored in the request (by the Action) to > html:link directly.) > > Under RC1 and this morning's build, Tomcat 4.06 reports: > > "No getter method for property map of bean MultipleParametersForm" > > Same thing with bean:write. The html/bean tags see the object, but not > getMap(). > > > -Ted. > > > -- > Ted Husted, > Struts in Action <http://husted.com/struts/book.html> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

