Peter,

        I think we could assume that Simon Fifield from the news group is
having the same problem as well.  Would you be able to maybe do a simple POC
to prove if this is an issue I am only having or something that is
repeatable and maybe reportable as a bug.  As I mentioned I currently have a
work around with the extra class, but it would be nice to not have to do
that.

Thanks

Jeff


-----Original Message-----
From: Peter Farland [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 3:57 PM
To: [email protected]
Subject: RE: [flexcoders] Remote object that returns an array of objects



Perhaps there's something going wrong when casting to Array (or UserVO,
though that doesn't effect the second test)? However, I've not heard of
this issue before... has anyone else?


 

-----Original Message-----
From: Jeff Krueger [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 5:56 PM
To: [email protected]
Subject: RE: [flexcoders] Remote object that returns an array of objects


Hmmmmm, that worked!!!!!

Here is the log, not sure if it shows anything.  Any idea how I can get
that
to an object?

Jeff


Info: Completed 'net.crownmedia.flex.user.FlexUserDelegate.getAll' with
reply me
thod 'onResult' in 156ms
Info: Serializing response
  (Message #0 targetURI=/2/onResult, responseURI=null)
    (Array #0)
      [0] = (Typed Object #1 'net.crownmedia.flex.user.vo.UserVO')
        password = "secret"
        timeZone = (Typed Object #2
'net.crownmedia.flex.common.vo.TimeZoneVO')
          timeZoneCode = "MST"
          timeZoneDescription = "Mountain Standard Time"
          dateUpdated = Thu Mar 31 07:43:20 MST 2005
          gmtOffset = -2.52E7
          _remoteClass = "net.crownmedia.flex.common.vo.TimeZoneVO"
          updatedByUserProfileId = null
          createdByUserProfileId = null
          dateCreated = Thu Mar 31 07:43:20 MST 2005
        userName = "cmi"
        dateUpdated = null
        _remoteClass = "net.crownmedia.flex.user.vo.UserVO"
        person = (Typed Object #3
'net.crownmedia.flex.user.vo.PersonVO')
          jobTitle = null
          occupation = null
          dateUpdated = Thu Mar 31 07:43:20 MST 2005
          _remoteClass = "net.crownmedia.flex.user.vo.PersonVO"
          updatedByUserProfileId = null
          createdByUserProfileId = null
          middleName = "Media"
          dateCreated = Thu Mar 31 07:43:20 MST 2005
          firstName = "Crown"
          nickName = "CMI"
          lastName = "International"
          titlePrefix = null
        updatedByUserProfileId = null
        securityKeys = (Array #4)
          [0] = (Typed Object #5
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
            keyDescription = "Insert folder"
            dateUpdated = Thu Mar 31 07:43:20 MST 2005
            _remoteClass =
"net.crownmedia.flex.security.vo.SecurityKeyVO"
            keyName = "Folder.insert"
            updatedByUserProfileId = null
            createdByUserProfileId = null
            dateCreated = Thu Mar 31 07:43:20 MST 2005
          [1] = (Typed Object #6
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
            keyDescription = "View folder"
            dateUpdated = Thu Mar 31 07:43:20 MST 2005
            _remoteClass =
"net.crownmedia.flex.security.vo.SecurityKeyVO"
            keyName = "Folder.view"
            updatedByUserProfileId = null
            createdByUserProfileId = null
            dateCreated = Thu Mar 31 07:43:20 MST 2005
          [2] = (Typed Object #7
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
            keyDescription = "Update folder"
            dateUpdated = Thu Mar 31 07:43:20 MST 2005
            _remoteClass =
"net.crownmedia.flex.security.vo.SecurityKeyVO"
            keyName = "Folder.update"
            updatedByUserProfileId = null
            createdByUserProfileId = null
            dateCreated = Thu Mar 31 07:43:20 MST 2005
          [3] = (Typed Object #8
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
            keyDescription = "Delete folder"
            dateUpdated = Thu Mar 31 07:43:20 MST 2005
            _remoteClass =
"net.crownmedia.flex.security.vo.SecurityKeyVO"
            keyName = "Folder.delete"
            updatedByUserProfileId = null
            createdByUserProfileId = null
            dateCreated = Thu Mar 31 07:43:20 MST 2005
          [4] = (Typed Object #9
'net.crownmedia.flex.security.vo.SecurityKeyVO'
)
            keyDescription = "View user"
            dateUpdated = Thu Mar 31 07:43:20 MST 2005
            _remoteClass =
"net.crownmedia.flex.security.vo.SecurityKeyVO"
            keyName = "User.view"
            updatedByUserProfileId = null
            createdByUserProfileId = null
            dateCreated = Thu Mar 31 07:43:20 MST 2005
        createdByUserProfileId = null
        status = "APPROVED"
        dateCreated = null
        application = (Typed Object #10
'net.crownmedia.flex.common.vo.Applicati
onVO')
          applicationName = "CMI"
          dateUpdated = Thu Mar 31 07:43:20 MST 2005
          _remoteClass = "net.crownmedia.flex.common.vo.ApplicationVO"
          updatedByUserProfileId = null
          createdByUserProfileId = null
          dateCreated = Thu Mar 31 07:43:20 MST 2005


-----Original Message-----
From: Peter Farland [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 3:38 PM
To: [email protected]
Subject: RE: [flexcoders] Remote object that returns an array of objects


Just curious, what does:

mx.core.Application.alert ("Test with userVo " +
event.result[0].userName);

do? 



 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links



 





 
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/
 



Reply via email to