Re: OnEnter issues

2007-06-12 Thread Dinner
I don't know if there is an onenter input attribute... that might be a problem. In your case tho, I think you could just do this, and fake the enter key listener (since it's in a form, enter is bound by default to submit). I think. form onsubmit=entermessage();return false; Which I hope would

Re: How many CF developers does it take to manage a site ???

2007-06-12 Thread Robertson-Ravo, Neil (RX)
Yeah, same with us, although we have over 300 independent sites they currenty all share the same code base etc so we manage one code base and 300 sites within our web farm. So, yes we manage 300 but in all reality we may not touch any of them since launch: This e-mail is from Reed Exhibitions

Re: What's the easiest way to do this?

2007-06-12 Thread James Holmes
Yes, this is a task well suited to AJAX. Perhaps look at AjaxCFC (the JQuery version) or mxAjax so that you get an integrated CF solution out of the box. As I use mxAjax, I'd use the mxData component to run a CFC method that returns values based on those dropdowns; then I'd write the new data

Re: OnEnter issues

2007-06-12 Thread Robertson-Ravo, Neil (RX)
I think a better practice would be to not use the enter button. What Ajax framework if any are you using? Most should have a watcher / observer event type system to monitor changes to a specific element. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey,

Re: Using sessions with Flash Remoting

2007-06-12 Thread James Holmes
Well onSessionStart and onSessionEnd must go in Application.cfc. This will need to go in a folder somewhere above the files that your remoting calls are hitting. I assume you're handling the cookies for sessions somewhere in your client code? On 6/12/07, John Robinson [EMAIL PROTECTED] wrote: I

Re: OnEnter issues

2007-06-12 Thread Andrew Scott
Actually you are right I missed that, the event is actually onKeyDown or onKeyUp I believe.. On 6/12/07, Dinner [EMAIL PROTECTED] wrote: I don't know if there is an onenter input attribute... that might be a problem. In your case tho, I think you could just do this, and fake the enter key

Re: OnEnter issues

2007-06-12 Thread Andrew Scott
AJax is javascript... So unless you want to submit the form, then no you do not need the form. Which is handy because then you do not need to override or cancel the onSubmit. On 6/12/07, Phillip M. Vector [EMAIL PROTECTED] wrote: Andrew Scott wrote: I am not sure what your question is

Re: embedded cfml in system messaging...

2007-06-12 Thread Tom Chiverton
On Monday 11 Jun 2007, D F wrote: What would the advantage be with transmorphing CF tags to another language ( ie % ). You need to separate code that needs to run when the page is displayed vs. code that is run to generate that code. couldn't it just populate a textarea and use JS to

Re: OT: CSS Question

2007-06-12 Thread Mark Henderson
Rick Faircloth wrote: Hi, all... I'm wondering if anyone knows why and what to do about aligning a div background image to the right top corner of a div. IE 7 and FF display it as expected...IE 6 just leaves it in the *left* upper corner. Here's the code: div class=section

Re: OT: CSS Question

2007-06-12 Thread Andrew Scott
I will have to agree, works here too. but one thing I have also noticed is that in some case of heritance of styles, the image class needs to have margin-left: auto; and margin-right: auto; I have also found that in fireDebug, if you start to disable inherit css elements you can quickly identify

RE: OT: CSS Question

2007-06-12 Thread Rick Faircloth
Hi, Andrew... check out my response to Mark Mik for the explanation I came upon for the problem. Let me know if you don't see it. Rick -Original Message- From: Andrew Scott [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 5:29 AM To: CF-Talk Subject: Re: OT: CSS Question I will

RE: OT: CSS Question

2007-06-12 Thread Rick Faircloth
Oh, and I meant to give you and Mik a link to show what I'm working on... http://hfumc.whitestonemedia.com Looks fine in IE7 and FF2, which support png transparency, but not in IE6 where I have to use the AlphaImageTransparency filter... :o( Rick -Original Message- From: Mark

RE: OT: CSS Question

2007-06-12 Thread Rick Faircloth
I may just have to give up my gradient background image for the mid-section and go to a white background and just give my images a white background and avoid the AlphaImageTransparency filter, altogether. That way I can CSS positioning on the background element... Rick -Original

RE: OT: CSS Question

2007-06-12 Thread Rick Faircloth
Hi, Mark Mik... I figured out what was causing the problem after I posted. I'm using the Microsoft AlphaImageLoader filter to create a pseudo transparency for the .png and the filter actually creates a new image, which is not a true background image, therefore the typical CSS background

Odd session behavior

2007-06-12 Thread James Smith
Our production site is having some issues. We are getting some feedback that sessions are going AWOL. Some people are unable to add products to their cart, some can but they quickly vanish leaving them with empty carts after 30-60 seconds. Everyone here has tried and our carts last for weeks with

RE: Odd session behavior

2007-06-12 Thread Robert Rawlins - Think Blue
James, I've just played around and everything seemed to work a real charm, changed quantities, deleted items, added new ones and everything works great for me, nice site *:o) I'm running IE7, Rob -Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: 12 June 2007

Re: What's the easiest way to do this?

2007-06-12 Thread Will Tomlinson
As I use mxAjax, I'd use the mxData component to run a CFC method that returns values based on those dropdowns; then I'd write the new data into the last dropdown (perhaps with the DOM or with innerHTML). Thanks james. I'll investigate this. Will

Re: Odd session behavior

2007-06-12 Thread Tom Chiverton
On Tuesday 12 Jun 2007, James Smith wrote: Link: http://www.uwish.co.uk Seems fine, Firefox 2.0/Linux. -- Tom Chiverton Helping to appropriately transition B2B niches on: http://thefalken.livejournal.com This email is sent for and on

Next meeting of the Capitol Hill User Group: 6/19 3PM

2007-06-12 Thread Blum, Jason \(SAA\)
Capitol Hill User Group (CHUG) Organizational Meeting and ColdFusion 8 6/19/07 3:00 PM Senate Dirksen Office Building - Room 192 In our next meeting we'll deal with some organizational issues, and we want to hear from YOU so we make sure the group best meets your needs. We'll also demo some of

Re: What's the easiest way to do this?

2007-06-12 Thread Will Tomlinson
James, Will this work if I have multiple form fields that need to be passed to the cfc? What's mixing me up is the source attribute. Here's what I'm passing. 3 items, from 3 formfields. !--- Start ajaxcfc call --- cfoutput script type='text/javascript'

Re: OnEnter issues

2007-06-12 Thread Phillip M. Vector
That did it! THANK YOU! :) Dinner wrote: I don't know if there is an onenter input attribute... that might be a problem. In your case tho, I think you could just do this, and fake the enter key listener (since it's in a form, enter is bound by default to submit). I think. form

Re: OnEnter issues

2007-06-12 Thread Phillip M. Vector
I'm not using any specific framework. My knowledge of AJAX is about *looks at watch* 2 days worth. :) It's for a personal website right now and I hope to get a book about it soon to get more advanced. Robertson-Ravo, Neil (RX) wrote: I think a better practice would be to not use the enter

Re: What's the easiest way to do this?

2007-06-12 Thread James Holmes
Instead of using the mxselect use mxdata - this will let you pass in each dropdown value as an argument to your CFC and get a return you can use to build the last dropdown. Check my blog or the mxdata example for some more details on mxdata. If you have more problems with it let me know and I'll

Large CSV File

2007-06-12 Thread Les Mizzell
I've got a vendor that's going to FTP product data files directly into a folder on a site. From there, I need to be able to run several different queries on this to come up with a list of PIN numbers which then get used elsewhere. I got my first glimpse at one of the 'files' yesterday. It's a

Re: A Date Problem that's got me tearing out my hair!

2007-06-12 Thread Les Mizzell
AJ Mercer wrote: could there be a database trigger on the table that is manipulating the date? Nothing. It's a straight insert. It *has* to be something related to the two different server locations, but I'll be darned if I can figure it out. For now, I'm just going to have to use DateAdd to

Re: Large CSV File

2007-06-12 Thread Phillip M. Vector
Is it all brand new records? or will most of the data after the first be already in there and need to be updated? I learned that the best way to parse it is to set up a upload once (using cffile) and then every week, load the csv file into an array and then compare it with the data already

RE: Large CSV File

2007-06-12 Thread Ben Forta
For that much data I am not sure I'd want it all loaded into CF vars, nor passed back and forth using lots and lots of queries. You may be better off loading the entire thing into an import table in your database, and then using process on thee DBMS to do the synchronization and/or analysis

OT:Great CSS Selector test suite

2007-06-12 Thread Andy Matthews
Evaluates the speed of the various JS libraries at querying the dom. http://ajaxian.com/archives/slickspeed-css-selector-testsuite Interesting results. Andy Matthews Senior ColdFusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax:

Re: OT:Great CSS Selector test suite

2007-06-12 Thread Zaphod Beeblebrox
and then try running it with FF, IE, and now Safari. Safari is definitely a rump kicker in the javascript dept. On 6/12/07, Andy Matthews [EMAIL PROTECTED] wrote: Evaluates the speed of the various JS libraries at querying the dom.

Re: Large CSV File

2007-06-12 Thread Crow T. Robot
DTS bulk import into SQL Server, then query away as usual. DTS is incredibly fast, and there are tutorials (google pengowrks and dts) on how exactly to set it up using stored procedures and CF. On 6/12/07, Les Mizzell [EMAIL PROTECTED] wrote: I've got a vendor that's going to FTP product data

Re: OT:Great CSS Selector test suite

2007-06-12 Thread James Holmes
Very interesting - on FF, Prototype was the only one without an error and it was nearly as quick as MooTools. On 6/12/07, Andy Matthews [EMAIL PROTECTED] wrote: Evaluates the speed of the various JS libraries at querying the dom. http://ajaxian.com/archives/slickspeed-css-selector-testsuite

Re: OT:Great CSS Selector test suite

2007-06-12 Thread Rey Bango
Yeah. It always seems to be the hardest to work with and every library seems to have issues with it at some point. I wish Apple would get off their rears and help out with this. Its shameful when IE performs better than Safari. Rey Zaphod Beeblebrox wrote: and then try running it with FF,

RE: Large CSV File

2007-06-12 Thread Robert Rawlins - Think Blue
Eek! A file of that size and complexity needs to be handled by the database, putting it into an array would be a nightmare. It would be fine for smaller files, but something that size would probably push the server over. Les, what database are you using? *Crosses fingers he says something

Re: Large CSV File

2007-06-12 Thread Qasim Rasheed
Another option will be to use ODBC file connection if you are on windows. HTH On 6/12/07, Robert Rawlins - Think Blue [EMAIL PROTECTED] wrote: Eek! A file of that size and complexity needs to be handled by the database, putting it into an array would be a nightmare. It would be fine for

Re: Large CSV File

2007-06-12 Thread Phillip M. Vector
Yeah. After I hit send, I realized my mistake. :) I stand corrected. Robert Rawlins - Think Blue wrote: Eek! A file of that size and complexity needs to be handled by the database, putting it into an array would be a nightmare. It would be fine for smaller files, but something that size

Re: OT:Great CSS Selector test suite

2007-06-12 Thread Rey Bango
Yeah. The PT have made some tremendous improvements in DOM querying in v1.5x. Rey... James Holmes wrote: Very interesting - on FF, Prototype was the only one without an error and it was nearly as quick as MooTools. On 6/12/07, Andy Matthews [EMAIL PROTECTED] wrote: Evaluates the speed of

Re: Large CSV File

2007-06-12 Thread Les Mizzell
Les, what database are you using? *Crosses fingers he says something decent :-D MySQL I really see no way to do anything with this without doing a database import first. What's going to make it interesting is that the file is named according to date, so it will have a different name each

Form strangeness

2007-06-12 Thread Charles Sheehan-Miles
Hello all, Quick question, I'm wondering if anyone has ever encountered this. I have a page that submits a form back to itself. I'm testing for the contents by doing a simple cfdump for the form scope. When I submit the form, the page reloads, and nothing submits. The form scope shows an

Re: Large CSV File

2007-06-12 Thread Tom Chiverton
On Tuesday 12 Jun 2007, Les Mizzell wrote: to date, so it will have a different name each time they ftp it over. I Just grab the newest file from the directory. -- Tom Chiverton Helping to completely unleash fourth-generation data on: http://thefalken.livejournal.com

RE: Large CSV File

2007-06-12 Thread James Smith
What's going to make it interesting is that the file is named according to date, so it will have a different name each time they ftp it over. I Shouldn't be a problem, just have them ftp it to an empty directory then use a cfdirectory to get the name of the only file in the directory, do your

Re: AJAX Libraries

2007-06-12 Thread Doug Bezona
I suggest experimenting with a few to see what best supports your needs. Folks have already given a lot of great suggestions. What I found, as I am working on a VERY AJAX intensive app right now, is that all of the libraries have strengths and weaknesses, and you may run into a deal breaker

Re: OT:Great CSS Selector test suite

2007-06-12 Thread Zaphod Beeblebrox
actually, on my tests, Safari was the fastest by far. IE was the performance dog. On 6/12/07, Rey Bango [EMAIL PROTECTED] wrote: Yeah. It always seems to be the hardest to work with and every library seems to have issues with it at some point. I wish Apple would get off their rears and help

OT: PHP and MYSQL install help.

2007-06-12 Thread Tony
hi there... i know, completely wrong forum however, since im a lifer here, and i know there are some gurus that can quickly help, please read... i can pay for 1 hour of time, if someone can please just help me. i need to get slideshowpro director working on my box. i have everything installed,

Re: OT:Great CSS Selector test suite

2007-06-12 Thread Rey Bango
Performance isn't the issue, its compatibility. Safari is consistently the hardest browser to accommodate for. Rey Zaphod Beeblebrox wrote: actually, on my tests, Safari was the fastest by far. IE was the performance dog. On 6/12/07, Rey Bango [EMAIL PROTECTED] wrote: Yeah. It always

Re: OT: PHP and MYSQL install help.

2007-06-12 Thread Tom Chiverton
On Tuesday 12 Jun 2007, Tony wrote: some gurus that can quickly help, please read... Well, just this once :-) i can pay for 1 hour of time, if someone can please just help me. If you can paste the error message in to here, you can probably skip paying :-) -- Tom Chiverton Helping to

Re: What's the easiest way to do this?

2007-06-12 Thread Will Tomlinson
Thanks a ton james! Let me ask you something. I've spent quite a bit of time integrating qForms into this page to get the organization dropdowns talkin' to one another. http://208.106.220.252/soundings/T8Report.cfm It all works perfectly. Choose test eval 1 in the eval dropdown. Then

RE: Large CSV File

2007-06-12 Thread Ben Forta
CF may be able to do the same thing, but the fact that Ben Forta didn't mention it doesn't bode well for that being true. It's doable, via the text ODBC driver, but it's slow, and the SQL is a pain. I still think the best option is to do this in the DBMS. --- Ben -Original Message-

Re: OT: PHP and MYSQL install help.

2007-06-12 Thread Tony
ok, here is a snippet of what i sent to the company who makes the app im trying to use... when i try to run this: http://localhost:81/ssp_director/mysql_test.php i get this: Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in

Re: What's the easiest way to do this?

2007-06-12 Thread James Holmes
Yes, that should work fine with mxAjax (or any of the other choices you have). It can even be triggered in the onChange on the tier5 box, just like the qforms scripts are triggered on the others. On 6/12/07, Will Tomlinson [EMAIL PROTECTED] wrote: Thanks a ton james! Let me ask you something.

Re: Large CSV File

2007-06-12 Thread Jake Pilgrim
A number of excellent database-based solutions have already been posted (and a database solution is probably preferred), but don't overlook CFHTTP. CFHTTP is actually quite good at parsing a CSV and spooling it into a CFQUERY. Depending on exactly what you want to do with your data, this may be

Re: OT:Great CSS Selector test suite

2007-06-12 Thread Jerry Johnson
looking at that test, firefox failed in exactly the same spot on each test as safari did. (11 failures for each, in the same tests for the same libraries) In what ways (truly interested) is Safari harder to accommodate for? On 6/12/07, Rey Bango [EMAIL PROTECTED] wrote: Performance isn't the

Re: What's the easiest way to do this?

2007-06-12 Thread Will Tomlinson
Yes, that should work fine with mxAjax (or any of the other choices you have). It can even be triggered in the onChange on the tier5 box, just like the qforms scripts are triggered on the others. oops, I meant mxAjax. I've been lookin' at so many the last day or so I can't keep'em straight. :)

Re: OT: PHP and MYSQL install help.

2007-06-12 Thread Tom Chiverton
On Tuesday 12 Jun 2007, Tony wrote: when i try to run this: http://localhost:81/ssp_director/mysql_test.php ... Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) in C:\wamp\www\ssp_director\mysql_test.php on line 4 MySQL Error: Can't

var keyword in cfcs ... needed for query names?

2007-06-12 Thread D F
When using the var keyword at the beginning of a cfc function, does one need to specify using var the variable names of any queries which are to be defined within that cfc function? ~| ColdFusion MX7 by AdobeĀ® Dyncamically

Re: What's the easiest way to do this?

2007-06-12 Thread Will Tomlinson
Yes, this is a task well suited to AJAX. Perhaps look at AjaxCFC (the JQuery version) or mxAjax so that you get an integrated CF solution out of the box. I'm hijackin' code from yer blog right now. Gonna try and make this work. I'll keep ya posted.

Re: Large CSV File

2007-06-12 Thread James Wolfe
If you have MS SQL at your disposal, load the stuff into a table and query that. You can use DTS (though that's harder to do on the fly) or you can simply use the BULK INSERT command which is super fast and is very easy. If you dont have a database available to you, you can use ASP (let the

Re: var keyword in cfcs ... needed for query names?

2007-06-12 Thread Brian Kotek
Absolutely. You must specify var scoping for ALL method local variables including query names and loop indexes. On 6/12/07, D F [EMAIL PROTECTED] wrote: When using the var keyword at the beginning of a cfc function, does one need to specify using var the variable names of any queries which are

Re: var keyword in cfcs ... needed for query names?

2007-06-12 Thread Dan Vega
Absolutely. Queries are usually the first thing overlooked and need to be var scoped because in the end it is just a variable holding complex data. Always var your query names to keep the data local to the function. Dan Vega http://www.danvega.org/blog/ On 6/12/07, D F [EMAIL PROTECTED] wrote:

Re: Form strangeness

2007-06-12 Thread koen darling
Be sure the form tag, which includes #actionpage# is within a cfoutput block. Take a look at the source of your form to be certain it's set to post to the right page. Koen ~| Create robust enterprise, web RIAs. Upgrade

Conditional SQL

2007-06-12 Thread James Smith
I currently have a (very complex) query in the format... SELECT Title, ProductID FROM aTable WHERE Stock 0 cfif len(trim(queryParams.productgroupid)) GT 0 AND ProductGroupID = #val(productgroupid)# /cfif I wish to move this query into MSSQL server for performance reasons, how do I go

Re: Conditional SQL

2007-06-12 Thread koen darling
Try this: DECLARE @productgroupid bigint; SET @productgroupid = 5; SELECT Title, ProductID FROM aTable WHERE Stock 0 AND (m.ProductGroupID = @productgroupid AND @productgroupid 0) Koen ~| ColdFusion MX7 and Flex 2

Re: var keyword in cfcs ... needed for query names?

2007-06-12 Thread D F
so a simple ... cfset var qryMyQuery = would do, or is there a better way? Absolutely. Queries are usually the first thing overlooked and need to be var scoped because in the end it is just a variable holding complex data. Always var your query names to keep the data local to the function.

Re: Conditional SQL

2007-06-12 Thread James Wolfe
You can do the following cfparam name=queryParams.productgroupid default=-10001 and then run the query as cfquery DECLARE @productgroupid int; SET @productgroupid = #queryParams.productgroupid#; SELECT Title, ProductID FROM aTable WHERE Stock 0 AND m.ProductGroupID =

Re: Form strangeness

2007-06-12 Thread Charles Sheehan-Miles
Ok ... Now this is weird. With some more exploring on this, I found that when the form is submitted, I get the following in the cgi scope: Content_type: application/x-www-form-urlencoded Request_method: GET Even though the form is clearly a POST. Has anyone encountered this? On 6/12/07 10:45

Re: Form strangeness

2007-06-12 Thread Charles Sheehan-Miles
Yeah, it is. Actually, it's going to the right page, but I found that for some reason its doing a GET instead of a POST I looked through the archives and found some folks who've had the same problem but only with IE7. I'm hitting this on all browsers. On 6/12/07 12:10 PM, koen darling [EMAIL

Re: Conditional SQL

2007-06-12 Thread Gert Franz
You could use the CASE statement instead. Or you could write a stored procedure which does exactly the thing you want. DECLARE @productgroupid bigint; SET @productgroupid = 5; IF @productgroupid 0 BEGIN SELECT Title, ProductID FROM aTable WHERE Stock 0 AND

Re: Conditional SQL

2007-06-12 Thread Jim Wright
I wish to move this query into MSSQL server for performance reasons, how do I go about running the conditional code? I have tried... I'm not sure you are going to get the performance benefit you are looking for. Doing the conditional processing in SQL isn't necessarily going to be

RE: Server Cluster

2007-06-12 Thread Russ
-Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 5:51 PM To: CF-Talk Subject: Re: Server Cluster Actually, you can't just use the same copy of Windows Server in multiple virtual machines. Microsoft has a VM licensing calendar here:

Re: var keyword in cfcs ... needed for query names?

2007-06-12 Thread D F
What was the reason for doing this again... to prevent race conditions? ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Re: var keyword in cfcs ... needed for query names?

2007-06-12 Thread Robertson-Ravo, Neil (RX)
To keep them private to the functions. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be

RE: var keyword in cfcs ... needed for query names?

2007-06-12 Thread Dave Watts
What was the reason for doing this again... to prevent race conditions? You declare local variables in a function so that they don't clobber any variables with the same names in the script that calls the function. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software

Re: Conditional SQL

2007-06-12 Thread Jochem van Dieten
James Smith wrote: SELECT Title, ProductID FROM aTable WHERE Stock 0 cfif len(trim(queryParams.productgroupid)) GT 0 AND ProductGroupID = #val(productgroupid)# /cfif I wish to move this query into MSSQL server for performance reasons Which performance reasons? Why do you expect an

Re: var keyword in cfcs ... needed for query names?

2007-06-12 Thread Rick Root
On 6/12/07, Brian Kotek [EMAIL PROTECTED] wrote: Absolutely. You must specify var scoping for ALL method local variables including query names and loop indexes. you *SHOULD* ... not *MUST* Just being argumentative :) . If must was the right word, then CF would generate an error if you

Re: var keyword in cfcs ... needed for query names?

2007-06-12 Thread Sean Corfield
On 6/12/07, Dave Watts [EMAIL PROTECTED] wrote: You declare local variables in a function so that they don't clobber any variables with the same names in the script that calls the function. That's for UDFs. For methods in CFCs, you var-declare local variables so they don't clobber any variables

Re: Using sessions with Flash Remoting

2007-06-12 Thread John Robinson
Thanks James. That's about what I figured. I'm trying a very simplified example but no luck... Here's what I have so far: Application.cfm cfcomponent output=false cfset this.name = testSessions cfset this.applicationTimeout = createTimeSpan(0,0,1,0) cfset

RE: var keyword in cfcs ... needed for query names?

2007-06-12 Thread Andy Matthews
Also, aren't they deleted after the function runs? Meaning that they no longer take up that memory allocation? -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 11:50 AM To: CF-Talk Subject: RE: var keyword in cfcs ... needed for query names?

Re: var keyword in cfcs ... needed for query names?

2007-06-12 Thread Robertson-Ravo, Neil (RX)
Well, yeah they exist only within the functions duration - i.e. Call. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is

Re: Conditional SQL

2007-06-12 Thread James Smith
the query is actually very complex involving several loops and a few conditional clauses and I am hoping that by sticking it all into a stored procedure it will be precompiled by MSSQL and therefore more efficient. On 12/06/07, Jochem van Dieten [EMAIL PROTECTED] wrote: James Smith wrote:

Re: Form strangeness

2007-06-12 Thread Josh Nathanson
Yeah, it is. Actually, it's going to the right page, but I found that for some reason its doing a GET instead of a POST Did you try giving your form tag a name attribute? Shouldn't make a difference but that's the only thing I see that's out of the ordinary. -- Josh

RE: var keyword in cfcs ... needed for query names?

2007-06-12 Thread Gaulin, Mark
I use cfset var local = StructNew() at the top of my functions, and then in the body of the function you could say cfquery name=local.queryName without worrying about it. You are basically creating a local scope for use within the function, and I find this much easier to stick with then varing

Re: Form strangeness

2007-06-12 Thread Charles Sheehan-Miles
Hmm. Yeah -- tried that. Tried to explicitly set the encoding type. I just went through the IIS logs, and they show the request as a POST. So it's somewhere in the processing in the Coldfusion side. I'm banging my head into the wall at this point. On 6/12/07 1:09 PM, Josh Nathanson [EMAIL

Re: var keyword in cfcs ... needed for query names?

2007-06-12 Thread D F
And what of variables that aren't prefixed with var in a cfc? Does that mean that their memory allocation persists? if so, for how long? BTW That was a good idea to create a local structure and store all your local var variables there... good one. Also, aren't they deleted after the

Re: Form strangeness

2007-06-12 Thread Claude Schneegans
I looked through the archives and found some folks who've had the same problem Yeap! Can you dump CGI.REQUEST_METHOD variable and see if it contains GET or POST? -- ___ REUSE CODE! Use custom tags; See

Re: Form strangeness

2007-06-12 Thread Charles Sheehan-Miles
The form says POST CGI.REQUEST_METHOD shows GET IIS logs show POST Weird. On 6/12/07 1:23 PM, Claude Schneegans [EMAIL PROTECTED] wrote: I looked through the archives and found some folks who've had the same problem Yeap! Can you dump CGI.REQUEST_METHOD variable and see if it contains

Re: Using sessions with Flash Remoting

2007-06-12 Thread Sean Corfield
On 6/12/07, John Robinson [EMAIL PROTECTED] wrote: cffunction name=onApplicationStart returnType=boolean output=false cfset Client.testVar = onApplicationStart This stores the client.testVar in VARIABLES.client.testVar which is essentially thrown away after the request

Re: var keyword in cfcs ... needed for query names?

2007-06-12 Thread Rick Root
On 6/12/07, D F [EMAIL PROTECTED] wrote: And what of variables that aren't prefixed with var in a cfc? Does that mean that their memory allocation persists? if so, for how long? those variables exist as long as the components variables scope exists. Ie, until the request ends - unless the

Re: Form strangeness

2007-06-12 Thread Claude Schneegans
Has anyone encountered this? Yes, from time to time. Now you say that you are getting this error when the form resubmits itself? This is a new element in the puzzle. And also, you confirm that IIS received it as POST, then it looks like the problem is CF related. I thought that it was under IE

Re: Form strangeness

2007-06-12 Thread Claude Schneegans
The form says POST CGI.REQUEST_METHOD shows GET Exactly the same problem here :-( ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features.

Nested structs in SOAP web service request

2007-06-12 Thread Conan Saunders
I'm trying to interact with the ebay API through SOAP, and I'm not able to run any methods that contain nested arguments. For example, this method call works fine because the arguments, version and title, are not nested: ws = CreateObject(webservice, urltosomewebservice/webservice.wsdl);

Execute a batch file with CFEXECUTE

2007-06-12 Thread Calvin Trinh
Hello, Is it possible to use CFEXECUTE to excute a batch file? I'm trying to use the CFEXECUTE to execute a batch file i created to copy a file from one location to another. It does not work when I use CFEXECUTE to run batch file. Any assistance will be helpful. thanks Here is my code.

Re: Form strangeness

2007-06-12 Thread Charles Sheehan-Miles
Hmm. I'm using CFMX. I'm getting it consistently on this particular form, but what's strange is the form used to work -- I first observed the problem yesterday, and it has been absolutely consistent since then. I'm not sure what you mean about the form resubmitting itself. It's pretty basic:

Re: What's the easiest way to do this?

2007-06-12 Thread Will Tomlinson
Ok James, I'm gettin close! I have it runnin the query when the page loads, which is of course not what I want. But this tells me things are workin. I've modified the example on your blog. Now, I'm REAL slow when it comes to JS, so bear with me here. Here's my JS call: script

RE: Execute a batch file with CFEXECUTE

2007-06-12 Thread Ben Forta
Run cmd.exe and pass the batch file to it, see http://www.forta.com/blog/index.cfm/2006/7/31/Using-CFEXECUTE-To-Execute-Com mand-Line-Utilities. --- Ben -Original Message- From: Calvin Trinh [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 1:30 PM To: CF-Talk Subject: Execute a

RE: Form strangeness

2007-06-12 Thread Dave Francis
Is this perhaps not the only form.. on the page? -Original Message- From: Charles Sheehan-Miles [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 11:14 AM To: CF-Talk Subject: Re: Form strangeness Ok ... Now this is weird. With some more exploring on this, I found that when the

Re: Form strangeness

2007-06-12 Thread Claude Schneegans
In my case, the problem happens under CF5. The problem might be occuring ever time under some circumstances, but I've never been able to reproduce it. Now I'm eliminating chunks of code line by line to see if I can identify a particular element that is causing it. Very good way to find the

Re: Form strangeness

2007-06-12 Thread Charles Sheehan-Miles
All right. I don't have a clue why this worked. The application uses a function called in application.cfc to deconstruct friendly urls into ... Well ... Not so friendly urls. The page I was calling: /page/memberhome/action/action/campaignid/12 When I changed the form to call:

Re: Form strangeness

2007-06-12 Thread Claude Schneegans
The page I was calling: /page/memberhome/action/action/campaignid/12 When I changed the form to call: /index.cfm?page=memberhomeaction=actioncampaignid=12 It worked fine. Hmmm... Could it be some problem with the cache? The first address shows no parameter, so it could be interpreted as the

Re: Form strangeness

2007-06-12 Thread Dean Lawrence
On 6/12/07, Claude Schneegans [EMAIL PROTECTED] wrote: The page I was calling: /page/memberhome/action/action/campaignid/12 When I changed the form to call: /index.cfm?page=memberhomeaction=actioncampaignid=12 It worked fine. Hmmm... Could it be some problem with the cache? The first

Re: Conditional SQL

2007-06-12 Thread Jochem van Dieten
James Smith wrote: the query is actually very complex involving several loops and a few conditional clauses Your query has several loops? You mean you actually use the new hierargical query features of MS SQL 2005? Or does the CF code that generates the query involve several loops and

Re: Form strangeness

2007-06-12 Thread Claude Schneegans
The application uses a function called in application.cfc to deconstruct friendly urls into ... Well ... Not so friendly urls. Ok, but how ist the correct template finally called by the function? -- ___ REUSE CODE! Use custom tags; See

  1   2   3   >