Return-Path: Delivered-To: apmail-jakarta-struts-dev-archive@apache.org Received: (qmail 71631 invoked from network); 2 Dec 2002 16:45:51 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Dec 2002 16:45:51 -0000 Received: (qmail 3936 invoked by uid 97); 2 Dec 2002 16:46:38 -0000 Delivered-To: qmlist-jakarta-archive-struts-dev@jakarta.apache.org Received: (qmail 3876 invoked by uid 97); 2 Dec 2002 16:46:37 -0000 Mailing-List: contact struts-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list struts-dev@jakarta.apache.org Received: (qmail 3799 invoked by uid 98); 2 Dec 2002 16:46:36 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Mon, 2 Dec 2002 08:45:23 -0800 (PST) From: "Craig R. McClanahan" To: Struts Developers List Subject: Re: Using a property of type Map in a DynaActionForm In-Reply-To: <20021201215626.D98827-100000@icarus.apache.org> Message-ID: <20021202084416.X77206-100000@icarus.apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sun, 1 Dec 2002, Martin Cooper wrote: > Date: Sun, 1 Dec 2002 22:18:05 -0800 (PST) > From: Martin Cooper > Reply-To: Struts Developers List > To: struts-dev@jakarta.apache.org > Subject: Using a property of type Map in a DynaActionForm > > As far as I can determine, it is not possible to create a DynaActionForm > which has a property of type Map. It is also not possible to extend it to > be able to accept a property of type Map. This seems like an unfortunate > omission, so I'd like to fix it. First, though, I'd like to get some > feedback on whether there is a reason it's not currently supported, and on > the best way of resolving it. > It's *supposed* to work if you declare the property type to be java.util.Map instead of a concrete implementation of Map. You'll still need to create your own Map instance at the moment -- I do mine in a custom reset() method, but we probably also need a better solution based on an initial expression. Craig -- To unsubscribe, e-mail: For additional commands, e-mail: