You need to sign in to do that
Don't have an account?

Flex not resolving Salesforce connection to a component
I'm trying out the Flex toolkit using the Flex Eclipse plugin. I get the following error on my connection tag
<salesforce:Connection id="apex" />
The error says, "Could not resolve <salesforce:Connection> to a component implementation"
I have added the Salesforce Flex folder as an SWC folder.
What else do I need to do to get the connection to resolve to a component?
<salesforce:Connection id="apex" />
The error says, "Could not resolve <salesforce:Connection> to a component implementation"
I have added the Salesforce Flex folder as an SWC folder.
What else do I need to do to get the connection to resolve to a component?
you may need this
xmlns:salesforce="com.salesforce.*"
as an attribute in your <mx:Application tag
However, that app does not have a <salesforce:Connection /> tag, so it would not exhibit this specific problem. When I added that tag to my simple test case, the Apex plugin automatically added the Salesforce namespace to my <mx:Application> tag (nice). The code is about as simple as possible, so I included it below. All it does is try to log in to Salesforce. Let me know if you have any ideas as to what could be wrong.
Code:
Code:
the sample app does have a Connection tag, it's on line ~ 441
Code:
The import statements got it working. Thanks!