[flexcoders] Re: Few issues
Hi all, Thank you for helping me, I finally got it working, I did put: http://207.xxx.xxx.xxx:Port#/flex2gateway/ I did have the same problem, but here is what I 've done after that: 1- Remove --services=C:\CFusionMX7\wwwroot\WEB-INF\flex\flex- enterprise-services.xml 2- reBuild the app. 3- put: C:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex- enterprise-services.xml 4- reBuild the app. 5- Remove: C:\fds2\jrun4\servers\default\flex\WEB-INF\flex\flex- enterprise-services.xml 6- reBuild the app. 7- put back the original compiler argument: --services=C:\CFusionMX7 \wwwroot\WEB-INF\flex\flex-enterprise-services.xml 8- reBuild the app. and it worked!!! --- In flexcoders@yahoogroups.com, angelosalsa [EMAIL PROTECTED] wrote: Hi Jason, Thank you for you inputs, Ok here is what I did: I put this in the flex-enterprise-services.xml file endpoint uri=http://207.AndTheRestOfTheFixedIP:8701/flex2gateway/; class=flex.messaging.endpoints.AMFEndpoint/ then I tied it locally its still fine, but from a remote location I am still getting the same thing I was getting before, the app loads and the hour glass loads with no data or errors...!! Angelo --- In flexcoders@yahoogroups.com, Jason Y. Kwong inlineblue@ wrote: Please remember that your Flex application runs locally on the user's computer. Sure, the user is able to download the SWF via http://www.mydomain.com:8701, but because the IP address is hard- coded into the SWF, it will try to access IP address 192.168.1.103 when it runs. That IP address will not resolve because it's local to your LAN (or it might even resolve to a machine on his LAN, which will really confuse matters). Unless I'm missing something, I really think you should put http://www.mydomain.com:8701/flex2gateway/; in your flex-enterprise-services.xml file. That way it'll resolve to your machine from anywhere. On 4/6/06, angelosalsa angelosalsa@ wrote: Hi Jason, Yes it is a Linksys, you see when someone calls up on my domain, example: http://www.mydomain.com:8701/test.html that DNS is to my Static IP, then forwarded from the router to open that port to the 192.168... IP to IIS 6.0, inside the test.html there are few calls to Webservices and RemoteObjects which will access the http://192.168.1.103/components/mycomponent.cfc?WSDL. Locally everything works fine, but from the net no data gets loaded, but no error shows up anywhere!@ Angelo --- In flexcoders@yahoogroups.com, Jason Y. Kwong inlineblue@ wrote: An IP address like 192.168.1.103 is a local IP address assigned by a router (most likely a Linksys, right?). An outside machine (not on your LAN) won't be able to see your machine via that IP. At least that's my take on the situation... On 3/28/06, angelosalsa angelosalsa@ wrote: Hi all., 1st issue: My remoteobjects and webservices work fine from my local server but when I try to access the site from the outside world, I get only the hourglass loading with no errors but nothing shows, My crossdomain is in both C:\Inetpub\wwwroot\crossdomain.xml and incase C:\CFusionMX7\wwwroot\crossdomain.xml, here is what the crossdomain file look like. ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd cross-domain-policy allow-access-from domain=* / /cross-domain-policy My local host is running on http://192.168.1.103:8701 and the flexenterprise-services.xml has this: endpoint uri=http://192.168.1.103:80 {context.root}/flex2gateway/ all my components and services are in C:\Inetpub\wwwroot\CFIDE\components\... any ideas? 2nd issue: My Application have many components on right hand of the App. I have an Accordion that has a TabNavigator and in the TabNavigator I have a component that search the database for employees, right now the result is bind to a TileList with a listItemRenderer, in that component 'detail State', what i want to do is: insted of the result getting back to the TileList, I would like to bind this ArrayCollection to another component 'empDetails.mxml' DataGrid which is on the mainApp as ns1:empDetails / I played around with loose coupling but on my matter it doesnt look like it would work unless I can make the ArrayCollection as a public object MAYBE! Right now this is how I am getting back the results: --empSearch.mxml-- mx:ArrayCollection id=searchResults source={mx.utils.ArrayUtil.toArray (EmployeeService.search.result)} /mx:ArrayCollection Also played aroung with Calling component but I couldnt figure out how to pass the results to dataProvider in the 'empDetails.mxml' 3ed issue: using the
[flexcoders] Re: Few issues
Hi Jason, Thank you for you inputs, Ok here is what I did: I put this in the flex-enterprise-services.xml file endpoint uri=http://207.AndTheRestOfTheFixedIP:8701/flex2gateway/; class=flex.messaging.endpoints.AMFEndpoint/ then I tied it locally its still fine, but from a remote location I am still getting the same thing I was getting before, the app loads and the hour glass loads with no data or errors...!! Angelo --- In flexcoders@yahoogroups.com, Jason Y. Kwong [EMAIL PROTECTED] wrote: Please remember that your Flex application runs locally on the user's computer. Sure, the user is able to download the SWF via http://www.mydomain.com:8701, but because the IP address is hard- coded into the SWF, it will try to access IP address 192.168.1.103 when it runs. That IP address will not resolve because it's local to your LAN (or it might even resolve to a machine on his LAN, which will really confuse matters). Unless I'm missing something, I really think you should put http://www.mydomain.com:8701/flex2gateway/; in your flex-enterprise-services.xml file. That way it'll resolve to your machine from anywhere. On 4/6/06, angelosalsa [EMAIL PROTECTED] wrote: Hi Jason, Yes it is a Linksys, you see when someone calls up on my domain, example: http://www.mydomain.com:8701/test.html that DNS is to my Static IP, then forwarded from the router to open that port to the 192.168... IP to IIS 6.0, inside the test.html there are few calls to Webservices and RemoteObjects which will access the http://192.168.1.103/components/mycomponent.cfc?WSDL. Locally everything works fine, but from the net no data gets loaded, but no error shows up anywhere!@ Angelo --- In flexcoders@yahoogroups.com, Jason Y. Kwong inlineblue@ wrote: An IP address like 192.168.1.103 is a local IP address assigned by a router (most likely a Linksys, right?). An outside machine (not on your LAN) won't be able to see your machine via that IP. At least that's my take on the situation... On 3/28/06, angelosalsa angelosalsa@ wrote: Hi all., 1st issue: My remoteobjects and webservices work fine from my local server but when I try to access the site from the outside world, I get only the hourglass loading with no errors but nothing shows, My crossdomain is in both C:\Inetpub\wwwroot\crossdomain.xml and incase C:\CFusionMX7\wwwroot\crossdomain.xml, here is what the crossdomain file look like. ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd cross-domain-policy allow-access-from domain=* / /cross-domain-policy My local host is running on http://192.168.1.103:8701 and the flexenterprise-services.xml has this: endpoint uri=http://192.168.1.103:80 {context.root}/flex2gateway/ all my components and services are in C:\Inetpub\wwwroot\CFIDE\components\... any ideas? 2nd issue: My Application have many components on right hand of the App. I have an Accordion that has a TabNavigator and in the TabNavigator I have a component that search the database for employees, right now the result is bind to a TileList with a listItemRenderer, in that component 'detail State', what i want to do is: insted of the result getting back to the TileList, I would like to bind this ArrayCollection to another component 'empDetails.mxml' DataGrid which is on the mainApp as ns1:empDetails / I played around with loose coupling but on my matter it doesnt look like it would work unless I can make the ArrayCollection as a public object MAYBE! Right now this is how I am getting back the results: --empSearch.mxml-- mx:ArrayCollection id=searchResults source={mx.utils.ArrayUtil.toArray (EmployeeService.search.result)} /mx:ArrayCollection Also played aroung with Calling component but I couldnt figure out how to pass the results to dataProvider in the 'empDetails.mxml' 3ed issue: using the Tree, how would I call other components in a ViewStack to view? Thanks Angelo -- 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 -- 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/
[flexcoders] Re: Few issues
Hi Matt, thanks for putting up with me, the crossdomain.xml is available via port 80 and 8701 http://192.168.1.103/crossdomain.xml http://192.168.1.103:8701/crossdomain.xml the crossdomain.xml file is in few places now, C:\CFusionMX7\wwwroot C:\Inetpub\wwwroot C:\Inetpub\wwwroot\My Webs\ContactManager\bin C:\fes2\jrun4\servers\default\flex I dont know what else to do!! Also could you post some links for the tree examples events are fired Thanks Angelo --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: I'm not a CF person so not sure what the setup needed to be for the gateway. Make sure that crossdomain.xml is available via port 80 (Default port) even if the gateway is on another port. I think the Tree examples should show how events are fired and whatnot. Many of the events are the same as the List classes. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of angelosalsa Sent: Monday, April 03, 2006 8:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Few issues Thanks Matt, It is a typo, it was http://192.168.1.103/flex2gateway/ I was trying other stuff to make it work and I copied the wrong thing. the above though still doesn't work Any ideas? About functions and methods, what I mean is every example I've seen for the tree shows when you click on the the tree node the label show you've click on something, nothing was shown of how to load other mxml file or fire up events or functions, I've played around with the menubar and now I figured it out, but I cant seem to figure the tree yet, I will try again tonight maybe I will have a better luck after a good sleep. Thanks again --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ wrote: Well the 80{context.root} in your flex-enterprise-services.xml file looks wrong to me, is that a typo? You can refer to items in a ViewStack by id as long as they have been created. Or you could tell the ViewStack to change its selectedIndex for example when you click on a Tree node. I'm not sure what you mean by load methods from the Tree and MenuBar. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of angelosalsa Sent: Friday, March 31, 2006 8:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Few issues Please note, The 2nd Issue was resolved, if someone needs help on that, please post and I will try to document what I did... 1st issue is driving me nuts... 3nd issue, also how can we load methods() from the Tree and MenuBar Angelo --- In flexcoders@yahoogroups.com, angelosalsa angelosalsa@ wrote: Hi all., 1st issue: My remoteobjects and webservices work fine from my local server but when I try to access the site from the outside world, I get only the hourglass loading with no errors but nothing shows, My crossdomain is in both C:\Inetpub\wwwroot\crossdomain.xml and incase C:\CFusionMX7\wwwroot\crossdomain.xml, here is what the crossdomain file look like. ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd cross-domain-policy allow-access-from domain=* / /cross-domain-policy My local host is running on http://192.168.1.103:8701 and the flexenterprise-services.xml has this: endpoint uri=http://192.168.1.103:80 {context.root}/flex2gateway/ all my components and services are in C:\Inetpub\wwwroot\CFIDE\components\... any ideas? 2nd issue: My Application have many components on right hand of the App. I have an Accordion that has a TabNavigator and in the TabNavigator I have a component that search the database for employees, right now the result is bind to a TileList with a listItemRenderer, in that component 'detail State', what i want to do is: insted of the result getting back to the TileList, I would like to bind this ArrayCollection to another component 'empDetails.mxml' DataGrid which is on the mainApp as ns1:empDetails / I played around with loose coupling but on my matter it doesnt look like it would work unless I can make the ArrayCollection as a public object MAYBE! Right now this is how I am getting back the results: --empSearch.mxml-- mx:ArrayCollection id=searchResults source={mx.utils.ArrayUtil.toArray (EmployeeService.search.result)} /mx:ArrayCollection Also played aroung with Calling component but I couldnt figure out how to pass the results to dataProvider in the 'empDetails.mxml' 3ed issue: using the Tree, how would I call other components in a ViewStack to view? Thanks Angelo -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives
[flexcoders] Re: Few issues
Hi Jason, Yes it is a Linksys, you see when someone calls up on my domain, example: http://www.mydomain.com:8701/test.html that DNS is to my Static IP, then forwarded from the router to open that port to the 192.168... IP to IIS 6.0, inside the test.html there are few calls to Webservices and RemoteObjects which will access the http://192.168.1.103/components/mycomponent.cfc?WSDL. Locally everything works fine, but from the net no data gets loaded, but no error shows up anywhere!@ Angelo --- In flexcoders@yahoogroups.com, Jason Y. Kwong [EMAIL PROTECTED] wrote: An IP address like 192.168.1.103 is a local IP address assigned by a router (most likely a Linksys, right?). An outside machine (not on your LAN) won't be able to see your machine via that IP. At least that's my take on the situation... On 3/28/06, angelosalsa [EMAIL PROTECTED] wrote: Hi all., 1st issue: My remoteobjects and webservices work fine from my local server but when I try to access the site from the outside world, I get only the hourglass loading with no errors but nothing shows, My crossdomain is in both C:\Inetpub\wwwroot\crossdomain.xml and incase C:\CFusionMX7\wwwroot\crossdomain.xml, here is what the crossdomain file look like. ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd cross-domain-policy allow-access-from domain=* / /cross-domain-policy My local host is running on http://192.168.1.103:8701 and the flexenterprise-services.xml has this: endpoint uri=http://192.168.1.103:80 {context.root}/flex2gateway/ all my components and services are in C:\Inetpub\wwwroot\CFIDE\components\... any ideas? 2nd issue: My Application have many components on right hand of the App. I have an Accordion that has a TabNavigator and in the TabNavigator I have a component that search the database for employees, right now the result is bind to a TileList with a listItemRenderer, in that component 'detail State', what i want to do is: insted of the result getting back to the TileList, I would like to bind this ArrayCollection to another component 'empDetails.mxml' DataGrid which is on the mainApp as ns1:empDetails / I played around with loose coupling but on my matter it doesnt look like it would work unless I can make the ArrayCollection as a public object MAYBE! Right now this is how I am getting back the results: --empSearch.mxml-- mx:ArrayCollection id=searchResults source={mx.utils.ArrayUtil.toArray (EmployeeService.search.result)} /mx:ArrayCollection Also played aroung with Calling component but I couldnt figure out how to pass the results to dataProvider in the 'empDetails.mxml' 3ed issue: using the Tree, how would I call other components in a ViewStack to view? Thanks Angelo -- 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 * 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: Few issues
Oh, if you're running from the outside world then your endpoints need to be to www.mydomain.com I think! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of angelosalsa Sent: Thursday, April 06, 2006 12:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Few issues Hi Jason, Yes it is a Linksys, you see when someone calls up on my domain, example: http://www.mydomain.com:8701/test.html that DNS is to my Static IP, then forwarded from the router to open that port to the 192.168... IP to IIS 6.0, inside the test.html there are few calls to Webservices and RemoteObjects which will access the http://192.168.1.103/components/mycomponent.cfc?WSDL. Locally everything works fine, but from the net no data gets loaded, but no error shows up anywhere!@ Angelo --- In flexcoders@yahoogroups.com, Jason Y. Kwong [EMAIL PROTECTED] wrote: An IP address like 192.168.1.103 is a local IP address assigned by a router (most likely a Linksys, right?). An outside machine (not on your LAN) won't be able to see your machine via that IP. At least that's my take on the situation... On 3/28/06, angelosalsa [EMAIL PROTECTED] wrote: Hi all., 1st issue: My remoteobjects and webservices work fine from my local server but when I try to access the site from the outside world, I get only the hourglass loading with no errors but nothing shows, My crossdomain is in both C:\Inetpub\wwwroot\crossdomain.xml and incase C:\CFusionMX7\wwwroot\crossdomain.xml, here is what the crossdomain file look like. ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd cross-domain-policy allow-access-from domain=* / /cross-domain-policy My local host is running on http://192.168.1.103:8701 and the flexenterprise-services.xml has this: endpoint uri=http://192.168.1.103:80 {context.root}/flex2gateway/ all my components and services are in C:\Inetpub\wwwroot\CFIDE\components\... any ideas? 2nd issue: My Application have many components on right hand of the App. I have an Accordion that has a TabNavigator and in the TabNavigator I have a component that search the database for employees, right now the result is bind to a TileList with a listItemRenderer, in that component 'detail State', what i want to do is: insted of the result getting back to the TileList, I would like to bind this ArrayCollection to another component 'empDetails.mxml' DataGrid which is on the mainApp as ns1:empDetails / I played around with loose coupling but on my matter it doesnt look like it would work unless I can make the ArrayCollection as a public object MAYBE! Right now this is how I am getting back the results: --empSearch.mxml-- mx:ArrayCollection id=searchResults source={mx.utils.ArrayUtil.toArray (EmployeeService.search.result)} /mx:ArrayCollection Also played aroung with Calling component but I couldnt figure out how to pass the results to dataProvider in the 'empDetails.mxml' 3ed issue: using the Tree, how would I call other components in a ViewStack to view? Thanks Angelo -- 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 -- 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: Few issues
Please remember that your Flex application runs locally on the user's computer. Sure, the user is able to download the SWF via http://www.mydomain.com:8701 , but because the IP address is hard-coded into the SWF, it will try to access IP address 192.168.1.103 when it runs. That IP address will not resolve because it's local to your LAN (or it might even resolve to a machine on his LAN, which will really confuse matters). Unless I'm missing something, I really think you should put http://www.mydomain.com:8701/flex2gateway/ in your flex-enterprise-services.xml file. That way it'll resolve to your machine from anywhere.On 4/6/06, angelosalsa [EMAIL PROTECTED] wrote: Hi Jason,Yes it is a Linksys, you see when someone calls up on my domain,example:http://www.mydomain.com:8701/test.htmlthat DNS is to my Static IP, then forwarded from the router to open that port to the 192.168... IP to IIS 6.0, inside the test.html thereare few calls to Webservices and RemoteObjects which will access thehttp://192.168.1.103/components/mycomponent.cfc?WSDL .Locally everything works fine, but from the net no data gets loaded,but no error shows up anywhere!@Angelo--- In flexcoders@yahoogroups.com , Jason Y. Kwong [EMAIL PROTECTED]wrote: An IP address like 192.168.1.103 is a local IP address assigned bya router (most likely a Linksys, right?).An outside machine (not on your LAN) won't be able to see your machine via that IP. At least that's my take on the situation... On 3/28/06, angelosalsa [EMAIL PROTECTED] wrote: Hi all., 1st issue: My remoteobjects and webservices work fine from my local serverbut when I try to access the site from the outside world, I get onlythe hourglass loading with no errors but nothing shows, My crossdomain is in both C:\Inetpub\wwwroot\crossdomain.xml and incase C:\CFusionMX7\wwwroot\crossdomain.xml, here is what the crossdomain file look like. ?xml version= 1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd cross-domain-policy allow-access-from domain=* / /cross-domain-policy My local host is running on http://192.168.1.103:8701 and the flexenterprise-services.xml has this: endpoint uri=http://192.168.1.103:80{context.root}/flex2gateway/ all my components and services are in C:\Inetpub\wwwroot\CFIDE\components\... any ideas? 2nd issue: My Application have many components on right hand of the App. I have an Accordion that has a TabNavigator and in the TabNavigator Ihave a component that search the database for employees, right now the result is bind to a TileList with a listItemRenderer, in that component 'detail State', what i want to do is: insted of theresult getting back to the TileList, I would like to bind this ArrayCollection to another component 'empDetails.mxml ' DataGrid which is on the mainApp as ns1:empDetails / I played around with loose coupling but on my matter it doesntlook like it would work unless I can make the ArrayCollection as a public object MAYBE! Right now this is how I am getting back the results: --empSearch.mxml-- mx:ArrayCollection id=searchResults source={ mx.utils.ArrayUtil.toArray(EmployeeService.search.result)} /mx:ArrayCollection Also played aroung with Calling component but I couldnt figure out how to pass the results to dataProvider in the ' empDetails.mxml' 3ed issue: using the Tree, how would I call other components in a ViewStackto view? Thanks Angelo -- 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 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: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ -- 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.
[flexcoders] Re: Few issues
Thanks Matt, It is a typo, it was http://192.168.1.103/flex2gateway/ I was trying other stuff to make it work and I copied the wrong thing. the above though still doesn't work Any ideas? About functions and methods, what I mean is every example I've seen for the tree shows when you click on the the tree node the label show you've click on something, nothing was shown of how to load other mxml file or fire up events or functions, I've played around with the menubar and now I figured it out, but I cant seem to figure the tree yet, I will try again tonight maybe I will have a better luck after a good sleep. Thanks again --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Well the 80{context.root} in your flex-enterprise-services.xml file looks wrong to me, is that a typo? You can refer to items in a ViewStack by id as long as they have been created. Or you could tell the ViewStack to change its selectedIndex for example when you click on a Tree node. I'm not sure what you mean by load methods from the Tree and MenuBar. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of angelosalsa Sent: Friday, March 31, 2006 8:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Few issues Please note, The 2nd Issue was resolved, if someone needs help on that, please post and I will try to document what I did... 1st issue is driving me nuts... 3nd issue, also how can we load methods() from the Tree and MenuBar Angelo --- In flexcoders@yahoogroups.com, angelosalsa angelosalsa@ wrote: Hi all., 1st issue: My remoteobjects and webservices work fine from my local server but when I try to access the site from the outside world, I get only the hourglass loading with no errors but nothing shows, My crossdomain is in both C:\Inetpub\wwwroot\crossdomain.xml and incase C:\CFusionMX7\wwwroot\crossdomain.xml, here is what the crossdomain file look like. ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd cross-domain-policy allow-access-from domain=* / /cross-domain-policy My local host is running on http://192.168.1.103:8701 and the flexenterprise-services.xml has this: endpoint uri=http://192.168.1.103:80 {context.root}/flex2gateway/ all my components and services are in C:\Inetpub\wwwroot\CFIDE\components\... any ideas? 2nd issue: My Application have many components on right hand of the App. I have an Accordion that has a TabNavigator and in the TabNavigator I have a component that search the database for employees, right now the result is bind to a TileList with a listItemRenderer, in that component 'detail State', what i want to do is: insted of the result getting back to the TileList, I would like to bind this ArrayCollection to another component 'empDetails.mxml' DataGrid which is on the mainApp as ns1:empDetails / I played around with loose coupling but on my matter it doesnt look like it would work unless I can make the ArrayCollection as a public object MAYBE! Right now this is how I am getting back the results: --empSearch.mxml-- mx:ArrayCollection id=searchResults source={mx.utils.ArrayUtil.toArray (EmployeeService.search.result)} /mx:ArrayCollection Also played aroung with Calling component but I couldnt figure out how to pass the results to dataProvider in the 'empDetails.mxml' 3ed issue: using the Tree, how would I call other components in a ViewStack to view? Thanks Angelo -- 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 * 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: Few issues
I'm not a CF person so not sure what the setup needed to be for the gateway. Make sure that crossdomain.xml is available via port 80 (Default port) even if the gateway is on another port. I think the Tree examples should show how events are fired and whatnot. Many of the events are the same as the List classes. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of angelosalsa Sent: Monday, April 03, 2006 8:29 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Few issues Thanks Matt, It is a typo, it was http://192.168.1.103/flex2gateway/ I was trying other stuff to make it work and I copied the wrong thing. the above though still doesn't work Any ideas? About functions and methods, what I mean is every example I've seen for the tree shows when you click on the the tree node the label show you've click on something, nothing was shown of how to load other mxml file or fire up events or functions, I've played around with the menubar and now I figured it out, but I cant seem to figure the tree yet, I will try again tonight maybe I will have a better luck after a good sleep. Thanks again --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Well the 80{context.root} in your flex-enterprise-services.xml file looks wrong to me, is that a typo? You can refer to items in a ViewStack by id as long as they have been created. Or you could tell the ViewStack to change its selectedIndex for example when you click on a Tree node. I'm not sure what you mean by load methods from the Tree and MenuBar. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of angelosalsa Sent: Friday, March 31, 2006 8:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Few issues Please note, The 2nd Issue was resolved, if someone needs help on that, please post and I will try to document what I did... 1st issue is driving me nuts... 3nd issue, also how can we load methods() from the Tree and MenuBar Angelo --- In flexcoders@yahoogroups.com, angelosalsa angelosalsa@ wrote: Hi all., 1st issue: My remoteobjects and webservices work fine from my local server but when I try to access the site from the outside world, I get only the hourglass loading with no errors but nothing shows, My crossdomain is in both C:\Inetpub\wwwroot\crossdomain.xml and incase C:\CFusionMX7\wwwroot\crossdomain.xml, here is what the crossdomain file look like. ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd cross-domain-policy allow-access-from domain=* / /cross-domain-policy My local host is running on http://192.168.1.103:8701 and the flexenterprise-services.xml has this: endpoint uri=http://192.168.1.103:80 {context.root}/flex2gateway/ all my components and services are in C:\Inetpub\wwwroot\CFIDE\components\... any ideas? 2nd issue: My Application have many components on right hand of the App. I have an Accordion that has a TabNavigator and in the TabNavigator I have a component that search the database for employees, right now the result is bind to a TileList with a listItemRenderer, in that component 'detail State', what i want to do is: insted of the result getting back to the TileList, I would like to bind this ArrayCollection to another component 'empDetails.mxml' DataGrid which is on the mainApp as ns1:empDetails / I played around with loose coupling but on my matter it doesnt look like it would work unless I can make the ArrayCollection as a public object MAYBE! Right now this is how I am getting back the results: --empSearch.mxml-- mx:ArrayCollection id=searchResults source={mx.utils.ArrayUtil.toArray (EmployeeService.search.result)} /mx:ArrayCollection Also played aroung with Calling component but I couldnt figure out how to pass the results to dataProvider in the 'empDetails.mxml' 3ed issue: using the Tree, how would I call other components in a ViewStack to view? Thanks Angelo -- 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 -- 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
RE: [flexcoders] Re: Few issues
Well the 80{context.root} in your flex-enterprise-services.xml file looks wrong to me, is that a typo? You can refer to items in a ViewStack by id as long as they have been created. Or you could tell the ViewStack to change its selectedIndex for example when you click on a Tree node. I'm not sure what you mean by load methods from the Tree and MenuBar. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of angelosalsa Sent: Friday, March 31, 2006 8:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Few issues Please note, The 2nd Issue was resolved, if someone needs help on that, please post and I will try to document what I did... 1st issue is driving me nuts... 3nd issue, also how can we load methods() from the Tree and MenuBar Angelo --- In flexcoders@yahoogroups.com, angelosalsa [EMAIL PROTECTED] wrote: Hi all., 1st issue: My remoteobjects and webservices work fine from my local server but when I try to access the site from the outside world, I get only the hourglass loading with no errors but nothing shows, My crossdomain is in both C:\Inetpub\wwwroot\crossdomain.xml and incase C:\CFusionMX7\wwwroot\crossdomain.xml, here is what the crossdomain file look like. ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=* / /cross-domain-policy My local host is running on http://192.168.1.103:8701 and the flexenterprise-services.xml has this: endpoint uri=http://192.168.1.103:80{context.root}/flex2gateway/; all my components and services are in C:\Inetpub\wwwroot\CFIDE\components\... any ideas? 2nd issue: My Application have many components on right hand of the App. I have an Accordion that has a TabNavigator and in the TabNavigator I have a component that search the database for employees, right now the result is bind to a TileList with a listItemRenderer, in that component 'detail State', what i want to do is: insted of the result getting back to the TileList, I would like to bind this ArrayCollection to another component 'empDetails.mxml' DataGrid which is on the mainApp as ns1:empDetails / I played around with loose coupling but on my matter it doesnt look like it would work unless I can make the ArrayCollection as a public object MAYBE! Right now this is how I am getting back the results: --empSearch.mxml-- mx:ArrayCollection id=searchResults source={mx.utils.ArrayUtil.toArray (EmployeeService.search.result)} /mx:ArrayCollection Also played aroung with Calling component but I couldnt figure out how to pass the results to dataProvider in the 'empDetails.mxml' 3ed issue: using the Tree, how would I call other components in a ViewStack to view? Thanks Angelo -- 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 * 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/
[flexcoders] Re: Few issues
Please note, The 2nd Issue was resolved, if someone needs help on that, please post and I will try to document what I did... 1st issue is driving me nuts... 3nd issue, also how can we load methods() from the Tree and MenuBar Angelo --- In flexcoders@yahoogroups.com, angelosalsa [EMAIL PROTECTED] wrote: Hi all., 1st issue: My remoteobjects and webservices work fine from my local server but when I try to access the site from the outside world, I get only the hourglass loading with no errors but nothing shows, My crossdomain is in both C:\Inetpub\wwwroot\crossdomain.xml and incase C:\CFusionMX7\wwwroot\crossdomain.xml, here is what the crossdomain file look like. ?xml version=1.0? !DOCTYPE cross-domain-policy SYSTEM http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; cross-domain-policy allow-access-from domain=* / /cross-domain-policy My local host is running on http://192.168.1.103:8701 and the flexenterprise-services.xml has this: endpoint uri=http://192.168.1.103:80{context.root}/flex2gateway/; all my components and services are in C:\Inetpub\wwwroot\CFIDE\components\... any ideas? 2nd issue: My Application have many components on right hand of the App. I have an Accordion that has a TabNavigator and in the TabNavigator I have a component that search the database for employees, right now the result is bind to a TileList with a listItemRenderer, in that component 'detail State', what i want to do is: insted of the result getting back to the TileList, I would like to bind this ArrayCollection to another component 'empDetails.mxml' DataGrid which is on the mainApp as ns1:empDetails / I played around with loose coupling but on my matter it doesnt look like it would work unless I can make the ArrayCollection as a public object MAYBE! Right now this is how I am getting back the results: --empSearch.mxml-- mx:ArrayCollection id=searchResults source={mx.utils.ArrayUtil.toArray (EmployeeService.search.result)} /mx:ArrayCollection Also played aroung with Calling component but I couldnt figure out how to pass the results to dataProvider in the 'empDetails.mxml' 3ed issue: using the Tree, how would I call other components in a ViewStack to view? Thanks Angelo -- 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/