I've never tried on a multi-home config, but everything looks fine.
Thanks, a solution was posted to Ben Forta's and now the CF/Flex connector
forum at labs.adobe.com. I had to add all the mxml files to the project.
>From thinman's post to Ben Forta's blog:
>http://www.forta.com/blog/index.cfm/2006/2/1/ColdFusion-Flex-2-Sample-Application
Needed to add the all 3 mxml files into the Flex Applications panel of the
Properties for the Phones app:
Right-click the app
Select Properties
Select Flex Applications
Click the 'Add..' button
Select ProductDetails.mxml and Thumb.mxml
After following this, I got the sample app running. Now I'm trying to learn
from it to create my own "Hello World" CF/Flex app. It would be nice if there
was a few | a lot more comments in the files on what each piece is doing and
how one would modify it to use it for one's own purpose.
I'm trying to start with a simple CFC that sends a simple string, then work up
to arrays, structures and queries. But I am very unclear on what I am
modifying and why. I foresee a lot of frustrating trial and error ahead of me.
Thanks for you help Benoit
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
---------
| 1 | |
--------- Binary Soduko
| | |
---------
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
--
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/
--- Begin Message ---
I've never tried on a multi-home config, but everything looks fine.
You change the port number in your endpoint URL in
flex-enterprise-services.xml:
Ex. : <endpoint uri="http://localhost:8500/flex2gateway/"
(you must restart your service)
In your case, it should be (default value, I think):
<endpoint uri="http://localhost{context.root}/flex2gateway/"
What you can do : check the cfusion-out.log in the Jrun logs.
If the flex2gateway is correctly called, it will log all the messages in it
with [Flex] flag.
But I suspect that your flex2gateway is never called...
Benoit Hediard
-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED] De la
part de Ian Skinner
Envoyé : mardi 21 février 2006 17:50
À : [email protected]
Objet : RE: [flexcoders] First time flex2 app Phones Example Failing
Thanks Benoit
Have you added the additional argument in Flex Builder2 to take into account
flex-enterprise-services.xml?
I have added the following value in the "Additional compiler arguments:"
--services=C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\flex\fle
x-enterprise-services.xml
I am running ColdFusion in a multi-home configuration on the native Jrun.
So I am not sure this is the correct value. But I picked the
flex-enterprise-services.xml that was in the cfusion jrun server. This is
the Cf/jrun instance associated with the default website configured in my
IIS manager.
Have you verified the port number in flex-enterprise-services.xml?
I have tried. I looked in the flex-enterprise-services.xml file, but I do
not see a port number, I am not sure which element is supposed to have one
and whether I should be seing one or not. I access my defalut website with
http://localhost without a portnumber. I've tested the CF code with the
following url: http://localhost/CFIDE/samples/Phones/CF/test.cfm.
So what port number should I be checking in the
flex-enterprise-services.xml?
Thanks
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
---------
| 1 | |
--------- Binary Soduko
| | |
---------
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
--
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
Yahoo! Groups Links
--- End Message ---