]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.castor/src/main/resources/org/argeo/slc/castor/msg.xml
Fix issue with object lists in Castor
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.castor / src / main / resources / org / argeo / slc / castor / msg.xml
index e523bbdf215273244d81cf59ec1f3f1df0bc0330..b295a610f0dd00e615eb05a879b0ab5189315c96 100644 (file)
@@ -24,7 +24,7 @@
        <class name="org.argeo.slc.msg.ObjectList">
                <map-to ns-uri="http://argeo.org/projects/slc/schemas"
                        ns-prefix="slc" />
-               <field name="objects" collection="arraylist" type="java.lang.Object">
+               <field name="objects" collection="arraylist" type="java.io.Serializable">
                        <bind-xml auto-naming="deriveByClass" />
                </field>
        </class>
                                </class>
                        </bind-xml>
                </field>
+               <field name="attachments" collection="arraylist"
+                       type="org.argeo.slc.core.attachment.SimpleAttachment">
+                       <bind-xml auto-naming="deriveByClass" location="attachments" />
+               </field>
        </class>