Re: application.cfm

2011-06-27 Thread Claude Schnéegans
Or you may simply not want to waste time processing code that's unnecessary for a specific request. ... and you might even use no onRequestEnd at all ;-) ~| Order the Adobe Coldfusion Anthology now!

Re: application.cfm

2011-06-27 Thread Claude Schnéegans
Actually cfabort was introduced as a debugging tag. Really? Note that I use CFABORT because I was not sure CFCONTENT will cause processing to stop. It is not specified in the docs, but it does, so I could remove the CFABORT tag after CFCONTENT There is still a good reason for CFABORT: stop

Re: New fckEditor Issue (maybe?)

2011-06-27 Thread Torrent Girl
is it a nbsp; (non breaking space) if so then this is put in there so that there is content so that you can actually click inside the cell to edit. Otherwise if you create a table with no specific height or width, you cannot select inside it to enter content. Yes I guess it is a non breaking

CF Spredsheet problem

2011-06-27 Thread Jerome Huff
I am reading a excel .xls file with cfspreadsheet action=read src = inv00075.xls sheet=1 query = the_data , I am trying to extract several dates and a dollar amount. The data that ends up in the query for dates is suppose to be a count of days since jan 1 1900, so I

Serving Up LOB Content

2011-06-27 Thread Robert Nurse
Hi All, I've written an application where the user can store Office 2007 attachments in an Oracle table. When requesting the attachment, I have a CFM template (displayAttachment.cfm) that retrieves and serves up the attachment from the table. The app works fine except for a minor glitch.

Re: Serving Up LOB Content

2011-06-27 Thread Dave Watts
I've written an application where the user can store Office 2007 attachments in an Oracle table.  When requesting the attachment, I have a CFM template (displayAttachment.cfm) that retrieves and serves up the attachment from the table. The app works fine except for a minor glitch.  IE sees

Convesion from MSWord to pdf

2011-06-27 Thread Claude Schnéegans
CFDOCUMENT allows for conversion from MSword to a pdf. Any one having experience with this? Any problem or restriction? Does it supports 2007 format (docx)? Thanks. ~| Order the Adobe Coldfusion Anthology now!

Re: Serving Up LOB Content

2011-06-27 Thread Robert Nurse
You can use the Content-Disposition header: cfheader name=Content-Disposition value=inline; filename=#yourFileName# or cfheader name=Content-Disposition value=attachment; filename=#yourFileName# Thanks Dave! That worked! Here's the solution: cfcontent type=#myquery.mimetype#

complex string split

2011-06-27 Thread Richard White
Hi, we have a string such as the following: 'word1 word2 word3 and word 4 word5 word6' we need to split the string into an array with the following criteria: - if any part of the string is inside double quotes then this is 1 array element - else each individual word is 1 array element

Finding PDF form field names

2011-06-27 Thread Ken Hammond
I am trying to find the form field names in a PDF. I was reading through cfpdfform and it says to get the structure do this: To verify the structure of a PDF form in ColdFusion, use the read action of cfpdfform tag, and then use the cfdump tag to display the result structure. For some reason

Re: Finding PDF form field names

2011-06-27 Thread Wil Genovese
Try this cfpdfform action=read source=mydocument.pdf xmldata=pdfFieldsxml result=pdfFields/cfpdfform cfdump var=#pdfFields# Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com wilg...@trunkful.com www.trunkful.com On Jun 27, 2011, at 10:35 AM,

Re: Finding PDF form field names

2011-06-27 Thread Leigh
For some reason I just can't work that out in my head, welcome to Monday right... I would ask what did you do this weekend? But my brain is not faring much better today ;-) Just for the example, say the pdf file is test.pdf. cfpdfform action=read source=c:/path/test.pdf result=data /

Re: complex string split

2011-06-27 Thread Russ Michaels
You could Use REFind() to extract the strings in quotes first. Then you can use ListToArray() on what's left On Mon, Jun 27, 2011 at 4:33 PM, Richard White rich...@j7is.co.uk wrote: Hi, we have a string such as the following: 'word1 word2 word3 and word 4 word5 word6' we need to split

Re: New fckEditor Issue (maybe?)

2011-06-27 Thread Russ Michaels
take a look here http://docs.cksource.com/ anything that can be modified should be documented here. If you cannot find a way to do it then you could always strip out the non breaking spaces form the content after it is submitted Russ On Mon, Jun 27, 2011 at 3:00 PM, Torrent Girl

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
Worked like a charm, thanks! -Original Message- From: Wil Genovese jugg...@trunkful.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 10:46:19 -0500 Subject: Re: Finding PDF form field names Try this cfpdfform action=read source=mydocument.pdf xmldata=pdfFieldsxml

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
Wil beat ya to the punch :-) and... last night was the first night of True Blood Season 4... My wife made me stay up and watch it and then watch the next week's episode on HBO GO online after that LOL Then of course I was awake after that and it took forever to fall asleep! -Original

RE: Need some perspective...

2011-06-27 Thread Rick Faircloth
Ok, Bryan... time for some questions about AIR. (I'm reading over the Adobe site concerning AIR, but wanted to ask an advocate, as well...) First question is, how can AIR apps run on iOS? Isn't the output Flash based, which won't play on iOS? Rick -Original Message- From: Bryan

RE: Need some perspective...

2011-06-27 Thread Ken Hammond
I had the exact same question! -Original Message- From: Rick Faircloth r...@whitestonemedia.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 12:08:39 -0400 Subject: RE: Need some perspective... Ok, Bryan... time for some questions about AIR. (I'm reading over the

Re: complex string split

2011-06-27 Thread Richard White
thanks, the following works fine: cfset result = REMatch('\w+|[\w\s]*','word1 word2 word3 and word 4 word5 word6') / You could Use REFind() to extract the strings in quotes first. Then you can use ListToArray() on what's left

RE: Need some perspective...

2011-06-27 Thread Bryan Stevenson
Hey Rick, AIR apps can be converted to run on iOS. I'm pretty sure that is using a tool in CS 5. Apple tried to kill that, but eventually allowed for converted code instead of natively written Ojective C. They can also be exported to run on Android (which is why we are using it). .and as

RE: Need some perspective...

2011-06-27 Thread Rick Faircloth
I have to admit, the pixel perfect, cross-browser user experience is *really* compelling. I've been developing websites/web applications for a decade, and now that I'm having to throw mobile development into that mix, it's just a little short of insane for a one-man development team. :o) One

Re: Finding PDF form field names

2011-06-27 Thread Leigh
... My wife made me stay up and watch it and then watch the next week's episode on HBO GO online after that Ahh, I see. Your *wife* made you stay up late ... There goes my sympathy ;) ~| Order the Adobe Coldfusion

RE: Need some perspective...

2011-06-27 Thread Bryan Stevenson
Hey Rick, Yeahsimilar boat here. Tried AIR for use onboard commercial fishing vessel PCsworks great! Now we're heading to mobile dev and have done some basic prelim stuff using Flash Builder 4.5 (Burrito)amazing how fast you can put together a basic app. We did a sample using the

RE: Need some perspective...

2011-06-27 Thread Rick Faircloth
Ok... thanks for that. (as Chris Wallace says on Fox News Sunday... too often used to end his segments! :o) Another question, however, is raised by your comments. Since AIR worked so well for the commercial fishing app, why are you transitioning to Flash Builder for mobile dev? I just want

RE: Need some perspective...

2011-06-27 Thread Bryan Stevenson
AIR and Flex are both done in Flash Builder. AIR is Flex code with extra functionality. You can buy Flash Builder (Adobe purpose built Eclipse app) OR buy the Eclipse plugin (which is essentially the same thingbut allows for CF coding at the same time via CFEclipse) So there we are not

Re: Need some perspective...

2011-06-27 Thread Dave Watts
Another question, however, is raised by your comments.  Since AIR worked so well for the commercial fishing app, why are you transitioning to Flash Builder for mobile dev? Flash Builder lets you build Flex apps that target AIR. You don't need Flash Builder for this: you can use other tools to

RE: Need some perspective...

2011-06-27 Thread Bryan Stevenson
Ohand Flex as a web app with CF as the backendnow you're talkin! -- Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web:

Re: Need some perspective...

2011-06-27 Thread Dave Watts
You can buy Flash Builder (Adobe purpose built Eclipse app) OR buy the Eclipse plugin (which is essentially the same thingbut allows for CF coding at the same time via CFEclipse) I'm pretty sure you can install the CFEclipse plugin into the standalone Flash Builder. You can install most

Tutorials using CF Builder 2

2011-06-27 Thread Rick Faircloth
I'm surprised by the lack (as in, couldn't find even one!) of tutorials that utilize CF Builder. Plenty of tutorials that utilize Dreamweaver, but none that I saw after searching the Adobe site that use CF Builder. Several tutorials show *how* to use CF Builder, but none, such as, Building

Re: Tutorials using CF Builder 2

2011-06-27 Thread Wil Genovese
The Start Page in ColdFusion Builder 2 has many of such resources. This blog post of mine details these. http://www.trunkful.com/index.cfm/2011/3/25/Getting-Started-ColdFusion-Builder-2 Wil Genovese Sr. Web Application Developer/ Systems Administrator CF Webtools www.cfwebtools.com

Re: Need some perspective...

2011-06-27 Thread Bryan Stevenson
Really Dave? that would be cool as we bought FlashBuilder licences and not the plugin ;-) Thanks for the tip! On Mon, 2011-06-27 at 13:14 -0400, Dave Watts wrote: You can buy Flash Builder (Adobe purpose built Eclipse app) OR buy the Eclipse plugin (which is essentially the same

RE: Need some perspective...

2011-06-27 Thread Rick Faircloth
Anyone making use of CFB2's AIR Project presets? I looked to see if CFB2 has anything to do with AIR and found the New AIR Project choice. And I would definitely rather use HTML5/CSS3/jQuery to build apps than learn yet another language than delve into another language, which seems to be an

Re: complex string split

2011-06-27 Thread Richard White
the only issue with this regular expression is if the user tries to put any non-alphanumeric symbol in the string such as 'word-1' or 'word*1'. how can i amend the regular expression to allow for any of these characters: we tried '[/w-/W]+|[\w\s-/W]*' but then it ignores the splitting on the

RE: Need some perspective...

2011-06-27 Thread Rick Faircloth
Now here's an example I would point to concerning the difficulty I would have even getting past consideration of using Adobe's technologies. Take this presentation/tutorial on Adobe's site, for example: ...Tim Buntel explains the data-centric features in Flash Builder 4 and shows how developers

RE: Need some perspective...

2011-06-27 Thread Bryan Stevenson
All I can say Rick is that if you can write CF you can handle Flex/AIR.MXML is tag based an fairly obvious 9tag names and attribute names are very familiar)and ActionScript 3 is based on ECMA (same as JavaScript is). We learned on the fly and that code is in PRODthat's how easy we

Re: Need some perspective...

2011-06-27 Thread Dave Watts
Now here's an example I would point to concerning the difficulty I would have even getting past consideration of using Adobe's technologies.  Take this presentation/tutorial on Adobe's site, for example: ...Tim Buntel explains the data-centric features in Flash Builder 4 and shows how

Re: Problem with pound signs

2011-06-27 Thread Steven Durette
I tried it out. It works sort-of. It only lists the first time the single pound sign happened. While this identifies the file you have to rescan just to find the next error. Someone else mentioned that manually fixing would be boring and tedious. I agree with that but when one programmer

RE: Need some perspective...

2011-06-27 Thread Bryan Stevenson
Well Adobe does a horrible job of explaining anything IMHO. You do not have to use CF.the reality is you can use PHP/.NET/CF and more with Flex (or none). To me that makes it (pardon the pun) Flexibile ;-) Againall I can say is how easy it really is (and how complicated Adobe makes it

Re: Need some perspective...

2011-06-27 Thread Dave Watts
Really Dave?  that would be cool as we bought FlashBuilder licences and not the plugin ;-) Thanks for the tip! In addition, I think you can use the same serial number whether you download the standard FB installer or the Eclipse plugin. I know it used to be this way, as I'd install both on

Re: Problem with pound signs

2011-06-27 Thread Dave Watts
Someone else mentioned that manually fixing would be boring and tedious. I agree with that but when one programmer decides to do a mass search and replace and totally destroys a code base, then management directs you to do it by hand. :( backup and restore? Dave Watts, CTO, Fig Leaf

Re: Problem with pound signs

2011-06-27 Thread Steven Durette
Yeah but for us that involved getting another group involved and lots of programmer down-time. Sent from my iPhone On Jun 27, 2011, at 1:45 PM, Dave Watts dwa...@figleaf.com wrote: Someone else mentioned that manually fixing would be boring and tedious. I agree with that but when one

RE: Need some perspective...

2011-06-27 Thread Rick Faircloth
And of course, to build applications that are just ColdFusion, you have to know a lot of things already - relational databases, HTML, HTTP, maybe JavaScript and CSS. I guess what I'm saying is that I can already do the above, I just want a single medium through which to deliver the resulting

Re: Need some perspective...

2011-06-27 Thread Dave Watts
And of course, to build applications that are just ColdFusion, you have to know a lot of things already - relational databases, HTML, HTTP, maybe JavaScript and CSS. I guess what I'm saying is that I can already do the above, I just want a single medium through which to deliver the

Re: Need some perspective...

2011-06-27 Thread Bryan Stevenson
Even better Dave.and I hear you on the version issue (which was my only concern).will have to investigate further Thanks againgreat info! -- Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell:

RE: Need some perspective...

2011-06-27 Thread Rick Faircloth
When I mentioned medium, I meant delivery medium, not creation medium. One last question (for now!): Can I just build HTML5/CSS3/jQuery/SQL/CF apps and then just convert them to AIR applications without programming FLEX? -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com]

Re: Need some perspective...

2011-06-27 Thread Dave Watts
When I mentioned medium, I meant delivery medium, not creation medium. I don't see how that makes any difference. When you write CF and HTML applications using, say, jQuery, you have a bunch of files that you create. Some are CF files that generate HTML. Others are JavaScript files. Still

Re: Need some perspective...

2011-06-27 Thread Raymond Camden
A bit late to this conversation. I don't have much to answer in terms of questions as Dave did a kick ass job, but if you want to see some examples, I did a presentation on Flex+CF just last week. You can find my slides and a link to the recording here:

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
LOL! It was either that or catch the 1/2 story play by play the next day. So, I am running into a problem that I really have no idea why it's happening... I am trying to update a PDF form and then save it as a different file (it's a federal I9 form). First, I commented out the 2 fields

loop timing out

2011-06-27 Thread daniel kessler
I'm creating a scheduled_task to correct a problem. For the correction, I'm doing a query for the list of problem records. Then I'm looping through the problem records and resending each one of them through the same code that it went through when it developed the problem. That code has

Re: Finding PDF form field names

2011-06-27 Thread Leigh
... or catch the 1/2 story play by play the next day. Ah, now the truth comes out ... ;) So, I am running into a problem I tried a quick test under CF9 (using full paths) and all of the test values are populated for me. cfpdfform action=populate source=c:/test.pdf

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
Is that the only thing you changed? I am also running CF9. -Original Message- From: Leigh cfsearch...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 13:27:14 -0700 (PDT) Subject: Re: Finding PDF form field names ... or catch the 1/2 story play by play the

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
Any ideas for those fields with arrays? LPRAlienNumber and expirationdate. In my cfdump it shows array LPRAlienNumber 1 0 2 [empty string] expiration date 1 [empty string] 2 [empty string] 3 [empty string] -Original Message- From: Leigh cfsearch...@yahoo.com To: cf-talk

Re: Finding PDF form field names

2011-06-27 Thread Leigh
Yep. I just downloaded the form and filled in a few more values (most of yours were blank). Using the exact code posted, all of those values are populated in my destination file. ~| Order the Adobe Coldfusion Anthology now!

Re: loop timing out

2011-06-27 Thread William Seiter
Hey Daniel, In order to assist you, it would be helpful to see the code that has the loop as well as some knowledge of what the 'database call' is doing. (maybe the database call isn't returning?) The cfsetting that you mention, does only change the timeout setting for the page that it is

RE: Need some perspective...

2011-06-27 Thread Bryan Stevenson
That I'm not sure of Rick I'd never do it as it's too easy to do it in AIR.you can even use CSS in Flex/AIR Cheers On Mon, 2011-06-27 at 13:59 -0400, Rick Faircloth wrote: When I mentioned medium, I meant delivery medium, not creation medium. One last question (for now!): Can

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
No matter what I do to this it will not work :-/ I added full paths and still no luck -Original Message- From: Leigh cfsearch...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 13:33:50 -0700 (PDT) Subject: Re: Finding PDF form field names Yep. I just

Re: Finding PDF form field names

2011-06-27 Thread Leigh
I am not sure about LPRAlienNumber. But for expirationdate use index. Example: cfpdfformparam name=expirationdate index=1 value=12/31/1899 / cfpdfformparam name=expirationdate index=2 value=10/10/1910 / cfpdfformparam name=expirationdate index=3 value=05/05/1955 /

RE: loop timing out

2011-06-27 Thread Rick Faircloth
What about running the task in a cfthread? I have some tasks that run on a schedule (or manually triggered) for an hour or two without issue... Rick -Original Message- From: William Seiter [mailto:will...@seiter.com] Sent: Monday, June 27, 2011 4:42 PM To: cf-talk Subject: Re: loop

Re: Finding PDF form field names

2011-06-27 Thread Leigh
The file has some restrictions, but seems to allow fill ins. You tried the exact code and none of the fields are populated? I tested with 9,0,1,274733 dev edition. -Leigh ~| Order the Adobe Coldfusion Anthology now!

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
Yes, I tried the exact code :-/ The file is being created but nothing is in the form fields. -Original Message- From: Leigh cfsearch...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 13:47:30 -0700 (PDT) Subject: Re: Finding PDF form field names The file

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
OK, hold the phone! I'm on a mac so I have been using Preview. Guess what... Preview doesn't show the stuff. I sent it to a co-worker who uses Acrobat Reader on his PC, THE INFO IS THERE. So, apparently that means Preview can't show the entered form field data... -Original

Re: Finding PDF form field names

2011-06-27 Thread Leigh
What version of CF? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond
9,0,1,274733 -Original Message- From: Leigh cfsearch...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Date: Mon, 27 Jun 2011 14:03:53 -0700 (PDT) Subject: Re: Finding PDF form field names What version of CF? ~|

Re: Finding PDF form field names

2011-06-27 Thread Leigh
Acrobat Reader on his PC, THE INFO IS THERE.  So, apparently that means Preview can't show the entered form field data...  I am officially out of my element with mac's : ~| Order the Adobe Coldfusion Anthology now!

Re: Finding PDF form field names

2011-06-27 Thread Dave Watts
OK, hold the phone!  I'm on a mac so I have been using Preview.  Guess what... Preview doesn't show the stuff.  I sent it to a co-worker who uses Acrobat Reader on his PC, THE INFO IS THERE.  So, apparently that means Preview can't show the entered form field data... Right. Preview

RE: application.cfm

2011-06-27 Thread Andrew Scott
That’s what cfthrow and cfrethrow are for. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Claude Schnéegans schneeg...@internetique.com [mailto:=?ISO- 8859-1?Q?Claude_Schn=E9egans schneegans@interneti=71?= =?ISO-8859- 1?Q?ue.com=3E?=] Sent: Monday, 27

RE: Problem with pound signs

2011-06-27 Thread Andrew Scott
Times like this you have to love the revision control system, as well as Eclipse for this type of things. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Tuesday, 28 June 2011 3:45 AM To: cf-talk Subject: Re: