Farata / ClearJS

Clear Data Builder for HTML5 is an open source and free productivity tool to build applications with HTML5, JavaScript and Java EE technologies.
http://farata.github.com/ClearJS/
15 stars 6 forks source link

Invalid ExtJS types are generated for the fields in Java DTO of types List<?> and byte[] #11

Open bssjdm opened 10 years ago

bssjdm commented 10 years ago

I am using Clear DB for ExtJS, with MyBatis Version 1.0.0.201301242238

Field of type List<?> in the Java DTO is translated to mx.collections.ArrayCollection (which is Flex class) in the generated ExtJS Model. Also, field of type byte[] in the Java DTO is translated to flash.utils.ByteArray

Examples:

Java DTO Class:

@JSClass public class TransactionsDTO { ..... private List supportingDocuments; }

Generated ExtJS _TransactionsModel:

...... { name: 'supportingDocuments', type: mx.collections.ArrayCollection, useNull: true }, .......

gAmUssA commented 10 years ago

@bssjdm What is a expected result type? auto ?