I’m trying to generate some Action Scripts VO files from Sculptor (for each
ValueObject).

I wrote an xpt template and one extension code for this.

But I faced two issues regarding this:

   1. If there is Enum as attribute type of a value-object I need to convert
   it to String in AS. But I’m not being able to identify the type as Enum.
   (apart from normal types, attribute type can be of  another value object
   or enum, which I am not being able to differentiate. isEnum function is not
   available for attribute)
   2. For each non primitive type I need to write an import statement in AS.
   But if there are two attributes of same type, the same import statement
   appears twice in AS.



Please help me out regarding this issues.


-- 
Regards,

Arpan
------------------------------------------------------------------------------
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to