Re: locking, I think

2006-10-08 Thread James Holmes
Yes, that's the one. It's quite good, although it isn't a TOAD-killer (but there again what is?). On 10/8/06, Dave Watts [EMAIL PROTECTED] wrote: Because Oracle has a Free tool now that does a lot of the same work. What Free tool from Quest does the same thing as TOAD? I think James

Re: Ajax and CF...*sigh*...again...

2006-10-08 Thread James Holmes
On 10/8/06, Jim Davis [EMAIL PROTECTED] wrote: I don't agree that XML is too much of a PITA - at least not more or less than anything else. I meant this in the contect of frameworks are evil, so I want to reinvent the wheel, so XML is too much coding to deal with, so I'll just evaluate a JSON

Re: Ajax and CF...*sigh*...again...

2006-10-08 Thread James Holmes
And of course that should be context and I should learn to speel chick more often. On 10/8/06, James Holmes [EMAIL PROTECTED] wrote: On 10/8/06, Jim Davis [EMAIL PROTECTED] wrote: I don't agree that XML is too much of a PITA - at least not more or less than anything else. I meant this in

Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-08 Thread Dan Plesse
You can also use java util props and keep shrinking the code until you get one line. Like the CF classLoader, one line is all you need! cfset application.sqlserver_connection = createObject(java, java.lang.Class).forName(macromedia.jdbc.MacromediaDriver).newInstance().connect(#jdbc_str#, props)

Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-08 Thread Dan Plesse
I think this is it. cfset FileInputStream = createObject(java, java.io.FileInputStream ).init(sqlServer.properties) cfset props = createObject(java, java.util.Properties).init() cfset props.load(FileInputStream) cfset FileInputStream.close()

Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-08 Thread Dan Plesse
And finally if isClosed() equals YES then its closed and a NO means its open. cfset FileInputStream = createObject(java, java.io.FileInputStream ).init(C:\CFusionMX7\wwwroot\sqlServer.properties) cfset props = createObject(java, java.util.Properties).init() cfset props.load(FileInputStream)

Re: cfdocument underline in Linux

2006-10-08 Thread Denny Valliant
I don't know if it will help, but from Brian's blog entry: (http://www.briankotek.com/blog/index.cfm/2006/10/5/Special-Cases) Until you have to do something more than hello world. A while back we tried to add PDF generation to our application as an option to save the page, and we spent days

Re: locking, I think

2006-10-08 Thread Jochem van Dieten
Teddy Payne wrote: I typically don't make my UUIDs my primary keys are I prefer database to perform binary searchings on numbers and 35 character strings. A UUID/GUID is a number. Its string representation may be a bit funky, but it is still just a 128 bit number. Jochem

database design revisted

2006-10-08 Thread Doug Brown
I have a table which holds information for a auction site and was wonder how to handle a couple of things. Sorry for the long drawn out question, but I am just a little baffeled on what the correct way of doing this may be. Hopefully I will not have too many questions after this, but the

RE: cfdocument underline in Linux

2006-10-08 Thread Dave Francis
What you are seeing is correct CSS if the p tag has been defined, possibly by default, as Times New Roman. In my experience,span should nearly always be an inner tag. -Original Message- From: Brad Wood [mailto:[EMAIL PROTECTED] Sent: Saturday, October 07, 2006 1:06 PM To: CF-Talk Subject:

Re: database design revisted

2006-10-08 Thread Dina Hess
[auction expire] auction_start_date days_listed auction_end_date Maybe I'm missing something here, but it appears that when an auction is initially configured, you can set the auction_end_date by adding auction_start_date and days_listed. From there, all you need to do is compare

Re: database design revisted

2006-10-08 Thread Doug Brown
Dina, Thanks for the reply. As for the first question, [auction_end] I understand how to set-up the table as far as that goes, but am not sure if I should simply run the code for checking the expire date/time in the application.cfm or another way. What would you do? - Original Message

Re: database design revisted

2006-10-08 Thread Dina Hess
What version of ColdFusion are you using, Doug? On 10/8/06, Doug Brown [EMAIL PROTECTED] wrote: Dina, Thanks for the reply. As for the first question, [auction_end] I understand how to set-up the table as far as that goes, but am not sure if I should simply run the code for checking the

Re: removing bad emails from bounced emails and db

2006-10-08 Thread Matt Robertson
If you were starting from scratch (and can install a CFX) I would recommend CFX_POP3. I used it on a project awhile back and it was awesome both in terms of speed and capability. IIRC it has a mode that will validate an address via an smtp check, without actually sending any mail. -- [EMAIL

Re: database design revisted

2006-10-08 Thread Doug Brown
CFMX 7.02 - Original Message - From: Dina Hess [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Sunday, October 08, 2006 10:22 AM Subject: Re: database design revisted What version of ColdFusion are you using, Doug? On 10/8/06, Doug Brown [EMAIL PROTECTED] wrote:

Re: database design revisted

2006-10-08 Thread Justin Holzer
Doug, There's no reason that you should need to add any kind of logic to expire an auction. You especially would not need to do anything in your Application.cfm/Application.cfc. When a user views an auction, just check the auction end date/time against the current date/time, and if the end date

RE: removing bad emails from bounced emails and db

2006-10-08 Thread Paul Vernon
If you were starting from scratch (and can install a CFX) I would recommend CFX_POP3. I used it on a project awhile back and it was awesome both in terms of speed and capability. IIRC it has a mode that will validate an address via an smtp check, without actually sending any mail.

RE: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-08 Thread blists
Hi Dan, I'm confused, how is this code intended to work? Does it keep the connection with the new principle? What is the server was restarted. blists -Original Message- From: Dan Plesse [mailto:[EMAIL PROTECTED] Sent: October 7, 2006 11:36 PM To: CF-Talk Subject: Re: SQl Server 2005

Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-08 Thread Dan Plesse
It mainly shows a way to make your code more compact and reading stuff from a properties file and using that infomation in your JDBC connection. Does SQL server send out information when it restarts? If isClosed() is YES sever is down and another check or ping isClosed() No means it's back.

CF - Javascript Monitor Resolution help

2006-10-08 Thread T Burke
This may be OT and if it is, I'll gladly move it to another group. I need to be able to determine (via javascript) preferably the user's monitor resolution. I have a client who wishes to have a FLASH animation that fills the browser banner area as much as possible so that a user on with a

RE: CF - Javascript Monitor Resolution help

2006-10-08 Thread Snake
Screen.width And Screen.height E.G. A HREF=javascript:alert('Your resolution is '+screen.width+'x'+screen.height); Click for your screen resolution/A -- Russ -Original Message- From: T Burke [mailto:[EMAIL PROTECTED] Sent: 08 October 2006 21:45 To: CF-Talk Subject: CF - Javascript

limiting output of text

2006-10-08 Thread terry yee
Hi, Am calling text from datasource and need to display only a small portion of it. ie. first 100 characters etc.. my code: cfif len(getRewards.reward_description) #Replace(Trim(getRewards.reward_description), Chr(10), br , ALL)# /cfif cheers terry

Re: limiting output of text

2006-10-08 Thread Jason Radosevich
What about cfoutput#Left(getRewards.reward_description, 100)#/cfoutput On 10/8/06, terry yee [EMAIL PROTECTED] wrote: Hi, Am calling text from datasource and need to display only a small portion of it. ie. first 100 characters etc.. my code: cfif len(getRewards.reward_description)

Re: limiting output of text

2006-10-08 Thread terry yee
Cheers, Just what i needed What about cfoutput#Left(getRewards.reward_description, 100)#/cfoutput On 10/8/06, terry yee [EMAIL PROTECTED] wrote: ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,

Re: Soap and namespaces A bit deeper

2006-10-08 Thread Dan Plesse
Will, When you get Unable to find a constructor for class com.netsuite.webservices platform.core_1_3.RecordRef that accepts parameters of type ( java.lang.String, java.lang.String, com.netsuite.webservices.platform.core_1_3.types.RecordType ). It means you did not call the constructor

RE: CF - Javascript Monitor Resolution help

2006-10-08 Thread Jim Davis
-Original Message- From: T Burke [mailto:[EMAIL PROTECTED] Sent: Sunday, October 08, 2006 4:45 PM To: CF-Talk Subject: CF - Javascript Monitor Resolution help This may be OT and if it is, I'll gladly move it to another group. I need to be able to determine (via javascript)

Re: limiting output of text

2006-10-08 Thread Denny Valliant
Heh. I don't know why I don't like cfif len(something) in the same manner I don't like cfif recordcount, but anywayze... ;-] cfset dis_reward_description = Replace(Trim(reward_description), Chr(10),br / ,ALL) cfif len(dis_reward_description) gt 97 #left(dis_reward_description,97)#... cfelseif

Re: limiting output of text

2006-10-08 Thread Richard Dillman
www.cflib.org has a UDF called *FullLeft(str, count) * allows you to do a left on a string and only trim at the end of whole words. Some how i see triming at the last word being the next question :-) On 10/8/06, Denny Valliant [EMAIL PROTECTED] wrote: Heh. I don't know why I don't like cfif

webDU 2007: 22-23 March 2007, Hilton Sydney

2006-10-08 Thread Geoff Bowers
webDU 2007: 22-23 March 2007, Hilton Sydney == The Antipodes premier CF conference is on again :) Dates Call for Papers -- The dates and venue for webDU 2007 [1] released. * 22-23 March 2007 (THU-FRI) *

Re: CF - Javascript Monitor Resolution help

2006-10-08 Thread T Burke
Good Snake, now. how do I get it to be an 'autodetect' and pased into a CF variable? I was considering either making it a function or CFC or placing in the application.cfc file. dg Screen.width And Screen.height E.G. A HREF=javascript:alert('Your resolution is '+screen.width+'x'+screen.height);

RE: CF - Javascript Monitor Resolution help

2006-10-08 Thread Andrew Scott
Try using a 1x1 pixle image img src=sendinfo.cfm?scrWidth=xxxscrHeight= That is how every stats report tool does it. But the best thing would be to define an Ajax call back to the server, and change the info using DHTML. Either way the info needs to hit the server first before you can do

RE: CF - Javascript Monitor Resolution help

2006-10-08 Thread Bobby Hartsfield
Auto detecting it would be done by running it when a page loads or on a timer or any other method that doesn’t require the user specifically initializing it. Putting it into a cf var... You would need to send it back to a cf page via a post, get or simply document.location to a page passing it

RE: limiting output of text

2006-10-08 Thread Bobby Hartsfield
This will trim the text (str) at the specified length (trimat) and then delete everything AFTER the last space it finds. This way no words get cut in half. This is a much scaled down version of what I use for 'teasers' to articles. This method simply removes html rather than take them in to

CF SQLite

2006-10-08 Thread Adam Ullman
I was wondering whether anyone has managed to connect SQLite to Coldfusion MX. There is a JDBC driver for Coldfusion but I just can't seem to get it working properly. Any help would be greatly appreciated. Adam ~| Introducing

Re: Quicky question re: cfdocument and fonts

2006-10-08 Thread Lawrence B. Afrin, M.D.
To Peter Boughton, Christine Davis, Chris Peterson, and Sandra Clark -- Thanks again for the help you provided me regarding my question about how to switch fonts within a cfdocument. In the end, a combination of inline style specifications (not font tags) and upgrading my server from 7.0 to

Re: CF - Javascript Monitor Resolution help

2006-10-08 Thread Jon Clausen
Just a suggestion, but since Flash is vector based and scales exceptionally well, why don't you just use the javascript to change the height/width in your object tag, or pass it as a script var if you're using FlashObject(http://blog.deconcept.com/flashobject/). That would seem to be a bit