Hi,
I am coming in JSOHelper.convertMapToJavascriptObject in the else throw new IllegalArgumentException("Unsupported type for attribute " + key + " : " + value) case for my multiple links fields.
"Object value" in there is actually an ArrayList of Maps in my case.
Should a case be added for ArrayList in that method on JSOHelper, or is there something deeply going wrong here?
I've yet to try this with a link holding actually more than 1 destination objects, but I figure it'll be in an ArrayList as well.
bye,
SmartClient Version: SC_SNAPSHOT-2010-09-10/EVAL Deployment
I am coming in JSOHelper.convertMapToJavascriptObject in the else throw new IllegalArgumentException("Unsupported type for attribute " + key + " : " + value) case for my multiple links fields.
"Object value" in there is actually an ArrayList of Maps in my case.
Should a case be added for ArrayList in that method on JSOHelper, or is there something deeply going wrong here?
I've yet to try this with a link holding actually more than 1 destination objects, but I figure it'll be in an ArrayList as well.
Code:
<field name="theLinks" title="Link1" multiple="true" type="myLink" target="javascript" javaClass="zzz.MyLink" crud="2" required="false" dest="197" />
Code:
theLinks:[ { dest:197, id:501268, repr:"1", status:0, rel:598 } ],
bye,
SmartClient Version: SC_SNAPSHOT-2010-09-10/EVAL Deployment
Comment