Hi,
I'm using CF10 for Windows to extract png images from a PDF doc.
Here's the code:
cfpdf action=extractimage format=png overwrite=true
source=C:\ColdFusion10\cfusion\wwwroot\dev\myPDF.pdf
destination=#ExpandPath('/images')# /
fyi,
C:\ColdFusion10\cfusion\wwwroot\dev\images folder exists.
Hi,
For CF9 or Railo 3.x, the following code generates extra white space like half
a page at both the top and the bottom for a generated PDF doc when dynamic
content exceeds one page, I wonder if we have a way to trim all these necessary
white spaces. It would be extremely desirable to have
what if you enable the whitespace removal in the admin ?
On Fri, Sep 21, 2012 at 6:29 PM, D
Interesting thought, still not to avail. And I should add, in most cases, the
generated PDF is ok, many times it would be just one page, and when we have
more than 5 line items the PDF also looks
what if you enable the whitespace removal in the admin ?
On Fri, Sep 21, 2012 at 6:29 PM, D
Ahe, what if I cheat, if it's 3 or 4 lines items I'll create some extra rows
like 2 then the server would treat it just as 5 or 6 line items. Hmm, let me
check, hang on.
Hi,
I bought a standard version of Adobe Coldfusion 8 for $1,299 about three years
ago. Initially intended to use it for a hosted app but change plan, so, never
use it. If I don't transfer its ownership the money would be wasted. If you
really need cf9, you can still buy this version and
I'm trying to break a large chunk of text, so, a user can click on MORE to to
read the rest of it.
Using the following technique has some success, however, it does not seem to
be good enough.
-- cut off point, 500 characters
cfset brkR = MID(myTxt,500,5)
cfset brk = Find( , brkR)
cfoutput
There are a number of UDFs on cflib that will handle this...
http://cflib.org/udf/FormatTeaser
http://cflib.org/udf/FullLeft
... and probably a few others. Browse the string library at
http://cflib.org/library/StrLib
On Mon, Nov 2, 2009 at 11:42 AM, D
Great. Thanks Charlie. One thing, I
Barney, thank you for your input.
I ran CGI.HTTP_USER_AGENT (cf) for it.
Here's what I got.
With Firefox 3.5 I get:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.3) Gecko/20090824
Firefox/3.5.3 (.NET CLR 3.5.30729)
With IE7 I get:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0;
You are a disgusting and despicable being and your rigidness is beyond words.
The question was to detect a user's OS and its CPU architecture not the
server's. Do you know how my app is run??? Got it now? f off! Told you a
100 times! f off! I'll hunt you down one day, you fker!
Common
Hi,
Preferably do it with javascript.
Did a bit of digging myself, neither navigator.userAgent nor
navigator.appVersion command would suffice for the CPU part. Hmm, is
javascript simply unable to or I simply don't know better?
As always many thanks.
I'm thinking about providing an ability to search all emails for a user (from
his/her pop3 server) while performing a search for some texts from the current
app/ current database.
Yes, understand the cfpop tag would allow one to connect to a pop3 server and
retrieve emails dynamically. But
Yes, understand the cfpop tag would allow one to connect to a pop3
...
is it something like that?
No, an event gateway wouldn't be any more direct. It would, in fact,
be less direct - instead of CF talking to the mail server, something
else would have to talk to the mail server.
I
Gerald Guido, it's totally inappropriate of you to make such speculation.
Please stop messing around, I don't believe in your intention at this point.
If you're using railo, why not ask on the railo list?
Given the three strike rule on the Railo mailing list, I would imagine that
he was
I've REPEATEDLY asked this scumbag, to f off! Were the being born of a human
mother it would know what to do. List manager and everyone else, my apologies
for the fact that this note has to be public. The scumbag's intention is
obviously evil, that is, to try to make me look bad by twisting
btw, his speculation is false.
Gerald Guido, it's totally inappropriate of you to make such
speculation. Please stop messing around, I don't believe in your
intention at this point.
If you're using railo, why not ask on the railo list?
Given the three strike rule on the Railo
A couple of things that I'd like to do with local deployment of my web app
using an open source cfml engine. FYI, I ran some quick search, unsatisfactory.
1) disable url-write across board for Resin web server
Know exactly how, not looking for something/block on a similar web server
The
Typo correction: url-write should have been url-rewrite
A couple of things that I'd like to do with local deployment of my web
app using an open source cfml engine. FYI, I ran some quick search,
unsatisfactory.
1) disable url-write across board for Resin web server
Know exactly how,
I'm wondering for coldfusion8 if a cf cookie set for IE7 would be available for
Firefox 3.5 or vice verse. It appears cf cookie set is not browser specific,
however, when I extended a cf cookie for firefox 3.5, IE7 did not recognize it.
Am I missing something here?
You cannot read a cookie set in FireFox with Internet Explorer and
vice versa. Cookies are browser specific.
On Thu, Sep 3, 2009 at 9:07 AM, Don Ldo...@yahoo.com wrote:
...
ok, thank you.
~|
Want to reach the
Just to make your head spin-- there is one annoying little caveat to
this. Cookies sent to a Flash request in IE will be sent by Flash in FF
because the Flash VM shares the same memory space for cookies between
browsers. This doesn't bode very well if you need to have a Flash
object make a
hi all,
I'm wondering if there's a way to automatically launch/redirect to a url at the
end of a youtube video (flash content) play, yeah, crazy.
Thanks.
~|
Want to reach the ColdFusion community with something they want?
There's a full js API to the YouTube player. Ideally, you'd hook into that,
listen for a FinishedPlaying event and then do as you wish.
http://tinyurl.com/noptmw :p
Dominic
Thanks but it seems a mess to have this little thing available, I mean, doing
all the implementation for it. more
It's a kludge, but if you know how long the video is, then remove the
controls and have it start as the page opens. Use a meta redirect to
redirect the page after so many seconds.
sorry not an option, the control has to be there, for one thing, for the
existing users...
I'm wondering if there's a way to automatically launch/redirect to a
...
I would certainly hope not.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
hey dave
~|
Want to reach the ColdFusion community with
Using the API would clearly be the *clean* option - but the problem is of
course one of time. However, I can't see another way of doing this; i.e.
detecting the end of a youtube video playing. I'd suggest you'd spend more
time figuring out a hack than you would picking up the API.
Dominic
Yes,
I certainly wouldn't worry about redirecting them at the end of the
video.. I have seen the said video and you are better off figuring out
how to capture a browser close during the first 10 seconds if you plan
on getting any of those people.
Yes, you're right, the quality of the video
+1 @Dominic
I gotta believe that working with a published and documented API is,
by definition, the LEAST messy option out there. If YouTube gives you
exactly what you need to get to where you want to be with a few lines
of JS, I would recommend doing that!
The word,mess is loose on
/9/1 Don L do...@yahoo.com
Dominic, have you implemented the API for this purpose? If so I'd like to
steal a few lines to save some time? Thanks.
~|
Want to reach the ColdFusion community with something they want? Let them
If the cfc is being hit, and with the right data, you can absolutely rule
out the cfajaxproxy tag. Can we clarify that the data being returned from
the method is the problem? Try posting a form directly to the cfc method,
e.g.
form method=post action=pathtocfc.cfc?method=fubar!--- I think that's
I've moved on to an open source cfml engine, don't know what caused the
following odd behavior, that is, my cfajaxproxy tag no longer works for an
inline data editing function (meaning, it does not do database update for a set
of data) while the same code works for ms sql server 2005 express
I've moved on to an open source cfml engine
Don't ever do that.
But seriously. First step of debugging ajax: install Firebug for Firefox if
you haven't already. Next, enable all the firebug console options for your
page and while viewing the console tab you should see your http post request
I've moved on to an open source cfml engine
Don't ever do that.
But seriously. First step of debugging ajax: install Firebug for Firefox if
you haven't already. Next, enable all the firebug console options for your
page and while viewing the console tab you should see your http post request
Sound like what needs to be done can't be done or very inconvenient to be done
at db end hence you need to run some cfm page from db end.
Not sure if it's efficient, doable though. call sp_shellcmd, (look it up for
sp for shell command), have some utility like wget, then, wget http://yourURL;
Actually, I run SQL 2005 Express on my Vista box at home for dev work,
and it's actually been fine. SQL Express has its own problems (what
do you mean I can't move data with it??), but that's not a Vista issue.
Could you look up Windows Installer version from registry on your Vista box for
Looks like it's still Vista SP1, Home Premium Edition.
No clue what version of the Installer is in place. There are no entries
in those keys that are specific to the installer itself, at least not on
my OS.
Good to know, thanks. Those two registry branches are pretty standard for XP
On Wed, Aug 12, 2009 at 5:19 AM, Don L wrote:
Mysql, sql lite, h2, derby = no install
sql lite is eliminated for it's not a dbms but a c library for a dbm.
of the remaining 3, which one is most compatiable with ms sql server
2005 syntax and feature-wise?
PostgreSQL.
Supports
FYI,
a) Project deadline is days away. One should probably not to change horse
while crossing a river (of course another could argue should you really need
to cross the river?)
b) The randomly reported error may not accurately reflect sql server 2005
express sp3 installation success or
I'd like to hear people's experience on this, my users/customers reported tons
of problem with it while generally positive on XP. I don't have vista box
myself, can't test it on my own. thks.
~|
Want to reach the ColdFusion
sql lite is eliminated for it's not a dbms but a c library for a dbm. of the
remaining 3, which one is most compatiable with ms sql server 2005 syntax and
feature-wise? do they all support quiet installation? do h2 and derby support
dll as well? how about creating datasource connection to
Here's a situation I hope you could provide some thoughtful input. I've
converted a cf8-based app into an open source one. Initially it seemed all's
well but lately, right when I'm ready to deploy it (not to be hosted like many
do), some core functionality like automatically data saving,
Don,
You are giving us the wrong information here. What you should post is the
code in question and a description of the former environment (cf8 + what?
MSSQL?) and the new environment.
-mark
Mark, the converted app uses a cfml engine, sql2005express and Ext (2) for UI,
I've tested the
What nonsense are you churning out?
I have help with problems to your motivated issue of capable
proportions that might hint to the extinction of the not cf coding
issue...
~|
Want to reach the ColdFusion community with
This note is to correct myself, Railo rocks in general and I'm grateful to Gert
etc. It's not some sort of promo for them but rather a remedy in case of
misunderstanding of the op.
~As you know, I'm impatient and a great friend of mistakes.
Hi,
I'm wondering if cfregistry under cf8 is able to create a branch with its set
method, I tried, it does not seem to be able to do that, or was I not doing it
right?
Thanks.
~|
Want to reach the ColdFusion community with
I don't think you know how my app is going to be deployed. Of course one
should trust their customers.
On Tuesday 21 Jul 2009, Don L wrote:
Thank you for your thoughts.
See also defectivebydesign.org - if you can't trust your paying
customers you
have bigger issues.
--
Helping
Hi,
For a cf8 or equivalent app, what options do we have for its control in Windows
environment? Here control is meant to be more like setting app trial
expiration control, continued use control etc. A cf8 trial edition would
revert to developer edition in 30 days, probably the mechanism
Thank you for your thoughts.
On Tuesday 21 Jul 2009, Don L wrote:
For a cf8 or equivalent app, what options do we have for its control
in
Windows environment?
Something simple like a CFREGIETRY key that stores first start time,
and a
check that that is not too long ago you mean
To me some service contract like delivery of a fix of 8 days is too long.
Probably I'll talk to the OSS's owner to negotiate a deal something later
You know what, I strongly believe, any OSS documentation at a reasonable price,
say, $200 or even a bit higher, would sell like hot cake,
Well you're talking about Railo or OpenBD, which is it and what problem are
you having?
Adrian
Forgive me for not naming names. Converted source code in general is running
fine but compiled java class files deployment generated unexpected bugs, some
has been resolved, don't know what's come
don't know what's come up again... so I would hestitate on production
deployment yet
Forgive me if I am wrong, but are you not working with a bleeding edge
release of beta software?
G?
On Mon, Jul 20, 2009 at 11:57 AM, D
ahe, it's kind of chick/egg thing. There's a bit of contradition here.
I think you misunderstood. Railo *server* is recommended for production use,
as opposed to the express version.
The current stable release is 3.0.3.000
G
On Mon, Jul 20, 2009 at 12:14 PM, D
Probably you're right. The first time I came across it, I understood it the
way you did but weird,
I may not be the best person to offer you advice on this. But it's been my
experience to go directly with Ext itself. Some caveat though. In the Ext
world, CSS is critical for many of its classes including Window.
It's my understanding, in essence, Ext 2 would use the three parts of:
a) CSS
Particularly related to ColdFusion. I understand open source software is not
free software. So, to get everything working one has to pay something if
he/she does not have the time or expertise to dig everything... and that seems
fair, but if someone is asking about thousand or thousands of
Cutter, I wish it's that simple. A cfwindow is unusually involved, I've tried
to re-engineer it within Ext environment, yes, legal not stealing Adobe
stuff, with limited success. Thought it might be more productive, just to pay
someone who's way ahead of me in this respect.
Don
Don,
Anyone here using Ext with railo?
Thanks.
Don
Chunshen Li
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
well, if you consider ColdFusion and cfml engine are in the same category, it's
not. And probably this NG may also evolve... just a thought. But more
importantly, do you? And I would certainly be glad to talk off this NG as
well, donli at yahoo dot com
Kind of a personal question.
-- Sent
I was actually kidding. But as for me, no, I use Adobe ColdFusion
exclusively.
I actually had a bunch of apps that made extensive use of Ext,
well, I had some trouble getting complete data for auto suggest back from Ext
2.x with railo and I think the issue does not seem to be on railo end,
well well, I love coldfusion, all versions from the very first one Allare days
on... it's that just I don't have the luxury to bundle cf8 with my little app,
hence, going other route... it's kind of like a way out of no way or tough way
... btw, it's only a few hiccups left now ... thanks for
You're aware that a window is a type of panel, right?
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/7/6 Don L do...@yahoo.com:
Good input, but load() method seems for panel only, it made me think
of render and renderto...
Have you tried
I just use the applyTo property when setting up the ComboBox.
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
Beautiful, thank you. One more question, what are required attributes for a
URL for data store? some scattered sample as a question seems very messy.
=ext-gen7 class=x-form-trigger x-form-arrow-trigger
src=http://extjs.com/s.gif/
/div
http://www.extjs.com/deploy/dev/docs/?class=Ext.data.Store
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/7/6 Don L do...@yahoo.com:
I just use the applyTo
sorry sort of ot. Ext gurus, Cutter?
How do I reload a child window with URL param or FORM elements within the
context of Ext? That is, upon click or other event trigger at the child
window, it would reload the child window with either some URL params or form
submission data.
too bad
Good input, but load() method seems for panel only, it made me think of render
and renderto...
Have you tried the load() method?
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
~|
Want to
Sorry for the ot but this is a quick one.
How to use the bodyStyle attribute for Window object?
// Ext 2
var ewin = new Ext.Window ({
// x:200,
// y:200,
width:350,
height:350,
border:true,
resizable:true,
// try 1
// bodyStyle: [{background-color:white; color:black;
Cutter,
You're right.
items: [{bodyStyle: background-color:white; color:black; padding-left:10px}]
works. But the window's border did not show up though the attribute is
specified.
Yeah, I'll try the ext forum.
Many thanks.
Don
Not sure, the ExtJs forums are probably your best bet on this.
http://www.lalabird.com/?fa=JSMX.downloads
scroll down the page to you see JSMXsuggest Example
I really like JSMX very easy to use
Andrew.
This solution has a problem or bug at least in my case.
label: my input field X
input type=text name=company title=getCompanies onKeyUp=alert('do
I'm wondering with ext:window if we can load up a small window floating over
main window (with cf8, yes one can), so as to pop up a tiny floating calendar
based on need.
Or other options to do that?
Thanks.
Don
~|
Want to
http://www.lalabird.com/?fa=JSMX.downloads
scroll down the page to you see JSMXsuggest Example
I really like JSMX very easy to use
Andrew.
I tried it. IE7 did not returned suggested data, Firefox 3.011 did not
generate error, the error console says, results undefined with the
http://www.lalabird.com/?fa=JSMX.downloads
scroll down the page to you see JSMXsuggest Example
I really like JSMX very easy to use
Andrew.
the cfc has been tested, working and returns expected data,
http://127.0.0.1:8600/test/JSMXsuggest.cfc?method=getProjectsvalue=g
returns expected data
This made me to think of examing a bunch of the returned data sets, and there
we go, some row has some single quotes. Resolved. Thank you very much. And
it could also mean why it didn't work for me with Peter's option with clear
instruction but the two js files are too big.
Sounds like
I heard you, Ray, if anyone can afford cf8 for his/her work like distributing
his/here ware or is lucky enough to have a fat gig with the gov or something
like that, by all means, they don't have to go the open source cfml engine and
ajax route and then have to pull their hair out at some
ok, I've installed ColdExt yesterday after installing railo 3.1x. Initially
ColdExt's window tag seemed to work but then, it cracked through a hole
something, it failed with an err msg below, sought help with
coldext.riaforge.org/forums...
however, no response yet, can't wait. Sorry if it's
I have seen this issue with FarCry on Railo. They have the method
name the same an an inbuilt railo method ( dump, query )
As Railo looks like its has its own trueFalseFormat function I would
try just delete that method out of _functions.cfm and see how well the
inbuilt Railo method works.
I'm wondering if the ext window has an attribute to allow vertical scroll. By
default cf8's cfwindow is intelligent enough to automatically make vertical
scroll bar available where the window is filled but I didn't find the same
ability with the ext window. It's nice though it also has an
Developer
Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com
On 6/24/2009 2:01 PM, Don L wrote:
I'm wondering if the ext window has an attribute to allow vertical
scroll. By default cf8's cfwindow
Dominic Watson has an interesting tag called better autosuggest, at a quick
peek it seems quite fancy, also, it mentions it requires cf8. I'm wondering if
there's any such tag out there for my railo environment.
Thanks.
Don
Dominic Watson has an interesting tag called better autosuggest, at
a quick peek it seems quite fancy, also, it mentions it requires cf8.
I'm wondering if there's any such tag out there for my railo
environment.
Thanks.
Don
Alterntively, I'm not sure if one is legal to edit
.
Dominic
Cool. very clear, calling a class and one of its methods, and interestingly,
here, a method can be a plug-in. Also, I'll think about systematic approach
vs. piece meal. Bring it on, people!
2009/6/23 Don L do...@yahoo.com
I don't understand what the question here is.
As Barney suggests, openBD with GPL covers copyleft, Railo with LGPL
covers bundling.
There's no need or benefit to a full permissive BSD/MIT licensed
engine.
Don, if you want CFML-based AJAX functionality, and your engine of
choice
first of all, I hope it's ok to post general cfml engine related question.
just downloaded the railo 3.1 executable but have no idea how to get started,
its own doc points to its wiki site, which does not seem to have a 'right' doc
for getting started with it, but some of you here would know
This doesn't help...?
http://www.getrailo.org/index.cfm/documentation/installation/railo-express/
On Tue, Jun 23, 2009 at 1:33 PM, D
Well, I picked the railo-server package not the express for the latter does not
have a web server bundled, need something closer to my need.
Paul, I just figured it out, it's 8600, so, working now. NOT the documented
(README file, 8080). This is bad considering such an important piece of
information.
Well, I picked the railo-server package not the express for the
latter does not have a web server bundled, need something
You would be bettor off posting to a Railo mailing list.
ra...@googlegroups.com
http://tech.groups.yahoo.com/group/railo_talk/
G!
On Tue, Jun 23, 2009 at 2:33 PM, D
My post got bounced back, go figure.
~|
Want to reach the
Thanks, I'll check it out.
On Tue, Jun 23, 2009 at 11:33 AM, Don L do...@yahoo.com wrote:
first of all, I hope it's ok to post general cfml engine related
question.
just downloaded the railo 3.1 executable but have no idea how to
get
started, its own doc points to its wiki site
For clarity and the benefit of future railo users, I'm going to start a new
thread here. For future railo server (not express) users, the port is 8600.
The second batch of railto server 3.1x questions:
data source configuration
server configuration
installation options
a) the config file
ok, thanks for the info, I'll dig...
And, the group moderator has to accept your subscription request, prior
to submitting to the google group
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
Co-Author of Learning Ext JS
For clarity and the benefit of future railo users, I'm going to start
a new thread here. For future railo server (not express) users, the
port is 8600.
The second batch of railto server 3.1x questions:
data source configuration
server configuration
installation options
a) the
Browse to
http://127.0.0.1:8600/railo-context/admin/web.cfm
And you get the CFadmin your used to where you cna setup Datasources and
mappings etc. You can even update the server directly from here.
Paul.
On Tue, Jun 23, 2009 at 3:49 PM, D
Good info, Paul, beautiful. Now, a new question,
Railo has a cfadmin tag, which is a supported but not yet fully
documented feature.
There's some info on the Railo blog here:
http://www.railo.ch/blog/index.
cfm/2006/12/19/New-features-introduced-with-Railo
And a few examples have been posted on the Google mailing list - try
Railo has a cfadmin tag, which is a supported but not yet fully
documented feature.
There's some info on the Railo blog here:
http://www.railo.ch/blog/index.
cfm/2006/12/19/New-features-introduced-with-Railo
And a few examples have been posted on the Google mailing list - try
OS = Windows OS.
ok, we're getting to the nitty, gritty part of railo v3.1x.
its wiki doc states its support of CFINPUT 's autosuggest attribute, however,
it fails me. Thanks.
Don
P.S. Sorry for asking so many railo questions in such a short time span.
the railo wiki stated that it supports cfajaxproxy, however, my
version of railto 3.1.0.015 complained: tag AjaxProxy is not
supported, how come?
The cfajaxproxy tag is not yet implemented.
Andrea Campolonghi and others are working on it, and if you join the
Google group you'll see
Thanks, Gert. Don
Don,
I guess it's time to invite you to the Railo Google group. Many of these
...
Greetings from Switzerland
Gert Franz
Railo Technologies Professional Open Source
skype: gert.franz g...@getrailo.com
+41 76 5680 231www.getrailo.ch
...
the railo wiki stated that it supports cfajaxproxy, however, my
Thanks, Peter, who's the google group's moderater and his/her email address?
Don
Sorry, I didn't notice Gert's response before.
~|
Want to reach the
This topic has been brought up a little while ago, I'm wondering if people are
still into it. Smith is one, Ben's 'gang' another ...
Thanks.
Don
Chunsheng Li
~|
Want to reach the ColdFusion community with something they
Yes, we're still into it: search open source, railo, blue dragon, etc
at coldfusionbloggers.org
On Mon, Jun 22, 2009 at 3:10 PM, D
Which one of these freebie cfml has basic cf engine + native ajax support
like cfajaxproxy for instance. Or, put it this way, I think the need for a
freebie
On Mon, Jun 22, 2009 at 4:42 PM, D
Which one of these freebie cfml has basic cf engine + native ajax support
like cfajaxproxy for instance.
There is nothing making me feel all warm and fuzzy about this tag to begin
with.
cfajaxproxy
Don,
Just use straight Ext Js on one of these engines, rather than relying on
the cfform tags. Or, try ColdExt.
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
to the scope and depth of
what's on offer from the js community is a testament to that.
I feel that os frameworks wrapping other os frameworks is counter
intuitive. Side by side they are free to grow and to do their job
brilliantly.
Dominic
2009/6/22 Don L do...@yahoo.com:
Or, put
This topic has been brought up a little while ago, I'm wondering if
people are still into it. Smith is one, Ben's 'gang' another ...
Thanks.
Don
Chunsheng Li
I feel the need to add an additional bit. I bought a cf8 standard myself a
while ago. No one is arguing nor expecting a
1 - 100 of 601 matches
Mail list logo