RE: [flexcoders] mx.dataManagedObjectProxy instead of my classVO (FDS)

2006-06-02 Thread João Fernandes



Tom,
The problem seems related with the response from the server. I have another destination where I get an array of pt.cofina.intranet.vo.userVO. With this one (pt.cofina.intranet.vo.user_ldapVO) I get an array of objects. 

Destinations are similar as the assembler itself. Why one get translated and not the other?



 
 
  
 
 

 
 pt.cofina.intranet.vo.Assembler.user_ldap
 application
     true
 
    
 
 
 
 false    
 true
 true
 
 
 
  


 
 
  
 
 

 
   pt.cofina.intranet.vo.Assembler.user
   application
    true
     
          
     
 
 
 false    
 true
 true
 
 
 



João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton
Sent: sexta-feira, 2 de Junho de 2006 13:44
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] mx.dataManagedObjectProxy instead of my classVO (FDS)

On Friday 02 June 2006 12:57, João Fernandes wrote:
> ArrayCollection I get instances of mx.dataManagedObjectProxy instead 
> of my myVo.as.

What happens if you cast the result ?

--
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.  A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be confidential or legally privileged.  If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.  If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~--> Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] mx.dataManagedObjectProxy instead of my classVO (FDS)

2006-06-02 Thread Tom Chiverton
On Friday 02 June 2006 12:57, João Fernandes wrote:
> ArrayCollection I get instances of mx.dataManagedObjectProxy instead of my
> myVo.as.

What happens if you cast the result ?

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~--> 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM
~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] mx.dataManagedObjectProxy instead of my classVO (FDS)

2006-06-02 Thread João Fernandes










Hi there,

 

I’m having this issue when filling
some destinations. When I look to my ArrayCollection I get instances of
mx.dataManagedObjectProxy instead of my myVo.as.

What is weird is that for some destinations
it get well translated when for others it doesn’t translate it right.

 

Any Ideas?

 

Example of my
arrayCollection.list.localItems[0]:

 

[0] = mx.data.ManagedObjectProxy (@49b9fb9)

    cn = "SomeCN"

    company = "Cofina"

    department =
"Expedicao"

    destination = null

    displayname = "Me"

    mail = "[EMAIL PROTECTED]"

    name = "Me Again"

    object = Object (@4723081)

    referencedIds = null

    samaccountname = "someLdapAccount"

    uid = "100"

    user_id = 100 [0x2c]

 

My cfc :



        

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

    



 

My AS VO:

package pt.cofina.intranet.vo.As

{      

    [Managed]

    [RemoteClass(alias="pt.cofina.intranet.vo.To.user_ldapTomssql")]

 

    public dynamic class
user_ldapVO

    {

   

   public var
samaccountname:String = "";

   public var
user_id:Number = 0;

   public var
cn:String = "";

   public var
mail:String = "";

   public var
displayname:String = "";

   public var
company:String = "";

   public var
department:String = "";

   public var
name:String = "";

    

   public
function user_ldapVO(){

   

   }

    }

}

 

João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]

 









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.