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!
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
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
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
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.
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
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!
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#
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
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
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,
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 /
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
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
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
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
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
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
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
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
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
... 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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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]
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
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:
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
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
... 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
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
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
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!
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
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
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
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 /
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
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!
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
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
What version of CF?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
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?
~|
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!
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
Thats 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
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:
67 matches
Mail list logo