Cant you just do new CompoundPropertyModel(new HashMap()) ? Also check out the wicket.util.value.ValueMap helper class.
-Igor > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Anders Peterson > Sent: Tuesday, August 23, 2005 10:48 AM > To: wicket-user@lists.sourceforge.net > Subject: [Wicket-user] Re: KeyValueCoding and ProperyModel > > Hi, it's me agian... > > I just discovered that this works perfectly fine: > > Map tmpMap = new HashMap(); > Ognl.setValue("testValue", tmpMap, new Integer(1)); > > Then couldn't CompoundProtertyModel have a Map as a default > object (if allowing null objects is a problem)? > > /Anders > > Anders Peterson wrote: > > In case it wasn't clear... > > > > An NSDictionary instance will accept *any* ognl expression. > > > > /Anders > > > -- > http://ojalgo.org/ > > Mathematics, Linear Algebra and Optimisation with Java > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & > EXPO September 19-22, 2005 * San Francisco, CA * Development > Lifecycle Practices Agile & Plan-Driven Development * > Managing Projects & Teams * Testing & QA Security * Process > Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user