Hello, I work with Cocoon 2.1.10 and JXPath selection lists. According to the API a MultiValueField accepts Java collections so I assume it also works with a Map.
In case of an ArrayList I can write widget.setSelectionList(array, ".", "."). When I try this with a Map I get an exception: java.lang.ClassCastException: java.util.TreeMapjava.util.TreeMapresource://org/apache/cocoon/forms/generation/jx-macros.xml - 6:1827 Caused by: org.mozilla.javascript.WrappedException: Wrapped org.apache.cocoon.generation.JXTemplateGenerator$JXTException: java.util.TreeMap Any ideas? Thanks in advance! Hans --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
