Re: SQL Replication Models

2009-02-16 Thread Jochem van Dieten
On Mon, Feb 16, 2009 at 1:16 AM, C. Hatton Humphrey wrote: The main thing I'm worried about is any performance hit on the publishing server. The target server can lag behind data-wise by a bit (30 minutes to an hour is an acceptable delay). Those do not appear to be very challenging

RE: CFML to clean up Word HTML

2009-02-16 Thread Paul Vernon
I searched riaforge.org and cflib.org for CFML to clean up Word HTML without affecting the way the HTML appears in modern browsers but could not find anything. Anyone ever written/used something like this? I use CFX_Markdown and SmartType to great effect.

Re: SQL Replication Models

2009-02-16 Thread C. Hatton Humphrey
Don wrote: With regard to 1,498 tables, do you mean, User Tables? just for clarity. Yes, 1498 user tables. The application was originally built on a flat-file database system like DB3/4 or Foxpro and was ported to SQL Server without re-engineering the database. All of the tables have 8

Re: SQL Replication Models

2009-02-16 Thread C. Hatton Humphrey
Those do not appear to be very challenging requirements. You could probably even do this without any of the built-in replication at all but with just incremental backups. How have you currently configured your backups? Do you notice a performance impact when you run a full backup? Do you

Re: SQL Replication Models

2009-02-16 Thread Jochem van Dieten
On Mon, Feb 16, 2009 at 1:10 PM, C. Hatton Humphrey wrote: Jochem van Dieten wrote: The current schedule for backups is a full backup at 3am for the group of databases and then a transactional backup every hour from 7am to 10pm during the week. For performance size doesn't matter all that

Re: CFML to clean up Word HTML

2009-02-16 Thread Larry Lyons
On an old site, I'm moving from http://www.zrinity.com/activedit/ to http://tinymce.moxiecode.com and having issue described here: http://tinymce.moxiecode.com/punbb/viewtopic.php?id=15002 I searched riaforge.org and cflib.org for CFML to clean up Word HTML without affecting the way the HTML

Re: CFML to clean up Word HTML

2009-02-16 Thread Wil Genovese
The old CodeSweeper in Homesite / CF Studio could do a decent job of this. The most recent version of Homesite's CodeSweeper used the third-party HTML Tidy tool, so I would suggest looking to see if they are still around. Wil On Mon, Feb 16, 2009 at 9:04 AM, Larry Lyons larrycly...@gmail.com

[OT] Data xfer from CD to DB

2009-02-16 Thread Won Lee
Hello CF gods. 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 like a rather mundane task and something where a tool

FireFox getElementById issue?

2009-02-16 Thread Austin Band
Hello, I need a little help. I have javascript that works with IE but not FireFox. The code: script = Javascript1.2 function addItemsToParent(){ var MemberList= ; var list = document.getElementById(MemberName).value; for(var i=0; ilist.options.length; ++i)

Re: [OT] Data xfer from CD to DB

2009-02-16 Thread Won Lee
Hello CF gods. 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 like a rather mundane task and something where a tool

FireFox getElementById issue?

2009-02-16 Thread Austin Band
Hello, I need a little help. I have javascript that works with IE but not FireFox. The code: script = Javascript1.2 function addItemsToParent(){ var MemberList= ; var list = document.getElementById(MemberName).value; for(var i=0; ilist.options.length; ++i)

Re: FireFox getElementById issue?

2009-02-16 Thread Azadi Saryev
hmm... document.getElementById(MemberName).value will return a VALUE of SELECTED option. if no option was selected this should be null/undefined... i am not sure why it is working in IE - it really should not... maybe it works because IE always assigns a value to a select element, even if no

Re: FireFox getElementById issue?

2009-02-16 Thread Claude Schneegans
I have javascript that works with IE but not FireFox. Note that there is a bug in IE which returns with getElementById(string) both elements that have the ID set to the string searched, but also those having the NAME attribute set. So may be it is normal your code des not work with FF and it

Re: FireFox getElementById issue?

2009-02-16 Thread Seb Duggan
First up, script = Javascript1.2 is meaningless... Should be script language=Javascript1.2 or, better: script type=text/ javascript. Your main problem, however, is that var list = document.getElementById(MemberName).value; ..is also wrong. You're trying to access the select item, not

Re: FireFox getElementById issue?

2009-02-16 Thread Peter Boughton
First up, script = Javascript1.2 is meaningless... Should be script language=Javascript1.2 or, better: script type=text/ javascript. The language attribute is just as meaningless. You *ONLY* need the type attribute. ~|

Re: Binary output in CFContent ?

2009-02-16 Thread Robbie Byrd
Hmmm Well, this is telling the browser to actually download the document. My only thought would be to do an inline word document with a frameset and have a frame at the top with your checkbox. I'm not exactly sure that's what you're looking for or even the most portable solution, but it

Re: Setting row colors dynamically with cfgrid AJAX

2009-02-16 Thread Robbie Byrd
Exactly, but maybe I'm missing something. I'm guessing that it's putting the style tags in straight into the actual grid itself when it inits. In Safari, they are being ignored (style elements only allowed in head?) and in Firefox they seem to write out the first time correctly, but they

Re: Binary output in CFContent ?

2009-02-16 Thread Justin Scott
Robbie Byrd wrote: Well, this is telling the browser to actually download the document. My only thought would be to do an inline word document with a frameset and have a frame at the top with your checkbox. I'm not exactly sure that's what you're looking for or even the most portable

Re: CFPDF import vector graphcis

2009-02-16 Thread Judah McAuley
EPS embedding was deprecated with version 1.4 of the PDF spec. However, you could use Imagemagick to convert the EPS to a supported format like PNG. You might be able to do that with cfimage, I'm not sure of its eps support. As I recall you needed to install ghostview with Imagemagick in order to

Re: Setting row colors dynamically with cfgrid AJAX

2009-02-16 Thread Jason Fisher
Not directly related to the cfgrid question, but if you think you're having trouble with style blocks needing to be in the head for any reason (browser or otherwise), try this: cfsavecontent variable=css style ... all your class defs ... /style /cfsavecontent cfhtmlhead text=#css# / That will

Re: SQL Replication Models

2009-02-16 Thread Don L
Those do not appear to be very challenging requirements. You could probably even do this without any of the built-in replication at all but with just incremental backups. How have you currently configured your backups? Do you notice a performance impact when you run a full backup? Do you

SQL question

2009-02-16 Thread Mike Soultanian
I was curious if anyone knows how you describe the following SQL functionality: SELECT 'mike' as name returns a single column named name with a single row containing mike I also know you can do stuff like: SELECT 1 Which returns a column named 1 with a single row containing 1, or: SELECT

Re: SQL question

2009-02-16 Thread Mike Kear
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'. A practical example of where you might use this behaviour might be : SELECT 'Invoice' as doctype, invoiceno, invoicedate,

Re: SQL question

2009-02-16 Thread Dave Watts
I was curious if anyone knows how you describe the following SQL functionality: ... The last one is obvious as it's SQL arithmetic, but what are the first two examples? Are those also examples of SQL arithmetic as well? I can't find this kind of SQL functionality described or documented

Is it possible to use cflocation in a cffunction?

2009-02-16 Thread Rick Faircloth
I know this is probably a bit of hackery, but... I'm trying to find an easy way to go from a jQuery AJAX function to a cffunction method, then from there, use a cflocation to jump to a page to print a schedule. I send my variables to the method via AJAX, (there's not an actual form on the page,

Re: Is it possible to use cflocation in a cffunction?

2009-02-16 Thread Jason Fisher
Ajax doesn't run in the calling page's request, it runs in its own request and comes back to the calling page via your designated callback function. So, send a packet back to the callback that sets a local var for the selected_date and then triggers: location.href =

RE: Is it possible to use cflocation in a cffunction?

2009-02-16 Thread Rick Faircloth
Alright! That sounds good. Thanks for the tip, Jason! Rick -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: Monday, February 16, 2009 9:29 PM To: cf-talk Subject: Re: Is it possible to use cflocation in a cffunction? Ajax doesn't run in the calling page's

RE: Is it possible to use cflocation in a cffunction?

2009-02-16 Thread Rick Faircloth
Hmmm...I'm getting this error now: missing } after property list success: function(response) {\n which refers to this section: success: function(response) { location.href =

Railo Install on JBoss?

2009-02-16 Thread Jeff Chastain
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.

RE: Is it possible to use cflocation in a cffunction?

2009-02-16 Thread Rick Faircloth
Nevermind...found it. I had removed the comma after formval, before the success area. (I knew it would have nothing to do with a } directly... -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Monday, February 16, 2009 10:34 PM To: cf-talk Subject:

Re: Railo Install on JBoss?

2009-02-16 Thread Paul Hastings
Jeff Chastain wrote: First off, is there a mailing list / forum for Railo? I looked around the Railo site and did not see anything obvious there. http://tech.groups.yahoo.com/group/railo_talk/ ~| Adobe® ColdFusion® 8

Re: SQL question

2009-02-16 Thread Brian Kotek
I've always known it as selecting a literal value. So SELECT 1 is select the literal value 1. On Mon, Feb 16, 2009 at 7:41 PM, Mike Soultanian msoul...@csulb.edu wrote: I was curious if anyone knows how you describe the following SQL functionality: SELECT 'mike' as name returns a single