|
From: <rod...@in...> - 2003-05-30 09:24:21
|
JP, I agree, formalizing map support would be an improvement. I'm not sure we can do it for 0.8, though. Presently it's handled by a PropertyEditor. I wonder if it means we should introduce additional container elements <list> and <map> into our DTD? e.g.: <property name="simple"><value>val</value></property> <property name="mappings"> <map> <entry key="/welcome.html">pagedListController</entry> <entry key="/detail.html">pagedListController</entry> </map> </property> <property name="coll"> <collection> <value>val</value> <ref bean="foo"/> </collection> </property> It's getting still more verbose, but it would be easier to parse and is more elegant. (Don't need to guess whether a value/ref is part of a collection.) I'm inclined to favour this. I could probably implement it by early next week (including maps). Regards, Rod |