Hi, all... Can form variables be passed around between a calling page and multiple cfc's? I have a form with data I want to validate, then generate an email...
What is up with this? How can an insert fail with this error? [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot insert the value NULL into column 'PageID',...
Hi, Dominic and thanks for the reply... The second option sounds more like what I'm wanting to do. And while reading your response, it occurred to me that if I...
Personally, I'd prefer the first approach. The validation method should only be concerned with validating the form; it should not know what to do if the form...
Taking a step back, why are you using a form validation CFC? Your goal is that you want to validate a form then send an email. So the simple way to do this is...
Well if the database is there but CF says it isn't... I'd make sure you are using the datasource that you think you are. :-) Dump #application.cfg.msgboarddsn#...
... Should read: As for 'sharing' variables between *methods* I picked up on that one. :o) Thanks for the feedback. I'll give it some thought and see what...
... No specific reason for using a CFC, except that I can put all my form validation routines into a single CFC easily enough. My normal practice is to have a...
... The variables scope should not be used for what Rick was suggesting but 'avoid[ing] the variables scope inside of a CFC..' in general is not correct. What...
... I think best design would have both your validation() and email() methods entirely ignorant of each other. They do what they say they do - one validates...
... That's exactly the approach I was taking when I started this thread. I was just unsure of whether each independent CFC called would have access to the...
I'm trying to figure out if there's a way to programmatically determine if a computer (with Windows OS including XP home/pro, Vista) has .NET Framework 2.0...
Rick, Basic form validation is along the lines of "was the first name entered" and "is the length of the first name GT 0" are often specific to a single form...
... (Purely from a quick google..) what about checking the folder structure mentioned here? http://support.microsoft.com/kb/318785 You could get the windows...
Hi all! I've found a java equivalent to PHP pack('H*', function Here it is: <code> String myHexStr = "D0A0D0B0D0B7D0BCD0B5D180D18B"; //some string in Russian,...
You're right, Mike... I'm just using the CFC as more of a function library, not so much from an OOP standpoint. (I only learned to use CFC's effectively in...
... Yeah, that's one approach, I now have some other ideas as well, thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe®...
... Let us know what you end up with. In case I ever need to do this in the future ;-) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ...
... In PHP Pack() is a complicated way of doing the equivalent of this in CF: toBinary(toBase64("my string")) What's added by pack() beyond that CF example is...
... Bobby is right and your approach is nice as well. And if I need to check multiple programs, I may try the following: regedit -e installedprograms.log...
... H> KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall ... Agreed. The registry is usually more reliable. (I just did not know how to do...
Regarding this.validate, I'm writing abstractly to refer to validating an object's data within the object as opposed to sending it out to a separate validation...