網頁

2010年4月23日 星期五

在Module使用 Clear Data Builder 的問題

vrasputnis


I am judging purely by the underlying Flex error - flex.messaging.io.amf.ASObject
cannot be cast to com.wintek.mids.dto.DeptDTO.
Whenever you use modules, rule #1 is to link Flex DTOs to the application and
NOT to the module. You can use Flex library project, in particular and tune
the CDB to generate Flex DTO's directly into that library. Add that project
as, say, merge-in to the application. To the module add the same project as
extern, because DTO classes will be provided by the parent application domain.

沒有留言:

張貼留言