Re: Can someone w/CF9 run a quick test of this code?

2010-02-13 Thread Kevin Pepperman

I just tested a CF9 WAR install on Tomcat.

 Without the rotation=90 I see a large watermark image at a 45 Degree
angle on each page of a the generated pdf that reads Adobe ColdFusion
Developer/Trial Edition Not for Production

With the rotation=90, I see nothing.. just 15 empty pages.


-- 
/Kevin Pepperman


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330691
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Can someone w/CF9 run a quick test of this code?

2010-02-13 Thread Leigh

Thanks for testing that :) Are the pages distorted at all?  On my install the 
pages are reduced to long thin bars (either horizontal or vertical depending on 
which rotation I use) .. and totally blank.

-Leigh


  

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330692
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Can someone w/CF9 run a quick test of this code?

2010-02-13 Thread Kevin Pepperman


 Are the pages distorted at all?


Yes, it is same here with rotation=90, 15 pages with Just a small horizontal
white bar, no text or Adobe watermark at all.

-- 
/Kevin Pepperman


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330693
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Can someone w/CF9 run a quick test of this code?

2010-02-13 Thread Leigh

Good. Well ... not good. But at least now I know I am not going crazy. Thanks 
for the late night/early AM confirm ;)

-Leigh


  

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330694
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: directory protection

2010-02-13 Thread Claude Schnéegans

 Well, if you're going to use CFCONTENT to serve the files, there's no
point in renaming them, is there?

Yes, if you cannot store them in some non Web accessible directory, 
which was my case for many years before I got my own dedicated server. 
By renaming them .cfm, they are automatically protected by some 
Application.cfm in the same directory.

 From: =?ISO-8859-1?Q?Claude_Schn=E9egans schneeg...@interneti=71?=
=?ISO-8859-1?Q?ue.com=3E?=

 I don't know if that's a problem with your mail client, or with the
list, but I thought you might want to know. I'd have sent this to you
directly, but I'm too lazy to decypher the escaped characters.

Well, I think its a problem with Gmail. My name have an accented 
character in it, and it is encoded inencoded-word format by 
Thunderbird wich is an SMTP standard.
Every thing looks correct to me with Thundebird.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330695
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: directory protection

2010-02-13 Thread Brad Wood

 Well, if you're going to use CFCONTENT to serve the files, there's no
 point in renaming them, is there?

 Yes, if you cannot store them in some non Web accessible directory,
 which was my case for many years before I got my own dedicated server.
 By renaming them .cfm, they are automatically protected by some
 Application.cfm in the same directory.

Were you using IIS or apache in those days?  If the latter, an .htaccess 
file could have been placed in the directory to deny access.  Shared hosting 
on IIS give you no such ability though.

~Brad 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330696
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: help with replace

2010-02-13 Thread Jochem van Dieten

On 2/13/10, Matthew Smith wrote:

 I am generating static html for item pages.  I am trying to remove
 everything but the words and replace the spaces with -.

 The inner replace works properly, the outer one is removing the hyphens.

So do it the other way around: first replace everything but
alphabetical characters and spaces by an empty string, then replace
all spaces by hyphens. Last, replace multiple hyphens with a single
hyphen.

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330697
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


invoking a cf page from static html via img

2010-02-13 Thread Matthew Smith

I've heard it can be done, but not sure how to do it.

I have just moved some pages and would like to track people going to the old 
stuff.

Can I pass parameters?
The images doesn't have to show up.  It could be a 1 pixel clear gif. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330698
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: invoking a cf page from static html via img

2010-02-13 Thread Matt Quackenbush

Here is a quick overview of how to do it...

-- myHtmlPage.html --

img src=myCFprocessor.cfm alt= width=1 height=1 /

-- myCFprocessor.cfm --

!--- do whatever needs to be done with CF here ---

!--- now serve the image ---
cfcontent type=image/gif file=images/myClearGif.gif /


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330699
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: invoking a cf page from static html via img

2010-02-13 Thread Matt Quackenbush

Oh, and yes, you can pass parameters via the querystring.

img src=myCFprocessor.cfm?param1=fooparam2=bar alt= width=1
height=1 /

On your processor page you would simply reference them as #url.param1# and
#url.param2#.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330700
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfwindow looks different in cf9

2010-02-13 Thread John Pullam

I can't find any documentation to explain it, but my cfwindow in cf9 looks 
different than the same app in cf8. The colours around the window are different 
and the handling of table formats inside the window are different (less white 
space on the border with cf9 than cf8). It's almost as though the CSS rendering 
is different and buggy compared to cf8.

Am I the only one running into this? Any suggestions on what has happened and 
more importantly what I can do to make the window content look the same between 
releases? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330701
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


The JVM library could not be found.

2010-02-13 Thread Claude Schnéegans

Hi,

I've lost my whole day on that problem.
I have a CF5 server on my developping WIndows XP desktop, using some 
Java CFX. Since it was compiled using Java 1.4 I upgraded my Java to 
version 1.6, everything works fine.
Now I'm trying to install the same thing on my Win 3000 server, same 
copy of CF 5. I installed the same version of Java, set exactly the same 
values in the Administrator for the virtual machine.
To be sure I put the right path, I copied it from the property of the 
jvm.dll : C:\Program Files\Java\jre6\bin\client\jvm.dll
But when I restart the CF server I keep getting in the server log :
The JVM library could not be found. Please check if the file specified 
in the ColdFusion Administrator actually exists.

I've checked about 50 times, and the file does exist!
I also checked in the registry and the path to the file is correctly set.
I even copied the path from there, and pasted it in an hexadecimal 
editor, and it did opened the file.

Any idea what could make the CF sever not able to find the JVM library ?

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330702
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Broken images in CFADMIN

2010-02-13 Thread ColdFusion Developer

I know thatere was a webpage contributed to this issue but not able to find
it this round.

I know of the one from adobe but that is not the issue.

I have Windows 7 Home Premium installed with CF 9 Dev edition running under
IIS.
When I load up CF Administror the images are broken (Missing).

I thought this has something to do with one of the IIS options but can't
remember which.

Anyone else experience this?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330703
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SOT: Old database extract

2010-02-13 Thread Kevin Parker

Can someone help please - if this is too OT then my apologies and please
contact me off list.

Very quick background - have a dear friend who I'm trying to help out who as
a single mum and to her credit, bought into a Video Rental shop about a 2
years ago - works 7 days a week to make a good living and send her lad to a
good school. The software to run the shop came with the store buy. Its
running in Win 2K and is a DOS based, compiled application.

We started digging around it a while ago when we were trying to work out how
to generate invoices to video defaulters (She's owed about $8K in defaults
which is a bit sad). I've dumped the whole system to a DVD so I can have a
play around.

However, now there is a sense of urgency - we just found out that the app
does not recognise dates beyond 2009 (Y2.009K :-) The calendar goes from
2009 to 1910. I've been unable to locate the original vendor of the
software.

The system is full of files of the format *.001, *.002 and *.003 along with
exe's and PJX files. I did a HEX and binary dump of the EXE files and can
see references to CLIPPER in there. I checked the File Extensions web site
and PJX files are associated with MS Fox Pro projects. 

Does any of this ring a bell with anyone.

TIA




++
Kevin Parker
m: 0418 815 527
++




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330704
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SOT: Old database extract

2010-02-13 Thread denstar

I dbase driver might work.

Good luck!

:den

-- 
Nature, more of a stepmother than a mother in several ways, has sown a
seed of evil in the hearts of mortals, especially in the more
thoughtful men, which makes them dissatisfied with their own lot and
envious of another's.
Desiderius Erasmus

On Sat, Feb 13, 2010 at 5:32 PM, Kevin Parker wrote:

 Can someone help please - if this is too OT then my apologies and please
 contact me off list.

 Very quick background - have a dear friend who I'm trying to help out who as
 a single mum and to her credit, bought into a Video Rental shop about a 2
 years ago - works 7 days a week to make a good living and send her lad to a
 good school. The software to run the shop came with the store buy. Its
 running in Win 2K and is a DOS based, compiled application.

 We started digging around it a while ago when we were trying to work out how
 to generate invoices to video defaulters (She's owed about $8K in defaults
 which is a bit sad). I've dumped the whole system to a DVD so I can have a
 play around.

 However, now there is a sense of urgency - we just found out that the app
 does not recognise dates beyond 2009 (Y2.009K :-) The calendar goes from
 2009 to 1910. I've been unable to locate the original vendor of the
 software.

 The system is full of files of the format *.001, *.002 and *.003 along with
 exe's and PJX files. I did a HEX and binary dump of the EXE files and can
 see references to CLIPPER in there. I checked the File Extensions web site
 and PJX files are associated with MS Fox Pro projects.

 Does any of this ring a bell with anyone.

 TIA

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330705
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: The JVM library could not be found.

2010-02-13 Thread Kevin Pepperman

Wow.. Windows 3000. We are getting emails from the future. Does it still
support IE6? God I hope not.

Joking aside, I'll assume 2003 server.

Did you try putting the jvm in a place with no spaces in the name? Maybe
that is causing issues?


-- 
/Kevin Pepperman


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330706
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Slightly OT: hex character specification in a view

2010-02-13 Thread Ben Conner

Hi,

I have a situation where I need to create a view in a SQL Server 
database.  One of the character fields has embedded cr/lf pairs, which I 
need to get rid of.  The REPLACE function will do that, but how do I 
specify the cr/lf combination? 

Putting it in as characters throws off the view.  Tried several 
combinations for the hex pair 0D0A with no luck.  Anyone done this before?

Thanks!

--Ben

-- 
Ben Connerb...@webworldinc.com
Web World, Inc.   888-206-6486
PO Box 1122   480-704-2000
Queen Creek, AZ 85242 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330707
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: The JVM library could not be found.

2010-02-13 Thread Claude Schnéegans

 Joking aside, I'll assume 2003 server.

He he yeah, 2003 of course ;-)

 Did you try putting the jvm in a place with no spaces in the name? Maybe
that is causing issues?

Hmmm, if this was an issue, it could not be from CF5 since the same copy 
of CF5 has no problem with the same name under Win XP, and if the 
problem was with Win 2003, how could it work with all its applications 
under such a directory, including the CF server ?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330708
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: The JVM library could not be found.

2010-02-13 Thread Kevin Pepperman

Not sure why, but I would try it first. Its the first thing I would look at.
Then maybe verify the jvm versions, maybe one is from the SDK and the other
is not?

There are differences between XP and 2003 server.

If it says it cant find the path, and you know it exists, and it still cant
find it that way--

It is possible that the XP box is using an environmental/system variable to
resolve the path, but your 2003 server install is looking for the variable
in an internal hard coded path.



-- 
/Kevin Pepperman


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330709
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: The JVM library could not be found.

2010-02-13 Thread Dave Watts

 Hmmm, if this was an issue, it could not be from CF5 since the same copy
 of CF5 has no problem with the same name under Win XP, and if the
 problem was with Win 2003, how could it work with all its applications
 under such a directory, including the CF server ?

Check your system's PATH environment variable.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330710
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4