Re: (ot) CKFinder - anyone know about how licensing works?
G'day Gerald, I think you might be right. There was nothing that I saw telling me that BEFORE i made the sale, and now I cant get anyone at CKFinder to answer my emails. I have some issues connecting it up where the documentation is sparse to say the least, and after 4 days they wont answer my email asking them to confirm what you said. I need to see if they're willing to change the licence details to allow me to put the CKFinder where I need it, and I need to have another tech question answered. But they haven't responded in any way after 3 attempts to contact them. So perhaps my options are running out and I might well end up doing what I usually do - making my own. I could call it MKFinder. The only bit I'm not sure how to do right now is integrating with FCKEditor or CKEditor and passing the image details back to the editor. The rest I can do with ColdFusion. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month On Wed, Aug 25, 2010 at 11:38 PM, Gerald Guido gerald.gu...@gmail.com wrote: install it into a subdomain * I think you are SOL** :( * *The *license states*: **Web Site*: you may integrate CKFinder in one web site (the Web Site). The Web Site URL must be specified at the moment of the purchase. The license will not be valid for sub-domains of the specified Web Site URL. *** *http://ckfinder.com/license G! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336563 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Number of site using ColdFusion
To use an analogy, just because trillions of flies eat manure, does that mean we ought to? Directors don't care if developers eat shit, once they get the job done quicker and cheaper. There's also the quote Nobody ever got fired for using #IndustryLeader#. Which isn't particularly helpful, but is easy justification for someone wanting to go a particular way. My point being, Robert needs *useful* counter points, not just soundbites. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336564 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SMS messages
www.q-sms.org They have a very robust sms gateway. From: Justin Scott jscott-li...@gravityfree.com To: cf-talk cf-talk@houseoffusion.com Sent: Wed, August 25, 2010 7:29:21 PM Subject: SMS messages Any suggestions for SMS services/gateways to look at? We have a client that is interested in sending SMS alerts to their users and would like to avoid the carrier-specific sms e-mail addresses if possible. -Justin ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336565 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Number of site using ColdFusion
What I really need is a kit from Adobe. The biggest issue with CF is its reputation. There are too many blogs, etc. out there that say CF is a dying technology... even though they are false the lies persist. An IT director to whom we are trying to sell a CF site does his research and finds this information - he does not want to get caught up investing in a dead-end technology. It seems to me Adobe would benefit greatly by providing a kit that would help developers back-up the claim that CF is a solid technology with a sound future. What we need are some solid statistics to: - Compare capabilities to other technologies - Illustrate an ROI equal to or superior to other technologies - Document current use on enterprise level systems (i.e., a reliable client list) - Demonstrate a solid investment from Adobe and complete commitment to a future path Adobe has done its work to sell CF to the developer. What they also need to do is the work to help back-up the developer when they are reselling CF solutions. They are a bit lacking in partner/reseller support. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5399 (20100826) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336566 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Number of site using ColdFusion
You mean like this one? http://www.adobe.com/products/coldfusion/evangelism_kit/ On Thu, Aug 26, 2010 at 8:59 AM, Robert Harrison rob...@austin-williams.com wrote: What I really need is a kit from Adobe. The biggest issue with CF is its reputation. There are too many blogs, etc. out there that say CF is a dying technology... even though they are false the lies persist. An IT director to whom we are trying to sell a CF site does his research and finds this information - he does not want to get caught up investing in a dead-end technology. It seems to me Adobe would benefit greatly by providing a kit that would help developers back-up the claim that CF is a solid technology with a sound future. What we need are some solid statistics to: - Compare capabilities to other technologies - Illustrate an ROI equal to or superior to other technologies - Document current use on enterprise level systems (i.e., a reliable client list) - Demonstrate a solid investment from Adobe and complete commitment to a future path Adobe has done its work to sell CF to the developer. What they also need to do is the work to help back-up the developer when they are reselling CF solutions. They are a bit lacking in partner/reseller support. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5399 (20100826) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336567 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Number of site using ColdFusion
- Compare capabilities to other technologies - Illustrate an ROI equal to or superior to other technologies Page 12 of http://www.adobe.com/products/coldfusion/pdfs/cf_evangelist_kit.pdf - Document current use on enterprise level systems (i.e., a reliable client list) Page 4 of http://www.adobe.com/products/coldfusion/pdfs/cf_evangelist_kit.pdf - Demonstrate a solid investment from Adobe and complete commitment to a future path Page 6 of http://www.adobe.com/products/coldfusion/pdfs/cf_evangelist_kit.pdf On Thu, Aug 26, 2010 at 7:59 AM, Robert Harrison rob...@austin-williams.com wrote: What I really need is a kit from Adobe. The biggest issue with CF is its reputation. There are too many blogs, etc. out there that say CF is a dying technology... even though they are false the lies persist. An IT director to whom we are trying to sell a CF site does his research and finds this information - he does not want to get caught up investing in a dead-end technology. It seems to me Adobe would benefit greatly by providing a kit that would help developers back-up the claim that CF is a solid technology with a sound future. What we need are some solid statistics to: - Compare capabilities to other technologies - Illustrate an ROI equal to or superior to other technologies - Document current use on enterprise level systems (i.e., a reliable client list) - Demonstrate a solid investment from Adobe and complete commitment to a future path Adobe has done its work to sell CF to the developer. What they also need to do is the work to help back-up the developer when they are reselling CF solutions. They are a bit lacking in partner/reseller support. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5399 (20100826) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336568 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: sending a form through CF and catching the results
Seems like the error isn't really giving much help. Can you get full debugging from that error on jobs.cfm? Can we see the code on and around line 346 of jobs.cfm? How would I get the full error? The code on and around 346 is the block of code that I posted last. cfhttp method=POST url=https://jobs.umd.edu/applicants/jsp/shared/search/SearchResults_css.jsp; columns=di_0_20156 name=blah port=443 cfhttpparam type=formfield name=di_20156 value=SPHL-School of Public Health / /cfhttp Line 346 is the: cfhttpparam type=formfield name=di_20156 value=SPHL-School of Public Health / though as pointed out earlier, the value should be 20 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336569 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Upgrading to Coldfusion 8
Rick, You may find this blog posting by Mike Henke helpful: http://www.henke.ws/post.cfm/multiple-coldfusion-version-and-engines-on-adobe-coldfusion-with-jrun List, Can I install Coldfusion 9 multi-server on a server already running Coldfusion 8 multi-server? I'd like to get it installed, get all the instances set up and configured BEFORE taking the site down reconfigure the web server connections... but I'm not sure if this is possible. I have googled and found instructions for installing both, but it requires installing the new version FIRST (CF9) and then installing CF8 in J2EE mode, and that doesn't really work for this kind of upgrade Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336570 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: sending a form through CF and catching the results
Though I still have hope, I'm starting to think that this is a wasted effort, because I think it's working off a timed session and that Timestamp is constantly changing. I suspect that's the reason for the 302 error. I can ask them to provide a query just for me, but the chance of it being done is really remote. It's a different unit in the University with their own deadlines and responsibilities. Thank you for your thoughts. It returns a 302 instead of search results - probably because there's still some missing fields or it doesn't like the windowTimestamp or whatever. But all of this seems to be a waste of effort - is there a reason you can't just ask the guys who created this to do one specifically for your department? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336571 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: COM Object support in 64-bit - Vague and Unclear
http://www.j-interop.org/introduction.html Is that a good alternative? Might give it a go later. I don't know, but from a cursory examination this appears to use DCOM, which in my own opinion isn't a good alternative to anything. If I recall correctly, COM objects have to be written to support DCOM - it's not just a switch you can turn on. But it's been a long time since I've looked into that and I really don't know for sure. I fully understand now that this has nothing to do with CF (even though they should do something about it). They have done something about it - they continue to offer a 32-bit solution. If you need to use COM, you should continue using the 32-bit solution. I would instead recommend that you look for alternatives for COM, as Microsoft has already deprecated COM in favor of .NET. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336572 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Function to Output a query as an ol or ul
Hi all, Having not found an existing function to do this (output a query object as a nested ol or ul), I thought I'd try my own hand at it - I'm *so* close. Yet, not quite there. Basically, my mind has given up trying to get the logic correct in when to close /li elements. It works most of the time, but if I say have a nested list, it gets a bit confused and doesn't close the /li - So XHTML throws a wobbly. Can anyone see where I'm going wrong? (or better still, happen to have a function which does something similar I might adapt?) Here's some dummy data and the function: http://neokoenig.pastebin.com/k7EQ8B98 Thanks in advance for any insight... T ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336573 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Function to Output a query as an ol or ul
ul cfoutput query=MyQuery li#MyQuery.MyColumn#/li /cfoutput /ul On Thu, Aug 26, 2010 at 10:18 AM, Tom King mailingli...@oxalto.co.ukwrote: Hi all, Having not found an existing function to do this (output a query object as a nested ol or ul), I thought I'd try my own hand at it - I'm *so* close. Yet, not quite there. Basically, my mind has given up trying to get the logic correct in when to close /li elements. It works most of the time, but if I say have a nested list, it gets a bit confused and doesn't close the /li - So XHTML throws a wobbly. Can anyone see where I'm going wrong? (or better still, happen to have a function which does something similar I might adapt?) Here's some dummy data and the function: http://neokoenig.pastebin.com/k7EQ8B98 Thanks in advance for any insight... T ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336574 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Function to Output a query as an ol or ul
Hi John, That's fine when you just want a straight: ul liSomething/li /ul But I'm trying to build something with nested ul/ol's from the same query object.. T On 26 August 2010 16:22, John M Bliss bliss.j...@gmail.com wrote: ul cfoutput query=MyQuery li#MyQuery.MyColumn#/li /cfoutput /ul On Thu, Aug 26, 2010 at 10:18 AM, Tom King mailingli...@oxalto.co.uk wrote: Hi all, Having not found an existing function to do this (output a query object as a nested ol or ul), I thought I'd try my own hand at it - I'm *so* close. Yet, not quite there. Basically, my mind has given up trying to get the logic correct in when to close /li elements. It works most of the time, but if I say have a nested list, it gets a bit confused and doesn't close the /li - So XHTML throws a wobbly. Can anyone see where I'm going wrong? (or better still, happen to have a function which does something similar I might adapt?) Here's some dummy data and the function: http://neokoenig.pastebin.com/k7EQ8B98 Thanks in advance for any insight... T ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336575 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Number of site using ColdFusion
Also try to get hold of the Gartner(?) report. Sent from my iPhone On Aug 26, 2010, at 6:06 AM, Scott Stewart webmas...@sstwebworks.com wrote: You mean like this one? http://www.adobe.com/products/coldfusion/evangelism_kit/ On Thu, Aug 26, 2010 at 8:59 AM, Robert Harrison rob...@austin-williams.com wrote: What I really need is a kit from Adobe. The biggest issue with CF is its reputation. There are too many blogs, etc. out there that say CF is a dying technology... even though they are false the lies persist. An IT director to whom we are trying to sell a CF site does his research and finds this information - he does not want to get caught up investing in a dead-end technology. It seems to me Adobe would benefit greatly by providing a kit that would help developers back-up the claim that CF is a solid technology with a sound future. What we need are some solid statistics to: - Compare capabilities to other technologies - Illustrate an ROI equal to or superior to other technologies - Document current use on enterprise level systems (i.e., a reliable client list) - Demonstrate a solid investment from Adobe and complete commitment to a future path Adobe has done its work to sell CF to the developer. What they also need to do is the work to help back-up the developer when they are reselling CF solutions. They are a bit lacking in partner/reseller support. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5399 (20100826) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336576 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Function to Output a query as an ol or ul
I've updated the dummy data in my example to include multiple depths (i.e nesting) http://neokoenig.pastebin.com/nGBphKVN T On 26 August 2010 16:27, Tom King mailingli...@oxalto.co.uk wrote: Hi John, That's fine when you just want a straight: ul liSomething/li /ul But I'm trying to build something with nested ul/ol's from the same query object.. T On 26 August 2010 16:22, John M Bliss bliss.j...@gmail.com wrote: ul cfoutput query=MyQuery li#MyQuery.MyColumn#/li /cfoutput /ul On Thu, Aug 26, 2010 at 10:18 AM, Tom King mailingli...@oxalto.co.uk wrote: Hi all, Having not found an existing function to do this (output a query object as a nested ol or ul), I thought I'd try my own hand at it - I'm *so* close. Yet, not quite there. Basically, my mind has given up trying to get the logic correct in when to close /li elements. It works most of the time, but if I say have a nested list, it gets a bit confused and doesn't close the /li - So XHTML throws a wobbly. Can anyone see where I'm going wrong? (or better still, happen to have a function which does something similar I might adapt?) Here's some dummy data and the function: http://neokoenig.pastebin.com/k7EQ8B98 Thanks in advance for any insight... T ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336577 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: COM Object support in 64-bit - Vague and Unclear
Could one write a .NET wrapper for the COM object and use that? e.g. http://www.codeproject.com/KB/COM/COMinDotNet.aspx -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 26 August 2010 22:28, Dave Watts dwa...@figleaf.com wrote: If you need to use COM, you should continue using the 32-bit solution. I would instead recommend that you look for alternatives for COM, as Microsoft has already deprecated COM in favor of .NET. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336578 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Function to Output a query as an ol or ul
It appears that your row order also indicates the order of you lists? So for instance you want: - One - Two - Three - Four - Five - Six - Seven - Eight Correct? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336579 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Function to Output a query as an ol or ul
I *THINK* what you are trying to do is a classic problem for a recursive function. Create a function that handles one level of your list with the proper ul and li tags. Then for each record inside the logic for the li... test to see if there is another level, if so call the same function. Rough and incomplete pseudo code. cffunction name=myMenu... ul cfloop li #anMenuItem# cfif anotherLevelmyMenu()/cfif li /cfloop /ul cfreturn theMenu /cffunction ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336580 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Function to Output a query as an ol or ul
It sort of makes sense that this is a recursion issue, as I keep hitting the 'You need to know the future' (i.e the next row before it's happened) feeling.. Re: Michael, yes, assume the query is sorted (i.e the depth is how deep the containing UL is). It does my head in. Recursion that is. On 26 August 2010 16:35, Ian Skinner h...@ilsweb.com wrote: I *THINK* what you are trying to do is a classic problem for a recursive function. Create a function that handles one level of your list with the proper ul and li tags. Then for each record inside the logic for the li... test to see if there is another level, if so call the same function. Rough and incomplete pseudo code. cffunction name=myMenu... ul cfloop li #anMenuItem# cfif anotherLevelmyMenu()/cfif li /cfloop /ul cfreturn theMenu /cffunction ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336581 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: COM Object support in 64-bit - Vague and Unclear
Could one write a .NET wrapper for the COM object and use that? e.g. http://www.codeproject.com/KB/COM/COMinDotNet.aspx I don't think that will work directly, because they won't be able to run in the same process. The wrapper would have to use DCOM (I think) to call the 32-bit library from the 64-bit process. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336582 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: sending a form through CF and catching the results
The page you are trying to hit with cfhttp is expecting a numeric value for 'di_20156'. try changing the value in your script from SPHL-School of Public Health to 20 William -- William E. Seiter On Aug 26, 2010, daniel kessler dani...@umd.edu wrote: Seems like the error isn't really giving much help. Can you get full debugging from that error on jobs.cfm? Can we see the code on and around line 346 of jobs.cfm? How would I get the full error? The code on and around 346 is the block of code that I posted last. cfhttp method=POST url=https://jobs.umd.edu/applicants/jsp/shared/search/SearchResults_css.jsp; columns=di_0_20156 name=blah port=443 cfhttpparam type=formfield name=di_20156 value=SPHL-School of Public Health / /cfhttp Line 346 is the: cfhttpparam type=formfield name=di_20156 value=SPHL-School of Public Health / though as pointed out earlier, the value should be 20 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336583 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
License question about compiled code between Developer Enterprise
I've got a quick question that we pretty much already know the answer to, but I wanted to get some verification. If we write our application using the Developer Edition of CF, and compile our app. code using the Developer Edition, then take that compiled code and put it on a licensed production server with CF Enterprise Edition, we're not in any type of license violation, are we? We just want to clarify that we don't actually have to compile the code on a licensed Enterprise CF server in order to deploy to production Enterprise CF servers. -- Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336584 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: License question about compiled code between Developer Enterprise
If we write our application using the Developer Edition of CF, and compile our app. code using the Developer Edition, then take that compiled code and put it on a licensed production server with CF Enterprise Edition, we're not in any type of license violation, are we? We just want to clarify that we don't actually have to compile the code on a licensed Enterprise CF server in order to deploy to production Enterprise CF servers. There are no license limitations around deployment of application code, whether it's compiled or not. Compile away! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336585 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Number of site using ColdFusion
I'd be quite disappointed if anyone could maintain a list of coldfusion web sites and have it be even 10% complete. the metrics of such are not worth anything anyway. If you're trying to justify the use of Coldfusion, don't bother going with a count like that. Ben Forta's list is more suitable for giving anecdotal evidence of coldfusion in use by major corporations. There's no need to say 875,235 web sites are powered by coldfusion when you can say Here's a list of some major corporations using Coldfusion ... if AFLAC and Bank of American think it's good enough... Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336586 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Number of site using ColdFusion
.. if AFLAC and Bank of American think it's good enough... Here here! +1 for Quality over Quantity. A couple of sites with name brand recognition worth mentioning CarFax http://www.carfax.com Logitech http://www.logitech.com The guy from Logitech is very vocal about his support of support of CF Mayo clinic http://www.mayoclinic.com And of course BOA and Adobe. On Thu, Aug 26, 2010 at 12:32 PM, Rick Root rick.r...@gmail.com wrote: I'd be quite disappointed if anyone could maintain a list of coldfusion web sites and have it be even 10% complete. the metrics of such are not worth anything anyway. If you're trying to justify the use of Coldfusion, don't bother going with a count like that. Ben Forta's list is more suitable for giving anecdotal evidence of coldfusion in use by major corporations. There's no need to say 875,235 web sites are powered by coldfusion when you can say Here's a list of some major corporations using Coldfusion ... if AFLAC and Bank of American think it's good enough... Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336587 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Incorrect Perfmon Values in CF9
I upgraded from CF8 Standard to CF9.01 Standard and I enabled performance monitoring in the CF Admin. When I add the CF9 jrun counter for Average Req Time it spikes to over 4 billion basically an overflow. Furthermore, I uninstalled CF9 and removed the CF9 folder completely and removed all registry entries and reinstalled CF8 and the problem is now showing up in CF8. Is it possible that something else is installed with CF9 that is causing this issue? This problem also exists in CF9 Enterprise as shown here: http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=83372 Anyone out there know how to fix this issue or at least remove the problem so that I can get CF 8 working the way it worked before. We rely on ART for alerting and monitoring as it is the best metric to gauge user experience. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336588 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Incorrect Perfmon Values in CF9
How did you enabled performance monitoring in the CF Admin? I tried adding the CF9 counters in Perfmon, but all the counters have the ADD button greyed out. On Thu, Aug 26, 2010 at 10:12 AM, WebMastesr Smarte webmastersma...@gmail.com wrote: I upgraded from CF8 Standard to CF9.01 Standard and I enabled performance monitoring in the CF Admin. When I add the CF9 jrun counter for Average Req Time it spikes to over 4 billion basically an overflow. Furthermore, I uninstalled CF9 and removed the CF9 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336589 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: sending a form through CF and catching the results
Hey William, I did try that. It didn't help, but thank you. try changing the value in your script from SPHL-School of Public Health to 20 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336590 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Incorrect Perfmon Values in CF9
CF Admin DEBUGGING LOGGING Debug Output Settings Enable Performance Monitoring How did you enabled performance monitoring in the CF Admin? I tried adding the CF9 counters in Perfmon, but all the counters have the ADD button greyed out. On Thu, Aug 26, 2010 at 10:12 AM, WebMastesr Smarte webmastersma...@gmail.com wrote: I upgraded from CF8 Standard to CF9.01 Standard and I enabled performance monitoring in the CF Admin. When I add the CF9 jrun counter for Average Req Time it spikes to over 4 billion basically an overflow. Furthermore, I uninstalled CF9 and removed the CF9 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336591 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: sending a form through CF and catching the results
On Wed, Aug 25, 2010 at 12:07 PM, Peter Boughton bought...@gmail.com wrote: (The columns attribute is part of cfhttp's csv parsing ability. Why cfhttp does CSV parsing instead of having dedicated CSV functions is something only Adobe can tell us.) Actually, it's probably something only someone from the Allaire days could tell us. rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336592 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
I need help with a web service FAST!!!
I've been trying to figure this out for days now and my deadline is almost up. I need to create a complex web service that will receive multiple records from the consumer and create an XML file that will be copied into a directory and processed. Right now, we receive an XML file via email which we upload to the web server and upon upload completion a series of tasks processes the file and inserts the data into our database automatically. All I really need to do is to take the incoming web service data and create an XML file with it, but I don't even know how to reference the data when there are multiple records. I managed to get a single record web service created just fine just by using the following: NewJobUpdates.cfc (the name of this file) cfcomponent cffunction name=NEWJOB access=remote returntype=void output=no cfargument name=USERNAME type=string cfargument name=PASSWORD type=string cfargument name=JOBCOMPANYNAME type=string cfargument name=JOBCODE type=string cfargument name=JOBTITLE type=string cfargument name=JOBINDUSTRIES type=string cfargument name=JOBFUNCTIONS type=string cfargument name=JOBLOCATION type=string cfargument name=JOBSTATE type=numeric cfargument name=JOBDESCRIPTION type=string cfargument name=JOBOPPORTUNITY type=string cfargument name=JOBCOMPENSATION type=string cfargument name=JOBMINCOMPENSATION type=numeric cfargument name=JOBMINEXPERIENCE type=numeric cfargument name=JOBMAXEXPERIENCE type=numeric cfargument name=JOBCONTACTNAME type=string cfargument name=JOBCONTACTEMAIL type=string cfargument name=JOBCONTACTSTATUS type=numeric cfargument name=JOBCONTACTURL type=string cfargument name=JOBCONTACTPHONE type=string cfargument name=JOBCONTACTFAX type=string cfargument name=JOBSHOWRIGHTEYES type=numeric cfargument name=JOBRECEIVERIGHTEYES type=numeric cfargument name=JOBIONUMBER type=string cfargument name=JOBTYPE type=numeric cfargument name=JOBVERIFICATION type=numeric !--- This script adds extraneous data needed for processing --- cfscript strSixFigData=6Figs; strBOAData=6Figs; strAAAData=allen; strSixFigNest=6FigsNest; companyjobsencryptkey=6figC0m94ny; strSessionLockName=sixfigurejobs_#client.cfid#_#client.cftoken#; strLockTimeout=10; intRandOrd=randrange(10, 99); strAppAddToken=#URLToken#; strAppAddToken=strAppAddToken iif(not(len(strAppAddToken)), DE(), DE()); strAppAddToken=#strAppAddToken# noCache= #intRandOrd#; strAppAddToken = 100k=1; /cfscript !--- This creates the XML document --- CFXML variable=xmlDoc cfoutput JOBS USERNAME#arguments.username#/USERNAME PASSWORD#arguments.password#/PASSWORD JOB JOBCOMPANYNAME#arguments.JOBCOMPANYNAME#/JOBCOMPANYNAME JOBCODE#arguments.JOBCODE#/JOBCODE JOBTITLE![CDATA[#arguments.JOBTITLE#]]/JOBTITLE JOBINDUSTRIES#arguments.JOBINDUSTRIES#/JOBINDUSTRIES JOBFUNCTIONS#arguments.JOBFUNCTIONS#/JOBFUNCTIONS JOBLOCATION![CDATA[#arguments.JOBLOCATION#]]/JOBLOCATION JOBSTATE#arguments.JOBSTATE#/JOBSTATE JOBDESCRIPTION![CDATA[#arguments.JOBDESCRIPTION#]]/JOBDESCRIPTION JOBOPPORTUNITY#arguments.JOBOPPORTUNITY#/JOBOPPORTUNITY JOBCOMPENSATION![CDATA[#arguments.JOBCOMPENSATION#]]/JOBCOMPENSATION JOBMINCOMPENSATION#arguments.JOBMINCOMPENSATION#/JOBMINCOMPENSATION JOBMINEXPERIENCE#arguments.JOBMINEXPERIENCE#/JOBMINEXPERIENCE JOBMAXEXPERIENCE#arguments.JOBMAXEXPERIENCE#/JOBMAXEXPERIENCE JOBCONTACTNAME#arguments.JOBCONTACTNAME#/JOBCONTACTNAME JOBCONTACTEMAIL#arguments.JOBCONTACTEMAIL#/JOBCONTACTEMAIL JOBCONTACTSTATUS#arguments.JOBCONTACTSTATUS#/JOBCONTACTSTATUS JOBCONTACTURL![CDATA[#arguments.JOBCONTACTURL#]]/JOBCONTACTURL JOBCONTACTPHONE#arguments.JOBCONTACTPHONE#/JOBCONTACTPHONE JOBCONTACTFAX#arguments.JOBCONTACTFAX#/JOBCONTACTFAX JOBSHOWRIGHTEYES#arguments.JOBSHOWRIGHTEYES#/JOBSHOWRIGHTEYES JOBRECEIVERIGHTEYES#arguments.JOBRECEIVERIGHTEYES#/JOBRECEIVERIGHTEYES JOBIONUMBER#arguments.JOBIONUMBER#/JOBIONUMBER JOBTYPE#arguments.JOBTYPE#/JOBTYPE JOBVERIFICATION#arguments.JOBVERIFICATION#/JOBVERIFICATION /JOB /JOBS /cfoutput /CFXML !--- This writes the XML file to the web server --- CFFile action=WRITE file=c:\webroot\6figurejobs\webservices\incoming\newjobupload.xml output=#toString(xmlDoc)# !--- And this runs the process against the newly created XML file --- cflocation url=ws_ProcessFrame.cfm /cffunction /cfcomponent This runs perfectly, but how do I create one to handle multiple records (complex data types)? Please help, my deadline will be here in 4 days. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive:
RE: sending a form through CF and catching the results
Actually, it's probably something only someone from the Allaire days could tell us. My guess would be that since they had the cfquery functions already, it's easier to just turn the CSV into a query and use that existing functionality, than to write a bunch of similar functions specifically for CSV's. -- Josh ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336594 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: I need help with a web service FAST!!!
I *think* you mean how do you handle sending multiple records to the cffunction? In which case I'd suggest passing the data in as an object (struct, array or query) then looping over the object to create multiple JOB nodes. Am I on the right track or did I misunderstand you? On Thu, Aug 26, 2010 at 2:42 PM, Ray Meade raym...@yahoo.com wrote: I've been trying to figure this out for days now and my deadline is almost up. I need to create a complex web service that will receive multiple records from the consumer and create an XML file that will be copied into a directory and processed. Right now, we receive an XML file via email which we upload to the web server and upon upload completion a series of tasks processes the file and inserts the data into our database automatically. All I really need to do is to take the incoming web service data and create an XML file with it, but I don't even know how to reference the data when there are multiple records. I managed to get a single record web service created just fine just by using the following: NewJobUpdates.cfc (the name of this file) cfcomponent cffunction name=NEWJOB access=remote returntype=void output=no cfargument name=USERNAME type=string cfargument name=PASSWORD type=string cfargument name=JOBCOMPANYNAME type=string cfargument name=JOBCODE type=string cfargument name=JOBTITLE type=string cfargument name=JOBINDUSTRIES type=string cfargument name=JOBFUNCTIONS type=string cfargument name=JOBLOCATION type=string cfargument name=JOBSTATE type=numeric cfargument name=JOBDESCRIPTION type=string cfargument name=JOBOPPORTUNITY type=string cfargument name=JOBCOMPENSATION type=string cfargument name=JOBMINCOMPENSATION type=numeric cfargument name=JOBMINEXPERIENCE type=numeric cfargument name=JOBMAXEXPERIENCE type=numeric cfargument name=JOBCONTACTNAME type=string cfargument name=JOBCONTACTEMAIL type=string cfargument name=JOBCONTACTSTATUS type=numeric cfargument name=JOBCONTACTURL type=string cfargument name=JOBCONTACTPHONE type=string cfargument name=JOBCONTACTFAX type=string cfargument name=JOBSHOWRIGHTEYES type=numeric cfargument name=JOBRECEIVERIGHTEYES type=numeric cfargument name=JOBIONUMBER type=string cfargument name=JOBTYPE type=numeric cfargument name=JOBVERIFICATION type=numeric !--- This script adds extraneous data needed for processing --- cfscript strSixFigData=6Figs; strBOAData=6Figs; strAAAData=allen; strSixFigNest=6FigsNest; companyjobsencryptkey=6figC0m94ny; strSessionLockName=sixfigurejobs_#client.cfid#_#client.cftoken#; strLockTimeout=10; intRandOrd=randrange(10, 99); strAppAddToken=#URLToken#; strAppAddToken=strAppAddToken iif(not(len(strAppAddToken)), DE(), DE()); strAppAddToken=#strAppAddToken# noCache= #intRandOrd#; strAppAddToken = 100k=1; /cfscript !--- This creates the XML document --- CFXML variable=xmlDoc cfoutput JOBS USERNAME#arguments.username#/USERNAME PASSWORD#arguments.password#/PASSWORD JOB JOBCOMPANYNAME#arguments.JOBCOMPANYNAME#/JOBCOMPANYNAME JOBCODE#arguments.JOBCODE#/JOBCODE JOBTITLE![CDATA[#arguments.JOBTITLE#]]/JOBTITLE JOBINDUSTRIES#arguments.JOBINDUSTRIES#/JOBINDUSTRIES JOBFUNCTIONS#arguments.JOBFUNCTIONS#/JOBFUNCTIONS JOBLOCATION![CDATA[#arguments.JOBLOCATION#]]/JOBLOCATION JOBSTATE#arguments.JOBSTATE#/JOBSTATE JOBDESCRIPTION![CDATA[#arguments.JOBDESCRIPTION#]]/JOBDESCRIPTION JOBOPPORTUNITY#arguments.JOBOPPORTUNITY#/JOBOPPORTUNITY JOBCOMPENSATION![CDATA[#arguments.JOBCOMPENSATION#]]/JOBCOMPENSATION JOBMINCOMPENSATION#arguments.JOBMINCOMPENSATION#/JOBMINCOMPENSATION JOBMINEXPERIENCE#arguments.JOBMINEXPERIENCE#/JOBMINEXPERIENCE JOBMAXEXPERIENCE#arguments.JOBMAXEXPERIENCE#/JOBMAXEXPERIENCE JOBCONTACTNAME#arguments.JOBCONTACTNAME#/JOBCONTACTNAME JOBCONTACTEMAIL#arguments.JOBCONTACTEMAIL#/JOBCONTACTEMAIL JOBCONTACTSTATUS#arguments.JOBCONTACTSTATUS#/JOBCONTACTSTATUS JOBCONTACTURL![CDATA[#arguments.JOBCONTACTURL#]]/JOBCONTACTURL JOBCONTACTPHONE#arguments.JOBCONTACTPHONE#/JOBCONTACTPHONE JOBCONTACTFAX#arguments.JOBCONTACTFAX#/JOBCONTACTFAX JOBSHOWRIGHTEYES#arguments.JOBSHOWRIGHTEYES#/JOBSHOWRIGHTEYES JOBRECEIVERIGHTEYES#arguments.JOBRECEIVERIGHTEYES#/JOBRECEIVERIGHTEYES JOBIONUMBER#arguments.JOBIONUMBER#/JOBIONUMBER JOBTYPE#arguments.JOBTYPE#/JOBTYPE JOBVERIFICATION#arguments.JOBVERIFICATION#/JOBVERIFICATION /JOB /JOBS /cfoutput /CFXML !--- This writes the XML file to the web server --- CFFile action=WRITE file=c:\webroot\6figurejobs\webservices\incoming\newjobupload.xml output=#toString(xmlDoc)# !--- And this runs the process against the newly created XML file --- cflocation url=ws_ProcessFrame.cfm /cffunction /cfcomponent This runs perfectly, but how do I create
Re: I need help with a web service FAST!!!
In your component, create a method that creates an instance of your parent xmlDoc: this.xmlDoc = xmlNew() when you initialize it. cffunction name=init cfset this.xmlDoc = xmlNew() /cffunction Then in your NEWJOB function, simply append the data to the this.xmlDoc by creating a new node. When you are finished, you simply use the instance name of the cfc and the object reference. xmlcfc.xmlDoc to output it. Does this make sense? On Thu, Aug 26, 2010 at 11:42 AM, Ray Meade raym...@yahoo.com wrote: I've been trying to figure this out for days now and my deadline is almost up. I need to create a complex web service that will receive multiple records from the consumer and create an XML file that will be copied into a directory and processed. Right now, we receive an XML file via email which we upload to the web server and upon upload completion a series of tasks processes the file and inserts the data into our database automatically. All I really need to do is to take the incoming web service data and create an XML file with it, but I don't even know how to reference the data when there are multiple records. I managed to get a single record web service created just fine just by using the following: NewJobUpdates.cfc (the name of this file) cfcomponent cffunction name=NEWJOB access=remote returntype=void output=no cfargument name=USERNAME type=string cfargument name=PASSWORD type=string cfargument name=JOBCOMPANYNAME type=string cfargument name=JOBCODE type=string cfargument name=JOBTITLE type=string cfargument name=JOBINDUSTRIES type=string cfargument name=JOBFUNCTIONS type=string cfargument name=JOBLOCATION type=string cfargument name=JOBSTATE type=numeric cfargument name=JOBDESCRIPTION type=string cfargument name=JOBOPPORTUNITY type=string cfargument name=JOBCOMPENSATION type=string cfargument name=JOBMINCOMPENSATION type=numeric cfargument name=JOBMINEXPERIENCE type=numeric cfargument name=JOBMAXEXPERIENCE type=numeric cfargument name=JOBCONTACTNAME type=string cfargument name=JOBCONTACTEMAIL type=string cfargument name=JOBCONTACTSTATUS type=numeric cfargument name=JOBCONTACTURL type=string cfargument name=JOBCONTACTPHONE type=string cfargument name=JOBCONTACTFAX type=string cfargument name=JOBSHOWRIGHTEYES type=numeric cfargument name=JOBRECEIVERIGHTEYES type=numeric cfargument name=JOBIONUMBER type=string cfargument name=JOBTYPE type=numeric cfargument name=JOBVERIFICATION type=numeric !--- This script adds extraneous data needed for processing --- cfscript strSixFigData=6Figs; strBOAData=6Figs; strAAAData=allen; strSixFigNest=6FigsNest; companyjobsencryptkey=6figC0m94ny; strSessionLockName=sixfigurejobs_#client.cfid#_#client.cftoken#; strLockTimeout=10; intRandOrd=randrange(10, 99); strAppAddToken=#URLToken#; strAppAddToken=strAppAddToken iif(not(len(strAppAddToken)), DE(), DE()); strAppAddToken=#strAppAddToken# noCache= #intRandOrd#; strAppAddToken = 100k=1; /cfscript !--- This creates the XML document --- CFXML variable=xmlDoc cfoutput JOBS USERNAME#arguments.username#/USERNAME PASSWORD#arguments.password#/PASSWORD JOB JOBCOMPANYNAME#arguments.JOBCOMPANYNAME#/JOBCOMPANYNAME JOBCODE#arguments.JOBCODE#/JOBCODE JOBTITLE![CDATA[#arguments.JOBTITLE#]]/JOBTITLE JOBINDUSTRIES#arguments.JOBINDUSTRIES#/JOBINDUSTRIES JOBFUNCTIONS#arguments.JOBFUNCTIONS#/JOBFUNCTIONS JOBLOCATION![CDATA[#arguments.JOBLOCATION#]]/JOBLOCATION JOBSTATE#arguments.JOBSTATE#/JOBSTATE JOBDESCRIPTION![CDATA[#arguments.JOBDESCRIPTION#]]/JOBDESCRIPTION JOBOPPORTUNITY#arguments.JOBOPPORTUNITY#/JOBOPPORTUNITY JOBCOMPENSATION![CDATA[#arguments.JOBCOMPENSATION#]]/JOBCOMPENSATION JOBMINCOMPENSATION#arguments.JOBMINCOMPENSATION#/JOBMINCOMPENSATION JOBMINEXPERIENCE#arguments.JOBMINEXPERIENCE#/JOBMINEXPERIENCE JOBMAXEXPERIENCE#arguments.JOBMAXEXPERIENCE#/JOBMAXEXPERIENCE JOBCONTACTNAME#arguments.JOBCONTACTNAME#/JOBCONTACTNAME JOBCONTACTEMAIL#arguments.JOBCONTACTEMAIL#/JOBCONTACTEMAIL JOBCONTACTSTATUS#arguments.JOBCONTACTSTATUS#/JOBCONTACTSTATUS JOBCONTACTURL![CDATA[#arguments.JOBCONTACTURL#]]/JOBCONTACTURL JOBCONTACTPHONE#arguments.JOBCONTACTPHONE#/JOBCONTACTPHONE JOBCONTACTFAX#arguments.JOBCONTACTFAX#/JOBCONTACTFAX JOBSHOWRIGHTEYES#arguments.JOBSHOWRIGHTEYES#/JOBSHOWRIGHTEYES JOBRECEIVERIGHTEYES#arguments.JOBRECEIVERIGHTEYES#/JOBRECEIVERIGHTEYES JOBIONUMBER#arguments.JOBIONUMBER#/JOBIONUMBER JOBTYPE#arguments.JOBTYPE#/JOBTYPE JOBVERIFICATION#arguments.JOBVERIFICATION#/JOBVERIFICATION /JOB /JOBS /cfoutput /CFXML !--- This writes the XML file to the web server --- CFFile action=WRITE file=c:\webroot\6figurejobs\webservices\incoming\newjobupload.xml output=#toString(xmlDoc)# !--- And this
Re: Function to Output a query as an ol or ul
You could do it as recursive calls to a function or just do it as procedural and compare the last record to the current record in order to know if you need to open and close new ul's. So if menuQ.depth[4] LT menuQ.depth[3] you need to open a new ul type thing. Make sense? On Thu, Aug 26, 2010 at 11:39 AM, Tom King mailingli...@oxalto.co.ukwrote: It sort of makes sense that this is a recursion issue, as I keep hitting the 'You need to know the future' (i.e the next row before it's happened) feeling.. Re: Michael, yes, assume the query is sorted (i.e the depth is how deep the containing UL is). It does my head in. Recursion that is. On 26 August 2010 16:35, Ian Skinner h...@ilsweb.com wrote: I *THINK* what you are trying to do is a classic problem for a recursive function. Create a function that handles one level of your list with the proper ul and li tags. Then for each record inside the logic for the li... test to see if there is another level, if so call the same function. Rough and incomplete pseudo code. cffunction name=myMenu... ul cfloop li #anMenuItem# cfif anotherLevelmyMenu()/cfif li /cfloop /ul cfreturn theMenu /cffunction ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336597 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Function to Output a query as an ol or ul
Sorry, I think my syntax is wrong. I think it's menuQ[4].depth. On Thu, Aug 26, 2010 at 3:04 PM, Michael Grant mgr...@modus.bz wrote: You could do it as recursive calls to a function or just do it as procedural and compare the last record to the current record in order to know if you need to open and close new ul's. So if menuQ.depth[4] LT menuQ.depth[3] you need to open a new ul type thing. Make sense? On Thu, Aug 26, 2010 at 11:39 AM, Tom King mailingli...@oxalto.co.ukwrote: It sort of makes sense that this is a recursion issue, as I keep hitting the 'You need to know the future' (i.e the next row before it's happened) feeling.. Re: Michael, yes, assume the query is sorted (i.e the depth is how deep the containing UL is). It does my head in. Recursion that is. On 26 August 2010 16:35, Ian Skinner h...@ilsweb.com wrote: I *THINK* what you are trying to do is a classic problem for a recursive function. Create a function that handles one level of your list with the proper ul and li tags. Then for each record inside the logic for the li... test to see if there is another level, if so call the same function. Rough and incomplete pseudo code. cffunction name=myMenu... ul cfloop li #anMenuItem# cfif anotherLevelmyMenu()/cfif li /cfloop /ul cfreturn theMenu /cffunction ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336598 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: SMS messages
www.q-sms.org They have a very robust sms gateway. Thanks, I took a look at their pricing page and LOLed when I saw this... Q-sms offers the cheapest price in Nigeria and one of the most competitive globally... The Nigeria mention makes them immediately suspect in my mind, but I suppose there must be legitimate businesses there too, right? Hopefully they won't switch out my messages for offers to transfer millions into the recipients account... ha! Have you used them to send to mobile numbers on US carriers? A few places I've spoken to have said that we would need to apply for our own short code to send to US recipients, others have said we can send through theirs but only to certain carriers. It all seems to be more confusing than it should be. -Justin ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336599 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Cfinput with binding
If you've worked with this (successfully) in the past would you contact me off-list? I've read the Adobe documents and searched with Google and something just isn't working right. Probably simple (once you know what you're talking about). Thanks. Larry Stephens steph...@indiana.edu ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336600 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
WebService Complex Type Question / EchoSign
Hi Peeps, I have been trying to call a webservice method on the EchoSign API all morning. I have been successful in calling a couple of test methods, but canât get this one to work. I always get the error: == Web service operation sendDocument with parameters {documentcreationinfo={{fileinfos={[{file=...@16b9abf},fileName={myfile.pdf}}]},tos={[brooks...@gmail.com]},signatureType={ESIGN},name={My Document Name},signatureFlow={SENDER_SIGNATURE_NOT_REQUIRED}}},SENDERINFO={{password={redacted},email={ redacted }}},APIKEY={XBPHDY5E4I23G}} cannot be found. == The documentCreationInfo object must be wrong, but Iâve tried every variation I can think of and had no luck. The WSDL is here: https://secure.echosign.com/services/EchoSignDocumentService9?wsdl xsd:complexType name=DocumentCreationInfo xsd:sequence xsd:element minOccurs=0 name=callbackInfo nillable=true type=ns1:CallbackInfo/ xsd:element minOccurs=0 name=ccs nillable=true type=tns:ArrayOfString/ xsd:element minOccurs=0 name=daysUntilSigningDeadline nillable=true type=xsd:int/ xsd:element minOccurs=0 name=externalId nillable=true type=ns1:ExternalId/ xsd:element minOccurs=0 name=fileInfos nillable=true type=ns1:ArrayOfFileInfo/ xsd:element minOccurs=0 name=locale nillable=true type=xsd:string/ xsd:element minOccurs=0 name=mergeFieldInfo nillable=true type=ns2:MergeFieldInfo/ xsd:element minOccurs=0 name=message nillable=true type=xsd:string/ xsd:element minOccurs=0 name=name nillable=true type=xsd:string/ xsd:element minOccurs=0 name=reminderFrequency nillable=true type=ns1:ReminderFrequency/ xsd:element minOccurs=0 name=securityOptions nillable=true type=ns1:SecurityOptions/ xsd:element minOccurs=0 name=signatureFlow nillable=true type=ns1:SignatureFlow/ xsd:element minOccurs=0 name=signatureType nillable=true type=ns1:SignatureType/ xsd:element minOccurs=0 name=tos nillable=true type=tns:ArrayOfString/ /xsd:sequence /xsd:complexType And my data looks like this: http://screencast.com/t/NmUzZjUwZjMt I'm gonna keep trying, just thought maybe someone would see something obvious that is wrong. Note: the file is in binary format as it looks like CF converts it to base64 automatically. I tested this and am sure the base64 encoding is not the issue Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336601 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: I need help with a web service FAST!!!
Yes, it makes sense. I'll try it out when I get home this evening and I'll let you know if it works. (if it doesn't, I'm sure it'll something I'm doing wrong and not your suggestion) In your component, create a method that creates an instance of your parent xmlDoc: this.xmlDoc = xmlNew() when you initialize it. cffunction name=init cfset this.xmlDoc = xmlNew() /cffunction Then in your NEWJOB function, simply append the data to the this.xmlDoc by creating a new node. When you are finished, you simply use the instance name of the cfc and the object reference. xmlcfc.xmlDoc to output it. Does this make sense? On Thu, Aug 26, 2010 at 11:42 AM, Ray Meade raym...@yahoo.com wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336602 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Incorrect Perfmon Values in CF9
Caveat: this option is unavailable on a J2EE install, as it is only available on a standard installation WebMastesr Smarte wrote: CF Admin DEBUGGING LOGGING Debug Output Settings Enable Performance Monitoring ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336603 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Style sheets with cfcontent
Hi All - I am trying to export some data to excel, and the CSS styles do not seem to be working. It works fine when I use inline style attribute, but when I use class attributes and link to the external stylesheet, it does not seem to be working. I am using MS Office 2003. Did anyone face similar kind of problem? Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336604 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Style sheets with cfcontent
I've had the same problem in the past. Instead of using a link to load the stylesheet, try this in the head section of your page: head style cfinclude template=/path-to-your-css/your-css-file.css /style This will embed the external stylesheet into your page. HTH, Carl Hi All - I am trying to export some data to excel, and the CSS styles do not seem to be working. It works fine when I use inline style attribute, but when I use class attributes and link to the external stylesheet, it does not seem to be working. I am using MS Office 2003. Did anyone face similar kind of problem? Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336605 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
manipulating Excel files
Hi, recently I wanted to stream an Excel file from the server to a client browser. Before streaming it to the user, I wanted to replace some placeholders in the file (like name,place) with their actual values (#user.name#,#user.place#). So this was the setup: 1 read binary (.xls) template file 2 read binary data and replace every occurence of the placeholder with it's actual value 3 stream the binary data to the client using cfcontent variable=... This cannot be done without converting the binary Excel data to a text format. So I tried BinaryEncode(binaryData,Hex). This gave me the binary data in Hexadecimal format. Then I translated the placeholder (e.g. name) to it's hex representation. Then translated the actual value (e.g. marc) to it's hex representation. Then I did a ReplaceNoCase(a,b,c) where a=the binarydata in HEX format, b=the place holder in hex format, c=the actual value in hex format Then I translated a back to binary using ToBinary() This didn't work since, as I found out, the hexadecimal value for the place holder was never found in the converted binary data (in ReplaceNoCase(a,b,c) ). Why is this approach not working? Is it possible at all to find and replace text values in an excel file this way - so without using things like POI utility? Btw Translating the file to xml is not an option since it contains graphics which are not supported in this format. I do this in CF 8 on WinXP Thanks, Marc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336606 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Dump to Excel from CF 5
I've tried using various iterations of CFCONTENT and CFHeader but nothing is changing. I'm only getting a display in the web browser. IE browsers very often tend to open excel files in the browser window instead of forcing a download to disk. You may need to add the application/unknown to the content type like so: CFHEADER NAME=Content-Disposition VALUE=attachment; filename=somefile.xls CFCONTENT TYPE=application/unknown FILE=somefile.xls Or if you are dynamically generating the results: cfsetting enablecfoutputonly=Yes showdebugoutput=Yes CFHEADER NAME=Content-Disposition VALUE=attachment; filename=somefile.xls CFCONTENT TYPE=application/unknown cfoutput ... query results here /cfoutput cfsetting enablecfoutputonly=no showdebugoutput=Yes Dennis Powers UXB Internet - A Website Design Hosting Company P.O. Box 6028 Wolcott, CT 06716 203-879-2844 http://www.uxbinternet.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336607 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm