Skip to content

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

Description

@bssjdm

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
},
.......

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions