I have extensively used "UtilMisc.toMap(new Object[] {key1, val1, key2,
val2, ...})" version of the function to create maps with large number of
parameters. It works well.Regards, Vinay Agarwal -----Original Message----- From: Chris Howe [mailto:[EMAIL PROTECTED] Sent: Thursday, August 31, 2006 12:56 PM To: [email protected] Subject: Re: UtilMisc.toMap wierdness actually, it does already. the 7th toMap method accepts an even object array and returns the map. I would test it though. It looks to skip the Object[0]. --- Walter Vaughan <[EMAIL PROTECTED]> wrote: > Jacques Le Roux wrote: > > > This is due to Java limitation in arguments > number. You may create your own toMap() method in UtilMisc.Java... > > Thanks everyone... > > As complete newbies in "OFBiz think" it seemed impossible that there > was a hard coded upper limit. Of course two of the guys want to > rewrite it so that it would accept 1 to infinity-1 number of > arguments. > > We'll save that for an other day... > > -- > Walter >
