Re: CF Validation using CFC?

2008-10-20 Thread Mike Kear
If you ar using the techniques outlined in my cfc tutorials, Rick, i can easily give you the additional part - validation .. I was getting around to writing part 3 eventually mabye i'll just run it forward . IN the methods i use, each bean contains its own validation methods and you run a

CF7.02: How to restart mail spooler without restarting the service???

2008-10-20 Thread Beru
Hi, I had from time to time some difficulties with interaction between CF mail and our mail relay: our mail relay uses a round-robin load balancing method; so behind a unique host name, we have 5-6 mail servers. Problems occurred when one of the mail servers was stopped; it seemed as if java kept

Re: CF7.02: How to restart mail spooler without restarting the service???

2008-10-20 Thread Beru
Sorry I pressed the wrong button to hastily... See the end of message for full questions: On Mon, Oct 20, 2008 at 10:28, Beru [EMAIL PROTECTED] wrote: Hi, I had from time to time some difficulties with interaction between CF mail and our mail relay: our mail relay uses a round-robin load

Re: CF7.02: How to restart mail spooler without restarting the service???

2008-10-20 Thread Ryan Stille
You *can* restart the spooler service without restarting CF. This is unsupported but works in CF7 and 8, and possibly 6. cfset sFactory = CreateObject(java,coldfusion.server.ServiceFactory) cfset MailSpoolService = sFactory.mailSpoolService cfset MailSpoolService.stop() cfset

Re: CF Validation using CFC?

2008-10-20 Thread Aaron Rouse
I do something similar to this in one of my projects. I have the validation rules more or less in my beans then I have a validator CFC that will check a bean to validate things. If validation passes it proceeds to the insert/update and if it fails it returns the reasons so they can be displayed

Cached Attributes and cfqueryparam

2008-10-20 Thread Hunsaker, Michael Scott
Hello - I'm reading conflicting reports and wanted to get some clarification. Adobe's website (CF8) says that you cannot use the cachedAfter and cachedWithin while using cfqueryparam. Is this true? I'm using CF8. Adobe says no but lots of users say yes.

Re: Obscenity/Bad Words filter udf/cfc?

2008-10-20 Thread Ryan J. Heldt
Dan- I don't have any code for this, but what I would do is take a block of text and treat it as a list, using space, CFLF, and other characters as needed as delimiters. Then loop though the list and see if any of those are in a struct or array of dirty words you have. I *think* Camden's Blog

RE: Obscenity/Bad Words filter udf/cfc?

2008-10-20 Thread Andy Matthews
Here's the way that I do it, if you're interested: !--- do any of the form fields for comments have these words in them? --- cfset VARIABLES.disallowedTerms = ListToArray('cigar,tarwar,fuzye,ezdwo,natup') !--- sanitize input fields, checking for comment spam --- cfloop list=link,comment,visitor

RE: CFexecute Tag

2008-10-20 Thread Dawson, Michael
Are you logged in to the server's console using the same credentials as the CF service? If the CF service is running as a different user, then it can't display a window in another user's session. Mike -Original Message- From: Don L [mailto:[EMAIL PROTECTED] Sent: Sunday, October 19,

Re: Obscenity/Bad Words filter udf/cfc?

2008-10-20 Thread Dan O'Keefe
On Mon, Oct 20, 2008 at 9:46 AM, Ryan J. Heldt [EMAIL PROTECTED] wrote: Dan- I don't have any code for this, but what I would do is take a block of text and treat it as a list, using space, CFLF, and other characters as needed as delimiters. Then loop though the list and see if any of those

Re: CF Validation using CFC?

2008-10-20 Thread Rick Faircloth
Hi, Mike... While working on production sites, I found your approach a little more than I could comfortably manage, but I did learn from them and have begun to *slowly* transition my code over to CFC's. (But I've got to make sure I keep everything working as I go!) I'd be very interested in

Re: Cached Attributes and cfqueryparam

2008-10-20 Thread Azadi Saryev
you can in cf8 Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Hunsaker, Michael Scott wrote: Hello - I'm reading conflicting reports and wanted to get some clarification. Adobe's website (CF8) says that you cannot use the cachedAfter and cachedWithin while using cfqueryparam. Is

Re: CF Validation using CFC?

2008-10-20 Thread Rick Faircloth
Can you show me an example of using a CFC function to return error results/messages to the calling page? When an invoked CFC is called into play, is the data it produces available to the calling page as in a cfinclude? Rick Aaron Rouse wrote: I do something similar to this in one of my

Re: Obscenity/Bad Words filter udf/cfc?

2008-10-20 Thread Phillip M. Vector
This may not help, but on my system, it's an optional choice to use the filter or not (and I tend to take a pretty hard line to make it G rated when the filter is applied). So making your filter match more things and give the user the option to turn it off may work better then trying to apply

Re: CF Validation using CFC?

2008-10-20 Thread Aaron Rouse
This is off the top of my head so do not trust it 100% cfscript objBlah = CreateObject(component, Blah).Init(); objBlah.ValidateStuff(FORM); if(objBlah.GetValidated() IS false) { WriteOutput(objBlah.GetValidatedMsg()); } else { objFoo = CreateObject(component, Foo).Init();

Re: CF8 HTML CFGRID with checkbox possible with binding?

2008-10-20 Thread Stephane Vantroyen
Hi guys and gals, has anybody already had the following question (and its answer of course) : is there a solution (soft, CF, ... whatever) to convert a pdf into html content? Thanks in advance ~| Adobe® ColdFusion® 8 software

PDF into HTML?

2008-10-20 Thread Stephane Vantroyen
Sorry guys I think I've posted this item first in the wrong section... So the question : has anybody already had to do the following : convert pdf docs into html content? Thanks in advance, ~| Adobe® ColdFusion® 8 software 8

Re: PDF into HTML?

2008-10-20 Thread Phillip M. Vector
U. . Why not just point the browser to the PDF??? I don't think there is a reliable way of doing what you suggest using a web based language Is there? Damm.. Now I'm curious to.. Stephane Vantroyen wrote: So the question : has anybody already had to do the following :

Binding checkboxes in a Flash form

2008-10-20 Thread John Gillett
I have a 2-part form, grid and edit pane. The grid is populated from a query and shows only enough of the record to make it recognizable. The user selects a record, which then populates the edit pane. Everything works fine except the binds to checkboxes and a select dropdown. I use the

Re: PDF into HTML?

2008-10-20 Thread Mike Chabot
Is this a one-time convert or something you want to automate on a server? -Mike Chabot On Mon, Oct 20, 2008 at 10:55 AM, Stephane Vantroyen [EMAIL PROTECTED] wrote: Sorry guys I think I've posted this item first in the wrong section... So the question : has anybody already had to do the

RE: Array confusion

2008-10-20 Thread Eric Roberts
It looks like you are using the same index variable on the second array that you used on the first array. That is why araary element 1-6 are not defined as those values were already incremented through for the first array...ie: cfloop index=x from=1 to=6 cfset array1[x]=1 /cfloop cfloop

missing template woes

2008-10-20 Thread Michael Traher
I added a missing template in CFADMIN and then followed the instructions in this KB article http://kb.adobe.com/selfservice/viewContent.do?externalId=95ee04fbsliceId=1 and in firefox everything was good - worked as expected. in IE7 however it seemed to be merging the missing template code with

Re: CFexecute Tag

2008-10-20 Thread Don L
Are you logged in to the server's console using the same credentials as the CF service? If the CF service is running as a different user, then it can't display a window in another user's session. Mike Good thought, Mike, thank you. So, I reset cf8 logon account to be the same as XP logon

Re: CFexecute Tag

2008-10-20 Thread Dave Watts
Good thought, Mike, thank you. So, I reset cf8 logon account to be the same as XP logon session/account and restarted, and went a step further, disabled firewalls including XP's own, however, same outcome (the command prompt did not show up). What else could be in the way? By default,

Re: PDF into HTML?

2008-10-20 Thread Wil Genovese
It sounds like a feature many search engines have that lets you view a PDF as html. So to see just what I can do with the new CFPDF tag I played with it a bit. I can read a PDF into memory, but a dump of that var only gives me meta data. But so far I have not been able to do anything with the

cfexecute and ffmpeg

2008-10-20 Thread Adrian Lynch
I thought I had this sorted a while ago but now the problem has changed slightly and I'm not sure how to fix it. I've used ffmpeg in the past to convert to .flv files and that's all working. But now I want to use it to get the dimensions of a video without converting. If you use the following on

How can I make this code better?

2008-10-20 Thread Rick Faircloth
Hi, all... Still figuring out the best way to employ CFC's into my workflow. Now I'm working on incorporating CF validation into my code using CFC's. I've got a working solution, but would like some suggestions on how to improve it. Thanks for any suggestions! Rick Here's a slimmed-down

RE: cfexecute and ffmpeg

2008-10-20 Thread Adrian Lynch
Just had a read of the fixes in CF 8.0.1 and discovered errorVariable is a new attribute for cfexecute. I knew I'd heard something like that. All sorted now :O) Adrian -Original Message- From: Adrian Lynch Sent: 20 October 2008 18:29 To: cf-talk Subject: cfexecute and ffmpeg I

RE: How can I make this code better?

2008-10-20 Thread Adrian Lynch
Locally scope your vars in your functions. If you don't fancy lots of cfset var = someVar = at the top then do one cfset var LOCAL = {} and scope your vars as you create them cfloop index=LOCAL.i. No need to create and then clear the structure. cfset form_errors = structNew() cfset temp =

Re: LCDS Error

2008-10-20 Thread Jim Rising
no-one has ever run into this issue before? :) On Fri, Oct 17, 2008 at 4:56 PM, Jim Rising [EMAIL PROTECTED] wrote: Has anyone ever come across this? I have a custom assembler that builds a thread.event for a 'refreshFill' ... and when it is executed, the console returns: 10/17 14:15:55

Re: PDF into HTML?

2008-10-20 Thread Dave Watts
So the question : has anybody already had to do the following : convert pdf docs into html content? You might find pdfbox useful: http://www.pdfbox.org/ http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:46683/sort:1 Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/

Re: How can I make this code better?

2008-10-20 Thread Rick Faircloth
Thanks for the feedback, Adrian. I'm afraid I don't quite understand what you're wanting me to do in some of your comments and why it's important. Let me ask a question about this comment you made: If you don't fancy lots of cfset var = someVar = at the top then do one cfset var LOCAL = {}

RE: How can I make this code better?

2008-10-20 Thread Adrian Lynch
form_errors is local to the function so that needs to be var scoped (or put in a var scoped LOCAL struct if you prefer). You might well never see any problems if you don't var scope in your functions, but not having them can be the cause of an error that'll have you scratching your head. When I

Mail Spooler

2008-10-20 Thread webmaster
Upon the heels of my CFMail tag questions I have run some tests. I have a CF8 Standard server and a CFMX7 Standard server that I tested this on. I monitored the CF8 spool folder for a couple of hours. It sent 1 piece of mail every 5 seconds. So when I have a clients newsletter that goes

Re: CFexecute Tag

2008-10-20 Thread Web Specialist
Don, May be inserting a timeout parameter could be display the DOS prompt??? Cheers Marco Antonio On Sun, Oct 19, 2008 at 7:34 PM, Don L [EMAIL PROTECTED] wrote: I don't understand why the following code, won't bring up a 'window' of 'DOS' command prompt on my server/local box.

xml populated pdf forms and livecycle designer??

2008-10-20 Thread Tony
hi there. in the past, acrobat 8 professional gave me the ability to create a new pdf, add form fields to it, save it as a pdf, write some xml to populate the pdf, and then open the PDF in a browser, and the data in the pdf forms would be filled with the data i expected from the xml file.

Re: Mail Spooler

2008-10-20 Thread Wil Genovese
That's something to ask Adobe. Unless they published a doc somewhere with the reason they are the only ones that will know. Wil On Mon, Oct 20, 2008 at 3:18 PM, [EMAIL PROTECTED] wrote: Upon the heels of my CFMail tag questions I have run some tests. I have a CF8 Standard server and a

Re: xml populated pdf forms and livecycle designer?? [FIXED]

2008-10-20 Thread Tony
seek a bit harder and ye shall find... thanks anyway kids :) ?xml version=1.0 encoding=UTF-8? - xfa:data xmlns:xfa=http://www.xfa.org/schema/xfa-data/1.0/; - form1 SSN354325426/SSN fnamecoldfusion/fname num354325426.00/num - Subform1 SSN /

Re: Mail Spooler

2008-10-20 Thread Mike Chabot
One email every five seconds is much slower then I would expect. Something is wrong somewhere. I would run typical diagnostics checks to determine where the bottleneck is. -Mike Chabot On Mon, Oct 20, 2008 at 4:18 PM, [EMAIL PROTECTED] wrote: Upon the heels of my CFMail tag questions I have

RE: Mail Spooler

2008-10-20 Thread Robert Harrison
Is it going to the CFMAIL queue quickly? It may not be a CF issue. It may be throttle a setting on the mail server out queue. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022

Re: CFexecute Tag

2008-10-20 Thread Don L
Don, May be inserting a timeout parameter could be display the DOS prompt??? Cheers Marco Antonio Marco, interesting idea, tried it, now I'm getting some 'meaningful' debugging info, Timeout period expired without completion of C:\Windows\system32\cmd.exe I've set Timeout to 3 and 6

database encryption

2008-10-20 Thread Richard White
Hi i would really appreciate some expert opinions on the issue of encrypting a live database. we are using a mysql database and when we do backups we will be using third party encryption software to encrypt the database and store it in a secure location. however what do you do with the live

CSV Import - Update with Commas in the Content

2008-10-20 Thread Michael Grove
I am trying to figure out how to update a sql table using a CSV file that has commas in the data fields. The long and Short of it, is that we have a SEO company rewriting our keywords, meta descriptions and titles for our product database. We were able to build a simple CSV export so that they

Re: xml populated pdf forms and livecycle designer?? [FIXED]

2008-10-20 Thread Tony
actually, its not fixed :( i cannot get the values in the xml file to show up in the pdf !!! wtf, how could they change this??? here is my xml: its SIMPLE... and if i try to create a connection it tells me the xml is invalid? ?xml version=1.0 encoding=UTF-8? xfa:data

re: CSV Import - Update with Commas in the Content

2008-10-20 Thread Ryan Stille
I'm not sure I understand. Are you saying they are providing you data that has delimiters within the data, but the data is not quoted? Like: [EMAIL PROTECTED],Joe,Smith,Joe, John Sons Inc. If so there is nothing you can do about that, they need to be properly quoting (with double quotes or

Re: CFexecute Tag

2008-10-20 Thread Dave Watts
Dave, the Allow interactive with desktop is only applicable to Local System account while I now set CF8 Server to use an XP user account for log on, hence, can't use it unless there's some manual approach, have you done anything like that for this option? You can set CF to run as SYSTEM

Re: database encryption

2008-10-20 Thread Dave Watts
however what do you do with the live database? You can't effectively encrypt the database itself. You could encrypt and decrypt field values from within CF, but that doesn't guarantee the security of your data, as the encryption key would be stored within your CF app. i don't know much about

Re: CSV Import - Update with Commas in the Content

2008-10-20 Thread Azadi Saryev
yes, you need to either change your export routine to enclose all 'fields' in double quotes, or change your export format to, say, tab-delimited file instead of comma-delimited. most databases have built-in routines and functions to automate import of data from text files, in which you can usually

Re: database encryption

2008-10-20 Thread Eric Haskins
You could always use an nChiper Encryption Appliance which holds your keys. You would need to then make a request to the ncipher to encrypt then store the response in a DB. These are PCI compliant Appliances but they come at a $$$ and you would need 2 in case one fails Eric Haskins On Tue, Oct

Re: Jr. to mid level Cold Fusion Developer Required

2008-10-20 Thread Phillip M. Vector
Just got off the phone with this guy. He says that he's hiring for his client and that they hire through tek systems (a temp agency). I may have misunderstood, but be warned. This may be a case of a client getting a temp company and the temp company passing it along to his company and then him

Re: Jr. to mid level Cold Fusion Developer Required

2008-10-20 Thread Justin Edwards
I've worked through tek systems before, they treated me well. On Oct 20, 2008, at 12:17 PM, Phillip M. Vector wrote: Just got off the phone with this guy. He says that he's hiring for his client and that they hire through tek systems (a temp agency). I may have misunderstood, but be warned.

Re: Jr. to mid level Cold Fusion Developer Required

2008-10-20 Thread Phillip M. Vector
Oh.. I'm not saying tek systems is a bad company or anything. I'm just saying that it seems this recruiter is working for tek systems as a contractor.. So it's like having a middleman (tek systems) and putting an additional man in the middle (ECore).. Nothing bad... Just strange. :) Justin

RE: Jr. to mid level Cold Fusion Developer Required

2008-10-20 Thread Rich Baker
Unfortunately, they tend to farm a lot of their work out to other firms (as do other firms). Should definitely ask if the end client is their direct client - If no, think twice because you'll be getting a much lower rate. Not to mention the fact that they are 2 tiers down and don't manage the

RE: Jr. to mid level Cold Fusion Developer Required

2008-10-20 Thread Parikh, Raj
I am looking for a Cold Fusion Developer for a 4 month assignment in Chicago if any one is interested. Please contact me at [EMAIL PROTECTED] Thanks Raj Parikh Sr Technical Recruiter CDI Business Solutions Phone: 248 786 5917 Fax: 248 786 5717 Toll Free: 1-800-555-4234 www.cdicorp.com