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

Flex toolkit R3.2: Sample app salesforce.mxml won't compile
The sample app salesforce.mxml compiled fine the last time I tried it (in Beta 2), but in R3.2 there is now functionality in it that won't compile for me:
[java] C:\Java\Flex\SalesforceFlexToolkit_R3.2\salesforce.mxml(453): Error
: Type was not found or was not a compile-time constant: LeadLookup.
: Type was not found or was not a compile-time constant: LeadLookup.
[java] var ll:LeadLookup = PopUpManager.createPopUp(this, LeadLookup, true) as LeadLookup;
I've found a missing file, i forgot to add the new file LeadLookup.mxml when i built the 3.2 version.
there is a new version which has this file, look for R3_4
let me know how this works.
Message Edited by Ron Hess on 06-03-2007 11:53 AM
No luck with R3.4:
Code:
...
ArrayCollection, QueryResult, Connection...etc.
Please help...
Loading configuration file C:\usr\Flex2\frameworks\flex-config.xml
C:\usr\flex_work\SfdcTest1.mxml(10): Error: Call to a possibly undefined method LoginRequest.
Code:
there are more of these for Arrays, etc
import mx.utils.ObjectProxy;
import mx.collections.ArrayCollection;
basicaly one import for each object you want to use
Message Edited by Ron Hess on 06-19-2007 04:07 PM
Message Edited by Ron Hess on 06-19-2007 04:08 PM
that did it...
"Type was not found or was not a compile-time constant: LeadLookup. Should I go back to an eariler version of the lib? I'm also running Flex Builder 3 via Eclipse 3.3 Plug-in
I'm so close! Thanks for the help.
-Paul
thanks for reporting this.
This is the 1st time I've experimented with your example, so I'm not sure which version would be best to revert to. I'm running the latest Adobe Flex on Eclipse 3.3. Can you point me to a compatible version of your lib?
Also, as a workaround, I just commented out those offending LeadLookup calls. The weird thing to is that I found the LeadLookup.mxml file, added it to my project, but still got the earlier reported compile error. Is there some special way to reference these supporting .mxml files from within an Eclipse project?
Lastly, with the workaround in place, I did get the app to run locally. It's so cool and extremely helpful! The next step was to try and load it up via an s-control (as outlined in this example:
http://wiki.apexdevnet.com/index.php/Tutorial:_Creating_Flex_Salesforce_Mashups
The thing is, it won't render. I can see the Flash container, but no GUI. Looking at the Error console under Firefox shows a bunch of style sheet warnings, but no error. Any ideas??
THanks for the help and for the thoughtful example.
-Paul
-Paul