Re: Component Conceptual Conundrum - Continued
At 05:59 PM 12/11/2002, you wrote: >Raymond Camden wrote: > > Isn't that IE only? (Not that it's a big deal - but just checking.) > >No, Mozilla has it as well: http://www.mozilla.org/xmlextras/ > >Mozilla is even going one step further and is including native database >capabilities: http://bugzilla.mozilla.org/show_bug.cgi?id=81653 > >Jochem Just remember Mozilla implementation is different from IE implementation--of course--so you'll have to write different versions to work in both. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Component Conceptual Conundrum - Continued
Raymond Camden wrote: > Isn't that IE only? (Not that it's a big deal - but just checking.) No, Mozilla has it as well: http://www.mozilla.org/xmlextras/ Mozilla is even going one step further and is including native database capabilities: http://bugzilla.mozilla.org/show_bug.cgi?id=81653 Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: Component Conceptual Conundrum - Continued
Thanks for your detailed response to my overly simplistic question--obviously this is very good for your case. I can provide a little bit of additional info in that I have worked, or more correctly tried to work with, CFC web services from VB using the same SOAP objects that you'll use in VBScript. You will want to make sure that all users have the latest MS SOAP Toolkit 3.0 as it provides better compatibility, but even then there are still problems consuming CFMX web services from VB due to bugs in CFMX and Axis--using the wrong prefixes and such. Many of these hopefully will be fixed with CFMX updater release 2. FYI, in our case, we dropped CFMX web services and rolled our own SOAP based services using XML and XSLT (actually, we created XSLT templates to transform SOAP into WDDX, which worked really well). Good luck! Sam At 09:34 AM 12/11/2002, you wrote: >H ... considering I do strict _application_ development targeted >specifically for IE in a secured environment where people are not allowed to >update anything on their machines, much less see the internet, it is a great >solution. The end users are on low end machines and the file MM let's you >download to distribute flash through intranets did not work properly behind >our firewalls (aka no updating of flash to MX) ... net result was a bunch of >blank screens yet again for relying on early generation MM technology, and >yet again we had to backpeddle to rewrite the MX solution we were so >thrilled with. I have been burned badly by using MX and am looking for >non-MM related solutions that apply specifically to IE. All of which is >irrelevant to the question which was simply if anyone had ever done it in an >application utilizing CF. If I can reduce the traffic on our farm by >providing static interfaces that invoke/consume services vs complete page >requests I think it becomes an ideal solution for me that has no bearing >whatsoever on anyone's intelligence as a developer. > >But hey, that's just the where I'm coming from and why I asked the question >.. thanks for the input. > >-Original Message- >From: Samuel R. Neff [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, December 11, 2002 8:59 AM >To: CF-Talk >Subject: RE: Component Conceptual Conundrum - Continued > >At 08:39 AM 12/11/2002, you wrote: > >(snip) click the buttons ... seems like a great way to build interfaces for > >applications w/o requiring flash. > >Great, they don't need Flash but they need IE on Windows platform. >Advantage? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
RE: Component Conceptual Conundrum - Continued
H ... considering I do strict _application_ development targeted specifically for IE in a secured environment where people are not allowed to update anything on their machines, much less see the internet, it is a great solution. The end users are on low end machines and the file MM let's you download to distribute flash through intranets did not work properly behind our firewalls (aka no updating of flash to MX) ... net result was a bunch of blank screens yet again for relying on early generation MM technology, and yet again we had to backpeddle to rewrite the MX solution we were so thrilled with. I have been burned badly by using MX and am looking for non-MM related solutions that apply specifically to IE. All of which is irrelevant to the question which was simply if anyone had ever done it in an application utilizing CF. If I can reduce the traffic on our farm by providing static interfaces that invoke/consume services vs complete page requests I think it becomes an ideal solution for me that has no bearing whatsoever on anyone's intelligence as a developer. But hey, that's just the where I'm coming from and why I asked the question .. thanks for the input. -Original Message- From: Samuel R. Neff [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:59 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued At 08:39 AM 12/11/2002, you wrote: >(snip) click the buttons ... seems like a great way to build interfaces for >applications w/o requiring flash. Great, they don't need Flash but they need IE on Windows platform. Advantage? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: Component Conceptual Conundrum - Continued
Isn't that IE only? (Not that it's a big deal - but just checking.) === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Matt Liotta [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 9:40 AM > To: CF-Talk > Subject: RE: Component Conceptual Conundrum - Continued > > > It is possible to use DHTML to hit any SOAP-based web service > including a CF one. I believe the function is named > XMLHTTPRequest(), which allows you to make raw XML posts to a > web service. > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
RE: Component Conceptual Conundrum - Continued
At 08:39 AM 12/11/2002, you wrote: >(snip) click the buttons ... seems like a great way to build interfaces for >applications w/o requiring flash. Great, they don't need Flash but they need IE on Windows platform. Advantage? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: Component Conceptual Conundrum - Continued
I saw two years ago at MS's DevCon. It's extremely dependent on IE/Win/MS, so that's why you don't see it very much. Another reason why you wouldn't see it here is because MM developers are smarter than that. We use Flash front ends to access back end data without page loads--been doing that successfully for years with cross browser support, and with MX it's cake. :-) At 10:31 AM 12/11/2002, you wrote: >-Original Message- >From: Kevin Bridges [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, December 11, 2002 10:25 AM >To: CF-Talk >Subject: RE: Component Conceptual Conundrum - Continued > > >Makes sense ... I misunderstood the question. As a side note, has >anyone >actually done anything like this with cf web services? >http://www.infoscico.com/DbWebService/DbWebServiceClient.htm ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Component Conceptual Conundrum - Continued
yeah, I saw the jscript behind the scenes, and quickly realized what I an idiot I was for my first email :) 20 hr day yesterday has me all effed up!! later. ..tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping & reporting www.navtrak.net 410.548.2337 -Original Message- From: Kevin Bridges [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 10:40 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued It's a static dhtml interface that adds/edits/updates/displays db data. Each click of the button allows the interface to invoke a webservice and performs one of the db functions outlined above. In the MX world it is similar to creating a flash interface and using flashRemoting to get data into/out of the interface. If you look in the status area of the browser (bottom left corner) you'll see it interact with the web service as you click the buttons ... seems like a great way to build interfaces for applications w/o requiring flash. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:32 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued what is so tricky about that webService? is it a webService? just wondering? tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping & reporting www.navtrak.net 410.548.2337 -Original Message- From: Kevin Bridges [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 10:25 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued Makes sense ... I misunderstood the question. As a side note, has anyone actually done anything like this with cf web services? http://www.infoscico.com/DbWebService/DbWebServiceClient.htm -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:18 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued I don't believe this is what he is talking about. Right now you can 'post' to a CFC using a form tag like so: ... However, this posts to the generic Foo (not the best term I think) - I believe it's simular to using a static method in Java. However, CF allows you to create instances of CFCs as well: But you can't post directly to x. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: Component Conceptual Conundrum - Continued
It is possible to use DHTML to hit any SOAP-based web service including a CF one. I believe the function is named XMLHTTPRequest(), which allows you to make raw XML posts to a web service. Matt Liotta President & CEO Montara Software, Inc. http://www.montarasoftware.com/ 888-408-0900 x901 > -Original Message- > From: Kevin Bridges [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 10:25 AM > To: CF-Talk > Subject: RE: Component Conceptual Conundrum - Continued > > Makes sense ... I misunderstood the question. As a side note, has anyone > actually done anything like this with cf web services? > http://www.infoscico.com/DbWebService/DbWebServiceClient.htm > > -Original Message- > From: Raymond Camden [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 8:18 AM > To: CF-Talk > Subject: RE: Component Conceptual Conundrum - Continued > > I don't believe this is what he is talking about. Right now you can > 'post' to a CFC using a form tag like so: > > > > ... > > However, this posts to the generic Foo (not the best term I think) - I > believe it's simular to using a static method in Java. > > However, CF allows you to create instances of CFCs as well: > > > > But you can't post directly to x. > > === > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > > Email: [EMAIL PROTECTED] > WWW : www.camdenfamily.com/morpheus > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Component Conceptual Conundrum - Continued
It's a static dhtml interface that adds/edits/updates/displays db data. Each click of the button allows the interface to invoke a webservice and performs one of the db functions outlined above. In the MX world it is similar to creating a flash interface and using flashRemoting to get data into/out of the interface. If you look in the status area of the browser (bottom left corner) you'll see it interact with the web service as you click the buttons ... seems like a great way to build interfaces for applications w/o requiring flash. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:32 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued what is so tricky about that webService? is it a webService? just wondering? .tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping & reporting www.navtrak.net 410.548.2337 -Original Message- From: Kevin Bridges [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 10:25 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued Makes sense ... I misunderstood the question. As a side note, has anyone actually done anything like this with cf web services? http://www.infoscico.com/DbWebService/DbWebServiceClient.htm -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:18 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued I don't believe this is what he is talking about. Right now you can 'post' to a CFC using a form tag like so: ... However, this posts to the generic Foo (not the best term I think) - I believe it's simular to using a static method in Java. However, CF allows you to create instances of CFCs as well: But you can't post directly to x. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: Component Conceptual Conundrum - Continued
a a db hit, with no page reload :) I see. ..tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping & reporting www.navtrak.net 410.548.2337 -Original Message- From: Kevin Bridges [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 10:25 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued Makes sense ... I misunderstood the question. As a side note, has anyone actually done anything like this with cf web services? http://www.infoscico.com/DbWebService/DbWebServiceClient.htm -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:18 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued I don't believe this is what he is talking about. Right now you can 'post' to a CFC using a form tag like so: ... However, this posts to the generic Foo (not the best term I think) - I believe it's simular to using a static method in Java. However, CF allows you to create instances of CFCs as well: But you can't post directly to x. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
RE: Component Conceptual Conundrum - Continued
what is so tricky about that webService? is it a webService? just wondering? ..tony Tony Weeg Senior Web Developer UnCertified Advanced ColdFusion Developer Information System Design Navtrak, Inc. Mobile workforce monitoring, mapping & reporting www.navtrak.net 410.548.2337 -Original Message- From: Kevin Bridges [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 10:25 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued Makes sense ... I misunderstood the question. As a side note, has anyone actually done anything like this with cf web services? http://www.infoscico.com/DbWebService/DbWebServiceClient.htm -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:18 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued I don't believe this is what he is talking about. Right now you can 'post' to a CFC using a form tag like so: ... However, this posts to the generic Foo (not the best term I think) - I believe it's simular to using a static method in Java. However, CF allows you to create instances of CFCs as well: But you can't post directly to x. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Component Conceptual Conundrum - Continued
Makes sense ... I misunderstood the question. As a side note, has anyone actually done anything like this with cf web services? http://www.infoscico.com/DbWebService/DbWebServiceClient.htm -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:18 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued I don't believe this is what he is talking about. Right now you can 'post' to a CFC using a form tag like so: ... However, this posts to the generic Foo (not the best term I think) - I believe it's simular to using a static method in Java. However, CF allows you to create instances of CFCs as well: But you can't post directly to x. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: Component Conceptual Conundrum - Continued
I don't believe this is what he is talking about. Right now you can 'post' to a CFC using a form tag like so: ... However, this posts to the generic Foo (not the best term I think) - I believe it's simular to using a static method in Java. However, CF allows you to create instances of CFCs as well: But you can't post directly to x. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Kevin Bridges [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 9:14 AM > To: CF-Talk > Subject: RE: Component Conceptual Conundrum - Continued > > > I haven't done this, but have been eyeballing it for a while > ... couldn't you do something utilizing dhtml like so: > http://w3coder.com:8080/ws/CallWSUsingDHTML.aspx > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
RE: Component Conceptual Conundrum - Continued
I haven't done this, but have been eyeballing it for a while ... couldn't you do something utilizing dhtml like so: http://w3coder.com:8080/ws/CallWSUsingDHTML.aspx -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:06 AM To: CF-Talk Subject: RE: Component Conceptual Conundrum - Continued You can't. You can post to a CFC, but not an instance of one. You could hack around it a bit by having another CFC that stores the copies, ie, a Manager type CFC, then you could post to that CFC and pass an ID so it knows what instance of Whatever.cfc you want to use. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Robert Polickoski [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 9:04 AM > To: CF-Talk > Subject: Component Conceptual Conundrum - Continued > > > All, > > Sorry to bug you all again. Does anyone know how to reference a > method of an instantiated component from an HTML tag such as an > anchor or a form? > > Robert J. Polickoski > Senior Programmer, ISRD Inc. > (540) 842-6339 > [EMAIL PROTECTED] > AIM - RobertJFP > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm
RE: Component Conceptual Conundrum - Continued
You can't. You can post to a CFC, but not an instance of one. You could hack around it a bit by having another CFC that stores the copies, ie, a Manager type CFC, then you could post to that CFC and pass an ID so it knows what instance of Whatever.cfc you want to use. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Robert Polickoski [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 9:04 AM > To: CF-Talk > Subject: Component Conceptual Conundrum - Continued > > > All, > > Sorry to bug you all again. Does anyone know how to reference a > method of an instantiated component from an HTML tag such as an > anchor or a form? > > Robert J. Polickoski > Senior Programmer, ISRD Inc. > (540) 842-6339 > [EMAIL PROTECTED] > AIM - RobertJFP > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Component Conceptual Conundrum
The fact that a CFC instance has issues getting access to APP, SESSION, etc after the first hit is a known bug. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email: [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Robert Polickoski [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 11, 2002 6:59 AM > To: CF-Talk > Subject: Component Conceptual Conundrum > > > All, > > Thank you for your patience with my current component problems. I > will admit, my primary background is in compiled programming > environments. I have been able to work in a pure HTML/CGI > environment for web apps using ASP with few conceptual issues. > But the mixed environment of web-based applications that have some > OOP capabilities is giving me some fits. I did some tests > originally that showed I could access scoped variables > (APPLICATION, CLIENT and SESSION) from within a component. My > further work, I think has determined that you can only access the > scoped variables when the method calls are to the cfc file > directly as opposed to an instance of the object. REQUEST scope > variables only exist for the duration of a single client-server > request. My question is, how do you get access to persistent > variables, i.e. those that would normally be in APPLICATION, > CLIENT or SESSION, from within instantiated components? I have > resolved the issue for static variables by creating a base object > that all other objects extend containing the static data. But > this does not work for variable data; at least I can't think how > to make it work. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm