1 Reply Latest reply on Mar 14, 2011 11:22 AM by jfb00

    RemoteObject in custom components

    soigres

      I have some Modules that use a custom component "Page" in which I need to put some content from the database depending from the onClick event of a list of links. Using the RemoteObject in the component "Page" doesn't work. It says:

      (mx.messaging.messages::ErrorMessage)#0
        body = (null)
        clientId = "4102ACF7-556A-AC29-2A56-000004B29529"
        correlationId = (null)
        destination = (null)
        extendedData = (null)
        faultCode = "0"
        faultDetail = ""
        faultString = ""
        headers = (Object)#1
        messageId = "11BBF871-65B5-2269-C385-000050E67DA6"
        rootCause = (null)
        timestamp = 129994174600
        timeToLive = 0

       

      I think I need to preinitialize the RemoteObject but the destination is a variable that depends on the Modules.

      So, what to do?