RE: SPAM: CFML to clean up Word HTML

2009-02-17 Thread Andy Matthews
I have a JavaScript method which appears to work fabulously. It could probably be converted fairly easily and I'd be happy to share it. Andy matthews -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Saturday, February 14, 2009 8:06 PM To: cf-talk Subject:

AW: Railo Install on JBoss?

2009-02-17 Thread Gert Franz
Jeff, I have posted a blog entry yesterday which lists the different installation guidelines for Railo with the different operating systems and application servers. Maybe you want to have a look: http://www.railo.ch/blog Have fun using Railo. Greetings from Switzerland Gert Franz Railo

Re: CFFILE - multiple uploads

2009-02-17 Thread Fawzi Amadu
Check out http://uploadformcfc.riaforge.org I have checked out this tag, but due to lack of documentation it has not been of much help. I wrote to the creator but he hasn't replied. So I still need to understand how to code for saving multiple file information into a database. TIA

Session vars in onRequestEnd

2009-02-17 Thread Cutter (CFRelated)
How do you handle access to Session and Application variables within onRequestEnd in Application.cfc? Migrating a legacy app, and forgetting how to properly handle this. -- Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning

Re: Html to XML

2009-02-17 Thread Tom Chiverton
On Monday 09 Feb 2009, Jeremy Rottman wrote: However, every attempt that I have made to parse such html has come up null. Does anyone know of a udf or another application that can be used to parse html into xml? http://xkcd.com/208/ :-) -- Tom Chiverton Helping to autoschediastically

Re: Session vars in onRequestEnd

2009-02-17 Thread Dave Watts
How do you handle access to Session and Application variables within onRequestEnd in Application.cfc? Migrating a legacy app, and forgetting how to properly handle this. You can access them normally within onRequestEnd. You only have to access them through arguments within onSessionEnd or

Looping

2009-02-17 Thread Priya Koya
cfset arguments.pagename = ReplaceNoCase(trim(arguments.pagename), '/', '') cfset pagelist = page1.cfm,page2.cfm,page3.cfm,page4.cfm cfoutput table align=center

Re: Railo Install on JBoss?

2009-02-17 Thread Larry Lyons
First off, is there a mailing list / forum for Railo? I looked around the Railo site and did not see anything obvious there. Second, I am trying to setup Railo on a JBoss 5.0 server. I pulled down the latest WAR file from the Railo site, and exploded it to \server\default\deploy\railo.war.

Drawing a dynamic trapezoid.

2009-02-17 Thread Terry Troxel
Is there anyway to draw in cf8 a trapezoid that will resize based upon fields in a database ie left leg height, right leg height, bottom leg width? I have no skills in Flash or Java if that is where you would direct me to. Terry

Re: Looping

2009-02-17 Thread Tom Chiverton
On Tuesday 17 Feb 2009, Priya Koya wrote: page3.cfm from the table if I am not visiting it. And also wanted to stay the highlight on page2.cfm even if I visit page3.cfm i.e.. page3.cfm is my active page. Sounds like you could just save the 'active' page name to the session scope (or as a

RE: Railo Install on JBoss?

2009-02-17 Thread Jeff Chastain
Larry, Thanks. That was the article I followed through. I have also deployed Adobe ColdFusion via a war file and the same process and it worked just fine, so I suspect there is an extra step that is missing here for Railo. Thanks -- Jeff -Original Message- From: Larry Lyons

Re: Railo Install on JBoss?

2009-02-17 Thread Larry Lyons
First off, is there a mailing list / forum for Railo? I looked around the You may want to check out Gary Gilberts Railo install on JBoss tutorial on his blog: http://www.garyrgilbert.com/blog/index.cfm/2008/10/14/Installing-Railo-3-on-JBoss-422 That was for installing Railo as an Ear file,

Re: Railo Install on JBoss?

2009-02-17 Thread Dan Vega
You might run into issues on JBoss 5.0, though I know it works fine on 4.2. The next thing you need to ask yourself though is why JBoss. I would take a look at Tomcat, its so lightweight and really easy to get up and running. Thank You Dan Vega danv...@gmail.com http://www.danvega.org

Re: Maybe I need a SQL Service Consultant...

2009-02-17 Thread Rick Root
On Sat, Feb 14, 2009 at 6:45 PM, Paul Hastings p...@sustainablegis.com wrote: Rick Root wrote: It would seem that way. My rule of thumb is now: Always use nchar even if you know it will NEVER have unicode data in it (like you're storing a coldfusion UUID) because CF will do all unicode or

Re: Maybe I need a SQL Service Consultant...

2009-02-17 Thread Jochem van Dieten
On Tue, Feb 17, 2009 at 5:33 PM, Rick Root wrote: On Sat, Feb 14, 2009 at 6:45 PM, Paul Hastings wrote: ..or you might look to a newer JDBC driver that knows about n datatypes. it's not cf, its the db driver. I find it hard to believe that CF8's database drivers don't know about n

RE: Maybe I need a SQL Service Consultant...

2009-02-17 Thread Adrian Lynch
Has anyone got an example of a wish list request coming into the language/server? Not being flippant, just interested is all. Adrian -Original Message- From: Jochem van Dieten [mailto:joch...@gmail.com] Sent: 17 February 2009 16:41 To: cf-talk Subject: Re: Maybe I need a SQL

Re: Maybe I need a SQL Service Consultant...

2009-02-17 Thread Paul Hastings
Jochem van Dieten wrote: ColdFusion comes with DataDirect 3.x. http://adobe.com/go/wish/ or you might give jTDS a spin. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free

Re: Looping

2009-02-17 Thread Priya Koya
I tried using Session but it didnt work... On Tuesday 17 Feb 2009, Priya Koya wrote: page3.cfm from the table if I am not visiting it. And also wanted to stay the highlight on page2.cfm even if I visit page3.cfm i.e.. page3.cfm is my active page. Sounds like you could just save the

Re: Drawing a dynamic trapezoid.

2009-02-17 Thread Raymond Camden
Have you looked at CF8's drawing features? On Tue, Feb 17, 2009 at 9:49 AM, Terry Troxel te...@it-werks.com wrote: Is there anyway to draw in cf8 a trapezoid that will resize based upon fields in a database ie left leg height, right leg height, bottom leg width? I have no skills in Flash or

Re: Maybe I need a SQL Service Consultant...

2009-02-17 Thread Dave Watts
Has anyone got an example of a wish list request coming into the language/server? Not being flippant, just interested is all. I can think of quite a few. Recently, the support of CFQUERYPARAM with cached queries, for example. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig

Pass html/url results to variable? Server authentication

2009-02-17 Thread Trevor Pittman
I'm trying to pass the results (2 lines of text) of a url to a variable without directing the browser to that url. I'm working with a university system that has a central authentication system. You can force users to login by directing them to something like

RE: Pass html/url results to variable? Server authentication

2009-02-17 Thread Adrian Lynch
Sounds like a job for cfhttp. Adrian -Original Message- From: Trevor Pittman [mailto:trpit...@indiana.edu] Sent: 17 February 2009 17:24 To: cf-talk Subject: Pass html/url results to variable? Server authentication I'm trying to pass the results (2 lines of text) of a url to a

Re: Pass html/url results to variable? Server authentication

2009-02-17 Thread Trevor Pittman
Sounds like a job for cfhttp. Adrian Thanks a million! This was the simple response I was going for! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

RE: Drawing a dynamic trapezoid.

2009-02-17 Thread Terry Troxel
I see a bunch of image functions, is that what you were referring to Raymond? I am relatively new to CF8 and loving it, but it is real easy to get lost in all the new toys. If you could point me to a specific place in the documentation I would really appreciate it. -Original Message-

Re: Session vars in onRequestEnd

2009-02-17 Thread Cutter (CFRelated)
Thanks Dave. That's what I thought too, but I read something in the comments of an old post on Ray's blog that had me second guessing. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS

CF8 Report Builder chart issue

2009-02-17 Thread Bret Colburn
I'm new to report builder. I created a chart using the chart wizard and the chart display as I intended. The problem is, when I had the cart in the Detail tab the chart was repeated once for each data point. I charted 51 data points so I got that chart 51 times. I moved it to the Column

CFHTTP and SSL v3

2009-02-17 Thread Mary Jo Sminkey
Okay, I have a bit of a critical issue as Authorize.Net is apparently disabling any use of SSL v2.0 and requiring the use of v3.0 (and only giving us about a month to get ready!) To my knowledge, only ColdFusion 8 even supports this, and not sure what the support is in Railo and BlueDragon. Is

Oracle: Find 'date' values that are not dates.

2009-02-17 Thread Ian Skinner
I have a 6 numeric character field in a table that is supposed to be a date value in the format of 'mmddyy'. But a small percentage (5 out of 2.5 million for my first sampling) are not actually data recognizable as a legitimate date. Is there any way I can easily query the data for records

Online OO courses

2009-02-17 Thread Gabriel Read
Anyone aware of any GOOD online cf oo courses? Fiddling around with the various bits and pieces from 1001 blogs, guides and everything is great - but there isn't any way to find out if your end result is 'right' even if it works. Cheers is advance, Gabriel R

Re: [OT] Data xfer from CD to DB

2009-02-17 Thread David
Hi Won On Mon, Feb 16, 2009 at 11:44 AM, Won Lee w...@mediacommerce.com wrote: Quick question. I have a large data set which is delivered to me via CD every quarter. I need to get this data into a MySQL server. What are my options? I know I could probably do this via PERL or VB but it seems

Re: Online OO courses

2009-02-17 Thread Jake Churchill
I don't think there really is a right way to do OO in CF. Since there are no constraints on CFCs it will usually just work. You just need to make sure you are using CFCs as objects. I.E. creating a user would be creating an instance of user.cfc. As long as you can pass the entire instance

Re: Online OO courses

2009-02-17 Thread Wil Genovese
How indepth are you looking to go? Lynda.com has some decent classes. $25/month to get access to ALL of their classes online. http://www.lynda.com/home/DisplayCourse.aspx?lpk2=432 Wil Genovese On Tue, Feb 17, 2009 at 3:22 PM, Gabriel Read g...@evolution7.com wrote: Anyone aware of any

RE: Online OO courses

2009-02-17 Thread Gabriel
I'll start at the shallow end and get as deep as I can go. I THINK I have a reasonable handle on what's going on, but I'm not really content to sit on my laurels assuming that I'm doing the 'right' thing, would prefer to be put to the test as it were. -Original Message- From: Wil

Re: Online OO courses

2009-02-17 Thread Gerald Guido
+1 for Lynda.com I am about 1/4 into CF 8 - Beyond the basics. I am not far enough into it to know how well or how deep the coverage is on OO is but it is very good so far. G! On Tue, Feb 17, 2009 at 5:08 PM, Wil Genovese jugg...@visi.com wrote: How indepth are you looking to go?

Re: Online OO courses

2009-02-17 Thread Brian Kotek
Books are going to be a much cheaper and more readily available option. I know there are OO courses but they are usually rather expensive and almost never web-based. If you want that level of immersion and the cost is justifiable, these are probably invaluable. But the alternative is probably

Re: Online OO courses

2009-02-17 Thread Brian Kotek
This might be an option, but when they won't tell you the pricing I tend to assume the worst, heh. http://www-01.ibm.com/software/in/rational/training/webbased_training/ooad.html On Tue, Feb 17, 2009 at 5:17 PM, Gabriel coldfus...@evolution7.com wrote: I'll start at the shallow end and get

cflayout annoying issue

2009-02-17 Thread MS
Hi all Quick cflayout question. I have a normal layout (positions = TOP, LEFT, CENTER, RIGHT, BOTTOM) page. Problem: if the center inside the CENTER cflayoutarea is larger than the screen, I'm getting a scroll bar just in that CENTER cflayoutarea. Instead, the whole page should expand to

RE: CFHTTP and SSL v3

2009-02-17 Thread Mark Kruger
Mary Jo, You should be able to bypass CFHTTP and use the java libs directly. I took a gander at the Java samples on the auth.net site for AIM integration and here's what I came up with. It seems to work fine on CF 7 and It handles the SSL all right and returns values. But I'm still trying to

RE: Online OO courses

2009-02-17 Thread Gabriel
Thanks for the links - I'll give Lynda a shot, look into the IBM one and just keep on the look out for additional resources/books. In the meantime, if anyone else has any thoughts... Thanks for the assistance. -Original Message- From: Brian Kotek [mailto:brian...@gmail.com] Sent:

Re: CFHTTP and SSL v3

2009-02-17 Thread Casey Dougall
On Tue, Feb 17, 2009 at 3:46 PM, Mary Jo Sminkey mary...@cfwebstore.comwrote: Okay, I have a bit of a critical issue as Authorize.Net is apparently disabling any use of SSL v2.0 and requiring the use of v3.0 (and only giving us about a month to get ready!) To my knowledge, only ColdFusion 8

Re: Online OO courses

2009-02-17 Thread Gerald Guido
Brian, I know this is a passion of yours. Would you be so kind as to provide some recommendations in terms of books, AV materials and/or other resources? I forgot all about this... I highly recommend the offerings of the Stanford Engineering Everywhere program

Re: Oracle: Find 'date' values that are not dates.

2009-02-17 Thread Maureen
Try this: create or replace function isdate(p_inDate date, p_format varchar2) return number as v_dummy date; begin select to_date(p_inDate,p_format) into v_dummy from dual; return 0; exception when others then return 1; end isdate; On Tue, Feb 17, 2009 at 1:37 PM, Ian Skinner

Re: Cfhttp content display issue in Firefox?

2009-02-17 Thread Karan Joshi
Karan Joshi wrote: Hi all I am pulling .htm pages from a website and re-wrapping the content in our page. The content displays fine in IE but in FF, a � is inserted after every letter. likely an encoding issue. question marks (in most s/w but not buzzword) means the app can't

Re: Cfhttp content display issue in Firefox?

2009-02-17 Thread Karan Joshi
Karan Joshi wrote: Thanks Paul. I have almost resolved the encoding issue. Now got another question - I have defined the encoding in the html header of a page using code : meta http-equiv=content-type content=text/html; charset=utf-8 If I check Page Info in Firefox, it shows the encoding as

Re: Online OO courses

2009-02-17 Thread Dave Watts
Fiddling around with the various bits and pieces from 1001 blogs, guides and everything is great - but there isn't any way to find out if your end result is 'right' even if it works. Perhaps you shouldn't worry that much about rightness. OO, like any programming paradigm, is intended to make

RE: Online OO courses

2009-02-17 Thread Gabriel
I guess the reasons I am concered about the rightness of what I'm doing, is because there ARE wrong ways of doing things and I'd like to fall into bad practices, anaemic domain models for example. Making things easier for yourself is one thing, I see writing good, stable and scalable code as

Re: Online OO courses

2009-02-17 Thread Dave Watts
I guess the reasons I am concered about the rightness of what I'm doing, is because there ARE wrong ways of doing things and I'd like to fall into bad practices, anaemic domain models for example. Making things easier for yourself is one thing, I see writing good, stable and scalable code as

Re: Cfhttp content display issue in Firefox?

2009-02-17 Thread Paul Hastings
Karan Joshi wrote: I have defined the encoding in the html header of a page using code : meta http-equiv=content-type content=text/html; charset=utf-8 cf doesn't car about meta header encoding hints. If I check Page Info in Firefox, it shows the encoding as utf-16LE. How come inspite of

RE: Online OO courses

2009-02-17 Thread Gabriel
I've yet to find a tutorial that will help you avoid poorly-designed models. Which is why I was after actual courses, with testing/marks/pass fail/etc rather than just tutorials. ~| Adobe® ColdFusion® 8 software 8 is the

Re: Online OO courses

2009-02-17 Thread Gerald Guido
Which is why I was after actual courses, with testing/marks/pass fail/etc rather than just tutorials. Try Hal Helms classes then. Ben Nadel raved about his experience. http://www.halhelms.com/ On the other hand, the class I linked to before does just that except in Java. Same difference

Re: Online OO courses

2009-02-17 Thread Dave Watts
I've yet to find a tutorial that will help you avoid poorly-designed models. Which is why I was after actual courses, with testing/marks/pass fail/etc rather than just tutorials. I don't think you'll find an online course that covers this to the degree you're looking for. That kind of

Re: CFHTTP and SSL v3

2009-02-17 Thread Mary Jo Sminkey
Where do you read that Mary Jo? I don't see it in merchant area or in developer docs... Yeah, they just kind of dropped this on us with virtually no advanced notice. I've already sent them an email expressing my annoyance at such an extremely short time frame for something that is not just a

Light weight upload script

2009-02-17 Thread Adrian Lynch
I'm working on a server that dies on it's arse a lot, or rather CF does, and this is stopping users from uploading large files. Because the web server stays up, I'm thinking I might be better off using another language to collect the files and I wondered what other people's experiences have been

Re: CFHTTP and SSL v3

2009-02-17 Thread Mary Jo Sminkey
You should be able to bypass CFHTTP and use the java libs directly. I took a gander at the Java samples on the auth.net site for AIM integration and here's what I came up with. It seems to work fine on CF 7 and It handles the SSL all right and returns values. But I'm still trying to figure out

Configure Apache and ColdFusion 8

2009-02-17 Thread Chad McCue
I just installed apache on my development server. My development server is also running IIS. ColdFusion is installed and running associated with IIS with no issues. Is there a way to have my Coldfusion 8 server run with IIS and Apache? I can't seem to find any .so files for jrun on my

RE: Online OO courses

2009-02-17 Thread Gabriel
Aren't all Hal's courses real world? Bit of a trip from AU to the US for a OO course -Original Message- From: Gerald Guido [mailto:gerald.gu...@gmail.com] Sent: Wednesday, 18 February 2009 12:30 PM To: cf-talk Subject: Re: Online OO courses Which is why I was after actual courses,

Re: Online OO courses

2009-02-17 Thread Charlie Griefer
You can't put a price on knowledge. Well, maybe in this case you can. It'd be $2700USD + airfare :) Maybe you can get a bunch of Aussies together and convince Hal to do some on-site training :) On Tue, Feb 17, 2009 at 7:21 PM, Gabriel coldfus...@evolution7.com wrote: Aren't all Hal's

SQL Server 2005 Datasource failing

2009-02-17 Thread Stan Winchester
On my local network I've been using SQL Server 2000 and connecting to it with BD7 CF8 with no problems. I also have SQL Server 2005 on it and am having trouble creating a datasource that logins. It seems to see SQL Server 2005, but I am getting the following error: Connection verification

Re: SQL Server 2005 Datasource failing

2009-02-17 Thread Brad Wood
What port is SQL Server 2005 listening on? Also, can you connect using the same password in Enterprise Manager? Run a trace on the 2005 database and include failed login events from the audit group. Can you see the login failures coming through. If not, CF isn't hitting the correct SQL

Re: Configure Apache and ColdFusion 8

2009-02-17 Thread Brad Wood
You will not be able to bind both Apache and IIS to port 80. You will need to pick one or use a non-standard port for one. Here is the livedocs page for configuring Apache and CF8 on Windows: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=configuring_07.html ~Brad -

RE: SQL Server 2005 Datasource failing

2009-02-17 Thread Pat Wenke
Is TCP/IP enabled on your SQL 2005 instance? By default, TCP/IP connections are disabled in SQL 2005. - Pat -Original Message- From: Brad Wood [mailto:b...@bradwood.com] Sent: Tuesday, February 17, 2009 10:32 PM To: cf-talk Subject: Re: SQL Server 2005 Datasource failing What port

Re: SQL question

2009-02-17 Thread Mike Soultanian
Mike Kear wrote: The first two examples are selecting the literal value 'mike' and '1' In the first example, you are telling SQL to give the column containing 'mike' a name of 'name'. aha.. literal was the word I was looking for. I did a search for sql select literal and it led me to the

Re: Inserting an array of structs into a database table

2009-02-17 Thread Mike Soultanian
Maureen wrote: 1000 sets of values with one insert will run much faster than 1000 inserts. Yup! It was significantly faster! Thanks for the help! Mike ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic

Re: Online OO courses

2009-02-17 Thread Dave Watts
Aren't all Hal's courses real world? Yes, I believe so. Bit of a trip from AU to the US for a OO course People travel for training all the time. I had two students from Denmark in the last Advanced CF course I taught. I haven't taken any courses with Hal, but I don't think you'll find

Saving beans to a databse

2009-02-17 Thread David Mineer
I have a siteoptions bean which holds session variables that are unique to each user. I use roobies cfc bean generator to create a bean which gives me get and set access to variables which essetially match the form on my website that I use to collect the information. How can I store this

Re: cflayout annoying issue

2009-02-17 Thread Bob
I think what you need is as follows : html head /head body leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0 marginwidth=0 marginheight=0 cflayout name=outerlayout type=vbox  style=height:100%;  cflayoutarea style=height:15%; background-color:##FFCCFF h3header/h3  /cflayoutarea