Re: Homesite+ update error

2003-02-19 Thread Patric Stumpe
Hi Critz,

as far as I remember there are two Updaters for Homesite. One for the
normal Homesite 5 - Homesite 5.2 and another for Homesite+ 5 - 5.2.

Saw them at the HS-Support.

Patric


C oi CF-Talk,!!

C   My homesite+ started throwing errors, so I thought I would un/reinstall it...
C   now, I am trying to run the 5.2 updater, and I get

C   a valid version of homesite 5 was not found on this machine


C   any ideas?

C   Crit


C 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Javascript Error Reporting

2003-02-19 Thread Taco Fleur
I wrote this function to supress and report error messages within JavaScript, all 
works fine except that when calling the function msg = fnFormElements(); it does not 
return anything, but when I call the function fnFormElements() directly from a page 
it returns all elements.. What am I missing? Anyone?


window.onerror = fnErrorReporting

function fnFormElements()
{
 var objF = document.forms
 var msg = ;
for ( i=0; i  objF.length ;)
 {
  msg = msg +  Form:  + objF[i].name + \n;
  var objE = objF[i].elements;
  for ( i2=0; i2  objE.length ;)
  {
   msg = msg +  Element name:  + objE[i2].name +  Value:  + objE[i2].value + \n;
   i2++;
  }
   i++;
}
 alert(msg);
 return msg;
}

function fnErrorReporting( message, url, line )
{
 msg = fnFormElements();
 alert(Message:  + message + \nURL:  + url + \nLine #:  + line + \nCookie:  + 
document.cookie 
 + \nBrowser:  + navigator.appName +  V + navigator.appVersion + \nMIME:  + 
 +navigator.mimeTypes 
 + \nPlatform:  + navigator.platform + \nUseragent:  + navigator.userAgent + 
 +\nForm Fields:  + msg);
}


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Best Way to Deal With Multiple Page Registration Form

2003-02-19 Thread Angel Stewart
Hello all,

I am tasked with designing an application that will handle a signup
process for an event.

This will be a multiple page form, including sections for 
Entering user info,
Main event selection,
Sub-event selection,
Item selection for the event,
Entering Credit Card information to PAY for the event,

I only, of course, want to store all the information in the previous
forms if the user's credit card info is authorised and
The payment is reported as going through. Otherwise I don't want to
clutter the database with a lot of orphaned signup attempts.

Secondly I don't want to save information to the database at every
stage...because I don't want orphaned entries should the user decide in
Step 3 to 
Not bother to signup and closes their browser/power outage etc. etc. 

The user info alone tracks about ...ummm 12 fields of information.
Each step probably adds about 4 or 5 more fields of info..and there can
be multiple items selected for each event (Caps, shoes,jackets etc. ).

How the hell am I going to do this without saving data to the database
at each step, and only committing data to the database after the credit
card is authorised??

*sits and scratches head*
There must be something better than passing along an ever growing number
of hidden form fields from step to step. Especially when we are dealing
with the Items which could have multiple entries...Don't know how many
items they are going to want...

When I agreed to this I never really considered that it would be
complicated. After all..it's just an 'Event Registration' form...sounds
so deceptively simple ^_^

Any ideas???

-Gel



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Client side WDDX generation

2003-02-19 Thread Murat Demirci
Thanks for your help.


-Original Message-
From: Murat Demirci [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 18, 2003 10:12 AM
To: CF-Talk
Subject: Client side WDDX generating (was: Passing Javascript variables)

Hi,

I have a similar issue. But I want to solve this without knowing the
field names.

I think this can be done using client side WDDX  (if it is possible). So
my question is how can i generate a WDDX string in the popup window via
Javascript?

Any idea?



-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 17, 2003 11:41 PM
To: CF-Talk
Subject: RE: -OT- Passing Javascript variables

It depends on what you mean by 'pass this variable back.'

If you just want to stick it in, for example, a hidden form field you
could
do

opener.document.myform.myfield.value =
document.popupform.popupfield.value;
window.close();

Or something similar.


--  Ben Doom
Programmer  General Lackey
Moonbow Software, Inc

: -Original Message-
: From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
: Sent: Monday, February 17, 2003 4:00 PM
: To: CF-Talk
: Subject: -OT- Passing Javascript variables
:
:
: I have a Javascript script that opens a new window and prompts for
input
: and then closes.  Is there a way to pass this variable back to the
parent
: window without refreshing it?
:
: T
:
: 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Best Way to Deal With Multiple Page Registration Form

2003-02-19 Thread Tangorre, Michael
You have a few options. As you go from form to form, you can save the previous forms 
values into hidden form fields which ultimately would get passed with the next form 
submission and so on. You do this by looping over the form.fieldnames list, or use a 
collection loop. There is a custom tag out there (search the dev gallery) that will 
aid you in this.

Once you have all the form fields gahered and you are on the payment transaction 
page copy that form structure into the session scope while you authorize the 
credit card. If authorization goes through, run your SQL to insert the records, then 
delete the session strucutre holding the form values.

Mike

-Original Message-
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 8:15 AM
To: CF-Talk
Subject: Best Way to Deal With Multiple Page Registration Form


Hello all,

I am tasked with designing an application that will handle a signup
process for an event.

This will be a multiple page form, including sections for 
Entering user info,
Main event selection,
Sub-event selection,
Item selection for the event,
Entering Credit Card information to PAY for the event,

I only, of course, want to store all the information in the previous
forms if the user's credit card info is authorised and
The payment is reported as going through. Otherwise I don't want to
clutter the database with a lot of orphaned signup attempts.

Secondly I don't want to save information to the database at every
stage...because I don't want orphaned entries should the user decide in
Step 3 to 
Not bother to signup and closes their browser/power outage etc. etc. 

The user info alone tracks about ...ummm 12 fields of information.
Each step probably adds about 4 or 5 more fields of info..and there can
be multiple items selected for each event (Caps, shoes,jackets etc. ).

How the hell am I going to do this without saving data to the database
at each step, and only committing data to the database after the credit
card is authorised??

*sits and scratches head*
There must be something better than passing along an ever growing number
of hidden form fields from step to step. Especially when we are dealing
with the Items which could have multiple entries...Don't know how many
items they are going to want...

When I agreed to this I never really considered that it would be
complicated. After all..it's just an 'Event Registration' form...sounds
so deceptively simple ^_^

Any ideas???

-Gel




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Javascript Error Reporting

2003-02-19 Thread webguy
Seems to work for me.

win2000/ie5.0.*

WG

-Original Message-
From: Taco Fleur [mailto:[EMAIL PROTECTED]]
Sent: 19 February 2003 10:16
To: CF-Talk
Subject: Javascript Error Reporting


I wrote this function to supress and report error messages within
JavaScript, all works fine except that when calling the function msg =
fnFormElements(); it does not return anything, but when I call the function
fnFormElements() directly from a page it returns all elements.. What am I
missing? Anyone?


window.onerror = fnErrorReporting

function fnFormElements()
{
 var objF = document.forms
 var msg = ;
for ( i=0; i  objF.length ;)
 {
  msg = msg +  Form:  + objF[i].name + \n;
  var objE = objF[i].elements;
  for ( i2=0; i2  objE.length ;)
  {
   msg = msg +  Element name:  + objE[i2].name +  Value:  +
objE[i2].value + \n;
   i2++;
  }
   i++;
}
 alert(msg);
 return msg;
}

function fnErrorReporting( message, url, line )
{
 msg = fnFormElements();
 alert(Message:  + message + \nURL:  + url + \nLine #:  + line +
\nCookie:  + document.cookie
 + \nBrowser:  + navigator.appName +  V + navigator.appVersion +
\nMIME:  + navigator.mimeTypes
 + \nPlatform:  + navigator.platform + \nUseragent:  +
navigator.userAgent + \nForm Fields:  + msg);
}



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Best Way to Deal With Multiple Page Registration Form

2003-02-19 Thread Tony Weeg
easy answer = session variables

long answer = im sure it will include an array of the choices, form
field/value pairs

...tony

Tony Weeg
Senior Web Developer
UnCertified Advanced ColdFusion Developer
Information System Design
Navtrak, Inc.
Mobile workforce monitoring, mapping  reporting
www.navtrak.net
410.548.2337 

-Original Message-
From: Angel Stewart [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 19, 2003 8:15 AM
To: CF-Talk
Subject: Best Way to Deal With Multiple Page Registration Form


Hello all,

I am tasked with designing an application that will handle a signup
process for an event.

This will be a multiple page form, including sections for 
Entering user info,
Main event selection,
Sub-event selection,
Item selection for the event,
Entering Credit Card information to PAY for the event,

I only, of course, want to store all the information in the previous
forms if the user's credit card info is authorised and
The payment is reported as going through. Otherwise I don't want to
clutter the database with a lot of orphaned signup attempts.

Secondly I don't want to save information to the database at every
stage...because I don't want orphaned entries should the user decide in
Step 3 to 
Not bother to signup and closes their browser/power outage etc. etc. 

The user info alone tracks about ...ummm 12 fields of information.
Each step probably adds about 4 or 5 more fields of info..and there can
be multiple items selected for each event (Caps, shoes,jackets etc. ).

How the hell am I going to do this without saving data to the database
at each step, and only committing data to the database after the credit
card is authorised??

*sits and scratches head*
There must be something better than passing along an ever growing number
of hidden form fields from step to step. Especially when we are dealing
with the Items which could have multiple entries...Don't know how many
items they are going to want...

When I agreed to this I never really considered that it would be
complicated. After all..it's just an 'Event Registration' form...sounds
so deceptively simple ^_^

Any ideas???

-Gel




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Best Way to Deal With Multiple Page Registration Form

2003-02-19 Thread Sean A Corfield
This is a great fit for a Flash front end - multi-page forms and 
dependent selections are bread and butter to Flash and you can even 
allow users to part-fill the form and then come back later (by storing 
form data locally in Local Shared Objects).

That way you have little or no server interaction while the user fills 
in the form (although you could use Flash Remoting to return remaining 
available selections whenever users make particular choices) and you 
send the whole bundle of data at the end when the forms are complete.

It also allows users to page back and forward through the forms, making 
corrections and changing choices without having to go back and start 
again.

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood


On Wednesday, Feb 19, 2003, at 05:15 US/Pacific, Angel Stewart wrote:

 Hello all,

 I am tasked with designing an application that will handle a signup
 process for an event.

 This will be a multiple page form, including sections for
 Entering user info,
 Main event selection,
 Sub-event selection,
 Item selection for the event,
 Entering Credit Card information to PAY for the event,

 I only, of course, want to store all the information in the previous
 forms if the user's credit card info is authorised and
 The payment is reported as going through. Otherwise I don't want to
 clutter the database with a lot of orphaned signup attempts.

 Secondly I don't want to save information to the database at every
 stage...because I don't want orphaned entries should the user decide in
 Step 3 to
 Not bother to signup and closes their browser/power outage etc. etc.

 The user info alone tracks about ...ummm 12 fields of information.
 Each step probably adds about 4 or 5 more fields of info..and there can
 be multiple items selected for each event (Caps, shoes,jackets etc. ).

 How the hell am I going to do this without saving data to the database
 at each step, and only committing data to the database after the credit
 card is authorised??

 *sits and scratches head*
 There must be something better than passing along an ever growing 
 number
 of hidden form fields from step to step. Especially when we are dealing
 with the Items which could have multiple entries...Don't know how many
 items they are going to want...

 When I agreed to this I never really considered that it would be
 complicated. After all..it's just an 'Event Registration' form...sounds
 so deceptively simple ^_^

 Any ideas???

 -Gel



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Verity Collections

2003-02-19 Thread David Brown
We are running CF 5.0 Pro on Windows 2000 server.  It is a 450mhz with 1 gig ram.  
This is our test server so I know that it would be better on our production system.  
We have 9 Collections indexed with their sub directories too.  We have found that it 
can take up to 2.7 minutes to return a search if we search through all 9 collections.  
If we search through one of them it takes about 2.5 seconds.  Other then running a K2 
server how also can I better optimize these collections?

I have used the optimize feature in the admin page with little to no improvement.

David

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Dynamic Variable in a Hidden Form Field

2003-02-19 Thread Mark Leder
I want to pass an encrypted dynamic variable in a hidden form field to a
second page. 

Problem is with the hidden form field, if I don't wrap the form field with
cfoutput/cfoutput all that's passed is the literal string
#VARIABLES.somVars#.  If I do wrap it with cfoutput, the value of
VARIABLES.someVar is passed correctly. However, the cfoutput causes the
hidden field to be displayed in the client browser (so it doesn't act as a
hidden var).  This seems to me to be really odd behavior.

What am I doing wrong?

===
cfset VARIABLES.fooVar = 1234

cfset VARIABLES.someVar = #Encrypt(VARIABLES.fooVar, key)#

form action=secondpage.com method=post
input type=hidden name=abc value=#VARIABLES.someVar# /
input name=Submit type=submit value=Submit /
/form


Thanks, Mark 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Dynamic Variable in a Hidden Form Field

2003-02-19 Thread Barney Boisvert
The encrypted string probably contains an angle braket, which would cause
the tag to not render properly.  Try wrapping it with htmlEditFormat().

HTH,
barneyb

 -Original Message-
 From: Mark Leder [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 19, 2003 10:43 AM
 To: CF-Talk
 Subject: Dynamic Variable in a Hidden Form Field


 I want to pass an encrypted dynamic variable in a hidden form field to a
 second page.

 Problem is with the hidden form field, if I don't wrap the form field with
 cfoutput/cfoutput all that's passed is the literal string
 #VARIABLES.somVars#.  If I do wrap it with cfoutput, the value of
 VARIABLES.someVar is passed correctly. However, the cfoutput causes the
 hidden field to be displayed in the client browser (so it doesn't act as a
 hidden var).  This seems to me to be really odd behavior.

 What am I doing wrong?

 ===
 cfset VARIABLES.fooVar = 1234

 cfset VARIABLES.someVar = #Encrypt(VARIABLES.fooVar, key)#

 form action=secondpage.com method=post
 input type=hidden name=abc value=#VARIABLES.someVar# /
 input name=Submit type=submit value=Submit /
 /form
 

 Thanks, Mark

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Dynamic Variable in a Hidden Form Field

2003-02-19 Thread Douglas.Knudsen
nothing is wrong.  
input type=hidden name=abc value=#VARIABLES.someVar# /
is designed and understood to hide the form object, not the values.
Try using session vars to store your value in a different hidden context, your servers 
memory, cookies, etc...

Doug

-Original Message-
From: Mark Leder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 1:43 PM
To: CF-Talk
Subject: Dynamic Variable in a Hidden Form Field


I want to pass an encrypted dynamic variable in a hidden form 
field to a
second page. 

Problem is with the hidden form field, if I don't wrap the 
form field with
cfoutput/cfoutput all that's passed is the literal string
#VARIABLES.somVars#.  If I do wrap it with cfoutput, the value of
VARIABLES.someVar is passed correctly. However, the cfoutput 
causes the
hidden field to be displayed in the client browser (so it 
doesn't act as a
hidden var).  This seems to me to be really odd behavior.

What am I doing wrong?

===
cfset VARIABLES.fooVar = 1234

cfset VARIABLES.someVar = #Encrypt(VARIABLES.fooVar, key)#

form action=secondpage.com method=post
input type=hidden name=abc value=#VARIABLES.someVar# /
input name=Submit type=submit value=Submit /
/form


Thanks, Mark 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Best Way to Deal With Multiple Page Registration Form

2003-02-19 Thread Mosh Teitelbaum
So, not to knock Flash UIs, but the same functionality could also be coded
via CFML and HTML without requiring Flash.  And, not being a Flash guy, I
would assume that there be a similar level of effort required to prefill
Flash form fields as HTML form fields, etc.  The benefits of Flash would be
a single trip (vs. multiple trips) to the server and the ability to make a
pretty UI while the benefits of HTML are universal compatibility and
familiarity (among others).

I've done several such forms in the past and the logic from one page to the
next is very simple:
1. Initialize all of current page's form fields
CFPARAM NAME=FORM.myField DEFAULT=

2. Display current pages/forms form fields
INPUT TYPE=Text NAME=myField VALUE=#FORM.myField#

3. If defined, loop over FORM collection and create hidden form
   fields for all items in the collection that have not been
   displayed in step 2.

This logic causes first visits to a page to display a blank form but return
visits show the previously entered values.  Users can return to previous
forms by clicking a JavaScript link that changes the FORM ACTION to the
appropriate value and submits the form.  You can easily create a
confirmation screen with links to return to each form for edits (each page
can include some simple logic that, if a certain variable exists, set the
next screen to the confirmation page).  The final action page, the one
that validates the credit card, will have all of the user's data available
in a single place, the FORM collection, when it comes times to submit the
date to the DB.

Granted, this requires some fairly repetitive coding, but it's pretty simple
to build.  Mind-numbing but effective 8^).

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


 -Original Message-
 From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 19, 2003 1:01 PM
 To: CF-Talk
 Subject: Re: Best Way to Deal With Multiple Page Registration Form


 This is a great fit for a Flash front end - multi-page forms and
 dependent selections are bread and butter to Flash and you can even
 allow users to part-fill the form and then come back later (by storing
 form data locally in Local Shared Objects).

 That way you have little or no server interaction while the user fills
 in the form (although you could use Flash Remoting to return remaining
 available selections whenever users make particular choices) and you
 send the whole bundle of data at the end when the forms are complete.

 It also allows users to page back and forward through the forms, making
 corrections and changing choices without having to go back and start
 again.

 Sean A Corfield -- http://www.corfield.org/blog/

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood


 On Wednesday, Feb 19, 2003, at 05:15 US/Pacific, Angel Stewart wrote:

  Hello all,
 
  I am tasked with designing an application that will handle a signup
  process for an event.
 
  This will be a multiple page form, including sections for
  Entering user info,
  Main event selection,
  Sub-event selection,
  Item selection for the event,
  Entering Credit Card information to PAY for the event,
 
  I only, of course, want to store all the information in the previous
  forms if the user's credit card info is authorised and
  The payment is reported as going through. Otherwise I don't want to
  clutter the database with a lot of orphaned signup attempts.
 
  Secondly I don't want to save information to the database at every
  stage...because I don't want orphaned entries should the user decide in
  Step 3 to
  Not bother to signup and closes their browser/power outage etc. etc.
 
  The user info alone tracks about ...ummm 12 fields of information.
  Each step probably adds about 4 or 5 more fields of info..and there can
  be multiple items selected for each event (Caps, shoes,jackets etc. ).
 
  How the hell am I going to do this without saving data to the database
  at each step, and only committing data to the database after the credit
  card is authorised??
 
  *sits and scratches head*
  There must be something better than passing along an ever growing
  number
  of hidden form fields from step to step. Especially when we are dealing
  with the Items which could have multiple entries...Don't know how many
  items they are going to want...
 
  When I agreed to this I never really considered that it would be
  complicated. After all..it's just an 'Event Registration' form...sounds
  so deceptively simple ^_^
 
  Any ideas???
 
  -Gel
 
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion 

Re: Dynamic Variable in a Hidden Form Field

2003-02-19 Thread Matthew Walker
What does the HTML of the field look like in an example where the hidden
field is visible? (View source)

- Original Message -
From: Mark Leder [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, February 20, 2003 7:42 AM
Subject: Dynamic Variable in a Hidden Form Field


 I want to pass an encrypted dynamic variable in a hidden form field to a
 second page.

 Problem is with the hidden form field, if I don't wrap the form field with
 cfoutput/cfoutput all that's passed is the literal string
 #VARIABLES.somVars#.  If I do wrap it with cfoutput, the value of
 VARIABLES.someVar is passed correctly. However, the cfoutput causes the
 hidden field to be displayed in the client browser (so it doesn't act as a
 hidden var).  This seems to me to be really odd behavior.

 What am I doing wrong?

 ===
 cfset VARIABLES.fooVar = 1234

 cfset VARIABLES.someVar = #Encrypt(VARIABLES.fooVar, key)#

 form action=secondpage.com method=post
 input type=hidden name=abc value=#VARIABLES.someVar# /
 input name=Submit type=submit value=Submit /
 /form
 

 Thanks, Mark

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




WOT: Email Archive

2003-02-19 Thread Jeff Chastain
I am needing to put together a simple web based archive for email messages.
My question is how to build the threading - how do you tell how one message
relates to another?  You obviously cannot rely on the subject line as people
can modify that and their email programs can modify it automatically (re,
fw, etc.) ...
 
I am thinking the answer lies in the email header info, but I have not found
a source of info describing what should always be in a header.
 
Thanks
-- Jeff

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Best Way to Deal With Multiple Page Registration Form

2003-02-19 Thread Kevin Graeme
We usually handle this by storing it in a structure, and in our case storing
that structure in the session scope. That lets people jump from page to page
without a DB hit. The structure is basically a virtual DB table held in
memory and then when they finally submit everthing it just writes from the
structure to the DB.

I also find this works extremely well for tabbed interfaces where there
isn't a required progression.

And be sure to remember to copy the session scope to the request scope on
each page for use at that page level.

-Kevin

 -Original Message-
 From: Angel Stewart [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 19, 2003 7:15 AM
 To: CF-Talk
 Subject: Best Way to Deal With Multiple Page Registration Form


 Hello all,

 I am tasked with designing an application that will handle a signup
 process for an event.

 This will be a multiple page form, including sections for
 Entering user info,
 Main event selection,
 Sub-event selection,
 Item selection for the event,
 Entering Credit Card information to PAY for the event,

 I only, of course, want to store all the information in the previous
 forms if the user's credit card info is authorised and
 The payment is reported as going through. Otherwise I don't want to
 clutter the database with a lot of orphaned signup attempts.

 Secondly I don't want to save information to the database at every
 stage...because I don't want orphaned entries should the user decide in
 Step 3 to
 Not bother to signup and closes their browser/power outage etc. etc.

 The user info alone tracks about ...ummm 12 fields of information.
 Each step probably adds about 4 or 5 more fields of info..and there can
 be multiple items selected for each event (Caps, shoes,jackets etc. ).

 How the hell am I going to do this without saving data to the database
 at each step, and only committing data to the database after the credit
 card is authorised??

 *sits and scratches head*
 There must be something better than passing along an ever growing number
 of hidden form fields from step to step. Especially when we are dealing
 with the Items which could have multiple entries...Don't know how many
 items they are going to want...

 When I agreed to this I never really considered that it would be
 complicated. After all..it's just an 'Event Registration' form...sounds
 so deceptively simple ^_^

 Any ideas???

 -Gel



 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Email Archive

2003-02-19 Thread Michael Dinowitz
Message-id and reference.
The message ID is the unique identifier assigned to a message by the mail
server. In some cases, the message-id is not set and will have to be set 'by
hand'. This can be done by assigning a UUID with the @domainname added to it (to
be legal). This is the message-id of your message
Message-ID: 000601c2d84e$8136dbe0$0c9e19c0@JCHASTAIOB

The reference (also called reply-id) is the message-id of the message the email
is in response to. I have a lot of code to do this that I can send your way if
you want. Very complete with a single limitation, it makes use of the
CFX_ODSMime tag from coolfusion.com (the makers of iMS).


 I am needing to put together a simple web based archive for email messages.
 My question is how to build the threading - how do you tell how one message
 relates to another?  You obviously cannot rely on the subject line as people
 can modify that and their email programs can modify it automatically (re,
 fw, etc.) ...

 I am thinking the answer lies in the email header info, but I have not found
 a source of info describing what should always be in a header.

 Thanks
 -- Jeff

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Queries of Queries and DATEPART() and the like

2003-02-19 Thread brook
I'm running into a lot of limitations when using Queries of Queries and 
lack of support for SQL Operators like DATEPART() and the like.

Does any one know where I can find a list of acceptable operators for use 
with Q of Q's?

Brook


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Email Archive

2003-02-19 Thread Everett, Al
The References: header is probably about it.

 -Original Message-
 From: Jeff Chastain [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 19, 2003 2:39 PM
 To: CF-Talk
 Subject: WOT: Email Archive
 
 
 I am needing to put together a simple web based archive for 
 email messages.
 My question is how to build the threading - how do you tell 
 how one message
 relates to another?  You obviously cannot rely on the subject 
 line as people
 can modify that and their email programs can modify it 
 automatically (re,
 fw, etc.) ...
  
 I am thinking the answer lies in the email header info, but I 
 have not found
 a source of info describing what should always be in a header.
  
 Thanks
 -- Jeff
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




CF update BUG in MX. Who at MM can I yell at?

2003-02-19 Thread Mark W. Breneman
pulling hair out

Can any one tell me if MM has acknowledge the cfupdate CFMX bug requiring
your db key field to be listed in the formfields attribute of the cfupdate
tag? (if you have any values in the formfields attribute of the cfupdate
tag)

I have seen this bug on several servers, There must be a reason why this has
not been fixed in any of the CFMX updaters.   It seems like a no brainier.

I know, I know... don't use CFupdate, but I have a several large project
that it is used in and they just got put on a MX server.

Mark W. Breneman
-Macromedia Certified ColdFusion Developer
-Network / Web Server Administrator
  Vivid Media
  [EMAIL PROTECTED]
  www.vividmedia.com
  608.270.9770

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Best Way to Deal With Multiple Page Registration Form

2003-02-19 Thread Owens, Howard
If you want to use hidden form fields, this will help:

cfif IsDefined(form.fieldnames)
cfloop
list=#form.fieldnames#
index=field

cfoutput
input type=hidden name=#field# value=#evaluate(form.#field#)#
/cfoutput
/cfloop
/cfif

So you don't have to manually code your form fields onto each page.

H.




 -Original Message-
 From: Angel Stewart [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, February 19, 2003 5:15 AM
 To:   CF-Talk
 Subject:  Best Way to Deal With Multiple Page Registration Form
 
 Hello all,
 
 I am tasked with designing an application that will handle a signup
 process for an event.
 
 This will be a multiple page form, including sections for 
 Entering user info,
 Main event selection,
 Sub-event selection,
 Item selection for the event,
 Entering Credit Card information to PAY for the event,
 
 I only, of course, want to store all the information in the previous
 forms if the user's credit card info is authorised and
 The payment is reported as going through. Otherwise I don't want to
 clutter the database with a lot of orphaned signup attempts.
 
 Secondly I don't want to save information to the database at every
 stage...because I don't want orphaned entries should the user decide in
 Step 3 to 
 Not bother to signup and closes their browser/power outage etc. etc. 
 
 The user info alone tracks about ...ummm 12 fields of information.
 Each step probably adds about 4 or 5 more fields of info..and there can
 be multiple items selected for each event (Caps, shoes,jackets etc. ).
 
 How the hell am I going to do this without saving data to the database
 at each step, and only committing data to the database after the credit
 card is authorised??
 
 *sits and scratches head*
 There must be something better than passing along an ever growing number
 of hidden form fields from step to step. Especially when we are dealing
 with the Items which could have multiple entries...Don't know how many
 items they are going to want...
 
 When I agreed to this I never really considered that it would be
 complicated. After all..it's just an 'Event Registration' form...sounds
 so deceptively simple ^_^
 
 Any ideas???
 
 -Gel
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Email Archive

2003-02-19 Thread Michael Dinowitz
Usually, but there are actually 3 different headers used by different mail
systems:
References
ReplyID
In-Reply-To
But is you look at the email that this is in reply to (Al Everett's) you'll see
that his email program did not give any of the above headers (looks like he's
using exchange). This makes threading problematic and forces you to also rely on
the subject to put an email message in the proper group. I group messages with
the same subject within a week of each other together. Then I use any
message-ids and references (et.al.) to thread them.

 The References: header is probably about it.

  -Original Message-
  From: Jeff Chastain [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, February 19, 2003 2:39 PM
  To: CF-Talk
  Subject: WOT: Email Archive
 
 
  I am needing to put together a simple web based archive for
  email messages.
  My question is how to build the threading - how do you tell
  how one message
  relates to another?  You obviously cannot rely on the subject
  line as people
  can modify that and their email programs can modify it
  automatically (re,
  fw, etc.) ...
 
  I am thinking the answer lies in the email header info, but I
  have not found
  a source of info describing what should always be in a header.
 
  Thanks
  -- Jeff
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




test-please ignore

2003-02-19 Thread Dina Hess
Archived messages are not making it to my Inbox.
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Queries of Queries and DATEPART() and the like

2003-02-19 Thread Matthew Fusfield
Brook:
The CF guide has such as list; take a look at
http://livedocs.macromedia.com/cfmxdocs/Developing_ColdFusion_MX_Applica
tions_with_CFML/using_recordsets.jsp

Matt

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 19, 2003 3:11 PM
To: CF-Talk
Subject: Queries of Queries and DATEPART() and the like


I'm running into a lot of limitations when using Queries of Queries and 
lack of support for SQL Operators like DATEPART() and the like.

Does any one know where I can find a list of acceptable operators for
use 
with Q of Q's?

Brook



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




SOAP, CF, ASP and web services

2003-02-19 Thread Robert Bailey
Sorry, this may be a little off topic as it has some ASP questions in it

I have been writing a few web services with CF, but when I try to consume
them using .net, I get an error. I am using MSSOAP, and here is how I am
trying to consume it:

%
Dim oSOAP
oSOAP = Server.CreateObject(MSSOAP.SoapClient)
oSOAP.ClientProperty(ServerHTTPRequest) = True

oSOAP.mssoapinit(http://www.tinetics.com/webservices/securitylevel.cfc?WSDL
)
%

Also, the example is here:

http://www.tinetics.com/temp/test.aspx

and I have turned on debugging.

Basically, I am not understanding why I am having these errors when trying
to consume a CF web service, but works fine when working with .net services.
Is CF not compatable?

Thanks!
Robert Bailey
Famous for nothing


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: SOAP, CF, ASP and web services

2003-02-19 Thread Dave Watts
 I have been writing a few web services with CF, but when 
 I try to consume them using .net, I get an error. I am 
 using MSSOAP, and here is how I am trying to consume it:

 %
 Dim oSOAP
 oSOAP = Server.CreateObject(MSSOAP.SoapClient)
 oSOAP.ClientProperty(ServerHTTPRequest) = True

 oSOAP.mssoapinit
 (http://www.tinetics.com/webservices/securitylevel.cfc?WSDL
 )%

I'm no .NET expert, but shouldn't you just create a web reference, rather
than using MSSOAP? I thought that wasn't used any more with .NET.

 Also, the example is here:

 http://www.tinetics.com/temp/test.aspx

 and I have turned on debugging. 

You're getting an unrelated error in the page.

 Basically, I am not understanding why I am 
 having these errors when trying to consume a 
 CF web service, but works fine when working 
 with .net services. Is CF not compatable?

In general, CF is compatible, but this depends on the complexity of the web
service in some cases. However, having looked at your WSDL, it looks pretty
straightforward and simple.

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 
voice: (202) 797-5496 
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




astrological sign

2003-02-19 Thread Benjamin Rosenthal
Does anyone happen to know of or have some pre-built code for taking a birth
date and converting it to the appropriate astrological sign?

thanks in advance,

Benjamin

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Searching for a TIMESPAN / SQL Server

2003-02-19 Thread brook
I have a datetime field in SQL Server. I am trying to allow my user to 
search for a date range and a time span.

How do I search for, for example, all records from the last 7 days, that 
have a timestamp between -12:10:00 - 15:30:20.

How do you search on the time only?

Brook


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: SOAP, CF, ASP and web services

2003-02-19 Thread Scott Van Vliet
If .NET is what you are trying to use, then you will first need to create a
proxy for the ColdFusion web service.

This can be done by adding a web reference (as Dave mentioned in his email).
However, it can also be done using the .NET command line tools.

Here are the steps to follow to create the proxy, and then consume it.

1) Open a command window.
2) Use the WSDL Utility 'wsdl.exe' to create the web service proxy class
   'C:\wsdl http://www.tinetics.com/webservices/securitylevel.cfc?WSDL'
   This will create the proxy class, 'securitylevelService.cs'
3) Use the C# Compiler 'csc.exe' to compile the class into a .NET Assembly
   'C:\csc /target:library securitylevelService.cs'
   This will create the DLL you need to use to consume the service
4) Now, copy the Assembly ' securitylevelService.dll' into the 'bin'
   directory of you web application.

That's it - now you can consume the ColdFusion web service in ASP.NET.

Here's some sample code of how to consume the service we just created:


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: CF update BUG in MX. Who at MM can I yell at?

2003-02-19 Thread Joe Eugene
Why do want to use CFUPDATE? Use regular CFQUERY with Insert Statement!.


Joe Eugene



 -Original Message-
 From: Mark W. Breneman [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 19, 2003 2:55 PM
 To: CF-Talk
 Subject: CF update BUG in MX. Who at MM can I yell at?


 pulling hair out

 Can any one tell me if MM has acknowledge the cfupdate CFMX bug requiring
 your db key field to be listed in the formfields attribute of the cfupdate
 tag? (if you have any values in the formfields attribute of the cfupdate
 tag)

 I have seen this bug on several servers, There must be a reason
 why this has
 not been fixed in any of the CFMX updaters.   It seems like a
 no brainier.

 I know, I know... don't use CFupdate, but I have a several large project
 that it is used in and they just got put on a MX server.

 Mark W. Breneman
 -Macromedia Certified ColdFusion Developer
 -Network / Web Server Administrator
   Vivid Media
   [EMAIL PROTECTED]
   www.vividmedia.com
   608.270.9770

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Session Timer

2003-02-19 Thread Jann VanOver
Dave, if you zip it and email to me, I will make it publicly available to
the list.  You could write an HTML intro to go with it ... If you don't have
one already!


 2/12/03 9:48 AM, Dave Carabetta [EMAIL PROTECTED] wrote:

 I would be interested in the code, I am sure other folks might be too.
 Would you mind sharing it for the community?
 
 I'd love to, but this list strips attachments, and I don't have a public web
 site to post the zip file to. So, unfortunately, for now, I will have to
 e-mail it to you off-list.
 
 Regards,
 Dave.
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Okay, that settles it, I'm definitely having problems...anyone else? Q inside...

2003-02-19 Thread Jann VanOver
On 2/9/03 9:12 AM, Jeff Small [EMAIL PROTECTED] wrote:

 THE FUNCTION
 
 script language=JavaScript
 !--
 function popUp(URL,wwidth,wheight) {
 day = new Date();
 id = day.getTime();
 eval(page + id +  = window.open(URL, ' + id + ',
 
 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=
 + wwidth + ,height= + wheight + ,left = 75,top = 75'););
 }
 //--
 /script
 
 
 THE LINK
 
 a href=javascript:popUp('pop.cfm,300,300')Click me/a
 
 See, I can do the popup thing no problem. The problem is understanding this
 bit of weirdness:
 
 If you put a form tag in your page, like so:
 form action=survey_results.cfm method=post
 What is most important to you when purchasing a Home?br
 input name=question1 type=radio value=Area 1. Areabr
 input name=question1 type=radio value=Amenities 2. Amenitiesbr
 input name=question1 type=radio value=Schools 3. Local Schoolsbr
 input name=question1 type=radio value=Price 4. Pricebr
 input name= type=submit value=Submit
 /form
 

Add target=_blank to your form tag.

Ie.  form action=survey_results.cfm method=post target=_blank

J

 The behaviour I'm looking for, is when you submit this single question, a
 popup window pops up, and you see details on your answer, and
 simultaneously, your answer is stored in a database. I have no problem with
 the query to display details on your answer, nor do I have a problem with
 storing the answer in the database. What I AM confused on, is that, if I put
 an action attribute in my form tag, how do I make survey_results.cfm be
 the popup? The way it's written now, if you press submit you GO to
 survey_results.cfm. I'd like to keep you on the same page, popup
 survey_results.cfm, and use survey_results.cfm as the popup and details
 window.
 
 Make sense?
 
 I wasn't aware that you could just tack on the variable at the end (URL
 scope) and still pass it via FORM scope. It's not working for me right now,
 so I'm obviously doing something wrong. In other words, this isn't working:
 
 form action=survey_results.cfm method=post
 What is most important to you when purchasing a Home?br
 input name=question1 type=radio value=Area 1. Areabr
 input name=question1 type=radio value=Amenities 2. Amenitiesbr
 input name=question1 type=radio value=Schools 3. Local Schoolsbr
 input name=question1 type=radio value=Price 4. Pricebr
 input name= type=submit value=Submit
 onClick=('survey_results.cfm?question1=#question1#', '250,250')
 /form
 
 Should I just remove the action attribute from my form tag? I tried, and
 that wasn't working...but maybe there's a combination of it that I'm
 missing.
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Add Banner Management

2003-02-19 Thread Russ
Hi all...

I've been doing some searching and searching (and the one inexpensive
banner management system I found had a broken URL) and I've found a lot
of different sources for this type of thing, but I've yet to find one
that is affordable (read: free or very close to it).

I'm also hoping to be able manage inventory, set limits, zones, etc. and
I don't have a lot of experience with it, so something with some
easy-to-grasp way to it would be great, too.

Any recommendations?

Thanks!

Russ

(apologies if this is a duplicate)

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Best Way to Deal With Multiple Page Registration Form

2003-02-19 Thread Sean A Corfield
On Wednesday, Feb 19, 2003, at 11:21 US/Pacific, Mosh Teitelbaum wrote:
 So, not to knock Flash UIs, but the same functionality could also be 
 coded
 via CFML and HTML without requiring Flash.

Agreed. Just suggesting an alternative approach.

 And, not being a Flash guy, I
 would assume that there be a similar level of effort required to 
 prefill
 Flash form fields as HTML form fields, etc.

Prefill? Well, if you wanted to save a partially completed form to disk 
as Local Shared Objects and restore it when the user returned, yes, you 
would have to code all of that just like you would in CF (using 
whatever persistence mechanism you wanted). The benefit of Flash is not 
requiring a database schema to be set up for transient form data and 
not having to age off incomplete forms.

If you don't persist from visit to visit, I'd contend that the Flash 
approach is simpler - form fields are just variables in Flash so they 
are automatically remembered during your session across however many 
'views' your forms require and then you just parcel up the data at the 
end and send it in a single Flash Remoting call.

And I'm not a Flash guy either.

 The benefits of Flash would be
 a single trip (vs. multiple trips) to the server and the ability to 
 make a
 pretty UI while the benefits of HTML are universal compatibility and
 familiarity (among others).

Flash is probably more compatible with browsers across the globe than 
much of the HTML folks write - 98% of browsers have the plugin and it 
works the same way on all of those browsers. As for familiarity, I 
think the introduction of standard Flash UI Components has done a lot 
to mitigate the quirkiness of many earlier Flash apps.

 [snip]
 Granted, this requires some fairly repetitive coding, but it's pretty 
 simple
 to build.  Mind-numbing but effective 8^).

Yes, I'll concede that this approach is effective (I hadn't thought of 
the JavaScript trick to change form actions!) and relatively 
straightforward. So I'll concede that for anyone not familiar with 
Flash, your approach is going to be much easier to build. More 
mind-numbing but easier :)

I just want to make the point that Flash *is* a good match for this 
sort of problem and can produce a very effective solution... *if* you 
know Flash. I'm picking it up as I go and finding it's mostly 
straightforward, given my knowledge of scripting languages like 
CFScript...

And of course I like to play Devil's Advocate :)

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Array Initialization

2003-02-19 Thread Joe Eugene
I cant find a way to initialize an array in CF like in Java.

Example (Java Way)

   String appServers[] = {JRun,CFMX,WebLogic,ORAS};

What is the CF Equivalent in One line of code like above?

Thanks
Joe Eugene




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: CF update BUG in MX. Who at MM can I yell at?

2003-02-19 Thread Simon Horwith
technically, you'd use an UPDATE statement in lieu of cfupdate - not an
INSERT statement.

~Simon

Simon Horwith 
Macromedia Certified Instructor 
Certified Advanced ColdFusion MX Developer
Certified Flash MX Developer
CFDJList - List Administrator
Fig Leaf Software 
1400 16th St NW, # 220 
Washington DC 20036 
202.797.6570 (direct line) 
http://www.figleaf.com 


-Original Message-
From: Joe Eugene [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 February, 2003 10:27 PM
To: CF-Talk
Subject: RE: CF update BUG in MX. Who at MM can I yell at?


Why do want to use CFUPDATE? Use regular CFQUERY with Insert Statement!.


Joe Eugene



 -Original Message-
 From: Mark W. Breneman [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 19, 2003 2:55 PM
 To: CF-Talk
 Subject: CF update BUG in MX. Who at MM can I yell at?


 pulling hair out

 Can any one tell me if MM has acknowledge the cfupdate CFMX bug requiring
 your db key field to be listed in the formfields attribute of the cfupdate
 tag? (if you have any values in the formfields attribute of the cfupdate
 tag)

 I have seen this bug on several servers, There must be a reason
 why this has
 not been fixed in any of the CFMX updaters.   It seems like a
 no brainier.

 I know, I know... don't use CFupdate, but I have a several large project
 that it is used in and they just got put on a MX server.

 Mark W. Breneman
 -Macromedia Certified ColdFusion Developer
 -Network / Web Server Administrator
   Vivid Media
   [EMAIL PROTECTED]
   www.vividmedia.com
   608.270.9770

 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Returning arrays from a web service

2003-02-19 Thread Jann VanOver
FYI I got it yesterday ... I just don't have the answer


On 2/12/03 7:57 AM, Phillip Cave [EMAIL PROTECTED] wrote:

 I sent this yesterday morning... But I think it was when the list was having
 issues.
 
 Boy, on a roll this morning.
 
 When a ColdFusion web service method is set to return an array, the WSDL
 that is generated says the return type is element
 name=ArrayOf_xsd_anyType nillable=true type=intf:ArrayOf_xsd_anyType
 /. Specifically, the function returns an array of strings. Is there anyway
 to make CF generate the correct return type in the WSDL (I don't want the
 return type to be xsd_anyType)? Or, am I going to have to edit the WSDL by
 hand.
 
 Thanks again,
 
 Phillip
 
 
 Phillip Cave
 ColdFusion Developer
 Carol/Trevelyan Strategy Group
 202.448.5212
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Preventing Save As of website

2003-02-19 Thread Jann VanOver
Here's the best answer I've seen to this!

http://www.continue.to/hope



Thanks to Jochem for posting it some time ago!

On 2/14/03 9:06 AM, webguy [EMAIL PROTECTED] wrote:

 Not possible. Give up. Anything you can view on your screen can be saved to
 your disk.
 
 WG
 
 I am looking at different ways of protecting some content and am
 wondering if there is a way of supressing the Save As functionality in
 MSIE. One site I am unable to save like this is CNN.COM. When I try, the
 browser goes about retrieving all of the files associated, but then an
 error stating The web page could not be saved to the selected
 location. Is this just some weird error, or have CNN in fact added
 something to their site to do exactly this?
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: CF update BUG in MX. Who at MM can I yell at?

2003-02-19 Thread cf-talk
I'll second that.  I just recently got done dealing with the same issue.
It's far easier to go back and change all of the CFINSERTS and CFUPDATES
(even in someone else's code) than it is to try and workaround or fix
the issues.

-Novak

- Original Message -
From: Joe Eugene [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 7:27 PM
Subject: RE: CF update BUG in MX. Who at MM can I yell at?


 Why do want to use CFUPDATE? Use regular CFQUERY with Insert Statement!.


 Joe Eugene



  -Original Message-
  From: Mark W. Breneman [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, February 19, 2003 2:55 PM
  To: CF-Talk
  Subject: CF update BUG in MX. Who at MM can I yell at?
 
 
  pulling hair out
 
  Can any one tell me if MM has acknowledge the cfupdate CFMX bug
requiring
  your db key field to be listed in the formfields attribute of the
cfupdate
  tag? (if you have any values in the formfields attribute of the cfupdate
  tag)
 
  I have seen this bug on several servers, There must be a reason
  why this has
  not been fixed in any of the CFMX updaters.   It seems like a
  no brainier.
 
  I know, I know... don't use CFupdate, but I have a several large project
  that it is used in and they just got put on a MX server.
 
  Mark W. Breneman
  -Macromedia Certified ColdFusion Developer
  -Network / Web Server Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com
608.270.9770
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Array Initialization

2003-02-19 Thread Kwang Suh
There isn't.

cfset theArray = arrayNew(1)
cfset theArray[1] = Jrun
...


- Original Message -
From: Joe Eugene [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 8:27 PM
Subject: Array Initialization


 I cant find a way to initialize an array in CF like in Java.

 Example (Java Way)

String appServers[] = {JRun,CFMX,WebLogic,ORAS};

 What is the CF Equivalent in One line of code like above?

 Thanks
 Joe Eugene




 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: OT: JavaScript: using Submit()

2003-02-19 Thread Kwang Suh
 Onclick expects javascript already.

Actually, this isn't always the case.  In IE, if your page has a VBScript as
the last script in the head, then IE will interpret everything after that as
VBScript.  Since I use both VBScript and JavaScript at work, I now always
make sure to specify the script language with the javascript: or
vbscript: thingy.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




astrological sign

2003-02-19 Thread Benjamin Rosenthal
Took a look at CFLIB but didn't see anything there.

I'm not what you would call a believer so I mistakenly assumed it HAD to be more 
complicated than date alone.  Go figure -- who knew figuring out one's personality 
could be so simple?  ;)

Here are the date ranges if someone wants to go to town.  Yes, I'd be happy if anyone 
wants to post their UDF. (Michael T., tried to contact you but could't see your email 
anywhere.)

Aries March 21-April 19 
Taurus April 20-May 20 
Gemini May 21-June 21 
Cancer June 22-July 22 
Leo July 23-August 22 
Virgo August 23-September 22 
Libra September 23-October 22 
Scorpio October 23 - November 21 
Sagittarius November 22-December 21 
Capricorn December 22-January 19 
Aquarius January 20-February 18 
Pisces February 19-March 20 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: CF update BUG in MX. Who at MM can I yell at?

2003-02-19 Thread Joe Eugene
 not an INSERT statement.
I meant Update SQL Statement... Typo! Hey.. that isnt hard to figure out..is
it?

Joe Eugene

 -Original Message-
 From: Simon Horwith [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 19, 2003 11:08 PM
 To: CF-Talk
 Subject: RE: CF update BUG in MX. Who at MM can I yell at?


 technically, you'd use an UPDATE statement in lieu of cfupdate - not an
 INSERT statement.

 ~Simon

 Simon Horwith
 Macromedia Certified Instructor
 Certified Advanced ColdFusion MX Developer
 Certified Flash MX Developer
 CFDJList - List Administrator
 Fig Leaf Software
 1400 16th St NW, # 220
 Washington DC 20036
 202.797.6570 (direct line)
 http://www.figleaf.com


 -Original Message-
 From: Joe Eugene [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, 19 February, 2003 10:27 PM
 To: CF-Talk
 Subject: RE: CF update BUG in MX. Who at MM can I yell at?


 Why do want to use CFUPDATE? Use regular CFQUERY with Insert Statement!.


 Joe Eugene



  -Original Message-
  From: Mark W. Breneman [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, February 19, 2003 2:55 PM
  To: CF-Talk
  Subject: CF update BUG in MX. Who at MM can I yell at?
 
 
  pulling hair out
 
  Can any one tell me if MM has acknowledge the cfupdate CFMX bug
 requiring
  your db key field to be listed in the formfields attribute of
 the cfupdate
  tag? (if you have any values in the formfields attribute of the cfupdate
  tag)
 
  I have seen this bug on several servers, There must be a reason
  why this has
  not been fixed in any of the CFMX updaters.   It seems like a
  no brainier.
 
  I know, I know... don't use CFupdate, but I have a several large project
  that it is used in and they just got put on a MX server.
 
  Mark W. Breneman
  -Macromedia Certified ColdFusion Developer
  -Network / Web Server Administrator
Vivid Media
[EMAIL PROTECTED]
www.vividmedia.com
608.270.9770
 
 

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Array Initialization

2003-02-19 Thread Patricia G . L . Hall
You can't do it in just one line.  You have to first initialize the  
array itself and then populate it in subsequent lines.  You probably  
already know that syntax, but just in case:

cfscript
appServers = arraynew(1);
arrayappend(appServers, JRun);
arrayappend(appServers, CFMX);
... etc ...
/cfscript

Grain of salt included.  General form is there, specific details (like  
attributes and stuff) should be checked for peace of mind...

-Patti

On Wednesday, February 19, 2003, at 10:27  PM, Joe Eugene wrote:

 I cant find a way to initialize an array in CF like in Java.

 Example (Java Way)

String appServers[] = {JRun,CFMX,WebLogic,ORAS};

 What is the CF Equivalent in One line of code like above?

 Thanks
 Joe Eugene




 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Add Banner Management

2003-02-19 Thread samcfug
What Operating system?

=
Douglas White
group Manager
mailto:[EMAIL PROTECTED]
http://www.samcfug.org
=
- Original Message -
From: Russ [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 10:31 PM
Subject: Add Banner Management


| Hi all...
|
| I've been doing some searching and searching (and the one inexpensive
| banner management system I found had a broken URL) and I've found a lot
| of different sources for this type of thing, but I've yet to find one
| that is affordable (read: free or very close to it).
|
| I'm also hoping to be able manage inventory, set limits, zones, etc. and
| I don't have a lot of experience with it, so something with some
| easy-to-grasp way to it would be great, too.
|
| Any recommendations?
|
| Thanks!
|
| Russ
|
| (apologies if this is a duplicate)
|
| 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Session Timer

2003-02-19 Thread Jim Davis
I only got one message out of this thread... Seems better than average
lately.  ;^)

I've got some sample code that should let you build a session
manager/timer pretty easily here:

http://www.depressedpress.com/DepressedPress/Content/ColdFusion/Essays/G
IFAsPipe/Index.cfm

The example just shows how to interact with the server without a new
page refresh - but it could be modifed very easily.

Hope this helps,

Jim Davis

 -Original Message-
 From: Jann VanOver [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, February 19, 2003 10:23 PM
 To: CF-Talk
 Subject: Re: Session Timer
 
 
 Dave, if you zip it and email to me, I will make it publicly 
 available to the list.  You could write an HTML intro to go 
 with it ... If you don't have one already!
 
 
  2/12/03 9:48 AM, Dave Carabetta [EMAIL PROTECTED] wrote:
 
  I would be interested in the code, I am sure other folks might be 
  too. Would you mind sharing it for the community?
  
  I'd love to, but this list strips attachments, and I don't have a 
  public web site to post the zip file to. So, unfortunately, 
 for now, I 
  will have to e-mail it to you off-list.
  
  Regards,
  Dave.
  
  
  
  
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Preventing Save As of website

2003-02-19 Thread Martin Henwood/Adwright Comm.
Doesn't work for us mac users :) unless you can disable control clicking aswell!!
Martin

Jann VanOver [EMAIL PROTECTED] wrote:
Here's the best answer I've seen to this!

http://www.continue.to/hope



Thanks to Jochem for posting it some time ago!

On 2/14/03 9:06 AM, webguy [EMAIL PROTECTED] wrote:

 Not possible. Give up. Anything you can view on your screen can be saved to
 your disk.
 
 WG
 
 I am looking at different ways of protecting some content and am
 wondering if there is a way of supressing the Save As functionality in
 MSIE. One site I am unable to save like this is CNN.COM. When I try, the
 browser goes about retrieving all of the files associated, but then an
 error stating The web page could not be saved to the selected
 location. Is this just some weird error, or have CNN in fact added
 something to their site to do exactly this?
 
 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: astrological sign

2003-02-19 Thread Dave Lyons
cfscript
/**
 * Returns the Chinese Zodiac animal corresponding to the given year of
birth.
 *
 * @param    Year (in the format ) you want the Chinese Zodiac
animal for.
 * @return Returns a string.
 * @author Sierra Bufe ([EMAIL PROTECTED])
 * @version 1, December 3, 2001
 */
function ChineseZodiac() {
  var Animals =
ListToArray(Monkey,Chicken,Dog,Pig,Mouse,Ox,Tiger,Rabbit,Dragon,Snake,Horse
,Sheep);
  return Animals[( MOD 12) + 1];
}
/cfscript





Dave

- Original Message -
From: Benjamin Rosenthal [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, February 19, 2003 10:47 PM
Subject: astrological sign


 Took a look at CFLIB but didn't see anything there.

 I'm not what you would call a believer so I mistakenly assumed it HAD to
be more complicated than date alone.  Go figure -- who knew figuring out
one's personality could be so simple?  ;)

 Here are the date ranges if someone wants to go to town.  Yes, I'd be
happy if anyone wants to post their UDF. (Michael T., tried to contact you
but could't see your email anywhere.)

 Aries March 21-April 19
 Taurus April 20-May 20
 Gemini May 21-June 21
 Cancer June 22-July 22
 Leo July 23-August 22
 Virgo August 23-September 22
 Libra September 23-October 22
 Scorpio October 23 - November 21
 Sagittarius November 22-December 21
 Capricorn December 22-January 19
 Aquarius January 20-February 18
 Pisces February 19-March 20
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Add Banner Management

2003-02-19 Thread Russ
My bad--

It'll be running on RH 7.2 up on the server.  It'd be nice if it wasn't
platform dependent and could work with Access and/or MySQL, but, I can
survive--MySQL would be better in that case.

Russ

 -Original Message-
 From: samcfug [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, February 20, 2003 12:11 AM
 To: CF-Talk
 Subject: Re: Add Banner Management
 
 
 What Operating system?
 
 =
 Douglas White
 group Manager
 mailto:[EMAIL PROTECTED]
 http://www.samcfug.org
 =
 - Original Message -
 From: Russ [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, February 19, 2003 10:31 PM
 Subject: Add Banner Management
 
 
 | Hi all...
 |
 | I've been doing some searching and searching (and the one 
 inexpensive
 | banner management system I found had a broken URL) and I've 
 found a lot
 | of different sources for this type of thing, but I've yet 
 to find one
 | that is affordable (read: free or very close to it).
 |
 | I'm also hoping to be able manage inventory, set limits, 
 zones, etc. and
 | I don't have a lot of experience with it, so something with some
 | easy-to-grasp way to it would be great, too.
 |
 | Any recommendations?
 |
 | Thanks!
 |
 | Russ
 |
 | (apologies if this is a duplicate)
 |
 | 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Array Initialization

2003-02-19 Thread Joe Eugene
 There isn't.

This is wierd, i wonder if there is a way to invoke
the Java Environment to do this.

Joe Eugene

 -Original Message-
 From: Kwang Suh [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 20, 2003 12:18 AM
 To: CF-Talk
 Subject: Re: Array Initialization


 There isn't.

 cfset theArray = arrayNew(1)
 cfset theArray[1] = Jrun
 ...


 - Original Message -
 From: Joe Eugene [EMAIL PROTECTED]
 To: CF-Talk [EMAIL PROTECTED]
 Sent: Wednesday, February 19, 2003 8:27 PM
 Subject: Array Initialization


  I cant find a way to initialize an array in CF like in Java.
 
  Example (Java Way)
 
 String appServers[] = {JRun,CFMX,WebLogic,ORAS};
 
  What is the CF Equivalent in One line of code like above?
 
  Thanks
  Joe Eugene
 
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Array Initialization

2003-02-19 Thread Joe Eugene
 already know that syntax,

Yeah.. below is the standard in CF.. but hey CFMX translates
CF Code in Java code... is there a work around?

Joe Eugene



 -Original Message-
 From: Patricia G. L. Hall [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 20, 2003 12:44 AM
 To: CF-Talk
 Subject: Re: Array Initialization


 You can't do it in just one line.  You have to first initialize the
 array itself and then populate it in subsequent lines.  You probably
 already know that syntax, but just in case:

 cfscript
   appServers = arraynew(1);
   arrayappend(appServers, JRun);
   arrayappend(appServers, CFMX);
   ... etc ...
 /cfscript

 Grain of salt included.  General form is there, specific details (like
 attributes and stuff) should be checked for peace of mind...

 -Patti

 On Wednesday, February 19, 2003, at 10:27  PM, Joe Eugene wrote:

  I cant find a way to initialize an array in CF like in Java.
 
  Example (Java Way)
 
 String appServers[] = {JRun,CFMX,WebLogic,ORAS};
 
  What is the CF Equivalent in One line of code like above?
 
  Thanks
  Joe Eugene
 
 
 
 
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




Re: Array Initialization

2003-02-19 Thread jonhall
cfset appServers = listToArray(JRun,CFMX,WebLogic,ORAS)

-- 
mailto:[EMAIL PROTECTED]
Wednesday, February 19, 2003, 10:27:03 PM, you wrote:

JE I cant find a way to initialize an array in CF like in Java.

JE Example (Java Way)

JEString appServers[] = {JRun,CFMX,WebLogic,ORAS};

JE What is the CF Equivalent in One line of code like above?

JE Thanks
JE Joe Eugene

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: Array Initialization

2003-02-19 Thread Joe Eugene
 cfset appServers = listToArray(JRun,CFMX,WebLogic,ORAS)

Am aware of the above.
You are creating a list and converting it to an array..
this is not the same as...

 String x[]={a,b,c};

Joe Eugene



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 20, 2003 2:42 AM
 To: CF-Talk
 Subject: Re: Array Initialization


 cfset appServers = listToArray(JRun,CFMX,WebLogic,ORAS)

 --
 mailto:[EMAIL PROTECTED]
 Wednesday, February 19, 2003, 10:27:03 PM, you wrote:

 JE I cant find a way to initialize an array in CF like in Java.

 JE Example (Java Way)

 JEString appServers[] = {JRun,CFMX,WebLogic,ORAS};

 JE What is the CF Equivalent in One line of code like above?

 JE Thanks
 JE Joe Eugene

 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4