Re: SOT: Action Canceled, XP Service Pack 2

2004-09-25 Thread Ian Buzer
I assume you're writing the html/xls file to disk here?

How about generating the html as a normal request, then placing this at the top:



You can then link to this URL directly and it will download as an excel spreadsheet.

Ian

>I'm using a combination of Flash and Coldfusion web services to generate 
>an Excel Spreadhseet (technically, the web service saves an html file on 
>the server with a .xls extension), and returns the URL to Flash.  Flash 
>then uses getURL to open the .xls file in a new browser window.
>
>This worked great but now with Windows XP Service Pack 2, the new window 
>pops up and then is filled with an "Action Canceled" message.  If you 
>click "Refresh" in the toolbar of that window, it opens the spreadsheet 
>just fine.
>
>Has anyone experience a similar problem and solved it?
>
>--
>Another annoyance with Service Pack 2 is the popup blocker, which also 
>blocks the new window.. it's not technically a popup... it's just a new 
>browser window.. like 
>
>But even after allowing popups from the domain, you still get the 
>"Action canceled" message..
>
>  - rick
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: refresh inserts my form content

2004-09-25 Thread dave
a lot of times i wont use a thank u page (ex: in the admin section)
just have the form page --> process page then after all my code I cflocation them back to the previous page. SInce technically its the same as a new visitor going there 

and?or u can put some simple form check in as well
such as



	Sorry there has been an error, please try again
	
	


put that at the top of the page and preview in your browser
make sure u put the  in there though


-- Original Message --
From: daniel kessler <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Fri, 24 Sep 2004 08:27:52 -0400

>ok, charlie and Dave, that's a good point.  Now, I'm gonna go do it, but my first thought is that when the user clicks the back button, it'll re-insert then.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Losing Form Scope

2004-09-25 Thread Sandy Clark
ARe you by any chance using a Custom Tag?  

Sandy Clark
http://www.shayna.com  
CF Pretty Accessible at http://www.shayna.com/blog
Now offering 4 days Hands on CSS training October 11-14th. Rockville, MD.
For more information go to:
http://www.teratech.com/training/oc_classes.cfm#css 

  _  

From: Stan Winchester [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 24, 2004 9:35 PM
To: CF-Talk
Subject: Losing Form Scope

I have a form that is submitting to an action page, but for some reason when
the action page loads the form scope is gone, so when I look at the
debugging information under "Scope Variables" the entire "Form Fields:"
section is not even listed. This happens on the live CF5 server and my local
CFMX development server.



  

  

  

   value="YES - Extend the Ad Account"

   class="button">



Has anyone seen anything like this before?

Thank you,

Stan Winchester 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CF and JavaScript Form Question

2004-09-25 Thread Michael Traher
Hi Guy,
Sorry about your Dad, thats a tough one we all have to face.

On your question; why not just submit the form to an action page in
the normal way?
i.e. 

in the action page you can loop through the #form# structure and all
your dynamic form fields will be there.

You can use structure functions such as structKeyList() if you need to
know the names of the form fields.

Hope that is of some help.
Michael

- Original Message -
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Fri, 24 Sep 2004 19:49:53 -0400
Subject: CF and _javascript_ Form Question
To: CF-Talk <[EMAIL PROTECTED]>

Goal :

To take form values from the dynamically generated, and named, form 
elements and pass those values onto an action page.

Intended Course:
Write the variables to a CF Array or Structure, client side through a 
_javascript_ function -> WDDX serialize that Array into a client scope WDDX 
-> Deserialize the WDDX Packet on the action page.

Challenge: 
I absolutely suck at _javascript_. I thought I knew something - turns out I 
don't.

Code in Question:



    
Size="1">Qty. of #MakeSize#: 
    
size="4">
    
    

NOTE: MakeSize is the String Equiv of Value_ID ie. ValueID =24 then 
MakeSize = Large, ValueID = 23 then MakeSize = Small, etc

Question:
What's the quickest way to do this?

This could generate 0 - 15 or so form elements, so I think URL variables 
are out. Maybe not. Possibly put these into a list and pass that in the 
URL and parse it out on the other side? If so - how?

Am I out to lunch with the WDDX idea? If not, where could I go to see how 
to create a CF Array or Struct via a _javascript_ function?

Personal Note: Not thinking well - my first B-day without my dad. First 
everything after losing someone always sucks. Yeah, I'm a 
heart-on-my-sleeve guy.

Guy McDowell
Web Developer
[EMAIL PROTECTED] - Magma Communications Ltd.
t: 613.228.3565 x6348
f: 613.228.8313
http://websites.magma.ca

This e-mail message is confidential, may be privileged and is intended for 
the exclusive use of the addressee.  Any other person is strictly 
prohibited from disclosing, distributing or reproducing it.  If the 
addressee cannot be reached or is unknown to you, please inform the sender 
by return e-mail immediately and delete this e-mail message and destroy 
all copies.  Due to the inherent risks associated with the Internet, we 
assume no responsibility for unauthorized interception of any Internet 
communication with you or the transmission of computer viruses.  Thank 
you.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: BLOB

2004-09-25 Thread Douglas Knudsen
hmm...my eyes are opening here  :)   I recently built an app that got
clustered.  Built a doc and image library.  Had to put these files on
a special share so all members of the cluster have access to them.  A
Celera SAN thingy actually, works fine and dandy, but one more system
to depend on for this.

What about speed?  If say I get 50 requests for a 1MB document, what
would be speedier?  fetching from the DB or fetching from the file
system?

Oracle Text?  Part of 9i?

Doug

- Original Message -
From: James Holmes <[EMAIL PROTECTED]>
Date: Sat, 25 Sep 2004 00:46:46 -0400
Subject: Re: BLOB
To: CF-Talk <[EMAIL PROTECTED]>

All of these are reasons we use the DB for all dynamically managed
content, including binary files. Oracle is absolutely fantastic at
this these days. For example, Oracle Text is far superior to the
Verity implementation in CF, since the full text query can be included
in the SQL statement used to retrieve doc info (including version info
and many other things that are more difficult to manage with content
written to a filesystem). It also means that if multiple CF servers
are used or a DR server is brought online, we don't have to worry
about where Verity files were written (the index is all in the DB,
with the content, where it belongs). A few years ago BLOBS were bad
but things have come a long way.

>multiuser, continuous data, data integrity, transactions, business rule
>implementation, centralized storage and management, not having to manage
>millions of files, etc. pretty much every reason why you'd use a db in the
>first place. the whole GIS industry is running its enterprise databases on
>modern BLOB (spatial) technology. ibm, oracle, ms, esri, mapinfo, etc. have
>all spent a bundle on this technology. even freebies like postgres (postGIS
>is actually pretty slick) & mySQL are on the
bandwagon.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




oracle timestamp java objects in query results,,, wtf?!

2004-09-25 Thread S . Isaac Dealey
Anybody here have any clue what crack-head thought it would be a good
idea for queries from Oracle to include Java objects in the results
instead of strings? Or how I can resolve this with oracle in a way
that won't break platform indpendance of the code by requiring
proprietary oracle code?

s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




test

2004-09-25 Thread Michael T. Tangorre
test
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: How to tell if CFMX 6.1 Updater has been installed?

2004-09-25 Thread Rick Mason
I can verify that your version must be 6,1,0,83762 in order to have
the 6.1 updater installed.

Rick Mason


- Original Message -
From: Dave Carabetta <[EMAIL PROTECTED]>
Date: Fri, 24 Sep 2004 16:40:48 -0400
Subject: Re: How to tell if CFMX 6.1 Updater has been installed?
To: CF-Talk <[EMAIL PROTECTED]>

On Fri, 24 Sep 2004 16:19:17 -0400, Bosky, Dave <[EMAIL PROTECTED]> wrote:
> Is there a way to identify if CFMX 6.1 Updater has been installed?
> 
> I went into the CF admin and clicked the system properties tab the version
> says: 6,1,0,63958
> 

You don't have it installed. My version is 6,1,0,83762 with the
Updater installed on the J2EE version. I believe the standalone
version is the same number, but I don't use it so I don't know for
sure.

Regards,
Dave.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: How to tell if CFMX 6.1 Updater has been installed?

2004-09-25 Thread Ewok
So can I

6,1,0,83726

   _  

From: Rick Mason [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 25, 2004 1:36 PM
To: CF-Talk
Subject: Re: How to tell if CFMX 6.1 Updater has been installed?

I can verify that your version must be 6,1,0,83762 in order to have
the 6.1 updater installed.

Rick Mason

- Original Message -
From: Dave Carabetta <[EMAIL PROTECTED]>
Date: Fri, 24 Sep 2004 16:40:48 -0400
Subject: Re: How to tell if CFMX 6.1 Updater has been installed?
To: CF-Talk <[EMAIL PROTECTED]>

On Fri, 24 Sep 2004 16:19:17 -0400, Bosky, Dave <[EMAIL PROTECTED]>
wrote:
> Is there a way to identify if CFMX 6.1 Updater has been installed?
> 
> I went into the CF admin and clicked the system properties tab the version
> says: 6,1,0,63958
> 

You don't have it installed. My version is 6,1,0,83762 with the
Updater installed on the J2EE version. I believe the standalone
version is the same number, but I don't use it so I don't know for
sure.

Regards,
Dave.

   _  

[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=t:4"Todays Threads]
[HYPERLINK "http://www.houseoffusion.com/lists.cfm/link=i:4:179730"This
Message] [HYPERLINK
"http://www.houseoffusion.com/lists.cfm/link=s:4"Subscription] [HYPERLINK
"http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=678.598.4"Fast
Unsubscribe] [HYPERLINK "http://www.houseoffusion.com/signin/"User Settings]
[HYPERLINK
"https://www.paypal.com/cgi-bin/webscr?amount=&item_name=House+of+Fusion&bus
iness=donations%40houseoffusion.com&undefined_quantity=&cmd=_xclick"Donation
s and Support] 

   _  

HYPERLINK "http://www.houseoffusion.com/banners/view.cfm?bannerid=34" \n

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 9/21/2004
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: test

2004-09-25 Thread Tim Laureska
Coming through here

-Original Message-
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 25, 2004 1:23 PM
To: CF-Talk
Subject: test

test
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: test

2004-09-25 Thread Michael T. Tangorre
Thanks Tim.. list seemed kind of quiet! 

> -Original Message-
> From: Tim Laureska [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, September 25, 2004 1:52 PM
> To: CF-Talk
> Subject: RE: test
> 
> Coming through here
> 
> -Original Message-
> From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
> Sent: Saturday, September 25, 2004 1:23 PM
> To: CF-Talk
> Subject: test
> 
> test
> 
> 
> 
> 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Losing Form Scope

2004-09-25 Thread Reed Powell
From your code segment it looks like you didn't define an enctype, so its
probably defaulting to using URL variables instead of FORM fields. Try
dumping the URL scope 
	
And see if your fields show up.

To fix, try putting
		enctype="multipart/form-data"
into the FORM tag and see what happens. 

-reed 
  _  

From: Stan Winchester [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 24, 2004 9:35 PM
To: CF-Talk
Subject: Losing Form Scope

I have a form that is submitting to an action page, but for some reason when
the action page loads the form scope is gone, so when I look at the
debugging information under "Scope Variables" the entire "Form Fields:"
section is not even listed. This happens on the live CF5 server and my local
CFMX development server.



  

  

  

   value="YES - Extend the Ad Account"

   class="button">



Has anyone seen anything like this before?

Thank you,

Stan Winchester 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cflocation inside of cflock?

2004-09-25 Thread Adrienne Brown
It's my understanding that any time you read from or write to the session scope you should use a cflock. Is that not the case in CFMX?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cflocation inside of cflock?

2004-09-25 Thread Matt Robertson
that is NOT the case with CFMX.  It IS the case with all other
versions of CF likely to be in use out there.

Some folks point to a MM KB article that seems to point up the fact
that basic locking practices have not changed.   The meaning they take
from the article is that you have to keep lockiing everything. 
However a later article (Devnet) by Raymond Camden did a great job of
spelling out things really clearly insofar as locking is concerned.

A minute or so using the search at MM should turn up both articles,
but the bottom line is you do NOT need to lock except to prevent race
conditions (that matter).

You'll feel quite naughty doing your first naked 
datasource="application.foo"> but its really a very liberating
experience.

Cheers,
-- 
--Matt Robertson--
MSB Designs, Inc.
mysecretbase.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: How to tell if CFMX 6.1 Updater has been installed?

2004-09-25 Thread Andrew Grosset
using this:

#Server.Coldfusion.ProductVersion#

I get: 6,1,0,hf52972_61

any ideas?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]