Search the web
Sign In
New User? Sign Up
CFTalk · ColdFusion Talk (CFTalk) List archives
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 140942 - 140971 of 154346   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
140942
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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
3:40 pm
140943
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',...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
3:42 pm
140944
Follow up... updates works, selects work. I don’t know why the insert is failing. ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
3:50 pm
140945
Something like this? <cfif someObject.validateTheForm(argumentCollection = form) > <cfset variables.foo = anotherObject.doSomethingWithForm(argumentCollection...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
4:02 pm
140946
AH.... I exported the table and re-imported it and the identity switch got changed to "No". Now it works. ... ...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
4:11 pm
140947
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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
4:29 pm
140948
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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
4:55 pm
140949
Sorry, hungover ... Should read: <cffunction method="init" ...> <cfargument name="adminEmail" .../> <cfset _adminEmail = arguments.adminEmail /> <cfreturn this...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
4:57 pm
140950
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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
5:00 pm
140951
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#...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
5:25 pm
140952
... 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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
6:03 pm
140953
... 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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
6:11 pm
140954
... 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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
6:19 pm
140955
... 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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
6:42 pm
140956
... 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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
7:00 pm
140957
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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
7:50 pm
140958
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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
8:10 pm
140959
... (Purely from a quick google..) what about checking the folder structure mentioned here? http://support.microsoft.com/kb/318785 You could get the windows...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
9:02 pm
140960
Hi all! I've found a java equivalent to PHP pack('H*', function Here it is: <code> String myHexStr = "D0A0D0B0D0B7D0BCD0B5D180D18B"; //some string in Russian,...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
9:26 pm
140961
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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
9:50 pm
140962
So.. This being a CF list... What does PHP pack do? and this isn't a CF equivalent, it's a javascript equivalent. ... ...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
10:02 pm
140963
... Yeah, that's one approach, I now have some other ideas as well, thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe®...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
10:22 pm
140964
... Let us know what you end up with. In case I ever need to do this in the future ;-) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
10:27 pm
140965
... 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...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
10:33 pm
140966
Check the registry. ..:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com ... From: C S [mailto:cfSearching@...] Sent:...
archive@...
mdinowit
Offline Send Email
Nov 1, 2008
11:13 pm
140967
... Unfortunately, I did not know how to read registry from dos with xp. Thanks for that. Learn something new every day .. C:\>reg query...
archive@...
mdinowit
Offline Send Email
Nov 2, 2008
12:01 am
140968
... 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...
archive@...
mdinowit
Offline Send Email
Nov 2, 2008
1:05 am
140969
... H> KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall ... Agreed. The registry is usually more reliable. (I just did not know how to do...
archive@...
mdinowit
Offline Send Email
Nov 2, 2008
2:16 am
140970
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...
archive@...
mdinowit
Offline Send Email
Nov 2, 2008
3:01 am
140971
I think I see what you're saying. I'll have to give it some thought and work on implementation. Thanks. Rick ... ...
archive@...
mdinowit
Offline Send Email
Nov 2, 2008
4:15 am
Messages 140942 - 140971 of 154346   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help