MX + ArcIMS
(As a background for people who don't know what this is about: ArcIMS is a piece of software by a company called ESRI that is basically a web-service for creating maps on-the fly, as well as querying and manipulating those maps. ESRI has supported CF up to 5.0, but the MX support has been slow.) (This message has also been posted on the ESRI CF/ArcIMS discussion board) It sounds good that there will be MX support in the upcoming ArcIMS 4.01. But... Would it be overly tricky for us (the community) to roll our own connector? What is the magic that is done in the CFX/DLLs/SOs etc in the connector? I understand part of what is done is handling the CustomTags and parsing the return AXL's, but that is nothing overly complicated, right? (especially with MX's XML abilities?) Step one would be to create tags/UDF's/CFC's to just send and receive AXL's (wouldn't it just be posting the request AXL to a specified port?) and get the return. Further steps would be to mimic/copy the behaviour of the CF_ARCIMS tag, parse the request (OUT_QUERYTABLE etc) and catch errors. If it is community owned/maintained it could be open source, and we could fix errors and improve the tag-set continously. Any comments? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: Collaborative Works Solutions
have a look at www.groove.net That is very good. -Original Message- From: Jason Miller [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 23:57 To: CF-Talk Subject: Re: Collaborative Works Solutions Funny - I just received a newsletter from websitenotes.com http://www.websitenotes.com/ The home page is some guy writing a userless article- but listed are 3 seemingly open source/community type CMS's I do not know about them nor tested them - but am always on the look out for free to cheap for my cheapo client group - may be worth a look ( although disappointing none in CF ) good luck Doug wrote: We have used Microsoft's SharePoint Server. MM's Mindspring is somewhat resource intensive for our needs. This address is filtered through the open relay database at http://www.ordb.org and is virus scanned by ANTIVIR http://www.dwhite.ws mailto:[EMAIL PROTECTED] - Original Message - From: Trey Rouse [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, October 15, 2002 11:45 AM Subject: Collaborative Works Solutions | A little off thread, but I'm curious if anyone out here in CF-Talk land | has had much experience with online collaborative tools solutions. | Specifically Collaborative Works like document creation, and sharing. | Looking to evaluate some packages before we decide to just create it | ourselves. | | | | Trey Rouse | | Internet Project Supervisor | | Rice University | | | ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: Collaborative Works Solutions - Slightly OT
I'll repeat again :) Have a look at www.groove.net. It is very very extensible. -Original Message- From: Trey Rouse [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 18:32 To: CF-Talk Subject: RE: Collaborative Works Solutions - Slightly OT We haven't been challenged with a specific set of requirements for this. This is one of these generic challenges of what solutions can you offer. I think the primary requirement is going to enable multiple users to work on separate pieces of a document independently and post them back to the master. Obviously the package has to be very user aware and a little sophisticated in how it reconciles user changes. I would expect the solution to also include point in time versioning of all documents. It would be nice if a single solution also bundled a forum to accompany the documents for discussion. I understand that MS Sharepoint should do all this, but I haven't seen a working example of its features. Plus, I was curious what other products are out there, and if any of them would tie in with CF. Trey Rouse Internet Project Supervisor Rice University -Original Message- From: Ali Daniali [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 11:52 AM To: CF-Talk Subject: RE: Collaborative Works Solutions what are your requirements. We have bought and used several favors. -AD -Original Message- From: Trey Rouse [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 9:45 AM To: CF-Talk Subject: Collaborative Works Solutions A little off thread, but I'm curious if anyone out here in CF-Talk land has had much experience with online collaborative tools solutions. Specifically Collaborative Works like document creation, and sharing. Looking to evaluate some packages before we decide to just create it ourselves. Trey Rouse Internet Project Supervisor Rice University ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
SQL problem : Full-text indexing doesn't work on MS Word docs !!!!
I am using SQL 2000, and as per the docs, I should be able to create Full-text indexes on MS Word docs stored in image columns. Just to test this, I created a new table, and used the TEXTCOPY application to add around 20 rows in it, one word document per row. The table schema is as follows : cnd_id int ENTRY_DATE datetime UPDATE_DATE datetime USER_RESUME text WORD_RESUME image BINDCOL char I used the full-text indexing wizard to specify the image column WORD_RESUME, and the associated binding column BINDCOL, which contains the value '.doc' for each row. The wizard then notifies me that the index has been created, but not populated. On completing full population, the properties of the catalog read as follows : Item Count : 21 Catalog Size : 1 MB Unique Key Count : 8 I'm quite positive that there are more than 8 non-noise words in the 21 docs in this table. On adding more rows, and populating the catalog again, the key count stays the same. And both the CONTAINS and FREETEXT predicates give me no result when used to query this column. I already use full-text indexes on text columns, without any problem. So my best guess is that the SQL 2000 filters for .doc are either missing or not working. Can anyone help me on this one ? Vishal. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: soXML - Flawed
it looks as though that WDDX is my only option...there is nothing pre-MX that is anywhere near stable or functional enough even on a simple level. -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 17:12 To: CF-Talk Subject: Re: soXML - Flawed It appears that the soXML tag is flawed, this is why it will not with my XML doc. more later, I need some rest before Hockey tonight! :-) Break a leg! Not yours of course. ;P S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: soXML - Flawed
Hmm, I disagree, soXML is however a bag of s**t. Try cf_XMLParser from http://www.cfdev.com It's a java cfx and uses the xerces xml parser. In my tests (under heavy load), it's 10-20 times faster than the MS XML parser, it's also ROCK stable. Craig. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 09:35 To: CF-Talk Subject: RE: soXML - Flawed it looks as though that WDDX is my only option...there is nothing pre-MX that is anywhere near stable or functional enough even on a simple level. -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 17:12 To: CF-Talk Subject: Re: soXML - Flawed It appears that the soXML tag is flawed, this is why it will not with my XML doc. more later, I need some rest before Hockey tonight! :-) Break a leg! Not yours of course. ;P S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: soXML - Flawed
can it read in an XML file and copy an edited XML packet back out to the file UNTOUCHED? This is my problemeven the cf_xmlparser seems only 1-way. N -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:09 To: CF-Talk Subject: RE: soXML - Flawed Hmm, I disagree, soXML is however a bag of s**t. Try cf_XMLParser from http://www.cfdev.com It's a java cfx and uses the xerces xml parser. In my tests (under heavy load), it's 10-20 times faster than the MS XML parser, it's also ROCK stable. Craig. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 09:35 To: CF-Talk Subject: RE: soXML - Flawed it looks as though that WDDX is my only option...there is nothing pre-MX that is anywhere near stable or functional enough even on a simple level. -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 17:12 To: CF-Talk Subject: Re: soXML - Flawed It appears that the soXML tag is flawed, this is why it will not with my XML doc. more later, I need some rest before Hockey tonight! :-) Break a leg! Not yours of course. ;P S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: soXML - Flawed
It returns a CF structure, you won't find a parser that will edit a packet I don't think, it's easy enough to recreate it anyway. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:14 To: CF-Talk Subject: RE: soXML - Flawed can it read in an XML file and copy an edited XML packet back out to the file UNTOUCHED? This is my problemeven the cf_xmlparser seems only 1-way. N -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:09 To: CF-Talk Subject: RE: soXML - Flawed Hmm, I disagree, soXML is however a bag of s**t. Try cf_XMLParser from http://www.cfdev.com It's a java cfx and uses the xerces xml parser. In my tests (under heavy load), it's 10-20 times faster than the MS XML parser, it's also ROCK stable. Craig. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 09:35 To: CF-Talk Subject: RE: soXML - Flawed it looks as though that WDDX is my only option...there is nothing pre-MX that is anywhere near stable or functional enough even on a simple level. -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 17:12 To: CF-Talk Subject: Re: soXML - Flawed It appears that the soXML tag is flawed, this is why it will not with my XML doc. more later, I need some rest before Hockey tonight! :-) Break a leg! Not yours of course. ;P S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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
Line Break problem in MX
I have a problem with creating a string with line breaks in it and saving the string to a file. - messagetext=; messagetext = #messagetext##reference#; messagetext = #messagetext##Chr(10)##replacedphonenumber#; messagetext = #messagetext##Chr(10)##Trim(message)#; cffile action=WRITE file=file.txt output=#messagetext# addnewline=No -- This code ran fine in coldfusion 4.5 but it seems to be putting invalid characters instead of line breaks in MX. I have changed the code todo three file appends which works, but I was hoping someone would be able to suggest a better way of doing this. Cheers, Colin Murphy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: soXML - Flawed
then its useless. looks like, as I said...its WDDX. -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:34 To: CF-Talk Subject: RE: soXML - Flawed It returns a CF structure, you won't find a parser that will edit a packet I don't think, it's easy enough to recreate it anyway. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:14 To: CF-Talk Subject: RE: soXML - Flawed can it read in an XML file and copy an edited XML packet back out to the file UNTOUCHED? This is my problemeven the cf_xmlparser seems only 1-way. N -Original Message- From: Craig Dudley [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:09 To: CF-Talk Subject: RE: soXML - Flawed Hmm, I disagree, soXML is however a bag of s**t. Try cf_XMLParser from http://www.cfdev.com It's a java cfx and uses the xerces xml parser. In my tests (under heavy load), it's 10-20 times faster than the MS XML parser, it's also ROCK stable. Craig. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 09:35 To: CF-Talk Subject: RE: soXML - Flawed it looks as though that WDDX is my only option...there is nothing pre-MX that is anywhere near stable or functional enough even on a simple level. -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 17:12 To: CF-Talk Subject: Re: soXML - Flawed It appears that the soXML tag is flawed, this is why it will not with my XML doc. more later, I need some rest before Hockey tonight! :-) Break a leg! Not yours of course. ;P S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: Line Break problem in MX
Might you also need to put Chr(13) in there as well? Ade -Original Message- From: Colin Murphy [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:36 To: CF-Talk Subject: Line Break problem in MX I have a problem with creating a string with line breaks in it and saving the string to a file. - messagetext=; messagetext = #messagetext##reference#; messagetext = #messagetext##Chr(10)##replacedphonenumber#; messagetext = #messagetext##Chr(10)##Trim(message)#; cffile action=WRITE file=file.txt output=#messagetext# addnewline=No -- This code ran fine in coldfusion 4.5 but it seems to be putting invalid characters instead of line breaks in MX. I have changed the code todo three file appends which works, but I was hoping someone would be able to suggest a better way of doing this. Cheers, Colin Murphy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: Line Break problem in MX
Thanks but I tried that and all it done was add another character to the string instead of creating a line break. Colin - Original Message - From: Adrian Lynch [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 10:41 AM Subject: RE: Line Break problem in MX Might you also need to put Chr(13) in there as well? Ade -Original Message- From: Colin Murphy [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 10:36 To: CF-Talk Subject: Line Break problem in MX I have a problem with creating a string with line breaks in it and saving the string to a file. - messagetext=; messagetext = #messagetext##reference#; messagetext = #messagetext##Chr(10)##replacedphonenumber#; messagetext = #messagetext##Chr(10)##Trim(message)#; cffile action=WRITE file=file.txt output=#messagetext# addnewline=No -- This code ran fine in coldfusion 4.5 but it seems to be putting invalid characters instead of line breaks in MX. I have changed the code todo three file appends which works, but I was hoping someone would be able to suggest a better way of doing this. Cheers, Colin Murphy ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: HTML2PDF3 on CFMX
Joshua, You could try htmldoc, a very powerful html to pdf convertor utility, which works via the Command line and is free. http://www.easysw.com/htmldoc There's excellent flexibility and documentation with this product. I don't work for them, but I've used htmldoc for over 2 years now for all sorts of things, from creating personalised custom car brochures on the fly, to invoicing, or simply converting a brochureware site to a pdf booklet. I began using it when using CF4.5 which had some problems with its cfexecute tag, so I've used the CFX_execute tag available from the tag gallery, eversince. HTH, Dave -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 19:54 To: CF-Talk Subject: HTML2PDF3 on CFMX I can't get HTML2PDF3 to work with CFMX ... I get a java.io.IOException error. The documentation seems a bit flaky too ... It refers to using the path to the executable wihtout the .exe or filename, then the sample file uses the full path and filename to the executable - it errors either way, using the sample file right out of the ZIP or modifying it as the directions say it should work. It generates the HTML templates, then doesn't convert - it errors when accessing the executable file. Anyone know of anything else? Or anyone have any experience with HTML2PDF3 on CFMX? Thanks, Joshua Miller [EMAIL PROTECTED] -Original Message- From: Eric G. Myers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:17 PM To: CF-Talk Subject: Re: PDF to HTML on-the-fly At 01:37 PM 10/15/2002 -0400, you wrote: There is the html2pdf3 tag in the gallery that works quite well. And its free. Sam Here's something that I ran across that doesn't seem to work (at least I couldn't make it work with MX). I don't have the author attribution easily available, but I'm sure I could find it if anyone is interested. In any case, I'd be interested if someone knows how to make something like this work (a situation where you can use form inputs to populate PDF form fields and present the pdf to the end user or mail it or whatever). I'll list the entire set of instructions below. Thanks in advance. EGM PDF Form Fields How To This example was done with Adobe 5 and Word 2K 1. Create the .doc or .dot as you require. 2. Save it as a .pdf using Adobe 3. Open the pdf with Adobe 4. Add the form fields. This is done by clicking on the form tool and placing the field where you want it. In my example the grid is turned on (CTRL U) or by clicking on View|Grid The grid settings are adjusted by clicking on Edit|General|Layout Grid. In this case, the width and height between lines is .25 with two subdivisions. 5. Right-click on the field, then on Properties. Next click on Options. 6. In the example, the first field is called today and the default is called #todayDate#. This will be a variable name a little later. The Type is text. This is the default. 7. The second field in the example is done the same way. 8. Save the pdf. 9. Next, click on File|Export|Form Data and save the exported form (This is the .fdf) to the same directory as the pdf. 10. Now, start ColdFusion studio and open the fdf this way: Click on File|Open|All Files. You will see a warning that this is an File|Open|unrecognized text file. Click on Open, anyway. 11. Place a CFOUTPUT tag right before the first % sign in the fdf and a /CFOUTPUT immediately after the EOF at the end of the fdf. The example shows you where. Spaces before or after the tags will generate errors. 12. In the area where you see /F (sampledoc.pdf)/ID (without the quotes) add an URL path before the filename, such as http://servername/directory structure/filename (without the quotes). See the example. Where you see servername above, you can use localhost or an IP address. 13. Save the file. 14. Open a new CF template and add the code per the example. Save it. 15. You sre ready to go. NOTES: 1. Adobe will not preserve your source document margins. 2. The text in the Adobe document will not be in exactly the place as the source document. To get Adobe to put things where you want them, you have to play with the source document. 3. You CANNOT open the fdf with Adobe. You will get an error. Open it with CF Studio. The FDF looks like this: cfoutput%FDF-1.2 %âãÏÓ 1 0 obj /FDF /Fields [ /V (#fieldcontent#)/T (fieldcontent) /V (#todayDate#)/T (today) ] /F (http://master/dqa/adobe/sampledoc.pdf)/ID [ c2331da405f412d95820b8849ee5fb590f5bb617ffcfb2e18a1dd497cd3c2b18 ] endobj trailer /Root 1 0 R %%EOF /cfoutput The CF template looks like this: !---set date --- cfset todayDate=#day(now())# #MonthAsString(month(now()))#, #year(now())# !---simulate a query variable--- cfset simulatedcontent=This could be a query result !--- if a query, it could be cfset simulatedcontent = #queryname.fieldname# --- !---this
Re: MX + ArcIMS
oi Hugo!! what type of a hit with processing time do you think you would take if CF does all the parsing as opposed to a dll? -- Critz Macromedia Certified Advanced ColdFusion Developer CFX_BotMaster Network=Efnet Channel=ColdFusion Blog=http://blog.ctzc.com; Wednesday, October 16, 2002, 2:47:08 AM, you wrote: HA (As a background for people who don't know what this is about: HA ArcIMS is a piece of software by a company called ESRI that is basically a HA web-service for creating maps on-the fly, as well as querying and HA manipulating those maps. ESRI has supported CF up to 5.0, but the MX HA support has been slow.) HA (This message has also been posted on the ESRI CF/ArcIMS discussion board) HA It sounds good that there will be MX support in the upcoming ArcIMS 4.01. HA But... Would it be overly tricky for us (the community) to roll our own HA connector? What is the magic that is done in the CFX/DLLs/SOs etc in the HA connector? HA I understand part of what is done is handling the CustomTags and parsing HA the return AXL's, but that is nothing overly complicated, right? HA (especially with MX's XML abilities?) HA Step one would be to create tags/UDF's/CFC's to just send and receive HA AXL's (wouldn't it just be posting the request AXL to a specified port?) HA and get the return. HA Further steps would be to mimic/copy the behaviour of the CF_ARCIMS tag, HA parse the request (OUT_QUERYTABLE etc) and catch errors. HA If it is community owned/maintained it could be open source, and we could HA fix errors and improve the tag-set continously. HA Any comments? HA ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: HTML2PDF3 on CFMX - whoops
Whoops, Just realised html2pdf3 is a wrapper for connecting to and utilising htmldoc. Still, without looking at the html2pdf3 tag, I would reccomend using htmldoc via the cfexecute and cfhttp tags (cfhttp useful for reading in the dynamic content as a variable, which in turn can be used with cffile to write a flat html file for htmldoc to convert.) By going this more hardcore route in utilising htmldoc, you'll have much much more scope in the kind of things you can apply to your pdf formatting as most items are driven by CLI switches. Dave -Original Message- From: Dave Wilson [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 12:02 To: CF-Talk Subject: RE: HTML2PDF3 on CFMX Joshua, You could try htmldoc, a very powerful html to pdf convertor utility, which works via the Command line and is free. http://www.easysw.com/htmldoc There's excellent flexibility and documentation with this product. I don't work for them, but I've used htmldoc for over 2 years now for all sorts of things, from creating personalised custom car brochures on the fly, to invoicing, or simply converting a brochureware site to a pdf booklet. I began using it when using CF4.5 which had some problems with its cfexecute tag, so I've used the CFX_execute tag available from the tag gallery, eversince. HTH, Dave -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 19:54 To: CF-Talk Subject: HTML2PDF3 on CFMX I can't get HTML2PDF3 to work with CFMX ... I get a java.io.IOException error. The documentation seems a bit flaky too ... It refers to using the path to the executable wihtout the .exe or filename, then the sample file uses the full path and filename to the executable - it errors either way, using the sample file right out of the ZIP or modifying it as the directions say it should work. It generates the HTML templates, then doesn't convert - it errors when accessing the executable file. Anyone know of anything else? Or anyone have any experience with HTML2PDF3 on CFMX? Thanks, Joshua Miller [EMAIL PROTECTED] -Original Message- From: Eric G. Myers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:17 PM To: CF-Talk Subject: Re: PDF to HTML on-the-fly At 01:37 PM 10/15/2002 -0400, you wrote: There is the html2pdf3 tag in the gallery that works quite well. And its free. Sam Here's something that I ran across that doesn't seem to work (at least I couldn't make it work with MX). I don't have the author attribution easily available, but I'm sure I could find it if anyone is interested. In any case, I'd be interested if someone knows how to make something like this work (a situation where you can use form inputs to populate PDF form fields and present the pdf to the end user or mail it or whatever). I'll list the entire set of instructions below. Thanks in advance. EGM PDF Form Fields How To This example was done with Adobe 5 and Word 2K 1. Create the .doc or .dot as you require. 2. Save it as a .pdf using Adobe 3. Open the pdf with Adobe 4. Add the form fields. This is done by clicking on the form tool and placing the field where you want it. In my example the grid is turned on (CTRL U) or by clicking on View|Grid The grid settings are adjusted by clicking on Edit|General|Layout Grid. In this case, the width and height between lines is .25 with two subdivisions. 5. Right-click on the field, then on Properties. Next click on Options. 6. In the example, the first field is called today and the default is called #todayDate#. This will be a variable name a little later. The Type is text. This is the default. 7. The second field in the example is done the same way. 8. Save the pdf. 9. Next, click on File|Export|Form Data and save the exported form (This is the .fdf) to the same directory as the pdf. 10. Now, start ColdFusion studio and open the fdf this way: Click on File|Open|All Files. You will see a warning that this is an File|Open|unrecognized text file. Click on Open, anyway. 11. Place a CFOUTPUT tag right before the first % sign in the fdf and a /CFOUTPUT immediately after the EOF at the end of the fdf. The example shows you where. Spaces before or after the tags will generate errors. 12. In the area where you see /F (sampledoc.pdf)/ID (without the quotes) add an URL path before the filename, such as http://servername/directory structure/filename (without the quotes). See the example. Where you see servername above, you can use localhost or an IP address. 13. Save the file. 14. Open a new CF template and add the code per the example. Save it. 15. You sre ready to go. NOTES: 1. Adobe will not preserve your source document margins. 2. The text in the Adobe document will not be in exactly the place as the source document. To get Adobe to put things where you want them, you have to play with the source document. 3. You
Re: Win2K SP3 killed my IIS
I tried to uninstall IIS to re-install it. The uninstall hung up, but then, all of a sudden about 10 IIS Admin panels popped up (from when I tried to start it before perhaps???) Anyway, I stopped the uninstall, closed the panels and now it works. The admin panel works and the server works. Can't figure it out, but hey, it's running!!! Dave - Original Message - From: Bob Haroche [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, October 15, 2002 8:44 PM Subject: Re: Win2K SP3 killed my IIS Hmm... First, can you un-install SP3 via the control panel? Second, in the past I've had trouble with Zone Alarm loading at start up hanging other services, including IIS and the IIS admin console. If you have ZA, try disabling it at start up or even un-installing it. Good luck. PS. Next time, try www.goback.com -- inexpensive effective lifesaver (and, no, I don't work for them) - Regards, Bob Haroche O n P o i n t S o l u t i o n s www.OnPointSolutions.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: How Good is the Job Market for ColdFusion?
I've looked. ~$550-$600 . I didn't pay much more than that, though, so it's all good. At 06:09 PM 10/15/2002 -0400, you wrote: Hate to burst your bubble but... ..the resale value of that chair ain't what you think it is. Seems the reseller market is flooded with them!!! :P Jeffry Houser wrote: I love this chair. It is comfortable. It is the one area where I decided to splurge (during a particularly good year). And it seemed to make sense because I spend 12+ hours a day at this computer. Once I bought it, my back problems just about all but went away. Although, now I started exercising and everything hurts. Maybe someday I'll buy one for my basement (err... living room) recording studio. At 05:08 PM 10/15/2002 -0400, you wrote: those are the chairs... Glad to see you bought your own Jeff... I was reading a friends account of another defunct shop close out and the sadness of witnessing the dorks trying to cram there Aeron chair into their Saabs... Something redeeming about watching the waste be laid down. Paris Lundis Founder Areaindex, L.L.C. http://www.areaindex.com http://www.pubcrawler.com 412-292-3135 [finding the future in the past, passing the future in the present] [connecting people, places and things] -Original Message- From: Jeffry Houser [EMAIL PROTECTED] Date: Tue, 15 Oct 2002 16:06:07 -0400 Subject: RE: How Good is the Job Market for ColdFusion? Just for the record, my Herman Miller Aeron B Chair was worth every cent. ( I'm putting it on eBay in January to pay the mortgage ) At 03:36 PM 10/15/2002 -0400, you wrote: At least now I can laugh that Mr. Know It All but Knows Nothing Web Dorks and the idiot business school wanks with their bullshit $800 chairs and stupid gimmicks are back at their mostly trivial jobs for mostly someone else... -- Jeffry Houser | mailto:[EMAIL PROTECTED] DotComIt, Putting you on the web AIM: Reboog711 | Phone: 1-203-379-0773 -- My CFMX Book: http://www.amazon.com/exec/obidos/ASIN/0072225564/instantcoldfu-20 My Books: http://www.instantcoldfusion.com My Band: http://www.farcryfly.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: MX + ArcIMS
Well, There would be a hit, but I think it wouldn't be too hard, since ArcIMS will always be the weakest link(in most real-life cases, at least). With MX' built in XML parsing, wouldn't that hit be livable? /H. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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
Bug in CFMX - MM JDBC Driver for Sybase
I want to report a bug in Macromedia's JDBC driver for Sybase I can make it fail using the MM driver and it works fine using a Sybase-supplied JDBC driver. This is a query i have used many times with different dbs: My problem is that I am using CFMX on Mac OS X -- an unsupported platform -- but the bug is in Macromedia's JDBC driver. Here's the db layout: Product Supplier ProductID SupplierID Product Supplier ProductAndSupplier SupplierID ProductID Here's the query SELECT P.Product, Count(S.SupplierID) AS NumberOfSuppliers FROM Product P LEFT OUTER JOIN ProductAndSupplier L ON P.ProductID = L.ProductID LEFT OUTER JOIN Supplier S ON L.SupplierID = S.SupplierID GROUP BY P.Product ORDER BY P.Product here's some typical outout ProductNumber of Suppliers Product A 2 Product B 1 Product C 0 Product D 2 here's the layout The query works fine with a Sybase-supplied driver. The query fails with the Macromedia Sybase JDBC driver if there are any products with no Suppliers (a valid condition). -- Product C. Here's the error I get: Error Executing Database Query. [Macromedia][Sybase JDBC Driver]Unexpected token type: 0xe5 The error occurred in /opt/coldfusionmx/wwwroot/ mycfmxapps/SybaseMMJDBCDriverBug.cfm: line 80 78 : ORDER BY P.Product 79 : 80 : /cfquery 81 : 82 : cfdump var=#MakeItBreak# SQLSELECT P.Product, Count(S.SupplierID) AS NumberOfSuppliers FROM Product P LEFT OUTER JOIN ProductAndSupplier L ON P.ProductID = L.ProductID LEFT OUTER JOIN Supplier S ON L.SupplierID = S.SupplierID GROUP BY P.Product ORDER BY P.Product Anyway, since I have no standing (unsupported platform) i can't officially report the bug. Below is a complete, self-contained, CFMX program to create and populate the tables, then cause the error. I hope somebody using Sybase on a supported platform will try it and report the bug to Macromrdia. Dick == cfsetting EnableCFOutputOnly=YES cfset attributes.datasource = SybaseMMJDBCDriverBug cfset attributes.username = sa cfset attributes.password = cfquery name=CreateTables datasource=#attributes.datasource# username= #attributes.username# password= #attributes.password# Create Table Product ( ProductID Numeric(10,0) IDENTITY PRIMARY KEY NOT NULL, ProductVarChar(250) NOT NULL ) Create Table Supplier ( SupplierID Numeric(10,0) IDENTITY PRIMARY KEY NOT NULL, SupplierVarChar(250) NOT NULL ) Create Table ProductAndSupplier ( SupplierID Numeric(10,0) References Supplier(SupplierID) NOT NULL, ProductID Numeric(10,0) References Product (ProductID) NOT NULL ) /cfquery cfquery name=PopulateTables datasource= #attributes.datasource# username= #attributes.username# password= #attributes.password# SET IDENTITY_INSERT Product ON INSERT INTO Product(ProductID, Product) VALUES(1, 'Product A') INSERT INTO Product(ProductID, Product) VALUES(2, 'Product B') INSERT INTO Product(ProductID, Product) VALUES(3, 'Product C') INSERT INTO Product(ProductID, Product) VALUES(4, 'Product D') SET IDENTITY_INSERT Product OFF SET IDENTITY_INSERT Supplier ON INSERT INTO Supplier(SupplierID, Supplier) VALUES(1, 'Supplier 1') INSERT INTO Supplier(SupplierID, Supplier) VALUES(2, 'Supplier 2') INSERT INTO Supplier(SupplierID, Supplier) VALUES(3, 'Supplier 3') SET IDENTITY_INSERT Supplier OFF INSERT INTO ProductAndSupplier(SupplierID, ProductID) VALUES(1, 1) INSERT INTO ProductAndSupplier(SupplierID, ProductID) VALUES(1, 2) INSERT INTO ProductAndSupplier(SupplierID, ProductID) VALUES(1, 4) INSERT INTO ProductAndSupplier(SupplierID, ProductID) VALUES(2, 1) INSERT INTO ProductAndSupplier(SupplierID, ProductID) VALUES(2, 4) CHECKPOINT /cfquery cfquery name=MakeItBreak datasource= #attributes.datasource# username= #attributes.username# password= #attributes.password# SELECT P.Product, Count(S.SupplierID) AS NumberOfSuppliers FROM Product P LEFT OUTER JOIN ProductAndSupplier L ON P.ProductID = L.ProductID LEFT OUTER JOIN Supplier S ON L.SupplierID = S.SupplierID GROUP BY P.Product ORDER BY P.Product /cfquery cfdump var=#MakeItBreak# cfsetting EnableCFOutputOnly=NO == ~| Archives:
Re: Oracle query help
Shot in the dark, because one of the columns you've put in really might not exist, but try getting rid of createodbcdate and use the to_date() function in Oracle, as it is very particular about date formatting. For example, instead of: AND (STSERVICE.DATE_BEGIN BETWEEN #createodbcdate('07/01/00')# AND #createodbcdate('06/30/01')# try: AND (STSERVICE.DATE_BEGIN BETWEEN to_date('07/01/00', 'MM/DD/') AND to_date('06/30/01', 'MM/DD/') If the dates are dynamic (which I'm sure they are), just replace the '07/01/00' with the CF variables name. Try staying away from CreateODBCDate(). HTH, Dave. - Original Message - From: Kris Pilles [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, October 15, 2002 03:53 PM Subject: Oracle query help Heres the query: SELECT ALL STUDENT.STUDENT_NUM, STUDENT.LASTNAME, STUDENT.FIRSTNAME, STUDENT.BIRTHDATE, STUDENT.SEX, STUDENT.SSNUM, STSERVICE.DATE_BEGIN, STSERVICE.DATE_END, STSERVICE.LOCATION, STSERVICE.HANDICAP, STSERVICE.CSIZE_RATIO, STSERVICE.ST_CLASS, STSERVICE.FUND, STSERVICE.SERVICE, CUST1.CODE, CUST2.CODE, ST_CONTACTS.ID, ST_ADDRESSES.ADDRESS1_TX, ST_ADDRESSES.ADDRESS2_TX, ST_ADDRESSES.CITY_TX, ST_ADDRESSES.STATE_CD, ST_ADDRESSES.ZIP_NR FROM STUDENT, STSERVICE, ST_CONVERT_CUSTOMER CUST1, ST_CONVERT_CUSTOMER CUST2, ST_CONTACTS, ST_ADDRESSES WHERE ((STSERVICE.STUDENT_NUM = STUDENT.STUDENT_NUM) AND (ST_CONTACTS.STUDENT_NUM(+) = STUDENT.STUDENT_NUM) AND (ST_ADDRESSES.ST_CONTACT_ID(+) = ST_CONTACTS.ID) AND (STSERVICE.CUSTOMER = CUST1.CUSTOMER(+)) AND (STSERVICE.HOME_DISTRICT = CUST2.CUSTOMER(+)) AND (STSERVICE.DATE_BEGIN BETWEEN #createodbcdate('07/01/00')# AND #createodbcdate('06/30/01')# OR STSERVICE.DATE_END BETWEEN #createodbcdate('07/01/00')# AND #createodbcdate('06/30/01')# OR XSTART BETWEEN STSERVICE.DATE_BEGIN AND STSERVICE.DATE_END)) /cfquery The error: **All column/table names are correct [Oracle][ODBC][Ora]ORA-00904: invalid column name Any ideas??? Any help would be appreicated. THanks Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: How Good is the Job Market for ColdFusion?
Interesting to find some of this out. We are in a position that I think many organizations are in. We've been priamrilly a CF house for well over 2 years and we purchased MX enterprise but have yet to install it because of the growing popularity of .NET . I really enjoy CF and love what I can do with it and how fast I can develop with it but... I think that our IT director along with a good part of me is feeling pressure to switch over to .NET entirely. The biggest reason is .NET's ability to allow us to develop for a multitude of enviroments... Thin client, clinet server, web based etc... This will allow our organization to have all of their programmers working on the same platform thus creating an internal community where everyone can help everyone else out and learn from each other.. While CF is a great product, it can not offer this type of standardization to us. I am a strong believer in CF and will continue to use it for development for my personal business sites as well as any development I contract but in a corporate enviroment where many different applications are being developed and supported, I have no solid reasons as to why we shouldn't switch to .NET KP -Original Message- From: Vernon Viehe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 7:25 PM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? The enterprise penetration of MX has been weak. MM would blame this on the marketplace, but I'm not sold on this. Server version upgrade cycles in the enterprise app-server space is around 12 months, according to those I've discussed it with. We're really only about halfway through the cycle at this time. The overall installed CF base is pretty healthy, and growing. Here's a partial list of existing CF sites we use for PR/marketing: http://www.macromedia.com/software/coldfusion/proven/ Even considering the upgrade cycle in the enterprise app-server world, the list of CFMX enterprise sites is growing every day. The following are a few of the CFMX sites recently sent to me: http://www.ecoprimalquest.com/ http://www.logitech.com/index.cfm?countryid=19languageid=1 http://www.panasonic.com.au/hometheatre http://abclocal.go.com/kgo/ (some CF, some dynamic Flash content, some just plain HTML) http://www.reservations.broadmoor.com We know a lot of enterprise-level customers have upgraded to CFMX and are in the upgrade cycle - but they don't always report back to us when they go live with CFMX, so feel free to send me sites that you know of too! In addition to this stuff, consider the ways Macromedia is expanding the CF market: *Ground-up rewrite in Java: This expands CF capabilities, as well as makes CF an option to the enterprise-level sites which want the benefits of deploying on a the Java platform and the rapid app dev (RAD) offered by CF. It also means current CF customers have a way to move up to the Java platform without requiring they abandon their existing apps (or their CF developers). Admittedly, this has been a challenging release of CF for some, but once the dust settles, CF and the CF community will enjoy this huge leap forward. *We're working to deliver the information developers need to help them be successful with ColdFusion and our other technology offerings: www.macromedia.com/desdev *We're tappiing into new markets for CF: -With Flash remoting, the HUGE Flash community is getting turned on to CF. While one can purchase Flash remoting for ASP, Flashers taking to CF readily because of it's shorter learning curve and RAD capabilities. -Dreamweaver users: OK, before you pile on me about this one, I'm not trying to debate the CFStudio/HS+ vs. Dreamweaver issue for CFers. Dreamweaver is ~80% of the HTML editor market, and these folks are moving into the dynamic application/web app development space in droves. Dreamweaver MX makes their entry into the CF arena a snap with its built in server behaviors that cover the most basic stuff, and CF's shorter learning curve and tagged based syntax makes CF a very attractive for these new application developers. *We've delivered innovative products that are more integrated and work more smoothly with each other than ever before, offering one-stop shopping for industry leading technologies. This also means that we can deliver well integrated technologies, and better information for those who are integrating these various technologies. But we've also worked to remain somewhat agnostic with many of these innovations; many (most) of these innovations integrate with 3rd party products/platforms. Individually, one may not be positioned to take advantage of everything we offer surrounding CF, but we see businesses moving into these areas as they begin to plan and implement new projects, and bring additional technologies skills into their shops. It's been said Macromedia should concentrate on CF improvements and fixes and forget everything else, but our efforts across the board are not mutually
RE: HTML2PDF3 on CFMX
Thanks for the info ... I found the HTML doc site earlier and actually - HTML2PDF3 uses HTMLDOC ... It's a small world ;) I got the HTML2PDF3 tag to work finally, but it hoses the formatting, no matter what parameters I pass it. My question for you about HTMLDOC is this: If I transform formatted HTML into PDF, how well does HTMLDOC handle the transformation? I read that it doesn't support HTML4 or CSS, how do you handle formatting? All HTML3 ? Thanks for your input, Joshua Miller [EMAIL PROTECTED] -Original Message- From: Dave Wilson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 7:02 AM To: CF-Talk Subject: RE: HTML2PDF3 on CFMX Joshua, You could try htmldoc, a very powerful html to pdf convertor utility, which works via the Command line and is free. http://www.easysw.com/htmldoc There's excellent flexibility and documentation with this product. I don't work for them, but I've used htmldoc for over 2 years now for all sorts of things, from creating personalised custom car brochures on the fly, to invoicing, or simply converting a brochureware site to a pdf booklet. I began using it when using CF4.5 which had some problems with its cfexecute tag, so I've used the CFX_execute tag available from the tag gallery, eversince. HTH, Dave -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 19:54 To: CF-Talk Subject: HTML2PDF3 on CFMX I can't get HTML2PDF3 to work with CFMX ... I get a java.io.IOException error. The documentation seems a bit flaky too ... It refers to using the path to the executable wihtout the .exe or filename, then the sample file uses the full path and filename to the executable - it errors either way, using the sample file right out of the ZIP or modifying it as the directions say it should work. It generates the HTML templates, then doesn't convert - it errors when accessing the executable file. Anyone know of anything else? Or anyone have any experience with HTML2PDF3 on CFMX? Thanks, Joshua Miller [EMAIL PROTECTED] -Original Message- From: Eric G. Myers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:17 PM To: CF-Talk Subject: Re: PDF to HTML on-the-fly At 01:37 PM 10/15/2002 -0400, you wrote: There is the html2pdf3 tag in the gallery that works quite well. And its free. Sam Here's something that I ran across that doesn't seem to work (at least I couldn't make it work with MX). I don't have the author attribution easily available, but I'm sure I could find it if anyone is interested. In any case, I'd be interested if someone knows how to make something like this work (a situation where you can use form inputs to populate PDF form fields and present the pdf to the end user or mail it or whatever). I'll list the entire set of instructions below. Thanks in advance. EGM PDF Form Fields How To This example was done with Adobe 5 and Word 2K 1. Create the .doc or .dot as you require. 2. Save it as a .pdf using Adobe 3. Open the pdf with Adobe 4. Add the form fields. This is done by clicking on the form tool and placing the field where you want it. In my example the grid is turned on (CTRL U) or by clicking on View|Grid The grid settings are adjusted by clicking on Edit|General|Layout Grid. In this case, the width and height between lines is .25 with two subdivisions. 5. Right-click on the field, then on Properties. Next click on Options. 6. In the example, the first field is called today and the default is called #todayDate#. This will be a variable name a little later. The Type is text. This is the default. 7. The second field in the example is done the same way. 8. Save the pdf. 9. Next, click on File|Export|Form Data and save the exported form (This is the .fdf) to the same directory as the pdf. 10. Now, start ColdFusion studio and open the fdf this way: Click on File|Open|All Files. You will see a warning that this is an File|Open|unrecognized text file. Click on Open, anyway. 11. Place a CFOUTPUT tag right before the first % sign in the fdf and a /CFOUTPUT immediately after the EOF at the end of the fdf. The example shows you where. Spaces before or after the tags will generate errors. 12. In the area where you see /F (sampledoc.pdf)/ID (without the quotes) add an URL path before the filename, such as http://servername/directory structure/filename (without the quotes). See the example. Where you see servername above, you can use localhost or an IP address. 13. Save the file. 14. Open a new CF template and add the code per the example. Save it. 15. You sre ready to go. NOTES: 1. Adobe will not preserve your source document margins. 2. The text in the Adobe document will not be in exactly the place as the source document. To get Adobe to put things where you want them, you have to play with the source document. 3. You CANNOT open the fdf with
Re: try-catch was RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)
On Tuesday, Oct 15, 2002, at 17:26 US/Pacific, S. Isaac Dealey wrote: Isaac the Butcher of Fusion ... :) Careful, that might stick! :) At least then I'd be assured a reputation. :) [horrific factorial implemented with try/catch snipped] Of course not... For starters, there are existing UDF's on cflib.org to handle factorials. :P And I'm not certain the syntax is correct, but then it's MX and I haven't gotten to the new version yet, so I wouldn't know. :) Oh, don't worry - I tried it out first to make sure it ran :) :) Yech... I pitty your server. :P lol... That's priceless -- most of that stuff is lame, but that first mittens anim. is hillarious... Incidentally one of the answers from the Magic 8 Ball is Tell people you can smell their brains, it's a good ice breaker at parties. Yes, I was at BACFUG one evening wearing my Mittens' face T shirt (no writing on it) and a voice behind me said I can smell your brains. It's a small world. The animator is a very good friend of mine back in the UK. He is totally barking :) Barking's good. :) I really like the Mr Snaffleburger sketches... Though it fits well with my hippie anti-commercialism/anti-consumerism schtick. :) Mr Snaffleburger is confused because he doesn't know the meaning of rebellion in a society where all forms of expression are mitigated by consumption. And Mr Snaffleburger's [x] is broken. Well, let's go shopping and get you a new one. Shopping good. Isaac Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)
Mike Thanks for the reply, can I confirm that this is only relevant to CFMX And that with CF5 there is no performance hit involved in heavy use of try catch blocks? Thanks -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 15:31 To: CF-Talk Subject: RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?) The try isn't too expensive, but the catch can be. However, running a bunch of trys within a loop can also degrade performance. The catch generates significant overhead when an exception is thrown because a copy of the stack has to be created. a quick search of google turns up: http://www.javaworld.com/javaworld/javaqa/2001-07/04-qa-0727-try.html http://ccm.redhat.com/doc/core-platform/5.0/engineering-standards/perfor mance-optimization.html#Exceptions there is also a good discussion of it in: Java Performance Tuning published by O'Reilly. In general, you should not use try / catch for flow control. hope that helps... mike chambers [EMAIL PROTECTED] -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 4:33 AM To: CF-Talk Subject: RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?) Hi Sean, have I missed something, are you saying try and catch add a significant performance overhead? Thanks Kola -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 02:08 To: CF-Talk Subject: Re: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?) try/catch is a pretty heavy operation - you should only use it for (unexpected) error cases, not normal operation... ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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.
URLEncoding email address to stop email harvesting?
URLEncoding email address to stop email harvesting? I want to urlencode email addresses in my CF code to prevent email harvesting and seem to have trouble sending email when the address is encoded. --- CFMAIL TO=%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74 FROM=%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74 SUBJECT=Test-Encoded TYOE=html Test /CFMAIL --- Will I have to pass the encode email address to a script that will decode it before sending the mail? Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: percentage of hits
Thanks Everett. I got it running. One more question...anyway to just display 3.06% and not all extra numbers? Robert O. -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 4:13 PM To: CF-Talk Subject: RE: percentage of hits cfset percentOfVisits=visits / total_visits * 100 490 is 3.0625% of 16,000 -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 3:59 PM To: CF-Talk Subject: percentage of hits Using SUM (I think) how can I get a percentage when comparing it to a total? For example if #visits# is 490 and #total_visits# is 16000. What is the code to extract the percentage of 490 out of 16000? Below is part of my code: cfquery name=getsomedata datasource=log_stats select url, count(url) as 'visits' from log_data group by url order by visits desc /cfquery cfquery name=datacount datasource=log_stats Select Count(*) AS total_count FROM log_data /cfquery cfoutput query=datacount#total_count#/cfoutput Thanks. Robert Orlini HWW ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: URLEncoding email address to stop email harvesting?
Can't you use URLDecode()? -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:29 AM To: CF-Talk Subject: URLEncoding email address to stop email harvesting? URLEncoding email address to stop email harvesting? I want to urlencode email addresses in my CF code to prevent email harvesting and seem to have trouble sending email when the address is encoded. --- CFMAIL TO=%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74 FROM=%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74 SUBJECT=Test-Encoded TYOE=html Test /CFMAIL --- Will I have to pass the encode email address to a script that will decode it before sending the mail? Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: percentage of hits
NumberFormat() is probably your best bet. -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:27 AM To: CF-Talk Subject: RE: percentage of hits Thanks Everett. I got it running. One more question...anyway to just display 3.06% and not all extra numbers? Robert O. -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 4:13 PM To: CF-Talk Subject: RE: percentage of hits cfset percentOfVisits=visits / total_visits * 100 490 is 3.0625% of 16,000 -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 3:59 PM To: CF-Talk Subject: percentage of hits Using SUM (I think) how can I get a percentage when comparing it to a total? For example if #visits# is 490 and #total_visits# is 16000. What is the code to extract the percentage of 490 out of 16000? Below is part of my code: cfquery name=getsomedata datasource=log_stats select url, count(url) as 'visits' from log_data group by url order by visits desc /cfquery cfquery name=datacount datasource=log_stats Select Count(*) AS total_count FROM log_data /cfquery cfoutput query=datacount#total_count#/cfoutput Thanks. Robert Orlini HWW ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: HTML2PDF3 on CFMX
Yes, I simply use HTML 3 to handle all formatting. Its a little extra work, but it's worth it in the long run. I do believe that HTML 4 support is in the works, if it hasnt already been implemented. CSS is a different story though. I'm not sure if it would be possible to support CSS in PDF. HTMLDoc has a few parameters for specifying body text and header text styles etc, which can be used as pseudo css code depending on the complexity of your original html version. Be careful with images and tables where page breaking is concerned as htmldoc doesnt support html page breaks and thus images and tables will run across multiple pages. Also, use relative references for any image files used. Having said all that, I still feel htmldoc is an excellent tool with more than enough formatting flexibility for anyone. Dave -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 13:54 To: CF-Talk Subject: RE: HTML2PDF3 on CFMX Thanks for the info ... I found the HTML doc site earlier and actually - HTML2PDF3 uses HTMLDOC ... It's a small world ;) I got the HTML2PDF3 tag to work finally, but it hoses the formatting, no matter what parameters I pass it. My question for you about HTMLDOC is this: If I transform formatted HTML into PDF, how well does HTMLDOC handle the transformation? I read that it doesn't support HTML4 or CSS, how do you handle formatting? All HTML3 ? Thanks for your input, Joshua Miller [EMAIL PROTECTED] -Original Message- From: Dave Wilson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 7:02 AM To: CF-Talk Subject: RE: HTML2PDF3 on CFMX Joshua, You could try htmldoc, a very powerful html to pdf convertor utility, which works via the Command line and is free. http://www.easysw.com/htmldoc There's excellent flexibility and documentation with this product. I don't work for them, but I've used htmldoc for over 2 years now for all sorts of things, from creating personalised custom car brochures on the fly, to invoicing, or simply converting a brochureware site to a pdf booklet. I began using it when using CF4.5 which had some problems with its cfexecute tag, so I've used the CFX_execute tag available from the tag gallery, eversince. HTH, Dave -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 19:54 To: CF-Talk Subject: HTML2PDF3 on CFMX I can't get HTML2PDF3 to work with CFMX ... I get a java.io.IOException error. The documentation seems a bit flaky too ... It refers to using the path to the executable wihtout the .exe or filename, then the sample file uses the full path and filename to the executable - it errors either way, using the sample file right out of the ZIP or modifying it as the directions say it should work. It generates the HTML templates, then doesn't convert - it errors when accessing the executable file. Anyone know of anything else? Or anyone have any experience with HTML2PDF3 on CFMX? Thanks, Joshua Miller [EMAIL PROTECTED] -Original Message- From: Eric G. Myers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:17 PM To: CF-Talk Subject: Re: PDF to HTML on-the-fly At 01:37 PM 10/15/2002 -0400, you wrote: There is the html2pdf3 tag in the gallery that works quite well. And its free. Sam Here's something that I ran across that doesn't seem to work (at least I couldn't make it work with MX). I don't have the author attribution easily available, but I'm sure I could find it if anyone is interested. In any case, I'd be interested if someone knows how to make something like this work (a situation where you can use form inputs to populate PDF form fields and present the pdf to the end user or mail it or whatever). I'll list the entire set of instructions below. Thanks in advance. EGM PDF Form Fields How To This example was done with Adobe 5 and Word 2K 1. Create the .doc or .dot as you require. 2. Save it as a .pdf using Adobe 3. Open the pdf with Adobe 4. Add the form fields. This is done by clicking on the form tool and placing the field where you want it. In my example the grid is turned on (CTRL U) or by clicking on View|Grid The grid settings are adjusted by clicking on Edit|General|Layout Grid. In this case, the width and height between lines is .25 with two subdivisions. 5. Right-click on the field, then on Properties. Next click on Options. 6. In the example, the first field is called today and the default is called #todayDate#. This will be a variable name a little later. The Type is text. This is the default. 7. The second field in the example is done the same way. 8. Save the pdf. 9. Next, click on File|Export|Form Data and save the exported form (This is the .fdf) to the same directory as the pdf. 10. Now, start ColdFusion studio and open the fdf this way: Click on File|Open|All Files. You will see a warning that this is an File|Open|unrecognized text
RE: percentage of hits
#numberFormat(Variablehere,'_.__')# ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:27 AM To: CF-Talk Subject: RE: percentage of hits Thanks Everett. I got it running. One more question...anyway to just display 3.06% and not all extra numbers? Robert O. -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 4:13 PM To: CF-Talk Subject: RE: percentage of hits cfset percentOfVisits=visits / total_visits * 100 490 is 3.0625% of 16,000 -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 3:59 PM To: CF-Talk Subject: percentage of hits Using SUM (I think) how can I get a percentage when comparing it to a total? For example if #visits# is 490 and #total_visits# is 16000. What is the code to extract the percentage of 490 out of 16000? Below is part of my code: cfquery name=getsomedata datasource=log_stats select url, count(url) as 'visits' from log_data group by url order by visits desc /cfquery cfquery name=datacount datasource=log_stats Select Count(*) AS total_count FROM log_data /cfquery cfoutput query=datacount#total_count#/cfoutput Thanks. Robert Orlini HWW ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: MX + ArcIMS
Great idea, I would like to see it in action. I sicked our J2EE certified developer on this very project. What he came back with is a solid 'I dunno'. To date, we have attempted to rebuild the connectors to be MX compliant three times and each time we have ended up with something worse than the ones that come with ArcIMS. Please tell me someone has made some progress on this... my client is really sold on the whole MX thing and wants to move the product up within the next six months. Right now, that is completely unfeasible unless we get something that works. M -Original Message- From: Hugo Ahlenius [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 2:47 AM To: CF-Talk Subject: MX + ArcIMS But... Would it be overly tricky for us (the community) to roll our own connector? What is the magic that is done in the CFX/DLLs/SOs etc in the connector? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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
Printing the colours from DreamweaverMX
Does anyone know if there is anyway to get DreamweaverMX to print the code in colour (as it displays) or are we stuck with black and white? -- James Smith [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: URLEncoding email address to stop email harvesting?
Do you mean? CFMAIL TO=#URLDecode(%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65% 74)# FROM=#URLDecode(%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%6 5%74)# SUBJECT=Test-Encoded TYOE=html Test /CFMAIL -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:32 AM To: CF-Talk Subject: RE: URLEncoding email address to stop email harvesting? Can't you use URLDecode()? -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:29 AM To: CF-Talk Subject: URLEncoding email address to stop email harvesting? URLEncoding email address to stop email harvesting? I want to urlencode email addresses in my CF code to prevent email harvesting and seem to have trouble sending email when the address is encoded. --- CFMAIL TO=%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74 FROM=%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74 SUBJECT=Test-Encoded TYOE=html Test /CFMAIL --- Will I have to pass the encode email address to a script that will decode it before sending the mail? Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: URLEncoding email address to stop email harvesting?
Rather than role your own, why not look at the code produced by http://www.hivelogic.com/safeaddress/ ? Tom Chiverton You don't have to be a mad scientist to believe in ColdFusion ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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.
entering time
Can anyone make a suggestion on the best/standard way to setup data entry for time.. Specifically for a entry field for an event start time. I've thought about a text box, but that would seem to allow too many mistakes for the data entry person.. I've considered drop down select boxes for hour, AM/PM and minutes.. But there must be a standard, best way to do this for database entry using CF (or maybe even javascript) Thanks in advance Tim Laureska ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: MX + ArcIMS
It depends on the release-date of ArcIMS 4.01, which ESRI claims should have MX support. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: How Good is the Job Market for ColdFusion?
As a Microsoft Channel Partner and reseller, I can tell you that dot NET has had similar problems with market penetration. The big changes in Studio and the rather steep learning curve to become proficient may well pay off at some time, but so far it has been slow to catch on. The multitudes of VB programmers are having to learn it all over again due to lack of backward compatibility and syntax changes needed to embrace OOP. MS implementation of SOAP is likewise not mature as yet either. One hears quite a bit of ballyhoo about pure JAVA, however, its implementation leaves much to be desired as well. As a result, I am advising my clients to be careful about putting one's eggs in just one basket. With the adoption of standards ( depends on whose standards you wish to look at) not being very mature, the entire market for Web Services is going to be in a state of flux for a long time to come, and the vendors seem to be trying to overcome inherent weaknesses with marketing, as opposed to product. I have just taken a look at Microsoft's newest server entry, dot NET enterprise, I can see that giant steps have been taken in ease of setup and administration (It is almost as if they are trying to put the system admins out of business) with features such as built-in SMTP hosting and POP3 features which will permit almost any server to be an email host, without the burdensome Exchange server or other email server overlays. Very easy to set up and administer for shared hosting, and most of the other server functions which in the past have been really complex. The built-in MSDE is going to speed up most any database functions that have been very resource intensive in the past. MS is taking security very seriously as they market their server products to the enterprise, and there are many new security features in the product. IBM has embraced both Linux and ColdFusion on their WebSphere (java) server product, which tells me that CF is not going away anytime soon. Version 4 of MySQL is soon to be released, which will make this database product very competitive with the former mainstream products such as Oracle, MSSQL, Sybase, and SAP. Being open-source, the savings in licensing costs alone are starting to get major attention from clients. That said, the US military, and other agencies have negotiated enterprise licensing from Oracle, and are fast replacing their hodge-podge of FoxPro, Sybase, MSSQL, and other database products with Oracle as a standard. For those *nix aficionados who love to bash vulnerabilities in Microsoft products, I like to mention that as a hosting provider who uses both platforms, of the security patches over the past month or so, they have been coming more numerous on the Linux platform as new vulnerabilities are being exposed. All in all, the client is becoming much more sophisticated, and is reluctant to purchase whatever technology that comes along unless there are compelling reasons, such as ROI and cost-effectiveness inherent in the offering,. For the developer, the market has changed in the past year or so from a seller's (developer) market to a buyer's (client) market, and thus wages are dropping as there appear to be more developers seeking work than there are clients looking for them. Also they are looking for more multi-skilled developers as opposed to gurus in only one software product. Bottom line is that no one particular product will have the easy sledding as they have enjoyed in the past. CF is a great product, don't give up on it yet! This address is filtered through the open relay database at http://www.ordb.org and is virus scanned by ANTIVIR http://www.dwhite.ws mailto:[EMAIL PROTECTED] - Original Message - From: Kris Pilles [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 7:51 AM Subject: RE: How Good is the Job Market for ColdFusion? | Interesting to find some of this out. We are in a position that I think | many organizations are in. We've been priamrilly a CF house for well | over 2 years and we purchased MX enterprise but have yet to install it | because of the growing popularity of .NET . I really enjoy CF and love | what I can do with it and how fast I can develop with it but... I think | that our IT director along with a good part of me is feeling pressure to | switch over to .NET entirely. The biggest reason is .NET's ability to | allow us to develop for a multitude of enviroments... Thin client, | clinet server, web based etc... This will allow our organization to | have all of their programmers working on the same platform thus creating | an internal community where everyone can help everyone else out and | learn from each other.. | | While CF is a great product, it can not offer this type of | standardization to us. I am a strong believer in CF and will continue | to use it for development for my
RE: URLEncoding email address to stop email harvesting?
Thanks cool but it only uses 'mailto' and I want to use CFMAIL, is this not possible? Dave -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:40 AM To: CF-Talk Subject: RE: URLEncoding email address to stop email harvesting? Rather than role your own, why not look at the code produced by http://www.hivelogic.com/safeaddress/ ? Tom Chiverton You don't have to be a mad scientist to believe in ColdFusion ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: URLEncoding email address to stop email harvesting?
There is also the UDF EmailAntiSpam(): http://www.cflib.org/udf.cfm?ID=405 -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:40 AM To: CF-Talk Subject: RE: URLEncoding email address to stop email harvesting? Rather than role your own, why not look at the code produced by http://www.hivelogic.com/safeaddress/ ? Tom Chiverton You don't have to be a mad scientist to believe in ColdFusion ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: How Good is the Job Market for ColdFusion?
Sorry to that you see it that way. Perhaps we can change your mind. The combination of J2EE + CFMX gives you an environment that can scale across the full spectrum of projects, from the smallest web form to the biggest mission-critical enterprise application. And you also get true cross-platform deployment and industry-leading rich client technology that is light years ahead of anything else out there. We think the ColdFusion MX + J2EE application servers (like JRun!) combo delivers all the technology that an enterprise needs, and offers critical flexibility than you don't get going with a single vendor. Having said all that, we think .NET is important infrastructure technology and we will continue to offer products that integrate with and take advantage of it. Hence the COM and web services support in CFMX, the .NET support in Flash Remoting MX, etc. At the end of the day, we're not religious about this platform or that platform, we just want to pragmatically solve customer problems. We believe that as you really dig into the details, you'll find that continuing to have ColdFusion in your mix will pay off in the long run. Jeff W. -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:51 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? Interesting to find some of this out. We are in a position that I think many organizations are in. We've been priamrilly a CF house for well over 2 years and we purchased MX enterprise but have yet to install it because of the growing popularity of .NET . I really enjoy CF and love what I can do with it and how fast I can develop with it but... I think that our IT director along with a good part of me is feeling pressure to switch over to .NET entirely. The biggest reason is .NET's ability to allow us to develop for a multitude of enviroments... Thin client, clinet server, web based etc... This will allow our organization to have all of their programmers working on the same platform thus creating an internal community where everyone can help everyone else out and learn from each other.. While CF is a great product, it can not offer this type of standardization to us. I am a strong believer in CF and will continue to use it for development for my personal business sites as well as any development I contract but in a corporate enviroment where many different applications are being developed and supported, I have no solid reasons as to why we shouldn't switch to .NET KP -Original Message- From: Vernon Viehe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 7:25 PM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? The enterprise penetration of MX has been weak. MM would blame this on the marketplace, but I'm not sold on this. Server version upgrade cycles in the enterprise app-server space is around 12 months, according to those I've discussed it with. We're really only about halfway through the cycle at this time. The overall installed CF base is pretty healthy, and growing. Here's a partial list of existing CF sites we use for PR/marketing: http://www.macromedia.com/software/coldfusion/proven/ Even considering the upgrade cycle in the enterprise app-server world, the list of CFMX enterprise sites is growing every day. The following are a few of the CFMX sites recently sent to me: http://www.ecoprimalquest.com/ http://www.logitech.com/index.cfm?countryid=19languageid=1 http://www.panasonic.com.au/hometheatre http://abclocal.go.com/kgo/ (some CF, some dynamic Flash content, some just plain HTML) http://www.reservations.broadmoor.com We know a lot of enterprise-level customers have upgraded to CFMX and are in the upgrade cycle - but they don't always report back to us when they go live with CFMX, so feel free to send me sites that you know of too! In addition to this stuff, consider the ways Macromedia is expanding the CF market: *Ground-up rewrite in Java: This expands CF capabilities, as well as makes CF an option to the enterprise-level sites which want the benefits of deploying on a the Java platform and the rapid app dev (RAD) offered by CF. It also means current CF customers have a way to move up to the Java platform without requiring they abandon their existing apps (or their CF developers). Admittedly, this has been a challenging release of CF for some, but once the dust settles, CF and the CF community will enjoy this huge leap forward. *We're working to deliver the information developers need to help them be successful with ColdFusion and our other technology offerings: www.macromedia.com/desdev *We're tappiing into new markets for CF: -With Flash remoting, the HUGE Flash community is getting turned on to CF. While one can purchase Flash remoting for ASP, Flashers taking to CF readily because of it's shorter learning curve and RAD capabilities. -Dreamweaver users: OK, before you pile on me about this one, I'm not
RE: entering time
Individual selects are virtually idiot-proof, but I think they're too annoying. Why don't you test the input with IsDate()? -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:42 AM To: CF-Talk Subject: entering time Can anyone make a suggestion on the best/standard way to setup data entry for time.. Specifically for a entry field for an event start time. I've thought about a text box, but that would seem to allow too many mistakes for the data entry person.. I've considered drop down select boxes for hour, AM/PM and minutes.. But there must be a standard, best way to do this for database entry using CF (or maybe even javascript) Thanks in advance Tim Laureska ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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
OT: Cart-32 public/private key issue?
Anyone have any issues with generating keys...??? We have a client using cart32 and I can generate the keys fine here and view all encrypted data without a problem but The site owner cannot I am wondering if it has to do with him being behind his linksys router Any ideas loopholes etc... Thanks Kris Pilles Website Manager Western Suffolk BOCES 507 Deer Park Rd., Building C Phone: 631-549-4900 x 267 E-mail: [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: MX + ArcIMS
You see my problem, the client is sold on CFMX, not ArcIMS 4.x. We have no budget for upgrading that product, and I imagine I am not the only one in that boat. M -Original Message- From: Hugo Ahlenius [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:43 AM To: CF-Talk Subject: RE: MX + ArcIMS It depends on the release-date of ArcIMS 4.01, which ESRI claims should have MX support. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: HTML2PDF3 on CFMX
I wrote a CFC that interfaces with HTMLDoc: http://blog.web-rat.com/archives/33.html#33 On Wed, 16 Oct 2002, Dave Wilson wrote: Joshua, You could try htmldoc, a very powerful html to pdf convertor utility, which works via the Command line and is free. http://www.easysw.com/htmldoc There's excellent flexibility and documentation with this product. I don't work for them, but I've used htmldoc for over 2 years now for all sorts of things, from creating personalised custom car brochures on the fly, to invoicing, or simply converting a brochureware site to a pdf booklet. I began using it when using CF4.5 which had some problems with its cfexecute tag, so I've used the CFX_execute tag available from the tag gallery, eversince. HTH, Dave -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 19:54 To: CF-Talk Subject: HTML2PDF3 on CFMX I can't get HTML2PDF3 to work with CFMX ... I get a java.io.IOException error. The documentation seems a bit flaky too ... It refers to using the path to the executable wihtout the .exe or filename, then the sample file uses the full path and filename to the executable - it errors either way, using the sample file right out of the ZIP or modifying it as the directions say it should work. It generates the HTML templates, then doesn't convert - it errors when accessing the executable file. Anyone know of anything else? Or anyone have any experience with HTML2PDF3 on CFMX? Thanks, Joshua Miller [EMAIL PROTECTED] -Original Message- From: Eric G. Myers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:17 PM To: CF-Talk Subject: Re: PDF to HTML on-the-fly At 01:37 PM 10/15/2002 -0400, you wrote: There is the html2pdf3 tag in the gallery that works quite well. And its free. Sam Here's something that I ran across that doesn't seem to work (at least I couldn't make it work with MX). I don't have the author attribution easily available, but I'm sure I could find it if anyone is interested. In any case, I'd be interested if someone knows how to make something like this work (a situation where you can use form inputs to populate PDF form fields and present the pdf to the end user or mail it or whatever). I'll list the entire set of instructions below. Thanks in advance. EGM PDF Form Fields How To This example was done with Adobe 5 and Word 2K 1. Create the .doc or .dot as you require. 2. Save it as a .pdf using Adobe 3. Open the pdf with Adobe 4. Add the form fields. This is done by clicking on the form tool and placing the field where you want it. In my example the grid is turned on (CTRL U) or by clicking on View|Grid The grid settings are adjusted by clicking on Edit|General|Layout Grid. In this case, the width and height between lines is .25 with two subdivisions. 5. Right-click on the field, then on Properties. Next click on Options. 6. In the example, the first field is called today and the default is called #todayDate#. This will be a variable name a little later. The Type is text. This is the default. 7. The second field in the example is done the same way. 8. Save the pdf. 9. Next, click on File|Export|Form Data and save the exported form (This is the .fdf) to the same directory as the pdf. 10. Now, start ColdFusion studio and open the fdf this way: Click on File|Open|All Files. You will see a warning that this is an File|Open|unrecognized text file. Click on Open, anyway. 11. Place a CFOUTPUT tag right before the first % sign in the fdf and a /CFOUTPUT immediately after the EOF at the end of the fdf. The example shows you where. Spaces before or after the tags will generate errors. 12. In the area where you see /F (sampledoc.pdf)/ID (without the quotes) add an URL path before the filename, such as http://servername/directory structure/filename (without the quotes). See the example. Where you see servername above, you can use localhost or an IP address. 13. Save the file. 14. Open a new CF template and add the code per the example. Save it. 15. You sre ready to go. NOTES: 1. Adobe will not preserve your source document margins. 2. The text in the Adobe document will not be in exactly the place as the source document. To get Adobe to put things where you want them, you have to play with the source document. 3. You CANNOT open the fdf with Adobe. You will get an error. Open it with CF Studio. The FDF looks like this: cfoutput%FDF-1.2 %âãÏÓ 1 0 obj /FDF /Fields [ /V (#fieldcontent#)/T (fieldcontent) /V (#todayDate#)/T (today) ] /F (http://master/dqa/adobe/sampledoc.pdf)/ID [ c2331da405f412d95820b8849ee5fb590f5bb617ffcfb2e18a1dd497cd3c2b18 ] endobj trailer /Root 1 0 R %%EOF /cfoutput
Re: URLEncoding email address to stop email harvesting?
- Original Message - From: Bosky, Dave [EMAIL PROTECTED] I want to urlencode email addresses in my CF code to prevent email harvesting and seem to have trouble sending email when the address is encoded. --- CFMAIL TO=%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74 FROM=%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74 SUBJECT=Test-Encoded TYOE=html Test /CFMAIL --- --- Why do you need to encode the TO attribute of CFMAIL? If the address is in a completely encoded form in a link on a web page, the address should be decoded in the act of clicking it, I believe. If not, no need to encode, it's all on the server. You only need to encode email addresses that are sent to the browser as part of an HTML page. There's a UDF on cflib.org (EmailAntiSpam()?) that encodes the characters as character entities, seems to work well... Gyrus [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net PGP key available ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: HTML2PDF3 on CFMX
It doesn't support css at all. And, the only thing you can do to handle format is to use basic tables. Download HTMLDoc and try it out, it has a gui format that you can use to check out what it actually renders. ~Todd On Wed, 16 Oct 2002, Joshua Miller wrote: Thanks for the info ... I found the HTML doc site earlier and actually - HTML2PDF3 uses HTMLDOC ... It's a small world ;) I got the HTML2PDF3 tag to work finally, but it hoses the formatting, no matter what parameters I pass it. My question for you about HTMLDOC is this: If I transform formatted HTML into PDF, how well does HTMLDOC handle the transformation? I read that it doesn't support HTML4 or CSS, how do you handle formatting? All HTML3 ? Thanks for your input, Joshua Miller [EMAIL PROTECTED] -Original Message- From: Dave Wilson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 7:02 AM To: CF-Talk Subject: RE: HTML2PDF3 on CFMX Joshua, You could try htmldoc, a very powerful html to pdf convertor utility, which works via the Command line and is free. http://www.easysw.com/htmldoc There's excellent flexibility and documentation with this product. I don't work for them, but I've used htmldoc for over 2 years now for all sorts of things, from creating personalised custom car brochures on the fly, to invoicing, or simply converting a brochureware site to a pdf booklet. I began using it when using CF4.5 which had some problems with its cfexecute tag, so I've used the CFX_execute tag available from the tag gallery, eversince. HTH, Dave -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 19:54 To: CF-Talk Subject: HTML2PDF3 on CFMX I can't get HTML2PDF3 to work with CFMX ... I get a java.io.IOException error. The documentation seems a bit flaky too ... It refers to using the path to the executable wihtout the .exe or filename, then the sample file uses the full path and filename to the executable - it errors either way, using the sample file right out of the ZIP or modifying it as the directions say it should work. It generates the HTML templates, then doesn't convert - it errors when accessing the executable file. Anyone know of anything else? Or anyone have any experience with HTML2PDF3 on CFMX? Thanks, Joshua Miller [EMAIL PROTECTED] -Original Message- From: Eric G. Myers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:17 PM To: CF-Talk Subject: Re: PDF to HTML on-the-fly At 01:37 PM 10/15/2002 -0400, you wrote: There is the html2pdf3 tag in the gallery that works quite well. And its free. Sam Here's something that I ran across that doesn't seem to work (at least I couldn't make it work with MX). I don't have the author attribution easily available, but I'm sure I could find it if anyone is interested. In any case, I'd be interested if someone knows how to make something like this work (a situation where you can use form inputs to populate PDF form fields and present the pdf to the end user or mail it or whatever). I'll list the entire set of instructions below. Thanks in advance. EGM PDF Form Fields How To This example was done with Adobe 5 and Word 2K 1. Create the .doc or .dot as you require. 2. Save it as a .pdf using Adobe 3. Open the pdf with Adobe 4. Add the form fields. This is done by clicking on the form tool and placing the field where you want it. In my example the grid is turned on (CTRL U) or by clicking on View|Grid The grid settings are adjusted by clicking on Edit|General|Layout Grid. In this case, the width and height between lines is .25 with two subdivisions. 5. Right-click on the field, then on Properties. Next click on Options. 6. In the example, the first field is called today and the default is called #todayDate#. This will be a variable name a little later. The Type is text. This is the default. 7. The second field in the example is done the same way. 8. Save the pdf. 9. Next, click on File|Export|Form Data and save the exported form (This is the .fdf) to the same directory as the pdf. 10. Now, start ColdFusion studio and open the fdf this way: Click on File|Open|All Files. You will see a warning that this is an File|Open|unrecognized text file. Click on Open, anyway. 11. Place a CFOUTPUT tag right before the first % sign in the fdf and a /CFOUTPUT immediately after the EOF at the end of the fdf. The example shows you where. Spaces before or after the tags will generate errors. 12. In the area where you see /F (sampledoc.pdf)/ID (without the quotes) add an URL path before the filename, such as http://servername/directory structure/filename (without the quotes). See the example. Where you see servername above, you can use localhost or an IP address. 13. Save the
RE: Printing the colours from DreamweaverMX
I think that this is a known bug in DWMX. You can't print code in colour. Benoit Hediard #affinitiz.com -Message d'origine- De : James Smith [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 16 octobre 2002 15:38 À : CF-Talk Objet : Printing the colours from DreamweaverMX Does anyone know if there is anyway to get DreamweaverMX to print the code in colour (as it displays) or are we stuck with black and white? -- James Smith [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: percentage of hits
Thanks for all the help Everett and Tony! Robert O. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:31 AM To: CF-Talk Subject: RE: percentage of hits #numberFormat(Variablehere,'_.__')# .tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:27 AM To: CF-Talk Subject: RE: percentage of hits Thanks Everett. I got it running. One more question...anyway to just display 3.06% and not all extra numbers? Robert O. -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 4:13 PM To: CF-Talk Subject: RE: percentage of hits cfset percentOfVisits=visits / total_visits * 100 490 is 3.0625% of 16,000 -Original Message- From: Robert Orlini [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 3:59 PM To: CF-Talk Subject: percentage of hits Using SUM (I think) how can I get a percentage when comparing it to a total? For example if #visits# is 490 and #total_visits# is 16000. What is the code to extract the percentage of 490 out of 16000? Below is part of my code: cfquery name=getsomedata datasource=log_stats select url, count(url) as 'visits' from log_data group by url order by visits desc /cfquery cfquery name=datacount datasource=log_stats Select Count(*) AS total_count FROM log_data /cfquery cfoutput query=datacount#total_count#/cfoutput Thanks. Robert Orlini HWW ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: entering time
yep and store your date as a Julian integer.I cant really say why, I just like doing it :-) -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 14:48 To: CF-Talk Subject: RE: entering time Individual selects are virtually idiot-proof, but I think they're too annoying. Why don't you test the input with IsDate()? -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:42 AM To: CF-Talk Subject: entering time Can anyone make a suggestion on the best/standard way to setup data entry for time.. Specifically for a entry field for an event start time. I've thought about a text box, but that would seem to allow too many mistakes for the data entry person.. I've considered drop down select boxes for hour, AM/PM and minutes.. But there must be a standard, best way to do this for database entry using CF (or maybe even javascript) Thanks in advance Tim Laureska ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: entering time
Ok... wasn't aware of that function, but it sounds good then I assume a text box would be OK?? (with supplying data entry person with entry format ex. 5/11/02) -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:48 AM To: CF-Talk Subject: RE: entering time Individual selects are virtually idiot-proof, but I think they're too annoying. Why don't you test the input with IsDate()? -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:42 AM To: CF-Talk Subject: entering time Can anyone make a suggestion on the best/standard way to setup data entry for time.. Specifically for a entry field for an event start time. I've thought about a text box, but that would seem to allow too many mistakes for the data entry person.. I've considered drop down select boxes for hour, AM/PM and minutes.. But there must be a standard, best way to do this for database entry using CF (or maybe even javascript) Thanks in advance Tim Laureska ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: How Good is the Job Market for ColdFusion?
I can just throw ColdFusion out the window we have a lot of applications that need to be converted so we will be using it for quite a while... What I envision is using CF for quick or small projects that have to much overhead... A great example is a project I am finishing up now... We need to write out a bunch of text files from records sets from oracle... A pain in the a** to do in ASP or .net but with CF it's a breeze. I would like to keep it around for things like that and any flash data work we do but outside of that I don't see it being a major part of any of our enterprise applications. As I said before personally I will ocntinue to use CF for my business and ecommerce sites. I love the product but I just think that the .NET stuff has the edge at this time... For Microsoft orgainzations that is... One decision my company just made is to give up on UNIX and oracle and switch enitrelly to micrososft world SQL server all NT servers and all NET development... The prinicipal is great 1 company 1 development platform 1 programming team that all knows the same stuff But having been at other 100% microsoft organizations I have seen what happens when you put all of your eggs in 1 basket. I think getting rid of Oracle on AIX Linux is a big mistake for us... Especially in favor of NT based SQL server... Especially after we've already bought oracle and set it up and have it running without issue... But that's a separate issue. But the big decision maker was the ability to roll out our apps in multiple formats... If CF allowed up that then it would be a no brainer to stay with CF.. KP -Original Message- From: Jeff Whatcott [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:48 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? Sorry to that you see it that way. Perhaps we can change your mind. The combination of J2EE + CFMX gives you an environment that can scale across the full spectrum of projects, from the smallest web form to the biggest mission-critical enterprise application. And you also get true cross-platform deployment and industry-leading rich client technology that is light years ahead of anything else out there. We think the ColdFusion MX + J2EE application servers (like JRun!) combo delivers all the technology that an enterprise needs, and offers critical flexibility than you don't get going with a single vendor. Having said all that, we think .NET is important infrastructure technology and we will continue to offer products that integrate with and take advantage of it. Hence the COM and web services support in CFMX, the .NET support in Flash Remoting MX, etc. At the end of the day, we're not religious about this platform or that platform, we just want to pragmatically solve customer problems. We believe that as you really dig into the details, you'll find that continuing to have ColdFusion in your mix will pay off in the long run. Jeff W. -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:51 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? Interesting to find some of this out. We are in a position that I think many organizations are in. We've been priamrilly a CF house for well over 2 years and we purchased MX enterprise but have yet to install it because of the growing popularity of .NET . I really enjoy CF and love what I can do with it and how fast I can develop with it but... I think that our IT director along with a good part of me is feeling pressure to switch over to .NET entirely. The biggest reason is .NET's ability to allow us to develop for a multitude of enviroments... Thin client, clinet server, web based etc... This will allow our organization to have all of their programmers working on the same platform thus creating an internal community where everyone can help everyone else out and learn from each other.. While CF is a great product, it can not offer this type of standardization to us. I am a strong believer in CF and will continue to use it for development for my personal business sites as well as any development I contract but in a corporate enviroment where many different applications are being developed and supported, I have no solid reasons as to why we shouldn't switch to .NET KP -Original Message- From: Vernon Viehe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 7:25 PM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? The enterprise penetration of MX has been weak. MM would blame this on the marketplace, but I'm not sold on this. Server version upgrade cycles in the enterprise app-server space is around 12 months, according to those I've discussed it with. We're really only about halfway through the cycle at this time. The overall installed CF base is pretty healthy, and growing. Here's a partial list of existing CF sites we use for PR/marketing:
Re: soXML - Flawed
Loading and saving is something cffile does pretty well. XML is a string, cfset does a pretty good job of changing it. Why do you need a parser even? FYI: MsXML can load and save files fine as well. cfscript objXMLDOM = CreateObject(COM, msxml2.DOMDocument.4.0); objXMLDOM.async = false; objXMLDOM.load(c:\path\foo.xml); writeOutput(objXMLDom.xml); objXMLDOM.save(c:\path\bar.xml); /cfscript -- jon mailto:[EMAIL PROTECTED] Wednesday, October 16, 2002, 5:36:57 AM, you wrote: RRNR then its useless. looks like, as I said...its WDDX. RRNR -Original Message- RRNR From: Craig Dudley [mailto:[EMAIL PROTECTED]] RRNR Sent: 16 October 2002 10:34 RRNR To: CF-Talk RRNR Subject: RE: soXML - Flawed RRNR It returns a CF structure, you won't find a parser that will edit a packet I RRNR don't think, it's easy enough to recreate it anyway. RRNR -Original Message- RRNR From: Robertson-Ravo, Neil (REC) RRNR [mailto:[EMAIL PROTECTED]] RRNR Sent: 16 October 2002 10:14 RRNR To: CF-Talk RRNR Subject: RE: soXML - Flawed RRNR can it read in an XML file and copy an edited XML packet back out to the RRNR file UNTOUCHED? RRNR This is my problemeven the cf_xmlparser seems only 1-way. RRNR N ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: URLEncoding email address to stop email harvesting?
URLEncoding email address to stop email harvesting? I want to urlencode email addresses in my CF code to prevent email harvesting and seem to have trouble sending email when the address is encoded. --- CFMAIL TO=%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74 FROM=%64%61%76%65%2E%62%6F%73%6B%79%40%68%74%63%69%6E%63%2E%6E%65%74 SUBJECT=Test-Encoded TYOE=html Test /CFMAIL --- Will I have to pass the encode email address to a script that will decode it before sending the mail? There's no significant reason why you should need or want to pass a URLEncoded email address to a cfmail tag like this -- there's no way that a web-spider could ever see the cfmail tag or its contents ( well -- there are ways, but they require the CF Server to be _broken_ first, in which case the solution is to fix the server, which you're going to be working on very fervently anyway ) ... Sure it's possible to URLEncode email addresses before they enter the database, however, I would probably stay away from that approach and simply URLEncode any email addresses which end up displayed on the public pages of your website, i.e. a href=mailto:#urlencodedformat(myquery.email)#Send Us Email/a I'm not certain but I think placing the values outside the href, i.e. betwee a and /a in urlencodedformat may also be somewhat problematic. hth S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: soXML - Flawed
well, COM, I have heard can be pretty heavy on the server I understand what you are saying in principle, but in practice...? have you got an example? N -Original Message- From: jon hall [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:11 To: CF-Talk Subject: Re: soXML - Flawed Loading and saving is something cffile does pretty well. XML is a string, cfset does a pretty good job of changing it. Why do you need a parser even? FYI: MsXML can load and save files fine as well. cfscript objXMLDOM = CreateObject(COM, msxml2.DOMDocument.4.0); objXMLDOM.async = false; objXMLDOM.load(c:\path\foo.xml); writeOutput(objXMLDom.xml); objXMLDOM.save(c:\path\bar.xml); /cfscript -- jon mailto:[EMAIL PROTECTED] Wednesday, October 16, 2002, 5:36:57 AM, you wrote: RRNR then its useless. looks like, as I said...its WDDX. RRNR -Original Message- RRNR From: Craig Dudley [mailto:[EMAIL PROTECTED]] RRNR Sent: 16 October 2002 10:34 RRNR To: CF-Talk RRNR Subject: RE: soXML - Flawed RRNR It returns a CF structure, you won't find a parser that will edit a packet I RRNR don't think, it's easy enough to recreate it anyway. RRNR -Original Message- RRNR From: Robertson-Ravo, Neil (REC) RRNR [mailto:[EMAIL PROTECTED]] RRNR Sent: 16 October 2002 10:14 RRNR To: CF-Talk RRNR Subject: RE: soXML - Flawed RRNR can it read in an XML file and copy an edited XML packet back out to the RRNR file UNTOUCHED? RRNR This is my problemeven the cf_xmlparser seems only 1-way. RRNR N ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: How Good is the Job Market for ColdFusion?
I have to make one comment here. rant I really dislike DreamweaverMX. I think the interface is nice and its convenient to have the editor and designer all in one product. That said, the software CRAWLS on my 1.4ghz 256mb AMD XP machine and also is a little buggy. I still have the bug where it prompts me that the date of the file on the server is newer than the local. Saving files locally or thru RDS or thru FTP is very slow, even with my DSL connection and ATA100 hard drive. Editing tags, listing files and even stuff as simple as right clicking are a bit sluggish. I should NOT be suffering performance problems on this machine. If you are in fact listening to us Macromedia, you need to fix this product so that us homesite/cfstudio developers can expect the same stability and performance that we had before (or better.) /rant Thanks, Craig - Original Message - From: Vernon Viehe [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, October 15, 2002 6:24 PM Subject: RE: How Good is the Job Market for ColdFusion? The enterprise penetration of MX has been weak. MM would blame this on the marketplace, but I'm not sold on this. Server version upgrade cycles in the enterprise app-server space is around 12 months, according to those I've discussed it with. We're really only about halfway through the cycle at this time. The overall installed CF base is pretty healthy, and growing. Here's a partial list of existing CF sites we use for PR/marketing: http://www.macromedia.com/software/coldfusion/proven/ Even considering the upgrade cycle in the enterprise app-server world, the list of CFMX enterprise sites is growing every day. The following are a few of the CFMX sites recently sent to me: http://www.ecoprimalquest.com/ http://www.logitech.com/index.cfm?countryid=19languageid=1 http://www.panasonic.com.au/hometheatre http://abclocal.go.com/kgo/ (some CF, some dynamic Flash content, some just plain HTML) http://www.reservations.broadmoor.com We know a lot of enterprise-level customers have upgraded to CFMX and are in the upgrade cycle - but they don't always report back to us when they go live with CFMX, so feel free to send me sites that you know of too! In addition to this stuff, consider the ways Macromedia is expanding the CF market: *Ground-up rewrite in Java: This expands CF capabilities, as well as makes CF an option to the enterprise-level sites which want the benefits of deploying on a the Java platform and the rapid app dev (RAD) offered by CF. It also means current CF customers have a way to move up to the Java platform without requiring they abandon their existing apps (or their CF developers). Admittedly, this has been a challenging release of CF for some, but once the dust settles, CF and the CF community will enjoy this huge leap forward. *We're working to deliver the information developers need to help them be successful with ColdFusion and our other technology offerings: www.macromedia.com/desdev *We're tappiing into new markets for CF: -With Flash remoting, the HUGE Flash community is getting turned on to CF. While one can purchase Flash remoting for ASP, Flashers taking to CF readily because of it's shorter learning curve and RAD capabilities. -Dreamweaver users: OK, before you pile on me about this one, I'm not trying to debate the CFStudio/HS+ vs. Dreamweaver issue for CFers. Dreamweaver is ~80% of the HTML editor market, and these folks are moving into the dynamic application/web app development space in droves. Dreamweaver MX makes their entry into the CF arena a snap with its built in server behaviors that cover the most basic stuff, and CF's shorter learning curve and tagged based syntax makes CF a very attractive for these new application developers. *We've delivered innovative products that are more integrated and work more smoothly with each other than ever before, offering one-stop shopping for industry leading technologies. This also means that we can deliver well integrated technologies, and better information for those who are integrating these various technologies. But we've also worked to remain somewhat agnostic with many of these innovations; many (most) of these innovations integrate with 3rd party products/platforms. Individually, one may not be positioned to take advantage of everything we offer surrounding CF, but we see businesses moving into these areas as they begin to plan and implement new projects, and bring additional technologies skills into their shops. It's been said Macromedia should concentrate on CF improvements and fixes and forget everything else, but our efforts across the board are not mutually exclusive. We've already released one CFMX updater, and another is fortcoming. Macromedia is fully behind ColdFusion and ColdFusion developers. Yes, there is definately room for improvement, as is evidenced by some of the more lively discussion on this list recently. But we do listen to and incorporate to
RE: soXML - Flawed
Just curious here, but why not WDDX. We are just beginning to explore using XML to bring some data into CF, and it seemed to me that WDDX was the perfect answer. In our case the XML is generated by an internal server, which I grab with CFHTTP and then use WDDX to create a query set for further manipulation and display. Being new to XML, I don't know if WDDX is good or bad but it does work. Are there pitfalls or concerns that I am missing here? Dave Deeds Idaho Power Company [EMAIL PROTECTED] -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 3:37 AM To: CF-Talk Subject: RE: soXML - Flawed then its useless. looks like, as I said...its WDDX. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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.
'Locking' a process
Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: How Good is the Job Market for ColdFusion?
I'm not sure about Coldfusion MX, but using COM with Coldfusion 5 to connect to .NET is a beast. Data just doesn't flow in two directions very well between these. Web Services cannot always be used (for performance reasons.) I'd like to see better integration with CFMX and .NET in the future, not simply relying on Microsoft's COM Interop capabilities. I don't feel like MM actually did any work to integrate with .NET. They just kept their existing COM support. Craig - Original Message - From: Jeff Whatcott [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 8:47 AM Subject: RE: How Good is the Job Market for ColdFusion? Sorry to that you see it that way. Perhaps we can change your mind. The combination of J2EE + CFMX gives you an environment that can scale across the full spectrum of projects, from the smallest web form to the biggest mission-critical enterprise application. And you also get true cross-platform deployment and industry-leading rich client technology that is light years ahead of anything else out there. We think the ColdFusion MX + J2EE application servers (like JRun!) combo delivers all the technology that an enterprise needs, and offers critical flexibility than you don't get going with a single vendor. Having said all that, we think .NET is important infrastructure technology and we will continue to offer products that integrate with and take advantage of it. Hence the COM and web services support in CFMX, the .NET support in Flash Remoting MX, etc. At the end of the day, we're not religious about this platform or that platform, we just want to pragmatically solve customer problems. We believe that as you really dig into the details, you'll find that continuing to have ColdFusion in your mix will pay off in the long run. Jeff W. -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:51 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? Interesting to find some of this out. We are in a position that I think many organizations are in. We've been priamrilly a CF house for well over 2 years and we purchased MX enterprise but have yet to install it because of the growing popularity of .NET . I really enjoy CF and love what I can do with it and how fast I can develop with it but... I think that our IT director along with a good part of me is feeling pressure to switch over to .NET entirely. The biggest reason is .NET's ability to allow us to develop for a multitude of enviroments... Thin client, clinet server, web based etc... This will allow our organization to have all of their programmers working on the same platform thus creating an internal community where everyone can help everyone else out and learn from each other.. While CF is a great product, it can not offer this type of standardization to us. I am a strong believer in CF and will continue to use it for development for my personal business sites as well as any development I contract but in a corporate enviroment where many different applications are being developed and supported, I have no solid reasons as to why we shouldn't switch to .NET KP -Original Message- From: Vernon Viehe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 7:25 PM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? The enterprise penetration of MX has been weak. MM would blame this on the marketplace, but I'm not sold on this. Server version upgrade cycles in the enterprise app-server space is around 12 months, according to those I've discussed it with. We're really only about halfway through the cycle at this time. The overall installed CF base is pretty healthy, and growing. Here's a partial list of existing CF sites we use for PR/marketing: http://www.macromedia.com/software/coldfusion/proven/ Even considering the upgrade cycle in the enterprise app-server world, the list of CFMX enterprise sites is growing every day. The following are a few of the CFMX sites recently sent to me: http://www.ecoprimalquest.com/ http://www.logitech.com/index.cfm?countryid=19languageid=1 http://www.panasonic.com.au/hometheatre http://abclocal.go.com/kgo/ (some CF, some dynamic Flash content, some just plain HTML) http://www.reservations.broadmoor.com We know a lot of enterprise-level customers have upgraded to CFMX and are in the upgrade cycle - but they don't always report back to us when they go live with CFMX, so feel free to send me sites that you know of too! In addition to this stuff, consider the ways Macromedia is expanding the CF market: *Ground-up rewrite in Java: This expands CF capabilities, as well as makes CF an option to the enterprise-level sites which want the benefits of deploying on a the Java platform and the rapid app dev (RAD) offered by CF. It also means current CF customers have a way to move up to the Java
RE: soXML - Flawed
yes, I am / and have used WDDX frequently over the years. In fact I am using it for this project now as its quick, reliable and easily manipulated! -Original Message- From: Deeds, Dave [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:15 To: CF-Talk Subject: RE: soXML - Flawed Just curious here, but why not WDDX. We are just beginning to explore using XML to bring some data into CF, and it seemed to me that WDDX was the perfect answer. In our case the XML is generated by an internal server, which I grab with CFHTTP and then use WDDX to create a query set for further manipulation and display. Being new to XML, I don't know if WDDX is good or bad but it does work. Are there pitfalls or concerns that I am missing here? Dave Deeds Idaho Power Company [EMAIL PROTECTED] -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 3:37 AM To: CF-Talk Subject: RE: soXML - Flawed then its useless. looks like, as I said...its WDDX. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
Wrap it with a named lock ? HTH -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 15:16 To: CF-Talk Subject: 'Locking' a process Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
You could use a named cflock I believe Stephen - Original Message - From: Robertson-Ravo, Neil (REC) [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 3:15 PM Subject: 'Locking' a process Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: entering time
Can anyone make a suggestion on the best/standard way to setup data entry for time.. Specifically for a entry field for an event start time. I've thought about a text box, but that would seem to allow too many mistakes for the data entry person.. I've considered drop down select boxes for hour, AM/PM and minutes.. But there must be a standard, best way to do this for database entry using CF (or maybe even javascript) Thanks in advance Users are liable to find multiple drop-downs frustrating. For that matter, single drop-downs can be very frustrating if they are especially long. For instance, you don't want to have an event start date drop-down with one entry for every minute of the day -- one entry for every five minutes is even likely to be frustrating. If you can assume that any given start or end time for an event will only occur between certain hours and on the half or quarter hour ( i.e. from 9-5 mon-fri, every half hour ), then you might be able to get a drop down to a reasonable size that users won't be horribly frustrated by them. In this setup, I can double-tap the 2 key on my keyboard and instantly hit 2:30, so it's actually fairly convenient ( more so than a text field ). In failing that, the next best thing is probably going to be a text field. You can validate this with javascript to make sure the text is in the format HH:mm, however, you should also validate this on the server-side ( server-side validation really should be performed for anything, if for no other reason to be certain the javascript conveniences are working properly )... Something like this should generally work fairly well to determine if what is entered is a valid time: cfset mytime = listtoarray(form.starttime,:) cfif arraylen(mytime) neq 2 or not isnumeric(mytime[1]) or not isnumeric(mytime[2]) or mytime[1] lt 1 or mytime[1] gt 24 or mytime[2] lt 1 or mytime[2] gt 59 cfthrow type=custom message=Invalid start time /cfif Of course, there are regex methods of checking this and the like, i.e. cfif not REFindNoCase([0-2]?[0-9]:[0-9]{2,2},form.starttime) or listgetat(form.starttime,1,:) gt 24 or listgetat(form.starttime,2,:) gt 59 cfthrow ... /cfif It all depends on what you're comfortable with of course... If you're not familiar with Regular Expressions ( the 2nd example ) and want more info, there's also a [EMAIL PROTECTED] list which has some fairly knowledgeable people on it, including Mike Dinowitz who maintains the house of fusion. :) hth S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
How about doing CFLOCK and using a named lock? Greg At 03:15 PM 10/16/02 +0100, you wrote: Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: How Good is the Job Market for ColdFusion?
Kris, Jeff said this better than I but I can't see how putting everything into Microsoft and .NET gives you the ability to roll out our apps in multiple formats. CF is far more cross platform than .NET overall. What intrigues me about many of the threads in recent weeks and months intimate that Macromedia's acquisition of Allaire has disadvantaged ColdFusion somehow (I know you are not saying that I'm just jumping on your thrust Kris). I worked for Allaire (and enjoyed it immensely) I was laid of by Macromedia so could have an axe to grind. Yet my feeling going back to the main point of this thread is this is a great time for CF and all of us who have CF expertise. And Macromedia are listening to us! Two things excite me in particular, the growing integration with Flash and the amount of marketing muscle being applied to CF by IBM. As always IMHO. Mike Brunt - CTO Webapper Services LLC http://www.webapper.com Downey CA Office 562.243.6255 Making the NET Work -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 7:01 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? I can just throw ColdFusion out the window we have a lot of applications that need to be converted so we will be using it for quite a while... What I envision is using CF for quick or small projects that have to much overhead... A great example is a project I am finishing up now... We need to write out a bunch of text files from records sets from oracle... A pain in the a** to do in ASP or .net but with CF it's a breeze. I would like to keep it around for things like that and any flash data work we do but outside of that I don't see it being a major part of any of our enterprise applications. As I said before personally I will ocntinue to use CF for my business and ecommerce sites. I love the product but I just think that the .NET stuff has the edge at this time... For Microsoft orgainzations that is... One decision my company just made is to give up on UNIX and oracle and switch enitrelly to micrososft world SQL server all NT servers and all NET development... The prinicipal is great 1 company 1 development platform 1 programming team that all knows the same stuff But having been at other 100% microsoft organizations I have seen what happens when you put all of your eggs in 1 basket. I think getting rid of Oracle on AIX Linux is a big mistake for us... Especially in favor of NT based SQL server... Especially after we've already bought oracle and set it up and have it running without issue... But that's a separate issue. But the big decision maker was the ability to roll out our apps in multiple formats... If CF allowed up that then it would be a no brainer to stay with CF.. KP -Original Message- From: Jeff Whatcott [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:48 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? Sorry to that you see it that way. Perhaps we can change your mind. The combination of J2EE + CFMX gives you an environment that can scale across the full spectrum of projects, from the smallest web form to the biggest mission-critical enterprise application. And you also get true cross-platform deployment and industry-leading rich client technology that is light years ahead of anything else out there. We think the ColdFusion MX + J2EE application servers (like JRun!) combo delivers all the technology that an enterprise needs, and offers critical flexibility than you don't get going with a single vendor. Having said all that, we think .NET is important infrastructure technology and we will continue to offer products that integrate with and take advantage of it. Hence the COM and web services support in CFMX, the .NET support in Flash Remoting MX, etc. At the end of the day, we're not religious about this platform or that platform, we just want to pragmatically solve customer problems. We believe that as you really dig into the details, you'll find that continuing to have ColdFusion in your mix will pay off in the long run. Jeff W. -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:51 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? Interesting to find some of this out. We are in a position that I think many organizations are in. We've been priamrilly a CF house for well over 2 years and we purchased MX enterprise but have yet to install it because of the growing popularity of .NET . I really enjoy CF and love what I can do with it and how fast I can develop with it but... I think that our IT director along with a good part of me is feeling pressure to switch over to .NET entirely. The biggest reason is .NET's ability to allow us to develop for a multitude of enviroments... Thin client, clinet server, web based etc... This will allow our organization to have all of their programmers
RE: soXML - Flawed
I use soXML here http://www.dixonusa.com/index.cfm?fuseaction=company.company_stockquote I haven't had any issues with it. Remember it uses the xml com object to do its work. So if you're having trouble with it, it may just be a bad com object. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:23 AM To: CF-Talk Subject: RE: soXML - Flawed yes, I am / and have used WDDX frequently over the years. In fact I am using it for this project now as its quick, reliable and easily manipulated! -Original Message- From: Deeds, Dave [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:15 To: CF-Talk Subject: RE: soXML - Flawed Just curious here, but why not WDDX. We are just beginning to explore using XML to bring some data into CF, and it seemed to me that WDDX was the perfect answer. In our case the XML is generated by an internal server, which I grab with CFHTTP and then use WDDX to create a query set for further manipulation and display. Being new to XML, I don't know if WDDX is good or bad but it does work. Are there pitfalls or concerns that I am missing here? Dave Deeds Idaho Power Company [EMAIL PROTECTED] -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 3:37 AM To: CF-Talk Subject: RE: soXML - Flawed then its useless. looks like, as I said...its WDDX. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: How Good is the Job Market for ColdFusion?
At 09:13 AM 10/16/02 -0500, Fregas wrote: . If you are in fact listening to us Macromedia, Ahem. Ha. Ah ha ha. Bwahahahhahahahahahahahahahaha. Phew! Dream on. Macromedia is perfect. They don't need to listen to customers. They know what is good for us. They will, however, on occasion explain how the problems we are experiencing aren't really problems, and how our issues aren't really issues. you need to fix this product so that us homesite/cfstudio developers can expect the same stability and performance that we had before (or better.) Historically, Studio has had ever-increasing bloat problems, so it doesn't surprise me that when you HAVE to have it and Dreamweaver BOTH turned on, things start to get wonky. Greg ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
OK, probably didnt make myself clear enough, my mistake...(I am aware of the cflock) I obviously want this to happen at the system level, but what I want is an abstraction above that...i.e. I am editing a file names XXX.xml, I do not want anyone else to come into the system and edit this file without them being 'aware' that I have it openedyou see what I mean? N -Original Message- From: Stephen Moretti [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:30 To: CF-Talk Subject: Re: 'Locking' a process You could use a named cflock I believe Stephen - Original Message - From: Robertson-Ravo, Neil (REC) [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 3:15 PM Subject: 'Locking' a process Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: soXML - Flawed
Everything previous to MX that I did that involved XML I do with MSXML. I've got lots of examples, ups and usps among them, but I don't know if they would be applicable. I'm still not sure why you need a parser... If all you need to do is load an file from the HD, edit it, and save the results, and you have total control over the format of the file wddx may work perfectly for you. Saying COM is heavy on the server is a over generalizing it to the point of it being FUD. A hello world com object is going to be pretty fast no matter if it was programmed by the latest VB hack to get their MCSE or a C++ veteran. MSXML would be one of the heavier COM objects though. -- jon mailto:[EMAIL PROTECTED] Wednesday, October 16, 2002, 10:11:58 AM, you wrote: RRNR well, COM, I have heard can be pretty heavy on the server I understand RRNR what you are saying in principle, but in practice...? have you got an RRNR example? RRNR N RRNR -Original Message- RRNR From: jon hall [mailto:[EMAIL PROTECTED]] RRNR Sent: 16 October 2002 15:11 RRNR To: CF-Talk RRNR Subject: Re: soXML - Flawed RRNR Loading and saving is something cffile does pretty well. XML is a RRNR string, cfset does a pretty good job of changing it. Why do you need a RRNR parser even? RRNR FYI: MsXML can load and save files fine as well. RRNR cfscript RRNR objXMLDOM = CreateObject(COM, msxml2.DOMDocument.4.0); RRNR objXMLDOM.async = false; RRNR objXMLDOM.load(c:\path\foo.xml); RRNR writeOutput(objXMLDom.xml); RRNR objXMLDOM.save(c:\path\bar.xml); RRNR /cfscript ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: flash integration w/ cfml custom tags
The name is Developing Rich Internet Applications - and I still feel it is an _amazing_ course. I can't recommend it enough. === Raymond Camden, ColdFusion Jedi Master for Hire 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: Ciliotta, Mario [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 7:57 PM To: CF-Talk Subject: RE: flash integration w/ cfml custom tags Raymond, What is the name of the course? Mario -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 3:37 PM To: CF-Talk Subject: flash integration w/ cfml custom tags Ok, earlier this week we had a big discussion about the new course MACR is offering. The course focuses on aspects of Flash that are relevant to coder type folks. Ben Forta mentioned how he used Flash to easily create a simple multi-select item where he could select an item on the left side and have it prepopulate items on the right side. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
Use a semaphore or lock file. When someone grabs addams.xml for editing, write a really small file called addams.lck to the same directory. When done processing, delete the addams.lck file. Change the process to look for the existence of a filename.lck file and if one exists deny access to the filename.xml file. You'll need to have a method of clearing old locks, in case someone abandons the process in the middle. The timestamp on the filename.lck file should be sufficient. I'd think a lock file over eight hours old ought to be considered ignorable. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:16 AM To: CF-Talk Subject: 'Locking' a process Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
sounds like he's got an xml file open for editing though. I think he's talking about locking it so that noone else can go into the file and edit it at the same time (ie implementing a client side lock not a server side lock) I guess you could flick a bit column between 1 and 0. If a user starts editing the file, hit the db and set the column to 1 (meaning the file is locked). Everytime someone else hits the page, check the db to see if the file is locked. If it is, don't allow them to open the file. Once the first user has finished and saves the changes, flick the bit column back to 0 to allow others read/write access. Also, you may want to create some sort of maximum lock time (as users may start editing a file and never finish, thus locking everyone else out forever) To do this, create a timestamp of the current time when a user starts editing the file and have a scheduled job running on your db to re-unlock the file after a set period of time etc... Obviously there's a little bit more thought required to it than that, but you get the idea. -Original Message- From: Greg Bullough [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:29 To: CF-Talk Subject: Re: 'Locking' a process How about doing CFLOCK and using a named lock? Greg At 03:15 PM 10/16/02 +0100, you wrote: Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: How Good is the Job Market for ColdFusion?
What's the IBM push of CF you make reference of?? I assume that deal with Websphere running with CF? Paris Lundis Founder Areaindex, L.L.C. http://www.areaindex.com http://www.pubcrawler.com 412-292-3135 [finding the future in the past, passing the future in the present] [connecting people, places and things] -Original Message- From: Mike Brunt [EMAIL PROTECTED] Date: Wed, 16 Oct 2002 07:35:44 -0700 Subject: RE: How Good is the Job Market for ColdFusion? Kris, Jeff said this better than I but I can't see how putting everything into Microsoft and .NET gives you the ability to roll out our apps in multiple formats. CF is far more cross platform than .NET overall. What intrigues me about many of the threads in recent weeks and months intimate that Macromedia's acquisition of Allaire has disadvantaged ColdFusion somehow (I know you are not saying that I'm just jumping on your thrust Kris). I worked for Allaire (and enjoyed it immensely) I was laid of by Macromedia so could have an axe to grind. Yet my feeling going back to the main point of this thread is this is a great time for CF and all of us who have CF expertise. And Macromedia are listening to us! Two things excite me in particular, the growing integration with Flash and the amount of marketing muscle being applied to CF by IBM. As always IMHO. Mike Brunt - CTO Webapper Services LLC http://www.webapper.com Downey CA Office 562.243.6255 Making the NET Work -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 7:01 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? I can just throw ColdFusion out the window we have a lot of applications that need to be converted so we will be using it for quite a while... What I envision is using CF for quick or small projects that have to much overhead... A great example is a project I am finishing up now... We need to write out a bunch of text files from records sets from oracle... A pain in the a** to do in ASP or .net but with CF it's a breeze. I would like to keep it around for things like that and any flash data work we do but outside of that I don't see it being a major part of any of our enterprise applications. As I said before personally I will ocntinue to use CF for my business and ecommerce sites. I love the product but I just think that the .NET stuff has the edge at this time... For Microsoft orgainzations that is... One decision my company just made is to give up on UNIX and oracle and switch enitrelly to micrososft world SQL server all NT servers and all NET development... The prinicipal is great 1 company 1 development platform 1 programming team that all knows the same stuff But having been at other 100% microsoft organizations I have seen what happens when you put all of your eggs in 1 basket. I think getting rid of Oracle on AIX Linux is a big mistake for us... Especially in favor of NT based SQL server... Especially after we've already bought oracle and set it up and have it running without issue... But that's a separate issue. But the big decision maker was the ability to roll out our apps in multiple formats... If CF allowed up that then it would be a no brainer to stay with CF.. KP -Original Message- From: Jeff Whatcott [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:48 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? Sorry to that you see it that way. Perhaps we can change your mind. The combination of J2EE + CFMX gives you an environment that can scale across the full spectrum of projects, from the smallest web form to the biggest mission-critical enterprise application. And you also get true cross-platform deployment and industry-leading rich client technology that is light years ahead of anything else out there. We think the ColdFusion MX + J2EE application servers (like JRun!) combo delivers all the technology that an enterprise needs, and offers critical flexibility than you don't get going with a single vendor. Having said all that, we think .NET is important infrastructure technology and we will continue to offer products that integrate with and take advantage of it. Hence the COM and web services support in CFMX, the .NET support in Flash Remoting MX, etc. At the end of the day, we're not religious about this platform or that platform, we just want to pragmatically solve customer problems. We believe that as you really dig into the details, you'll find that continuing to have ColdFusion in your mix will pay off in the long run. Jeff W. -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:51 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? Interesting to find some of this out. We are in a position
RE: soXML - Flawed
soXML is no use as although it says it can load, and save an xml file - it cant. not successfully anyway. -Original Message- From: Robert Everland [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:27 To: CF-Talk Subject: RE: soXML - Flawed I use soXML here http://www.dixonusa.com/index.cfm?fuseaction=company.company_stockquote I haven't had any issues with it. Remember it uses the xml com object to do its work. So if you're having trouble with it, it may just be a bad com object. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:23 AM To: CF-Talk Subject: RE: soXML - Flawed yes, I am / and have used WDDX frequently over the years. In fact I am using it for this project now as its quick, reliable and easily manipulated! -Original Message- From: Deeds, Dave [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:15 To: CF-Talk Subject: RE: soXML - Flawed Just curious here, but why not WDDX. We are just beginning to explore using XML to bring some data into CF, and it seemed to me that WDDX was the perfect answer. In our case the XML is generated by an internal server, which I grab with CFHTTP and then use WDDX to create a query set for further manipulation and display. Being new to XML, I don't know if WDDX is good or bad but it does work. Are there pitfalls or concerns that I am missing here? Dave Deeds Idaho Power Company [EMAIL PROTECTED] -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 3:37 AM To: CF-Talk Subject: RE: soXML - Flawed then its useless. looks like, as I said...its WDDX. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: 'Locking' a process
excellent idea...indeed, superb. I see what I can knock up; -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:41 To: CF-Talk Subject: RE: 'Locking' a process Use a semaphore or lock file. When someone grabs addams.xml for editing, write a really small file called addams.lck to the same directory. When done processing, delete the addams.lck file. Change the process to look for the existence of a filename.lck file and if one exists deny access to the filename.xml file. You'll need to have a method of clearing old locks, in case someone abandons the process in the middle. The timestamp on the filename.lck file should be sufficient. I'd think a lock file over eight hours old ought to be considered ignorable. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:16 AM To: CF-Talk Subject: 'Locking' a process Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
Re: 'Locking' a process
ermm... Create a .lck file like DW does and check for its existance before processing. Have a DB table with a lock flag. Just a couple that come immediately to mind. Stephen - Original Message - From: Robertson-Ravo, Neil (REC) [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 3:34 PM Subject: RE: 'Locking' a process OK, probably didnt make myself clear enough, my mistake...(I am aware of the cflock) I obviously want this to happen at the system level, but what I want is an abstraction above that...i.e. I am editing a file names XXX.xml, I do not want anyone else to come into the system and edit this file without them being 'aware' that I have it openedyou see what I mean? N -Original Message- From: Stephen Moretti [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:30 To: CF-Talk Subject: Re: 'Locking' a process You could use a named cflock I believe Stephen - Original Message - From: Robertson-Ravo, Neil (REC) [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 3:15 PM Subject: 'Locking' a process Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
cheers Rich, I did think of this, but the files has no reference in the DB - it doesnt need one for this... I think writing a lock file (.lck) is the way to go :-) -Original Message- From: Rich Wild [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:26 To: CF-Talk Subject: RE: 'Locking' a process sounds like he's got an xml file open for editing though. I think he's talking about locking it so that noone else can go into the file and edit it at the same time (ie implementing a client side lock not a server side lock) I guess you could flick a bit column between 1 and 0. If a user starts editing the file, hit the db and set the column to 1 (meaning the file is locked). Everytime someone else hits the page, check the db to see if the file is locked. If it is, don't allow them to open the file. Once the first user has finished and saves the changes, flick the bit column back to 0 to allow others read/write access. Also, you may want to create some sort of maximum lock time (as users may start editing a file and never finish, thus locking everyone else out forever) To do this, create a timestamp of the current time when a user starts editing the file and have a scheduled job running on your db to re-unlock the file after a set period of time etc... Obviously there's a little bit more thought required to it than that, but you get the idea. -Original Message- From: Greg Bullough [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:29 To: CF-Talk Subject: Re: 'Locking' a process How about doing CFLOCK and using a named lock? Greg At 03:15 PM 10/16/02 +0100, you wrote: Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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
CFMX Is not generating entire page
I am having a very weird problem with CFMX not generating the entire page. It is stopping half way through a image map at the bottom of the page. I have CF5 in our development environment and it works just fine [ http://drury.dev-sites.com/careers/ ]. However on the production MX machine it stops half way through the second area tag in the image map. [ http://www.druryhotels.com/careers/ ] Here is what I have done so far to try and fix this. - Applied the CFMX Updater - Placed the code for the image map on a single line of code - Cleared the compiled *.class files and restarted the server Any help is greatly appreciated. Thanks, __ John Blayter Technical Director Interactive Sites, Inc. The Online Hospitality Solution http://www.interactivesites.com/ Phone: 480.707.1600 Fax: 480.707.1601 __ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
hmm, I really like this. Better than my db idea in this instance nice one. -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:41 To: CF-Talk Subject: RE: 'Locking' a process Use a semaphore or lock file. When someone grabs addams.xml for editing, write a really small file called addams.lck to the same directory. When done processing, delete the addams.lck file. Change the process to look for the existence of a filename.lck file and if one exists deny access to the filename.xml file. You'll need to have a method of clearing old locks, in case someone abandons the process in the middle. The timestamp on the filename.lck file should be sufficient. I'd think a lock file over eight hours old ought to be considered ignorable. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:16 AM To: CF-Talk Subject: 'Locking' a process Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
Woo-hoo! I win! -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:48 AM To: CF-Talk Subject: RE: 'Locking' a process cheers Rich, I did think of this, but the files has no reference in the DB - it doesnt need one for this... I think writing a lock file (.lck) is the way to go :-) -Original Message- From: Rich Wild [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:26 To: CF-Talk Subject: RE: 'Locking' a process sounds like he's got an xml file open for editing though. I think he's talking about locking it so that noone else can go into the file and edit it at the same time (ie implementing a client side lock not a server side lock) I guess you could flick a bit column between 1 and 0. If a user starts editing the file, hit the db and set the column to 1 (meaning the file is locked). Everytime someone else hits the page, check the db to see if the file is locked. If it is, don't allow them to open the file. Once the first user has finished and saves the changes, flick the bit column back to 0 to allow others read/write access. Also, you may want to create some sort of maximum lock time (as users may start editing a file and never finish, thus locking everyone else out forever) To do this, create a timestamp of the current time when a user starts editing the file and have a scheduled job running on your db to re-unlock the file after a set period of time etc... Obviously there's a little bit more thought required to it than that, but you get the idea. -Original Message- From: Greg Bullough [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:29 To: CF-Talk Subject: Re: 'Locking' a process How about doing CFLOCK and using a named lock? Greg At 03:15 PM 10/16/02 +0100, you wrote: Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: soXML - Flawed
I used it without problems. the application Downloaded an XML file and parsed it using soXML. Not a single complaint other than slowness, which is why I eventually just went directly to the COM object. I wouldn't call it useless by any stretch. It got us up and parsing in now time, and gave us time to create our own solution in the interim. J. On Wed, 16 Oct 2002 15:42:39 +0100 Robertson-Ravo, Neil (REC) [EMAIL PROTECTED] wrote: soXML is no use as although it says it can load, and save an xml file - it cant. not successfully anyway. -Original Message- From: Robert Everland [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:27 To: CF-Talk Subject: RE: soXML - Flawed I use soXML here http://www.dixonusa.com/index.cfm?fuseaction=company.company_stockquote I haven't had any issues with it. Remember it uses the xml com object to do its work. So if you're having trouble with it, it may just be a bad com object. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:23 AM To: CF-Talk Subject: RE: soXML - Flawed yes, I am / and have used WDDX frequently over the years. In fact I am using it for this project now as its quick, reliable and easily manipulated! -Original Message- From: Deeds, Dave [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:15 To: CF-Talk Subject: RE: soXML - Flawed Just curious here, but why not WDDX. We are just beginning to explore using XML to bring some data into CF, and it seemed to me that WDDX was the perfect answer. In our case the XML is generated by an internal server, which I grab with CFHTTP and then use WDDX to create a query set for further manipulation and display. Being new to XML, I don't know if WDDX is good or bad but it does work. Are there pitfalls or concerns that I am missing here? Dave Deeds Idaho Power Company [EMAIL PROTECTED] -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 3:37 AM To: CF-Talk Subject: RE: soXML - Flawed then its useless. looks like, as I said...its WDDX. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
I agree. The lock file idea is more applicable. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:48 To: CF-Talk Subject: RE: 'Locking' a process cheers Rich, I did think of this, but the files has no reference in the DB - it doesnt need one for this... I think writing a lock file (.lck) is the way to go :-) -Original Message- From: Rich Wild [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:26 To: CF-Talk Subject: RE: 'Locking' a process sounds like he's got an xml file open for editing though. I think he's talking about locking it so that noone else can go into the file and edit it at the same time (ie implementing a client side lock not a server side lock) I guess you could flick a bit column between 1 and 0. If a user starts editing the file, hit the db and set the column to 1 (meaning the file is locked). Everytime someone else hits the page, check the db to see if the file is locked. If it is, don't allow them to open the file. Once the first user has finished and saves the changes, flick the bit column back to 0 to allow others read/write access. Also, you may want to create some sort of maximum lock time (as users may start editing a file and never finish, thus locking everyone else out forever) To do this, create a timestamp of the current time when a user starts editing the file and have a scheduled job running on your db to re-unlock the file after a set period of time etc... Obviously there's a little bit more thought required to it than that, but you get the idea. -Original Message- From: Greg Bullough [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:29 To: CF-Talk Subject: Re: 'Locking' a process How about doing CFLOCK and using a named lock? Greg At 03:15 PM 10/16/02 +0100, you wrote: Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
It harkens back to my days as a BBS SysOp. At the time, multitasking was just getting into swing on PCs, but most of the third-party applications (read: games) were strictly single thread. Letting two people into an application at one time would cause all kinds of havok. It's also used all over. Access *.ldb files, for instance. -Original Message- From: Rich Wild [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:41 AM To: CF-Talk Subject: RE: 'Locking' a process hmm, I really like this. Better than my db idea in this instance nice one. -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:41 To: CF-Talk Subject: RE: 'Locking' a process Use a semaphore or lock file. When someone grabs addams.xml for editing, write a really small file called addams.lck to the same directory. When done processing, delete the addams.lck file. Change the process to look for the existence of a filename.lck file and if one exists deny access to the filename.xml file. You'll need to have a method of clearing old locks, in case someone abandons the process in the middle. The timestamp on the filename.lck file should be sufficient. I'd think a lock file over eight hours old ought to be considered ignorable. -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:16 AM To: CF-Talk Subject: 'Locking' a process Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: CFMX Is not generating entire page
are they href'ed to a name or an actual link to a page? meaning is it like this area href=#bottom or like this? area href=top.cfm if it's the previous do this... area href=##bottom if it's the second one. je ne sais pas :) je m'excuse. ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: John Blayter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:58 AM To: CF-Talk Subject: CFMX Is not generating entire page I am having a very weird problem with CFMX not generating the entire page. It is stopping half way through a image map at the bottom of the page. I have CF5 in our development environment and it works just fine [ http://drury.dev-sites.com/careers/ ]. However on the production MX machine it stops half way through the second area tag in the image map. [ http://www.druryhotels.com/careers/ ] Here is what I have done so far to try and fix this. - Applied the CFMX Updater - Placed the code for the image map on a single line of code - Cleared the compiled *.class files and restarted the server Any help is greatly appreciated. Thanks, __ John Blayter Technical Director Interactive Sites, Inc. The Online Hospitality Solution http://www.interactivesites.com/ Phone: 480.707.1600 Fax: 480.707.1601 __ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: How Good is the Job Market for ColdFusion?
Yes Paris, http://www-3.ibm.com/software/webservers/coldfusionmx/ They are also doing seminars on this around the US. Mike Brunt - CTO Webapper Services LLC http://www.webapper.com Downey CA Office 562.243.6255 Making the NET Work -Original Message- From: Paris Lundis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 7:38 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? What's the IBM push of CF you make reference of?? I assume that deal with Websphere running with CF? Paris Lundis Founder Areaindex, L.L.C. http://www.areaindex.com http://www.pubcrawler.com 412-292-3135 [finding the future in the past, passing the future in the present] [connecting people, places and things] -Original Message- From: Mike Brunt [EMAIL PROTECTED] Date: Wed, 16 Oct 2002 07:35:44 -0700 Subject: RE: How Good is the Job Market for ColdFusion? Kris, Jeff said this better than I but I can't see how putting everything into Microsoft and .NET gives you the ability to roll out our apps in multiple formats. CF is far more cross platform than .NET overall. What intrigues me about many of the threads in recent weeks and months intimate that Macromedia's acquisition of Allaire has disadvantaged ColdFusion somehow (I know you are not saying that I'm just jumping on your thrust Kris). I worked for Allaire (and enjoyed it immensely) I was laid of by Macromedia so could have an axe to grind. Yet my feeling going back to the main point of this thread is this is a great time for CF and all of us who have CF expertise. And Macromedia are listening to us! Two things excite me in particular, the growing integration with Flash and the amount of marketing muscle being applied to CF by IBM. As always IMHO. Mike Brunt - CTO Webapper Services LLC http://www.webapper.com Downey CA Office 562.243.6255 Making the NET Work -Original Message- From: Kris Pilles [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 7:01 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? I can just throw ColdFusion out the window we have a lot of applications that need to be converted so we will be using it for quite a while... What I envision is using CF for quick or small projects that have to much overhead... A great example is a project I am finishing up now... We need to write out a bunch of text files from records sets from oracle... A pain in the a** to do in ASP or .net but with CF it's a breeze. I would like to keep it around for things like that and any flash data work we do but outside of that I don't see it being a major part of any of our enterprise applications. As I said before personally I will ocntinue to use CF for my business and ecommerce sites. I love the product but I just think that the .NET stuff has the edge at this time... For Microsoft orgainzations that is... One decision my company just made is to give up on UNIX and oracle and switch enitrelly to micrososft world SQL server all NT servers and all NET development... The prinicipal is great 1 company 1 development platform 1 programming team that all knows the same stuff But having been at other 100% microsoft organizations I have seen what happens when you put all of your eggs in 1 basket. I think getting rid of Oracle on AIX Linux is a big mistake for us... Especially in favor of NT based SQL server... Especially after we've already bought oracle and set it up and have it running without issue... But that's a separate issue. But the big decision maker was the ability to roll out our apps in multiple formats... If CF allowed up that then it would be a no brainer to stay with CF.. KP -Original Message- From: Jeff Whatcott [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:48 AM To: CF-Talk Subject: RE: How Good is the Job Market for ColdFusion? Sorry to that you see it that way. Perhaps we can change your mind. The combination of J2EE + CFMX gives you an environment that can scale across the full spectrum of projects, from the smallest web form to the biggest mission-critical enterprise application. And you also get true cross-platform deployment and industry-leading rich client technology that is light years ahead of anything else out there. We think the ColdFusion MX + J2EE application servers (like JRun!) combo delivers all the technology that an enterprise needs, and offers critical flexibility than you don't get going with a single vendor. Having said all that, we think .NET is important infrastructure technology and we will continue to offer products that integrate with and take advantage of it. Hence the COM and web services support in CFMX, the .NET support in Flash Remoting MX, etc. At the end of the day, we're not religious about this platform or that platform, we just want to pragmatically solve customer problems. We believe that as
Re: entering time
Tim Laureska wrote: Can anyone make a suggestion on the best/standard way to setup data entry for time.. Specifically for a entry field for an event start time. I've thought about a text box, but that would seem to allow too many mistakes for the data entry person.. I've considered drop down select boxes for hour, AM/PM and minutes.. But there must be a standard, best way to do this for database entry using CF (or maybe even javascript) Thanks in advance Personally, I prefer to use 2 text fields separated by a colon. Each textfield can hold 2 numbers and since a 24 hour clock is standard there is no need for an AM/PM field. Throw in some javascript so both fields have an onFocus behaviour that selects their content. Both easy to validate and easy to use. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: soXML - Flawed
Yeah - soXML does a great job, if you're importing XML or exporting XML. However, if you import XML with soXML into a struct, do some processing with that struct, then write the struct back out to an XML file then things start to go a bit squirlley soXML always wants to add a rootname, even if the struct already has one. soXML creates a struct variable called value with the contents from between open/close tags. When soXML writes the XML back it creates a nested tag called VALUE within your XML tags, therefore invalidating your XML. eg. myTagContent/myTag becomes myTag.value = Content becomes myTagvalueContent/value/myTag To add to that soXML doesn't seem to handle node type 2 (attributes) eg. myTag attr1=something / attr1 appears to go missing during import Not much, but enough to be troublesome. Stephen - Original Message - From: Robert Everland [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, October 16, 2002 3:27 PM Subject: RE: soXML - Flawed I use soXML here http://www.dixonusa.com/index.cfm?fuseaction=company.company_stockquote I haven't had any issues with it. Remember it uses the xml com object to do its work. So if you're having trouble with it, it may just be a bad com object. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:23 AM To: CF-Talk Subject: RE: soXML - Flawed yes, I am / and have used WDDX frequently over the years. In fact I am using it for this project now as its quick, reliable and easily manipulated! -Original Message- From: Deeds, Dave [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 15:15 To: CF-Talk Subject: RE: soXML - Flawed Just curious here, but why not WDDX. We are just beginning to explore using XML to bring some data into CF, and it seemed to me that WDDX was the perfect answer. In our case the XML is generated by an internal server, which I grab with CFHTTP and then use WDDX to create a query set for further manipulation and display. Being new to XML, I don't know if WDDX is good or bad but it does work. Are there pitfalls or concerns that I am missing here? Dave Deeds Idaho Power Company [EMAIL PROTECTED] -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 3:37 AM To: CF-Talk Subject: RE: soXML - Flawed then its useless. looks like, as I said...its WDDX. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: CFMX Is not generating entire page
Here is the code for the imagemap. map name=Map area shape=rect coords=32,63,159,84 href=##top alt=BACK TO TOP title=BACK TO TOP area shape=poly coords=193,82,207,73,312,72,310,47,343,26,378,47,380,71,386,76,370,93,1 93,93 href=http://www.drurygoldkey.com; alt=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS title=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS target=_blankarea shape=poly coords=373,94,395,74,490,74,492,46,496,32,521,28,548,33,555,50,557,73,5 66,82,566,93 href=http://www.druryinnercircle.com; alt=DRURY INNER CIRCLE: LODGING PLANNERS title=DRURY INNER CIRCLE: LODGING PLANNERS target=_blank area shape=rect coords=30,8,201,46 href=/subscribe_form.cfm /map -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:02 AM To: CF-Talk Subject: RE: CFMX Is not generating entire page are they href'ed to a name or an actual link to a page? meaning is it like this area href=#bottom or like this? area href=top.cfm if it's the previous do this... area href=##bottom if it's the second one. je ne sais pas :) je m'excuse. .tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: John Blayter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:58 AM To: CF-Talk Subject: CFMX Is not generating entire page I am having a very weird problem with CFMX not generating the entire page. It is stopping half way through a image map at the bottom of the page. I have CF5 in our development environment and it works just fine [ http://drury.dev-sites.com/careers/ ]. However on the production MX machine it stops half way through the second area tag in the image map. [ http://www.druryhotels.com/careers/ ] Here is what I have done so far to try and fix this. - Applied the CFMX Updater - Placed the code for the image map on a single line of code - Cleared the compiled *.class files and restarted the server Any help is greatly appreciated. Thanks, __ John Blayter Technical Director Interactive Sites, Inc. The Online Hospitality Solution http://www.interactivesites.com/ Phone: 480.707.1600 Fax: 480.707.1601 __ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: entering time
I don't think he's validating date input in this instance, although you raise a good point, and something that didn't occur to me in my last post: cftry cfset mytime = CreateTime(ListFirst(form.starttime,:),ListLast(form.starttime,:),0) cfcatchinvalid date/cfcatch /cftry There isn't any IsTime function, although I suppose on CF5 or MX you could write this into a UDF... though for performance you probably wouldn't want to use cftry in the UDF ( it's not possible on CF 5 ). function IsTime(timestring) { var delim = :; var rexp = ^[0-2]?[0-9]:[0-5][0-9](:[0-5][0-9])?(a|p|am|pm)?$; timestring = REReplace(timestring,[[:space:]],,ALL); if (not REFindNoCase(rexp,timestring)) { return false; } if (listfirst(timestring,delim) gt 24) { return false; } else if (REFindNoCase([ap],timestring) and listfirst(timestring,delim) gt 12) { return false; } else { return true; } } This is probably a better solution than my previous post ( assuming CF 5+ ) since it's horribly portable, and allows you to use this function over and over for start and end event times, etc. throughout your app. I suspect you'll want to use something like this in at least 2 places, which probably makes it worthwhile. Theoretically this test would determine whether or not you could pass the timestring variable to timeformat() to produce whatever standard time format you want. hth S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 Individual selects are virtually idiot-proof, but I think they're too annoying. Why don't you test the input with IsDate()? -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:42 AM To: CF-Talk Subject: entering time Can anyone make a suggestion on the best/standard way to setup data entry for time.. Specifically for a entry field for an event start time. I've thought about a text box, but that would seem to allow too many mistakes for the data entry person.. I've considered drop down select boxes for hour, AM/PM and minutes.. But there must be a standard, best way to do this for database entry using CF (or maybe even javascript) Thanks in advance Tim Laureska ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: entering time
... since a 24 hour clock is standard there is no need for an AM/PM field. It's my experience that most Merkins don't do well with 24-hour clocks. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: CFMX Is not generating entire page
strange...it works fine on my cfmx box, and displays the whole page fine. here is what the view source produced snip map name=Map area shape=rect coords=32,63,159,84 href=##top alt=BACK TO TOP title=BACK TO TOP area shape=poly coords=193,82,207,73,312,72,310,47,343,26,378,47,380,71,386,76,370,93,1 93,93 href=http://www.drurygoldkey.com; alt=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS title=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS target=_blankarea shape=poly coords=373,94,395,74,490,74,492,46,496,32,521,28,548,33,555,50,557,73,5 66,82,566,93 href=http://www.druryinnercircle.com; alt=DRURY INNER CIRCLE: LODGING PLANNERS title=DRURY INNER CIRCLE: LODGING PLANNERS target=_blank area shape=rect coords=30,8,201,46 href=/subscribe_form.cfm /map /snip is it dying for you right @ the ##top part? any error info in your view source if you view source? ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: John Blayter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 11:12 AM To: CF-Talk Subject: RE: CFMX Is not generating entire page Here is the code for the imagemap. map name=Map area shape=rect coords=32,63,159,84 href=##top alt=BACK TO TOP title=BACK TO TOP area shape=poly coords=193,82,207,73,312,72,310,47,343,26,378,47,380,71,386,76,370,93,1 93,93 href=http://www.drurygoldkey.com; alt=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS title=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS target=_blankarea shape=poly coords=373,94,395,74,490,74,492,46,496,32,521,28,548,33,555,50,557,73,5 66,82,566,93 href=http://www.druryinnercircle.com; alt=DRURY INNER CIRCLE: LODGING PLANNERS title=DRURY INNER CIRCLE: LODGING PLANNERS target=_blank area shape=rect coords=30,8,201,46 href=/subscribe_form.cfm /map -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:02 AM To: CF-Talk Subject: RE: CFMX Is not generating entire page are they href'ed to a name or an actual link to a page? meaning is it like this area href=#bottom or like this? area href=top.cfm if it's the previous do this... area href=##bottom if it's the second one. je ne sais pas :) je m'excuse. tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: John Blayter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:58 AM To: CF-Talk Subject: CFMX Is not generating entire page I am having a very weird problem with CFMX not generating the entire page. It is stopping half way through a image map at the bottom of the page. I have CF5 in our development environment and it works just fine [ http://drury.dev-sites.com/careers/ ]. However on the production MX machine it stops half way through the second area tag in the image map. [ http://www.druryhotels.com/careers/ ] Here is what I have done so far to try and fix this. - Applied the CFMX Updater - Placed the code for the image map on a single line of code - Cleared the compiled *.class files and restarted the server Any help is greatly appreciated. Thanks, __ John Blayter Technical Director Interactive Sites, Inc. The Online Hospitality Solution http://www.interactivesites.com/ Phone: 480.707.1600 Fax: 480.707.1601 __ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: CFMX Is not generating entire page
actually this will work for me fine on the same pagenot double ##'ing it map name=Map area shape=rect coords=32,63,159,84 href=#top alt=BACK TO TOP title=BACK TO TOP area shape=poly coords=193,82,207,73,312,72,310,47,343,26,378,47,380,71,386,76,370,93,1 93,93 href=http://www.drurygoldkey.com; alt=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS title=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS target=_blankarea shape=poly coords=373,94,395,74,490,74,492,46,496,32,521,28,548,33,555,50,557,73,5 66,82,566,93 href=http://www.druryinnercircle.com; alt=DRURY INNER CIRCLE: LODGING PLANNERS title=DRURY INNER CIRCLE: LODGING PLANNERS target=_blank area shape=rect coords=30,8,201,46 href=/subscribe_form.cfm /map explain that one! ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: John Blayter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 11:12 AM To: CF-Talk Subject: RE: CFMX Is not generating entire page Here is the code for the imagemap. map name=Map area shape=rect coords=32,63,159,84 href=##top alt=BACK TO TOP title=BACK TO TOP area shape=poly coords=193,82,207,73,312,72,310,47,343,26,378,47,380,71,386,76,370,93,1 93,93 href=http://www.drurygoldkey.com; alt=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS title=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS target=_blankarea shape=poly coords=373,94,395,74,490,74,492,46,496,32,521,28,548,33,555,50,557,73,5 66,82,566,93 href=http://www.druryinnercircle.com; alt=DRURY INNER CIRCLE: LODGING PLANNERS title=DRURY INNER CIRCLE: LODGING PLANNERS target=_blank area shape=rect coords=30,8,201,46 href=/subscribe_form.cfm /map -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:02 AM To: CF-Talk Subject: RE: CFMX Is not generating entire page are they href'ed to a name or an actual link to a page? meaning is it like this area href=#bottom or like this? area href=top.cfm if it's the previous do this... area href=##bottom if it's the second one. je ne sais pas :) je m'excuse. tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: John Blayter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:58 AM To: CF-Talk Subject: CFMX Is not generating entire page I am having a very weird problem with CFMX not generating the entire page. It is stopping half way through a image map at the bottom of the page. I have CF5 in our development environment and it works just fine [ http://drury.dev-sites.com/careers/ ]. However on the production MX machine it stops half way through the second area tag in the image map. [ http://www.druryhotels.com/careers/ ] Here is what I have done so far to try and fix this. - Applied the CFMX Updater - Placed the code for the image map on a single line of code - Cleared the compiled *.class files and restarted the server Any help is greatly appreciated. Thanks, __ John Blayter Technical Director Interactive Sites, Inc. The Online Hospitality Solution http://www.interactivesites.com/ Phone: 480.707.1600 Fax: 480.707.1601 __ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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.
repost: CF MX Debug option screws up javascript
Posted this a couple of days but didnt have any real answer. It is a real issue any clues anybody ?? I have an application page in which a button opens a form with simple Javascript functions in a new browser window . Everything works fine in CF5 and even CFMX if I disable the debug output. Whenever I allow the debug output in MX (classic or dockable) I get a Javascript error stating that a check box object does not exist !! Having a look at the HTML source of this window, they are similar up to the point where CFMX debugging info starts meaning my code has not been altered Have any of you already seen something similar ? Many Thanks Dominique ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: CFMX Is not generating entire page
and you can see it working fine here... http://tony.navtrak.net/poundtest.cfm so, I wonder what else may be the problem for ya? ..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 11:18 AM To: CF-Talk Subject: RE: CFMX Is not generating entire page strange...it works fine on my cfmx box, and displays the whole page fine. here is what the view source produced snip map name=Map area shape=rect coords=32,63,159,84 href=##top alt=BACK TO TOP title=BACK TO TOP area shape=poly coords=193,82,207,73,312,72,310,47,343,26,378,47,380,71,386,76,370,93,1 93,93 href=http://www.drurygoldkey.com; alt=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS title=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS target=_blankarea shape=poly coords=373,94,395,74,490,74,492,46,496,32,521,28,548,33,555,50,557,73,5 66,82,566,93 href=http://www.druryinnercircle.com; alt=DRURY INNER CIRCLE: LODGING PLANNERS title=DRURY INNER CIRCLE: LODGING PLANNERS target=_blank area shape=rect coords=30,8,201,46 href=/subscribe_form.cfm /map /snip is it dying for you right @ the ##top part? any error info in your view source if you view source? .tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: John Blayter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 11:12 AM To: CF-Talk Subject: RE: CFMX Is not generating entire page Here is the code for the imagemap. map name=Map area shape=rect coords=32,63,159,84 href=##top alt=BACK TO TOP title=BACK TO TOP area shape=poly coords=193,82,207,73,312,72,310,47,343,26,378,47,380,71,386,76,370,93,1 93,93 href=http://www.drurygoldkey.com; alt=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS title=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS target=_blankarea shape=poly coords=373,94,395,74,490,74,492,46,496,32,521,28,548,33,555,50,557,73,5 66,82,566,93 href=http://www.druryinnercircle.com; alt=DRURY INNER CIRCLE: LODGING PLANNERS title=DRURY INNER CIRCLE: LODGING PLANNERS target=_blank area shape=rect coords=30,8,201,46 href=/subscribe_form.cfm /map -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:02 AM To: CF-Talk Subject: RE: CFMX Is not generating entire page are they href'ed to a name or an actual link to a page? meaning is it like this area href=#bottom or like this? area href=top.cfm if it's the previous do this... area href=##bottom if it's the second one. je ne sais pas :) je m'excuse. tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: John Blayter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:58 AM To: CF-Talk Subject: CFMX Is not generating entire page I am having a very weird problem with CFMX not generating the entire page. It is stopping half way through a image map at the bottom of the page. I have CF5 in our development environment and it works just fine [ http://drury.dev-sites.com/careers/ ]. However on the production MX machine it stops half way through the second area tag in the image map. [ http://www.druryhotels.com/careers/ ] Here is what I have done so far to try and fix this. - Applied the CFMX Updater - Placed the code for the image map on a single line of code - Cleared the compiled *.class files and restarted the server Any help is greatly appreciated. Thanks, __ John Blayter Technical Director Interactive Sites, Inc. The Online Hospitality Solution http://www.interactivesites.com/ Phone: 480.707.1600 Fax: 480.707.1601 __ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?)
You can certainly try. :) The testing I did was on CF 5 and it seemed to produce a similar result. I'd actually be really interrested to see time results that indicate a situation in which a try-catch block is less expensive than any equivalent non-try-catch codeblock. Mike Thanks for the reply, can I confirm that this is only relevant to CFMX And that with CF5 there is no performance hit involved in heavy use of try catch blocks? Thanks -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 15:31 To: CF-Talk Subject: RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?) The try isn't too expensive, but the catch can be. However, running a bunch of trys within a loop can also degrade performance. The catch generates significant overhead when an exception is thrown because a copy of the stack has to be created. a quick search of google turns up: http://www.javaworld.com/javaworld/javaqa/2001-07/04-qa-0727-try.html http://ccm.redhat.com/doc/core-platform/5.0/engineering-standards/perfor mance-optimization.html#Exceptions there is also a good discussion of it in: Java Performance Tuning published by O'Reilly. In general, you should not use try / catch for flow control. hope that helps... mike chambers [EMAIL PROTECTED] -Original Message- From: Kola Oyedeji [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 4:33 AM To: CF-Talk Subject: RE: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?) Hi Sean, have I missed something, are you saying try and catch add a significant performance overhead? Thanks Kola -Original Message- From: Sean A Corfield [mailto:[EMAIL PROTECTED]] Sent: 15 October 2002 02:08 To: CF-Talk Subject: Re: switch-case was RE: BlueDragon (was RE: How is CFMX J2EE implemented?) try/catch is a pretty heavy operation - you should only use it for (unexpected) error cases, not normal operation... ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: CFMX Is not generating entire page
If you view the source of http://www.druryhotels.com/careers/ you'll see where the page stops. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:19 AM To: CF-Talk Subject: RE: CFMX Is not generating entire page actually this will work for me fine on the same pagenot double ##'ing it map name=Map area shape=rect coords=32,63,159,84 href=#top alt=BACK TO TOP title=BACK TO TOP area shape=poly coords=193,82,207,73,312,72,310,47,343,26,378,47,380,71,386,76,370,93,1 93,93 href=http://www.drurygoldkey.com; alt=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS title=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS target=_blankarea shape=poly coords=373,94,395,74,490,74,492,46,496,32,521,28,548,33,555,50,557,73,5 66,82,566,93 href=http://www.druryinnercircle.com; alt=DRURY INNER CIRCLE: LODGING PLANNERS title=DRURY INNER CIRCLE: LODGING PLANNERS target=_blank area shape=rect coords=30,8,201,46 href=/subscribe_form.cfm /map explain that one! .tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: John Blayter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 11:12 AM To: CF-Talk Subject: RE: CFMX Is not generating entire page Here is the code for the imagemap. map name=Map area shape=rect coords=32,63,159,84 href=##top alt=BACK TO TOP title=BACK TO TOP area shape=poly coords=193,82,207,73,312,72,310,47,343,26,378,47,380,71,386,76,370,93,1 93,93 href=http://www.drurygoldkey.com; alt=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS title=DRURY GOLD KEY CLUB: FREQUENT TRAVELERS target=_blankarea shape=poly coords=373,94,395,74,490,74,492,46,496,32,521,28,548,33,555,50,557,73,5 66,82,566,93 href=http://www.druryinnercircle.com; alt=DRURY INNER CIRCLE: LODGING PLANNERS title=DRURY INNER CIRCLE: LODGING PLANNERS target=_blank area shape=rect coords=30,8,201,46 href=/subscribe_form.cfm /map -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 8:02 AM To: CF-Talk Subject: RE: CFMX Is not generating entire page are they href'ed to a name or an actual link to a page? meaning is it like this area href=#bottom or like this? area href=top.cfm if it's the previous do this... area href=##bottom if it's the second one. je ne sais pas :) je m'excuse. tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -Original Message- From: John Blayter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 10:58 AM To: CF-Talk Subject: CFMX Is not generating entire page I am having a very weird problem with CFMX not generating the entire page. It is stopping half way through a image map at the bottom of the page. I have CF5 in our development environment and it works just fine [ http://drury.dev-sites.com/careers/ ]. However on the production MX machine it stops half way through the second area tag in the image map. [ http://www.druryhotels.com/careers/ ] Here is what I have done so far to try and fix this. - Applied the CFMX Updater - Placed the code for the image map on a single line of code - Cleared the compiled *.class files and restarted the server Any help is greatly appreciated. Thanks, __ John Blayter Technical Director Interactive Sites, Inc. The Online Hospitality Solution http://www.interactivesites.com/ Phone: 480.707.1600 Fax: 480.707.1601 __ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: entering time
Easy mathematical evaluation? :) yep and store your date as a Julian integer.I cant really say why, I just like doing it :-) -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 14:48 To: CF-Talk Subject: RE: entering time Individual selects are virtually idiot-proof, but I think they're too annoying. Why don't you test the input with IsDate()? -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:42 AM To: CF-Talk Subject: entering time Can anyone make a suggestion on the best/standard way to setup data entry for time.. Specifically for a entry field for an event start time. I've thought about a text box, but that would seem to allow too many mistakes for the data entry person.. I've considered drop down select boxes for hour, AM/PM and minutes.. But there must be a standard, best way to do this for database entry using CF (or maybe even javascript) Thanks in advance Tim Laureska ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: 'Locking' a process
Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) Tapestry does this with all the content records -- they're flagged in the db as in use by user [x] with privelegdes [RWED] -- if another user has a record open with more than R privilege, other users get only R privilege, regardless of their role or permissions, until the first user closes the record. Let me know if you'd like a more thorough explanation of how it's accomplished. S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: entering time
as Penry, the mild mannered Janitor would say... COULD BE -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 16:28 To: CF-Talk Subject: RE: entering time Easy mathematical evaluation? :) yep and store your date as a Julian integer.I cant really say why, I just like doing it :-) -Original Message- From: Everett, Al [mailto:[EMAIL PROTECTED]] Sent: 16 October 2002 14:48 To: CF-Talk Subject: RE: entering time Individual selects are virtually idiot-proof, but I think they're too annoying. Why don't you test the input with IsDate()? -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 9:42 AM To: CF-Talk Subject: entering time Can anyone make a suggestion on the best/standard way to setup data entry for time.. Specifically for a entry field for an event start time. I've thought about a text box, but that would seem to allow too many mistakes for the data entry person.. I've considered drop down select boxes for hour, AM/PM and minutes.. But there must be a standard, best way to do this for database entry using CF (or maybe even javascript) Thanks in advance Tim Laureska ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com
RE: 'Locking' a process
Problem with a named lock is it's only available for the short time that a single cfmodule is accessing that file -- I _think_ he's talking about something more like a source-control check-in/check-out idea. Wrap it with a named lock ? HTH -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 15:16 To: CF-Talk Subject: 'Locking' a process Anyone got any ideas on how to do a pseudo lock on a process within an application? My example is that I am reading from an .xml file whose contents can be edited and then updated. I want to be able to lock this process so no other user can overwrite the data while another user is performing the action on it (or at least flag the fact that its open by another process.) . Neil ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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: entering time
... since a 24 hour clock is standard there is no need for an AM/PM field. It's my experience that most Merkins don't do well with 24-hour clocks. It's my experience that most Merkins don't know how long it takes the Earth to go round the Sun. But let's not start that. Tom Chiverton You don't have to be a mad scientist to believe in ColdFusion ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk 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