RE: [flexcoders] Re: Remoteobject help
Thanks Joao, I working with an ISP(cfdynamics.com) that isn't using 7, not 7.02. They say they have no plans to upgrade to 7.02. I take it I need either 7.02 OR FDS to use remoting? Thanks again. Derek -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of João FernandesSent: Tuesday, August 15, 2006 8:37 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Remoteobject help Derek,there is no need of FDS to use remoting. The 7.0.2 version is enough to use the new AMF3 with Flex2.For the web-inf part, point to the war folder and not the web-inf itself {jrun4-home}/servers/{serverInstance}/cfusion-ear/cfusion-war/ . João Fernandes On 8/9/06, flex-guitar [EMAIL PROTECTED]learning.com wrote: I've been trying to figure this out myself. Do you need FDS in order to set a project as CF Flash Remoting? I couldn't figure out how to select this option. (It always asked for a WEB-INF folder). Thanks, Derek -Original Message-From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Douglas KnudsenSent: Wednesday, August 09, 2006 5:02 PMTo: [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Re: Remoteobject help old thread but i just experienced this. Reason I had the issue was I failed to set up my Flex project correctly! You have to choose 'ColdFusion Flash Remoting Service' as a project type and go from there. Then the proper stuff is compiled into the SWF. DK On 7/27/06, Jeremy Rottman rottmanList@gmail.com wrote: ok well I got it to work with this code. But this isnt exactly how Iwant it to work. Do I have to use test.component name and do I haveto add the end point.?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"layout="absolute" mx:Script![CDATA[import mx.controls.Alert;import mx.rpc.Fault;import mx.rpc.events.FaultEvent;import mx.rpc.events.ResultEvent;private function qryService_userSearch(lastName){qryService.userSearch(lastName)}private function qryService_userSearch_Result(event:ResultEvent):void{ testDG.dataProvider = event.result;}private function qryService_userSearch_Fault(event:FaultEvent):void{ Alert.show(event.fault.message);}]]/mx:Scriptmx:RemoteObjectid="qryService"destination="ColdFusion" source="test.ROtest"result="qryService_userSearch_Result(event)"endpoint=" http://fx3.homesmartagent.com/flex2gateway/ "showBusyCursor="true"fault="qryService_userSearch_Fault(event)"/mx:Canvas x="0" y="0" width="100%" height="100%" mx:Label x="10" y="10" text="Name:"/mx:TextInput id="lastName" x="60" y="8"/mx:Button x="228" y="8" click="qryService_userSearch(lastName.text)" label="Button"/mx:DataGrid x="10" y="38" id="testDG" width="90%" height="100%" mx:columnsmx:DataGridColumn headerText="Column 1"dataField="fld_agentFullName"/mx:DataGridColumn headerText="Column 2" dataField="fld_agentId"/ mx:DataGridColumn headerText="Column 3" dataField="fld_agentEmail"//mx:columns/mx:DataGrid/mx:Canvas/mx:Application --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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: flexcoders-unsubscr[EMAIL PROTECTED]com* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __ NOD32 1.1699 (20060809) Information __This message was checked by NOD32 antivirus system.http://www.eset.com __ NOD32 1.1707 (20060815) Information __This message was checked by NOD32 antivirus system.http://www.eset.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%4
RE: [flexcoders] Re: Remoteobject help
I've been trying to figure this out myself. Do you need FDS in order to set a project as CF Flash Remoting? I couldn't figure out how to select this option. (It always asked for a WEB-INF folder). Thanks, Derek -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Douglas KnudsenSent: Wednesday, August 09, 2006 5:02 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Remoteobject help old thread but i just experienced this. Reason I had the issue was I failed to set up my Flex project correctly! You have to choose 'ColdFusion Flash Remoting Service' as a project type and go from there. Then the proper stuff is compiled into the SWF. DK On 7/27/06, Jeremy Rottman rottmanList@gmail.com wrote: ok well I got it to work with this code. But this isnt exactly how Iwant it to work. Do I have to use test.component name and do I haveto add the end point.?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"layout="absolute"mx:Script![CDATA[import mx.controls.Alert;import mx.rpc.Fault;import mx.rpc.events.FaultEvent;import mx.rpc.events.ResultEvent;private function qryService_userSearch(lastName){qryService.userSearch(lastName)}private function qryService_userSearch_Result(event:ResultEvent):void{ testDG.dataProvider = event.result;}private function qryService_userSearch_Fault(event:FaultEvent):void{ Alert.show(event.fault.message);}]]/mx:Scriptmx:RemoteObjectid="qryService"destination="ColdFusion" source="test.ROtest"result="qryService_userSearch_Result(event)"endpoint="http://fx3.homesmartagent.com/flex2gateway/ "showBusyCursor="true"fault="qryService_userSearch_Fault(event)"/mx:Canvas x="0" y="0" width="100%" height="100%" mx:Label x="10" y="10" text="Name:"/mx:TextInput id="lastName" x="60" y="8"/mx:Button x="228" y="8" click="qryService_userSearch(lastName.text)" label="Button"/mx:DataGrid x="10" y="38" id="testDG" width="90%" height="100%" mx:columnsmx:DataGridColumn headerText="Column 1"dataField="fld_agentFullName"/mx:DataGridColumn headerText="Column 2" dataField="fld_agentId"/ mx:DataGridColumn headerText="Column 3" dataField="fld_agentEmail"//mx:columns/mx:DataGrid/mx:Canvas/mx:Application--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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: flexcoders-unsubscr[EMAIL PROTECTED]com* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __ NOD32 1.1699 (20060809) Information __This message was checked by NOD32 antivirus system.http://www.eset.com __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Remoteobject help
Derek,there is no need of FDS to use remoting. The 7.0.2 version is enough to use the new AMF3 with Flex2.For the web-inf part, point to the war folder and not the web-inf itself {jrun4-home}/servers/{serverInstance}/cfusion-ear/cfusion-war/ . João FernandesOn 8/9/06, flex-guitar [EMAIL PROTECTED] wrote: I've been trying to figure this out myself. Do you need FDS in order to set a project as CF Flash Remoting? I couldn't figure out how to select this option. (It always asked for a WEB-INF folder). Thanks, Derek -Original Message-From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Douglas KnudsenSent: Wednesday, August 09, 2006 5:02 PMTo: [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Re: Remoteobject help old thread but i just experienced this. Reason I had the issue was I failed to set up my Flex project correctly! You have to choose 'ColdFusion Flash Remoting Service' as a project type and go from there. Then the proper stuff is compiled into the SWF. DK On 7/27/06, Jeremy Rottman [EMAIL PROTECTED] wrote: ok well I got it to work with this code. But this isnt exactly how Iwant it to work. Do I have to use test.component name and do I haveto add the end point.?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxmllayout=absolute mx:Script![CDATA[import mx.controls.Alert;import mx.rpc.Fault;import mx.rpc.events.FaultEvent;import mx.rpc.events.ResultEvent;private function qryService_userSearch(lastName){qryService.userSearch(lastName)}private function qryService_userSearch_Result(event:ResultEvent):void{ testDG.dataProvider = event.result;}private function qryService_userSearch_Fault(event:FaultEvent):void{ Alert.show(event.fault.message);}]]/mx:Scriptmx:RemoteObjectid=qryServicedestination=ColdFusion source=test.ROtestresult=qryService_userSearch_Result(event)endpoint= http://fx3.homesmartagent.com/flex2gateway/ showBusyCursor=truefault=qryService_userSearch_Fault(event)/mx:Canvas x=0 y=0 width=100% height=100% mx:Label x=10 y=10 text=Name:/mx:TextInput id=lastName x=60 y=8/mx:Button x=228 y=8 click=qryService_userSearch(lastName.text) label=Button/mx:DataGrid x=10 y=38 id=testDG width=90% height=100% mx:columnsmx:DataGridColumn headerText=Column 1dataField=fld_agentFullName/mx:DataGridColumn headerText=Column 2 dataField=fld_agentId/ mx:DataGridColumn headerText=Column 3 dataField=fld_agentEmail//mx:columns/mx:DataGrid/mx:Canvas/mx:Application --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/ -- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it? __ NOD32 1.1699 (20060809) Information __This message was checked by NOD32 antivirus system.http://www.eset.com __._,_.___ -- 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Re: [flexcoders] Re: Remoteobject help
On Thursday 27 July 2006 11:52, Jeremy Rottman wrote: even with defining the uri I get the same issue. If you request the URL by hand, what do you get ? looked not a single tutorial has said to define the uri in the channels section of hte service-config.xml file shrug mxmlc wasn't clever enough to make it work without doing so here, and I've got a fairly standard name based virtual host setup. My cf server runs on linux. You've got almost the same setup as us. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- 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/
Re: [flexcoders] Re: Remoteobject help
On Thursday 27 July 2006 12:51, Jeremy Rottman wrote: Well when I use this url I get the normal blank display. http://fx3.homesmartagent.com/flex2gateway/ If you leave of the / do you get a '500 No configured channel has an endpoint path' error ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- 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/
Re: [flexcoders] Re: Remoteobject help
On Thursday 27 July 2006 11:52, Jeremy Rottman wrote: even with defining the uri I get the same issue. Everywhere I have looked not a single tutorial has said to define the uri in the channels section of hte service-config.xml file http://thefalken.livejournal.com/ ;-) -- Tom Chiverton, mouth firmly over trumpet and blowing hard. I'm sure MXNA will wake up soon This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- 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/
Re: [flexcoders] Re: Remoteobject help
On Thursday 27 July 2006 13:22, Jeremy Rottman wrote: ok well I got it to work with this code. But this isnt exactly how I want it to work. Do I have to use test.component name and do I have to add the end point. mx:RemoteObject id=qryService destination=ColdFusion source=test.ROtest result=qryService_userSearch_Result(event) endpoint=http://fx3.homesmartagent.com/flex2gateway/; showBusyCursor=true fault=qryService_userSearch_Fault(event)/ You are using the default ColdFusion endpoint, which has '*' as the CFC to connect to (source), so you have to use 'source' in the MXML to give it more of a hint. It's more normal to have one endpoint per CFC (give the full CFC dotted path in the source section), and then you can use just destination in RemoteObject. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- 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/