Are you sure you don't have classdef conflicts between your app domains that 
could avoid the proper UserVO definition and casting ?
Did you try to root the loaded appDom into the SystemDomain ?

----- Message d'origine ----
De : "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Vendredi, 25 Mai 2007, 11h44mn 09s
Objet : Re: Re : [flexcoders] Flex Library and FDS









  


    
            Hello Jean-François,



Comment vas-tu ? Fellicitation pour ton fwk, j'aime bien  

l'implémentation du pattern Moderateur entre Modèles et Vues



I tried that by

private var userClass : Class = UserVo ;

private var user : UserVo ;



but compiler don't care about that.



My case is the following



I have two projet :

A Flex FDS Projet that embed my own framework as rsl. This projet  

don't know at all My library.

A Flex Library Projet where i develop my real projet, it embeds  

modelHelper, viewHelper, controllerHelper and of course ValueObject.



For each couple of class (M-V-C-Vo) i compile using compc and  

include-sources (it's allow me to refer unknown classes with  

getDefinition. .. with my fwk), of course i use -services to link to  

service-config. xml of my Flex Fds Projet. I obtains a swc from within  

i extract library.swf (i renammed it and move it in main Flex FDS  

project). My framework load it at runtime... everything work, my  

modelHelper (contained in my swf dynamically loaded) call java remote  

service correctly but...... return is typed ObjectProxy.



I happens even i use my plain library as rsl from my main Flex FDS project.



I tried, i tried and tried again a lot of combinaison but..., nothing...



Officially i offer a restaurant to the first one who find the solution.



Best Regards



Eric



Jean-François Mathiot <jeff_at_flexgroups@ yahoo.fr> a écrit :



> Hi Eric,

> it seems to be an import problem.

> Try to force your valueObject import using for example private   

> static var myImportClass : Object = UserVO; somewhere into your code.

>

> Cheers.

> JFM.

>

> ----- Message d'origine ----

> De : "eric.guesdon@ alligra.com" <eric.guesdon@ alligra.com>

> À : [EMAIL PROTECTED] ups.com

> Envoyé le : Vendredi, 25 Mai 2007, 10h41mn 00s

> Objet : [flexcoders] Flex Library and FDS

>

>

>

>

>

>

>

>

>

>

>

>

>

>             Hi to all,

>

>

>

> I'm trying to compile a Flex Library that containt classes tagged

>

> [RemoteClass( alias="com. alligra.project. java.business. data.UserVo" )].

>

>

>

> Actually my Library Classes acced correctly to Java services (i used

>

> -services compiler option) but java service that should returns a

>

> UserVo return an ObjectProxy due to the fact it doesn't know my

>

> actionscript ValueObject.

>

>

>

> I tried to add registerClassAlias but nothing change

>

>

>

> Do you have any idea ?

>

>

>

> Thanks in advanced

>

>

>

> Eric

>

>

>

>

>

>

>

>

>

>

>

>

>

>

> <!--

>

> #ygrp-mlmsg {font-size:13px; font-family: arial, helvetica, clean, 
> sans-serif;}

> #ygrp-mlmsg table {font-size:inherit; font:100% ;}

> #ygrp-mlmsg select, input, textarea {font:99% arial, helvetica,   

> clean, sans-serif;}

> #ygrp-mlmsg pre, code {font:115% monospace;}

> #ygrp-mlmsg * {line-height: 1.22em;}

> #ygrp-text{

> font-family: Georgia;

> }

> #ygrp-text p{

> margin:0 0 1em 0;}

> #ygrp-tpmsgs{

> font-family: Arial;

> clear:both;}

> #ygrp-vitnav{

> padding-top: 10px;font- family:Verdana; font-size: 77%;margin: 0;}

> #ygrp-vitnav a{

> padding:0 1px;}

> #ygrp-actbar{

> clear:both;margin: 25px 0;white-space: nowrap;color: #666;text- align:right; }

> #ygrp-actbar .left{

> float:left;white- space:nowrap; }

> .bld{font-weight: bold;}

> #ygrp-grft{

> font-family: Verdana;font- size:77%; padding:15px 0;}

> #ygrp-ft{

> font-family: verdana;font- size:77%; border-top: 1px solid #666;

> padding:5px 0;

> }

> #ygrp-mlmsg #logo{

> padding-bottom: 10px;}

>

> #ygrp-vital{

> background-color: #e0ecee;margin- bottom:20px; padding:2px 0 8px 8px;}

> #ygrp-vital #vithd{

> font-size:77% ;font-family: Verdana;font- weight:bold; color:#333; 
> text-transform: uppercase; }

> #ygrp-vital ul{

> padding:0;margin: 2px 0;}

> #ygrp-vital ul li{

> list-style-type: none;clear: both;border: 1px solid #e0ecee;

> }

> #ygrp-vital ul li .ct{

> font-weight: bold;color: #ff7900;float: right;width: 2em;text- align:right; 
> padding-right: .5em;}

> #ygrp-vital ul li .cat{

> font-weight: bold;}

> #ygrp-vital a {

> text-decoration: none;}

>

> #ygrp-vital a:hover{

> text-decoration: underline; }

>

> #ygrp-sponsor #hd{

> color:#999;font- size:77%; }

> #ygrp-sponsor #ov{

> padding:6px 13px;background- color:#e0ecee; margin-bottom: 20px;}

> #ygrp-sponsor #ov ul{

> padding:0 0 0 8px;margin:0; }

> #ygrp-sponsor #ov li{

> list-style-type: square;padding: 6px 0;font-size: 77%;}

> #ygrp-sponsor #ov li a{

> text-decoration: none;font- size:130% ;}

> #ygrp-sponsor #nc {

> background-color: #eee;margin- bottom:20px; padding:0 8px;}

> #ygrp-sponsor .ad{

> padding:8px 0;}

> #ygrp-sponsor .ad #hd1{

> font-family: Arial;font- weight:bold; color:#628c2a; font-size: 100%;line- 
> height:122% ;}

> #ygrp-sponsor .ad a{

> text-decoration: none;}

> #ygrp-sponsor .ad a:hover{

> text-decoration: underline; }

> #ygrp-sponsor .ad p{

> margin:0;}

> o {font-size:0; }

> .MsoNormal {

> margin:0 0 0 0;}

> #ygrp-text tt{

> font-size:120% ;}

> blockquote{margin: 0 0 0 4px;}

> .replbq {margin:4;}

> -->

>

>

>

>

>

>

>

>

>         

> ____________ _________ _________ _________ _________ _________ _

> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail





    
  

    
    




<!--

#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, 
sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77%;padding:15px 0;}
#ygrp-ft{
font-family:verdana;font-size:77%;border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;}

#ygrp-vital{
background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
#ygrp-vital #vithd{
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
#ygrp-vital ul{
padding:0;margin:2px 0;}
#ygrp-vital ul li{
list-style-type:none;clear:both;border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
#ygrp-vital ul li .cat{
font-weight:bold;}
#ygrp-vital a {
text-decoration:none;}

#ygrp-vital a:hover{
text-decoration:underline;}

#ygrp-sponsor #hd{
color:#999;font-size:77%;}
#ygrp-sponsor #ov{
padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;margin:0;}
#ygrp-sponsor #ov li{
list-style-type:square;padding:6px 0;font-size:77%;}
#ygrp-sponsor #ov li a{
text-decoration:none;font-size:130%;}
#ygrp-sponsor #nc {
background-color:#eee;margin-bottom:20px;padding:0 8px;}
#ygrp-sponsor .ad{
padding:8px 0;}
#ygrp-sponsor .ad #hd1{
font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
#ygrp-sponsor .ad a{
text-decoration:none;}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;}
#ygrp-sponsor .ad p{
margin:0;}
o {font-size:0;}
.MsoNormal {
margin:0 0 0 0;}
#ygrp-text tt{
font-size:120%;}
blockquote{margin:0 0 0 4px;}
.replbq {margin:4;}
-->








      
_____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

Reply via email to