RE: improved js for form validation?

2007-03-08 Thread Leitch, Oblio
It does not - because CF passes along a copy of the value and not the object.value, it does not alter what's actually in the form. That's why it's such a problem. -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 3:29 PM To: CF-Talk

populate a javascript var with cfoutput?

2007-03-08 Thread cftalk_list
I need to dynamically populate addresses as shown below: script type=text/javascript var addresses = new Array(Redwood City, CA, Palo Alto, CA, Santa Clara, CA, San Jose, CA, Sunnyvale, CA, Mountain View, CA, Milpitas,CA); /script I've been trying to use listappend but keep running into the

Re: improved js for form validation?

2007-03-08 Thread Josh Nathanson
It does not - because CF passes along a copy of the value and not the object.value, it does not alter what's actually in the form. That's why it's such a problem. Well, that certainly blows. In cfforms' defense, I've used it to validate email addresses, and just to validate that a field

RE: populate a javascript var with cfoutput?

2007-03-08 Thread Andy Matthews
Simple way of doing this would be to concatenate the addresses together in SQL, then use ValueList to populate the javascript: cfquery name=getAddresses SELECT Name + ', ' + address + ', ' + city + ', ' + state AS address FROM yourTable /cfquery cfset addresslist =

Re: CFCs and the THIS scope

2007-03-08 Thread joe smiths
Because you're posting to temp.cfc directly, not the temp.cfc you've loaded into the session scope. Could you expand on that? How would one post to the session scoped temp.cfc via a form? ~| Macromedia ColdFusion MX7 Upgrade

Re: populate a javascript var with cfoutput?

2007-03-08 Thread Jake Pilgrim
Generic way of doing this would be: cfoutput query=qry_getaddresses cfset arrayIndex = qry_getAddresses.recordcount - 1 / addresses[#arrayIndex#] = '#name#, #address#, #city#, #state#'; /cfoutput ya it clutters up your display page code, but it works. It also makes debugging any

Re: CFCs and the THIS scope

2007-03-08 Thread joe smiths
Because you're posting to temp.cfc directly, not the temp.cfc you've loaded into the session scope. How would one post to the session scoped temp.cfc via a form? ~| Deploy Web Applications Quickly across the enterprise with

CFGRID

2007-03-08 Thread Trying2 Survive
I have a client who is griping that they have to click on the arrow on the cfgrip(flah format). Is there a way to allow them to click on the folder to open instead of the arrow? All help is appreciated. Thanks, SC ~|

RE: CFCs and the THIS scope

2007-03-08 Thread Dave Watts
How would one post to the session scoped temp.cfc via a form? You couldn't, directly. You would have to post to another page, which could send data to your session object. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber

Re: CFCs and the THIS scope

2007-03-08 Thread joe smiths
Wow. Well then, since this.tableName=arguments.tableName will simply never work as intended (as in the update1 method) I will stick to session.temp.tableName=arguments.tableName (as in the update2 method). Have to admit I find it shocking that a THIS scoped variable cannot be updated within

Re: CFCs and the THIS scope

2007-03-08 Thread joe smiths
Because you're posting to temp.cfc directly, not the temp.cfc you've loaded into the session scope. When the cfm is loaded, a session scoped component is instantiated. When the update2 form is submitted, the session scoped component property tableName is updated as expected. The odd part (to me

cftree question

2007-03-08 Thread Trying2 Survive
I have a client who is griping that they have to click on the arrow on the cftree(flah format). Is there a way to allow them to click on the folder to open instead of the arrow? All help is appreciated. Thanks, SC ~| Deploy Web

RE: CFCs and the THIS scope

2007-03-08 Thread Ian Skinner
Have to admit I find it shocking that a THIS scoped variable cannot be updated within the enclosing component by using a simple assignment statement... Thanks to all for your replies. It can be done that way. What you are not realizing is that when you post directly to the CFC url by the

Re: CFCs and the THIS scope

2007-03-08 Thread Josh Nathanson
Have to admit I find it shocking that a THIS scoped variable cannot be updated within the enclosing component by using a simple assignment statement... That would be shocking, but it's not the problem you're having. Suffice to say that generally speaking, you don't want to post directly to a

Re: cfforms - Please stop breaking my validation

2007-03-08 Thread Will Tomlinson
AMEN! ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272077

Re: CFCs and the THIS scope

2007-03-08 Thread Rick Root
Essentially, you should *NOT* ever post to a cfc. What you do is post the page to itself (or another cfm) and then pass the arguments to the method like so: cfset results = session.temp.myMethod(arg1,arg2...) Rick ~|

RE: CFCs and the THIS scope

2007-03-08 Thread Ian Skinner
Essentially, you should *NOT* ever post to a cfc. But I like posting to my cfc's sometimes. I just understand I am creating one-off controller type cfcs when I do this. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | -

RE: CFCs and the THIS scope

2007-03-08 Thread Russ
Isn't web services all about posting to CFC's? Am I missing something here? Russ -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 5:32 PM To: CF-Talk Subject: RE: CFCs and the THIS scope Essentially, you should *NOT* ever post to a

SQL Server Database connection

2007-03-08 Thread Paul Dormody
I have looked at the Adobe help files and Forta's blog about setting up a MS SQL datasource in CF MX 7. I have followed all of the suggestions and still cannot get a connection. I need help. Thank you, Paul Dormody [EMAIL PROTECTED] 651-208-9600

DST Time Zone Java Patch For ColdFusion MX - Help needed

2007-03-08 Thread Jonathan Block
I found this technote: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=d2ab4470 Describing looming problems I'm going to have with ColdFusion dates. I don't understand the solution. They tell you to upgrade the ColdFusion MX/JRun applications with the 1.4.2_11 JVM.. Although there is a

RE: DST Time Zone Java Patch For ColdFusion MX - Help needed

2007-03-08 Thread Jones Eric R Ctr 8 AF Det 1/AFNOC
I've posted a blog on this: http://www.sitepoint.com/blogs/2007/03/04/are-your-clocks-cleaned/ As well as lot of other people :) http://www.sphere.com/search?q=coldfusion+dstdatedrop=0lang=allsortby =rel ---_ Eric R. Jones

CF Upgrades

2007-03-08 Thread Jeffrey Polaski
Does any one know when the next CF upgrade is supposed to be released? It's time for us to renew out license for another year, and I'd rather not if there isn't going to be a decent upgrade. Jeff Polaski Webmaster Office of Research Office of Graduate Studies University of California,

Web Service Consuming error

2007-03-08 Thread Carlos Paez
Hi, I am trying to call a 'resetPassword' method, a resetPasswordRequest message contains an element of UserReset. Inside UserReset there is an element userId of type UserIdType it is required, but NULLABLE. The types defined in the WSDL are: complexType name=UserIdType simpleContent

RE: CF Upgrades

2007-03-08 Thread Ian Skinner
CF 8 is due out before the end of the year, but as Ben Forta puts it, at this time that may be December 30th. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Sudoku | | | - C code. C code run. Run code

Re: improved js for form validation?

2007-03-08 Thread Claude_Schn�egans
Why not just place some decent server side stuff on it? Probably because detecting errors before the form is submitted makes form much more user friendly. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration

RE: CF Formatter needed

2007-03-08 Thread Paul Vernon
just out of curiosity...what's the going rate for bug #145 (i -hate- that one) :) Charlie, I've submitted a patch for #145 tonight :) Looks good to me but Mark has the last say so :) Paul ~| ColdFusion MX7 and Flex 2

Doug Brown Imposter....

2007-03-08 Thread Doug Brown
Ok there can only be one Doug Brown on the list, and I was here first!! I almost do not know who I am anymore. Did Doug post that or did Doug post that or did I post that or did he post that. Arggg... :-) Doug Brown

Please put me out of my misery (was How to expire a page?)

2007-03-08 Thread Victor Moore
Can please somebody give me a hint what am I missing here. Just to recap: I have an application protected by a login page. In the main index.cfm of the application in the header I have the following: meta http-equiv=expires content=Mon, 06 Jan 1990 00:00:01 GMT / meta http-equiv=pragma

Re: Doug Brown Imposter....

2007-03-08 Thread Rick Root
Get a less popular name, like John Smith or something ;) On 3/8/07, Doug Brown [EMAIL PROTECTED] wrote: Ok there can only be one Doug Brown on the list, and I was here first!! I almost do not know who I am anymore. Did Doug post that or did Doug post that or did I post that or did he post

Re: CFCs and the THIS scope

2007-03-08 Thread Rick Root
On 3/8/07, Russ [EMAIL PROTECTED] wrote: Isn't web services all about posting to CFC's? Am I missing something here? If you think that's the same thing, then yes, you are =) -- I'm not certified, but I have been told that I'm certifiable... Visit http://www.opensourcecf.com today!

Re: Doug Brown Imposter....

2007-03-08 Thread AJ Mercer
or Dan how are you with religious conspiracy theories? On 3/9/07, Rick Root [EMAIL PROTECTED] wrote: Get a less popular name, like John Smith or something ;) On 3/8/07, Doug Brown [EMAIL PROTECTED] wrote: Ok there can only be one Doug Brown on the list, and I was here first!! I almost

Re: Text Similarity Algorithm

2007-03-08 Thread cf user
Post your email and will contact you directly. Thank you so much for the link! That was exactly what I was looking for. Let me know, if you need a CFX tag for this ($$). Since I've never tried creating my own CFX tag before, I'd be interested. How much are you asking?

Re: Please put me out of my misery (was How to expire a page?)

2007-03-08 Thread Ben Doom
I'm stretching a bit, but what about using JavaScript to either clear the history or close the window? --Ben Doom Victor Moore wrote: Can please somebody give me a hint what am I missing here. Just to recap: I have an application protected by a login page. In the main index.cfm of the

Re: CFCs and the THIS scope

2007-03-08 Thread joe smiths
...What you are not realizing is that when you post directly to the CFC url by the action property of the form tag, you are creating a new instance of the object... Bingo. That was indeed my problem. In the docs it is written that you may only transiently invoke component methods via form

Re: SQL Server Database connection

2007-03-08 Thread Andrew Scott
Is it MS SQL 200 or MS SQL 2005? If 2005, the tcp/ip port 1433 is not switched on by default. On 3/9/07, Paul Dormody [EMAIL PROTECTED] wrote: I have looked at the Adobe help files and Forta's blog about setting up a MS SQL datasource in CF MX 7. I have followed all of the suggestions and

RE: Smart Names implementation

2007-03-08 Thread Jim Davis
-Original Message- From: Tom McNeer [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 10:09 AM To: CF-Talk Subject: Re: Smart Names implementation Jake, As I say, fuzzy name matching is a very large-scale software challenge that people have thrown millions of dollars

Anyone develop with Linux as an OS?

2007-03-08 Thread cftalk_list
Hey everyone, I've been playing with Ubuntu on a laptop for fun, and it seems way more user friendly than any Linux distros I messed with in the past. After a good thrashing I took recently on a 4 year old XP install as a workstation, Ubuntu looks attractive. Anyone use CF on Ubuntu with great

Re: SOLVED Please put me out of my misery (was How to expire a page?)

2007-03-08 Thread Victor Moore
I think I solved the issue by adding server side headers: cfheader name=cache-control value=no-cache, no-store, must-revalidate / cfheader name=cache-control value=post-check=0, pre-check=0 / cfheader name=expires value=#GetHttpTimeString(Now())# cfheader name=last-modified

Re: Anyone develop with Linux as an OS?

2007-03-08 Thread Barney Boisvert
I've been using Linux (CentOS) as my primary development platform for years and never had any real issues. If you're embracing the Java/JEE model of platform neutral code, then you shouldn't have issues, but if you're not (i.e. using CFEXECUTE, native libraries, OS features, etc), then you'd

Re: Anyone develop with Linux as an OS?

2007-03-08 Thread Jordan Michaels
Most of our developers use OpenSuSE with CFEclipse, but we do have one who uses Kubuntu (The KDE version of Ubuntu). We love it. =) Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Blue Dragon Alliance Member [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hey everyone,

RE: Anyone develop with Linux as an OS?

2007-03-08 Thread Eric Roberts
I tried that and had lotsof problems. Ended up spending more time caring for the OS than I did developing...I am back to windows now... Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, March 08, 2007 6:58 PM To: CF-Talk Subject: Anyone develop

Re: A Few Design Pattern Questions

2007-03-08 Thread Dinner
On 3/7/07, Jochem wrote: Robert Rawlins said: The first element that confuses me is this use of 'views' and how I should be applying them to me project. Should I be creating a view for every page in my application, or is the idea that each view forms a 'widget' and then pages can be

RE: CF Report Builder

2007-03-08 Thread Andrew Scott
Or another way would be to pass in parameters, then use those parameters to do conditional stuff. But as mentioned you could also do the condition before hand crfreport Select * from Table cfif cond1 eq 0 . /cfif /cfreport Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd.

Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Deepak Gupta
HI I am getting this error Data truncation: Truncated incorrect DOUBLE value: 'Value1' My query is cfloop query=GetColumnNames cfquery name=Query1 datasource=

Re: Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Ben Doom
Offhand, if arr2 contains values, you should use single quotes around it, not double quotes. --Ben Doom Deepak Gupta wrote: HI I am getting this error Data truncation: Truncated incorrect DOUBLE value: 'Value1' My query is

Re: Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Deepak Gupta
I tried using single quotes too. Still it doesnt work DG Offhand, if arr2 contains values, you should use single quotes around it, not double quotes. --Ben Doom Deepak Gupta wrote: HI I am getting this error Data truncation: Truncated incorrect DOUBLE value: 'Value1' My query is

Re: Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Ben Doom
Wait. What is actually stored in arr2? It looks like you're trying to store the value Value1 in a double. Try dumping arr2 -- you may be getting value names instead of values. --Ben Deepak Gupta wrote: I tried using single quotes too. Still it doesnt work DG Offhand, if arr2 contains

Re: Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Deepak Gupta
I dumped arr2 and i got the value D which is correct. But somehow its recognizing it as double . I dont understand my column name is actually firstName and the value i am passing is 'derek'. I cut down to D even then it gives me error. Its the D value that i am setting using an update query.

Re: SOLVED Please put me out of my misery (was How to expire a page?)

2007-03-08 Thread Matt Quackenbush
Wow. Thanks for posting the solution. I had been working with the exact same issue, and had used everything you just posted except for GetHttpTimeString(). Nothing I tried was working either, but your find is working beautifully for me as well. Matt I think I solved the issue by adding

Re: Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Ben Doom
Are you sure that the value in arr1 which lines up with D points to a char, varchar, etc.? Try removing the cfquery from around the query to show what is actually being produced. Also, check your schema to make sure that the columns are correctly defined. --Ben Doom Deepak Gupta wrote: I

Re: Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Deepak Gupta
This is what i get when i output the query Update tableName SET FirstName='D' AND LastName='G' and firstName and lastName are varchar in my table that too varchar(256) DG Are you sure that the value in arr1 which lines up with D points to a char, varchar, etc.? Try removing the cfquery from

RE: cfforms - Please stop breaking my validation

2007-03-08 Thread Mark Henderson
Will Tomlinson wrote on Thursday, March 08, 2007 9:28 AM about some advice to the CF Team regarding validation issues Andy Matthews responded on Friday, 9 March 2007 5:55 a.m. Other than for personal satisfaction, what does it matter if your page validates? Does it validate if you take that

Re: Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Ben Doom
Is the datasource empty in the live version, or did you remove it to post here? --Ben Doom Deepak Gupta wrote: HI I am getting this error Data truncation: Truncated incorrect DOUBLE value: 'Value1' My query is ~|

Re: Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Deepak Gupta
I removed it to post here. DG Is the datasource empty in the live version, or did you remove it to post here? --Ben Doom Deepak Gupta wrote: HI I am getting this error Data truncation: Truncated incorrect DOUBLE value: 'Value1' My query is

Re: Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Deepak Gupta
Is it some mysql issue??? DG Is the datasource empty in the live version, or did you remove it to post here? --Ben Doom Deepak Gupta wrote: HI I am getting this error Data truncation: Truncated incorrect DOUBLE value: 'Value1' My query is

Re: cfforms - Please stop breaking my validation

2007-03-08 Thread Dana Kowalski
And what do you tell a customer who wants to see a shiny w3c button on their page like so many other web sites? They don't want to usually hear oh sorry ColdFusion can't do that if you I any one of these dozen tags etc /shrug. It gives a bad impression on both the language, and the developer in

Re: Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Deepak Gupta
Can anyone help me with this issue Is it some mysql issue??? DG My query is ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial.

Re: Data truncation: Truncated incorrect DOUBLE

2007-03-08 Thread Joel
its Friday afternoon.. almost beer time.. my brian is not working but... Update tableName SET FirstName='D' AND LastName='G' shouldnt the update statement be Update tableName SET FirstName='D', LastName='G' Joel - Original Message - From: Deepak Gupta [EMAIL PROTECTED] To: CF-Talk

Data truncation:

2007-03-08 Thread Deepak Gupta
Hi I am getting this error Data truncation: Truncated incorrect DOUBLE value from query cfloop query=GetColumnNames cfquery name=Update datasource=Application.dsn#

Re: Data truncation:

2007-03-08 Thread Deepak Gupta
got it instead of AND i have to use comma. Hi I am getting this error Data truncation: Truncated incorrect DOUBLE value from query cfloop query=GetColumnNames cfquery name=Update

Java to CF translation

2007-03-08 Thread Duncan
I am working on a small page for our intranet, printing out a complete history of a repository history. I have been taking some leaves out of CFDIFF (Thanks to Rick Osborne for doing lots of the hard yards!) and rolling my own bits. I have had some reasonable success with SVNKit, but this bit has

ColdFusion IMMEDIATE Openings in Orlando, FL!!!

2007-03-08 Thread Michael Croy
We are currently looking for a two CF programmers who would be interested in working with us on a new project which involves control of and deployment content to remote devices such as Internet Kiosks, as well as the development of a lottery/incentive web site We are not concerned about

<    1   2