Right as rain, Rick! You also can have a getMap() method and use map.name rather than map[1].name. There is some fairly weird code, unfortunately, underlying all this, which makes the creation of an ActionForm as an instrumented Map impossible. However, looking at the code itself is very instructive because it is kind of a hack that you would not expect.
On 7/14/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Rick Reumann wrote the following on 7/14/2005 4:20 PM: > > > From the FAQ I'm going to try this in my ActionForm.. > > > > > > public Object getStringMapped(String key) { > > return map.get(key); > > } > > > > public void setStringMapped(String key, Object value) { > > map.put(key, value); > > } > > When in doubt look at the docs:) > > The above worked fine..and then... > > <html:textarea property='metadataMapped(1).metadata' rows="10" cols="40" /> > > -- > Rick > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "You can lead a horse to water but you cannot make it float on its back." ~Dakota Jack~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]