Re: bd and cf on same box?

2004-06-24 Thread Paul Hastings
 Yes. To do this, I had to set up separate virtual web servers, though.

i was hoping to dump it on a w/s using iis (we're down to 2 dev servers, i'd
rather not knock the cf one out  i won't put anything on the db box). does
bd have an internal webserver like cf's?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: bd and cf on same box?

2004-06-24 Thread Paul Hastings
 I am running a fullly licensed CF Standard on CF's internal web server
 here (its an intranet) and did the same with BD.Forget which port it
 ran on but neither were on port 80.

ah, that answers my question i think. thanks.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: listfunction problems

2004-06-24 Thread Pascal Peters
REReplace(list,,(\s*,)+,,,all) 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: woensdag 23 juni 2004 19:59
 To: CF-Talk
 Subject: listfunction problems
 
 Hi folks, I have a list
 like: a, b, d, , f, g, , , , s
 But I would like to have:
 a, b, d, f, g, s
 
 How can I get rid of the empty
 elements in the list ?
 
 Uwe
 
 

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




Re: bd and cf on same box?

2004-06-24 Thread Matt Robertson
Paul wrote
 ah, that answers my question i think. thanks.

Yep... BD has its own server that runs on a similarly oddball port.I
would guess its similarly for dev use only but thats just a guess.

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




Re: bd and cf on same box?

2004-06-24 Thread Jeffry Houser
I cowrote an article on this ( W/ Charlie Arehart) for CFDJ explaining 
how to set up BD / CF5 and CFMX all off the same instance of an IIS server.

In basic terms, you have to set up a different directory for each server 
and set up a mapping that sends CFM / CFC files to whichever CFML server 
you want.

I have my dev box set up this way.

At 09:02 PM 6/23/2004, you wrote:
Subject: bd and cf on same box?
From: Paul Hastings [EMAIL PROTECTED]
Date: Thu, 24 Jun 2004 05:35:11 +0700
Thread: 
http://www.houseoffusion.com/cf_lists/index.cfm/method=messagesthreadid=33448forumid=4#167858

probably a dumb question but can bd  mx sit side-by-side on the same box?

thanks.

--
Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer
mailto:[EMAIL PROTECTED]
--
AIM: Reboog711| Phone: 1-203-379-0773
--
My Books: http://www.instantcoldfusion.com
Recording Music: http://www.fcfstudios.com
Original Energetic Acoustic Rock: http://www.farcryfly.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




converting e.g. 0804 in a date

2004-06-24 Thread Uwe Degenhardt
Hi list,
I want to convert the date-number-string e.g. 0804 (mmyy)
in a date something
like: 08/31/2004

Is there a datefunction
for this ?
Uwe
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Understanding/Defending Coldfusion connections

2004-06-24 Thread Hugo Ahlenius
Adam,

have you registered that as a bug?

--
Hugo Ahlenius

-
Hugo AhleniusE-Mail: [EMAIL PROTECTED]
Project Officer Phone:+46 8 230460
UNEP GRID-ArendalFax:+46 8 230441
Stockholm OfficeMobile:+46 733 467111
 WWW: http://www.grida.no
- 



|-Original Message-
|From: Adrocknaphobia [mailto:[EMAIL PROTECTED] 
|Sent: Wednesday, June 23, 2004 21:52
|To: CF-Talk
|Subject: Re: Understanding/Defending Coldfusion connections
|
|Barney,
|
|I agree, that is how I would expect it to work. But alas it doesn't.
|For example a page with 2 procedure calls = two oracle 
|sessions. So rather than base it on request or whatnot, we 
|open a connection (through our java api) per user and maintain 
|one single session per user. If a procedure hasn't been called 
|in the specified 'session timeout' then we kill the session.
|
|Although now that I think about, I think we are talking about 
|two things... database sessions and connections. Or are we?
|
|-Adam
|
|
|- Original Message -
|From: Jochem van Dieten [EMAIL PROTECTED]
|Date: Wed, 23 Jun 2004 21:15:08 +0200
|Subject: Re: Understanding/Defending Coldfusion connections
|To: CF-Talk [EMAIL PROTECTED]
|
|
|Adrocknaphobia wrote:
| Actually, the option to maintain database connections doesnt seem to 
| really work (for J2EE --- Oracle).
|
|It does for PostgreSQL. Even the bug where the configured 
|maximum number of connections was not actually enforced has 
|been fixed in 6.1.
|
|Jochem
|
|
|
|
|
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: bd and cf on same box?

2004-06-24 Thread Paul Hastings
I cowrote an article on this ( W/ Charlie Arehart) for CFDJ explaining
 how to set up BD / CF5 and CFMX all off the same instance of an IIS
server.

digital edition? got a url?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: bd and cf on same box?

2004-06-24 Thread Paul Hastings
 would guess its similarly for dev use only but thats just a guess.

that's about what i want it for, actually just to test a few steak 
taters i18n/java things.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




urgent:Cfm in ibm websphear

2004-06-24 Thread vishnu prasad
Hi 
we are planning to run our coldfusion application on Ibm websphear

if anyone know to to install and deploy code pls share with me

it would be great if anyone give step by stpe process to install and deploy coldfusion application with ibm web sphear?

what are the software that need to install before
any recomandation

thanks and regards
Vishnu Prasad
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: urgent:Cfm in ibm websphear

2004-06-24 Thread Thomas Chiverton
On Thursday 24 Jun 2004 09:32 am, vishnu prasad wrote:
 it would be great if anyone give step by stpe process to install and deploy
 coldfusion application with ibm web sphear?

http://www.macromedia.com/cfusion/search/index.cfm?LOC=en%5FusTERM=coldfusion%20websphere

First hit.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Evaluate?

2004-06-24 Thread Shahzad.Butt
Hello - can you please check the code below

CFSet GetAllContactTypes.PK_ContactType_ID =
CAA07070-CD2A-46D6-951F-653630BFD539

cfoutput

CFSet a = #Evaluate(Form.#GetAllContactTypes.PK_ContactType_ID#)#

/cfoutput



Its giving error though from the previous page value of form variable
named CAA07070-CD2A-46D6-951F-653630BFD539 is passed to this page.





Error Diagnostic Information

An error occurred while evaluating the _expression_: 

 a = #Evaluate(Form.#GetAllContactTypes.PK_ContactType_ID#)#

Error near line 10, column 18. 

_

An error has occurred while processing the _expression_:

Form.CAA07070-CD2A-46D6-951F-653630BFD539

Invalid parser construct found on line 1 at position 22. ColdFusion was
looking at the following text:

D6



Form Fields:

 
02E4F04B-4893-442D-AEAB-859F607B52B1=
02F2DF44-7063-4217-9052-C5E4179CBC73=
CAA07070-CD2A-46D6-951F-653630BFD539=fdf



**
This email and any files transmitted with it are confidential
and intended solely for use by the individual or entity to 
whom it is addressed. If you have received this e-mail in 
error, kindly notify [EMAIL PROTECTED] or call 
+44 1992 701 704. Unless stated otherwise, please note 
that any views or opinions expressed in this e-mail are solely
that of the author and are not necessarily of 
JJ Fast Food Distribution Limited. The company can not 
assure that the integrity of this communication has been 
maintained nor that it is free of errors, virus, interception or 
interference. The company accepts no liability for any 
damage caused by this email. JJ Fast Food Distribution 
Limited reserves the right to monitor and or record e-mail 
without prior notification.
**
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




coldfusion-61-ibm-eval-win.exe

2004-06-24 Thread vishnu prasad
Hi All

does anyone know where can i download 
the coldfusion-61-ibm-eval-win.exe evaluation software ??

Thanks in advance
Vishnu Prasad
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Evaluate?

2004-06-24 Thread JediHomer
Have you tried CFDumping the Form on that page to see if CF can see
the form field

Try changing the code to something like

CFSET a = Form[GetAllContactTypes.PK_ContactType_ID]

maybe wrapping it with a 

CFIF StructKeyExists(Form, GetAllContactTypes.PK_ContactType_ID)

HTH

- Original Message -
From: Shahzad.Butt [EMAIL PROTECTED]
Date: Thu, 24 Jun 2004 10:48:34 +0100
Subject: Evaluate?
To: CF-Talk [EMAIL PROTECTED]

Hello - can you please check the code below

CFSet GetAllContactTypes.PK_ContactType_ID =
CAA07070-CD2A-46D6-951F-653630BFD539

cfoutput
CFSet a = #Evaluate(Form.#GetAllContactTypes.PK_ContactType_ID#)#

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




RE: Evaluate?

2004-06-24 Thread Shahzad.Butt
Good job - thx

CFSET a = Form[GetAllContactTypes.PK_ContactType_ID] works

Shaz

_

From: JediHomer [mailto:[EMAIL PROTECTED] 
Sent: 24 June 2004 10:58
To: CF-Talk
Subject: Re: Evaluate?

Have you tried CFDumping the Form on that page to see if CF can see
the form field

Try changing the code to something like

CFSET a = Form[GetAllContactTypes.PK_ContactType_ID]

maybe wrapping it with a 

CFIF StructKeyExists(Form, GetAllContactTypes.PK_ContactType_ID)

HTH

- Original Message -
From: Shahzad.Butt [EMAIL PROTECTED]
Date: Thu, 24 Jun 2004 10:48:34 +0100
Subject: Evaluate?
To: CF-Talk [EMAIL PROTECTED]

Hello - can you please check the code below

CFSet GetAllContactTypes.PK_ContactType_ID =
CAA07070-CD2A-46D6-951F-653630BFD539

cfoutput
CFSet a = #Evaluate(Form.#GetAllContactTypes.PK_ContactType_ID#)#

/cfoutput

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




Re: coldfusion-61-ibm-eval-win.exe

2004-06-24 Thread JediHomer
There should be a link to download it off

http://www.macromedia.com/software/coldfusion/

HTH

- Original Message -
From: vishnu prasad [EMAIL PROTECTED]
Date: Thu, 24 Jun 2004 05:59:09 -0400
Subject: coldfusion-61-ibm-eval-win.exe
To: CF-Talk [EMAIL PROTECTED]

Hi All

does anyone know where can i download 
the coldfusion-61-ibm-eval-win.exe evaluation software ??

Thanks in advance
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: coldfusion-61-ibm-eval-win.exe

2004-06-24 Thread John Beynon
i did check that, couldn't find one. Perhaps MM don't expect 'normal'
people want to trial CF on WebSphere, after all it is a mere $20,000
per CPU to license it!

jb.

On Thu, 24 Jun 2004 11:04:36 +0100, JediHomer [EMAIL PROTECTED] wrote:
 
 There should be a link to download it off
 
 http://www.macromedia.com/software/coldfusion/
 
 HTH
 
 
 - Original Message -
 From: vishnu prasad [EMAIL PROTECTED]
 Date: Thu, 24 Jun 2004 05:59:09 -0400
 Subject: coldfusion-61-ibm-eval-win.exe
 To: CF-Talk [EMAIL PROTECTED]
 
 Hi All
 
 does anyone know where can i download
 the coldfusion-61-ibm-eval-win.exe evaluation software ??
 
 Thanks in advance
 

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




Re: coldfusion-61-ibm-eval-win.exe

2004-06-24 Thread John Beynon
or off IBM, at http://www-306.ibm.com/software/webservers/coldfusionmx/

On Thu, 24 Jun 2004 11:09:16 +0100, John Beynon [EMAIL PROTECTED] wrote:
 
 i did check that, couldn't find one. Perhaps MM don't expect 'normal'
 people want to trial CF on WebSphere, after all it is a mere $20,000
 per CPU to license it!
 
 jb.
 
 
 
 On Thu, 24 Jun 2004 11:04:36 +0100, JediHomer [EMAIL PROTECTED] wrote:
 
  There should be a link to download it off
 
  http://www.macromedia.com/software/coldfusion/
 
  HTH
 
 
  - Original Message -
  From: vishnu prasad [EMAIL PROTECTED]
  Date: Thu, 24 Jun 2004 05:59:09 -0400
  Subject: coldfusion-61-ibm-eval-win.exe
  To: CF-Talk [EMAIL PROTECTED]
 
  Hi All
 
  does anyone know where can i download
  the coldfusion-61-ibm-eval-win.exe evaluation software ??
 
  Thanks in advance
 
 
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: coldfusion-61-ibm-eval-win.exe

2004-06-24 Thread Greg Stewart
I would have though that you can simply download a trial version of
the enterprise edition of CFMX and deploy CFMX as an EAR on Websphere?

On Thu, 24 Jun 2004 11:13:08 +0100, John Beynon [EMAIL PROTECTED] wrote:
 
 or off IBM, at http://www-306.ibm.com/software/webservers/coldfusionmx/
 
 On Thu, 24 Jun 2004 11:09:16 +0100, John Beynon [EMAIL PROTECTED] wrote:
 
  i did check that, couldn't find one. Perhaps MM don't expect 'normal'
  people want to trial CF on WebSphere, after all it is a mere $20,000
  per CPU to license it!
 
  jb.
 
 
 
  On Thu, 24 Jun 2004 11:04:36 +0100, JediHomer [EMAIL PROTECTED] wrote:
  
   There should be a link to download it off
  
   http://www.macromedia.com/software/coldfusion/
  
   HTH
  
  
   - Original Message -
   From: vishnu prasad [EMAIL PROTECTED]
   Date: Thu, 24 Jun 2004 05:59:09 -0400
   Subject: coldfusion-61-ibm-eval-win.exe
   To: CF-Talk [EMAIL PROTECTED]
  
   Hi All
  
   does anyone know where can i download
   the coldfusion-61-ibm-eval-win.exe evaluation software ??
  
   Thanks in advance
  
  
 

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




Re: converting e.g. 0804 in a date

2004-06-24 Thread Rick Root
Uwe Degenhardt wrote:
 Hi list,
 I want to convert the date-number-string e.g. 0804 (mmyy)
 in a date something
 like: 08/31/2004
 
 Is there a datefunction for this ?

This code takes a 4 digit MMYY string and converts it to a date object 
for the last day of the month.

- Rick

CFSET orig = 0804
CFSET orig_date = Left(orig,2)  /1/  Right(orig,2)
CFSET final_date = 
CFOUTPUT#final_date#/CFOUTPUT

or

CFSCRIPT
function convertit(orig) {
	orig_date = Left(orig,2)  /1/  Right(orig,2);
	return DateAdd('d',DaysInMonth(orig_date)-1,orig_date);
}
/CFSCRIPT
CFOUTPUT#convertit(0804)#/CFOUTPUT
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Evaluate?

2004-06-24 Thread Aaron DC
Although CF is all too happy to display the form fields submitted on a page, I do not think you can have variables names with - in them?

Aaron

- Original Message - 
From: Shahzad.Butt 
To: CF-Talk 
Sent: Thursday, June 24, 2004 7:48 PM
Subject: Evaluate?

Hello - can you please check the code below

CFSet GetAllContactTypes.PK_ContactType_ID =
CAA07070-CD2A-46D6-951F-653630BFD539

cfoutput

CFSet a = #Evaluate(Form.#GetAllContactTypes.PK_ContactType_ID#)#

/cfoutput

Its giving error though from the previous page value of form variable
named CAA07070-CD2A-46D6-951F-653630BFD539 is passed to this page.



Error Diagnostic Information

An error occurred while evaluating the _expression_: 

a = #Evaluate(Form.#GetAllContactTypes.PK_ContactType_ID#)#

Error near line 10, column 18. 

_

An error has occurred while processing the _expression_:

Form.CAA07070-CD2A-46D6-951F-653630BFD539

Invalid parser construct found on line 1 at position 22. ColdFusion was
looking at the following text:

D6

Form Fields:

02E4F04B-4893-442D-AEAB-859F607B52B1=
02F2DF44-7063-4217-9052-C5E4179CBC73=
CAA07070-CD2A-46D6-951F-653630BFD539=fdf

**
This email and any files transmitted with it are confidential
and intended solely for use by the individual or entity to 
whom it is addressed. If you have received this e-mail in 
error, kindly notify [EMAIL PROTECTED] or call 
+44 1992 701 704. Unless stated otherwise, please note 
that any views or opinions expressed in this e-mail are solely
that of the author and are not necessarily of 
JJ Fast Food Distribution Limited. The company can not 
assure that the integrity of this communication has been 
maintained nor that it is free of errors, virus, interception or 
interference. The company accepts no liability for any 
damage caused by this email. JJ Fast Food Distribution 
Limited reserves the right to monitor and or record e-mail 
without prior notification.
**
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: coldfusion-61-ibm-eval-win.exe

2004-06-24 Thread vishnu prasad
Hi 

its not in MM site

you can download the eval softwarefrom ibm site 

regards
Vishnu Prasad

There should be a link to download it off

http://www.macromedia.com/software/coldfusion/

HTH


- Original Message -
From: vishnu prasad [EMAIL PROTECTED]
Date: Thu, 24 Jun 2004 05:59:09 -0400
Subject: coldfusion-61-ibm-eval-win.exe
To: CF-Talk [EMAIL PROTECTED]

Hi All

does anyone know where can i download 
the coldfusion-61-ibm-eval-win.exe evaluation software ??

Thanks in advance
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




address labels

2004-06-24 Thread dave
anyone have a cool tag for address labels?
simple - query the db for mailing addresses and output to print on a typical Avery label sheet.
I suppose I could write it to an exel file but i remember this coming up before but couldnt find in past posts

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




Re: Evaluate?

2004-06-24 Thread Jochem van Dieten
Aaron DC wrote:

 Although CF is all too happy to display the form fields submitted on a page, I do not think you can have variables names with - in them?

Generally not, but you can jump through hoops to create them, 
such as the form example. However, I wouldn't recommend it 
because - is an operator.

Consider the following:
input name=CAA07070-CD2A-D6D6-A51F-D53630BFD539 type=text 
value=1/

Now on the action page:
cfset CAA07070 = 8
cfset CD2A = 2
cfset D6D6 = 2
cfset A51F = 2
cfset D53630BFD539 = 2

cfoutput#Evaluate(CAA07070-CD2A-D6D6-D51F-D53630BFD539)#/cfoutput

Should this be evaluated as 5 value substittions (8-2-2-2-2) and 
then a substraction (returning 0), or as just one substitution of 
the form variable returning 1?

Using operators in variable names only creates confusion.

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




Re: converting e.g. 0804 in a date

2004-06-24 Thread Paul Hastings
 I want to convert the date-number-string e.g. 0804 (mmyy)

what locale? what date format?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re[2]: converting e.g. 0804 in a date

2004-06-24 Thread Uwe Degenhardt
Hello Rick,

Thursday, June 24, 2004, 12:35:50 PM, you wrote:

RR Uwe Degenhardt wrote:
 Hi list,
 I want to convert the date-number-string e.g. 0804 (mmyy)
 in a date something
 like: 08/31/2004
 
 Is there a datefunction for this ?

RR This code takes a 4 digit MMYY string and converts it to a date object 
RR for the last day of the month.

RR- Rick

RR CFSET orig = 0804
RR CFSET orig_date = Left(orig,2)  /1/  Right(orig,2)
RR CFSET final_date = 
RR CFOUTPUT#final_date#/CFOUTPUT

RR or

RR CFSCRIPT
RR function convertit(orig) {
RR 	orig_date = Left(orig,2)  /1/  Right(orig,2);
RR 	return DateAdd('d',DaysInMonth(orig_date)-1,orig_date);
RR }
RR /CFSCRIPT
RR CFOUTPUT#convertit(0804)#/CFOUTPUT

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




Re[3]: converting e.g. 0804 in a date

2004-06-24 Thread Uwe Degenhardt
Hi Rick, my message got
truncated.your coding worked beautifully.
Thank you very much.
Uwe

-- 
Best regards,
 Uwe mailto:[EMAIL PROTECTED]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re[2]: converting e.g. 0804 in a date

2004-06-24 Thread Uwe Degenhardt
Hi Paul,
thanks for asking, I got it to be working with (Ricks coding):

CFSCRIPT
function convertit(orig)
{
orig_date = Left(orig,2)  /1/  Right(orig,2);
return DateAdd('d',DaysInMonth(orig_date)-1,orig_date);
}
/CFSCRIPT

CFSET orig = getBestellung.cc_expires
CFSET dKKDatum = #dateformat(convertit(orig),'dd/mm/')#

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




Re: Re[2]: converting e.g. 0804 in a date

2004-06-24 Thread Paul Hastings
 thanks for asking, I got it to be working with (Ricks coding):

ok, be careful if you use this outside your locales.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Best Java Integration Route?

2004-06-24 Thread Tony Pimm
Hi,

I'm looking to use some Java code written by our Java team and integrate ColdFusion with it.

What's the best way to do this?How easy is it to integrate CF with a Java Class?Does anyone have any really simple examples of this type of thing using a custom built Java class?

Ta.
Tony
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: address labels

2004-06-24 Thread James Smith
HTML code doesn't really offer the level of page layout control you need for
this type of printing.I am currently doing this with a combination of
coldfusion, and pdf files with great success.I can't find the website I
got my basic information from but the following two sites both have good
information.
http://www.school-for-champions.com/coldfusion/cftopdf2.cfm
http://www.worlddesign.com/index.cfm/rd/cf/PDFForms.htm 

If you need more help on this subject just let me know.

--
Jay

 -Original Message-
 From: dave [mailto:[EMAIL PROTECTED] 
 Sent: 24 June 2004 12:12
 To: CF-Talk
 Subject: address labels
 
 anyone have a cool tag for address labels?
 simple - query the db for mailing addresses and output to 
 print on a typical Avery label sheet.
 I suppose I could write it to an exel file but i remember 
 this coming up before but couldnt find in past posts
 
 thanks 
 

 

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




RE: address labels

2004-06-24 Thread E C list
You will want to look at CF_AVERYRTF in the Macromedia Exchange.It makes the whole thing rather simple for a variety of typical Avery labels.

 
HTH
-Original Message-
From: dave[mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 7:12AM
To: CF-Talk
Subject: addresslabels

anyone have a cool tag for addresslabels?
simple - query the db for mailing addresses and output to print ona typical Avery label sheet.
I suppose I could write it to an exel file buti remember this coming up before but couldnt find in past posts

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




RE: Best Java Integration Route?

2004-06-24 Thread Calvin Ward
It's pretty easy overall..

 objMyClass =CreateObject(java,com.company.myclass);

just be sure your class is in the classpath in the cfadmin ir jvm.config based on what install you have done.

-Original Message-
From:Tony Pimm 
Date:6/24/04 8:17 am
To:CF-Talk 
Subj:Best Java Integration Route?

Hi,

I'm looking to use some Java code written by our Java team and integrate ColdFusion with it.

What's the best way to do this?How easy is it to integrate CF with a Java Class?Does anyone have any really simple examples of this type of thing using a custom built Java class?

Ta.
Tony
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Best Java Integration Route?

2004-06-24 Thread Thomas Chiverton
But yes, best practice would be to wrap all that inside a CFC, and return CFC 
datatypes if needed, to insulate yourself from changes.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Evaluate?

2004-06-24 Thread Mark Drew
Maybe we should re-wind... 
I presume since you are using UUID's that those are being used to name fields
Why not re-map them, e.g. 
input type=hidden name=name_CAA07070CD2AD6D6-D51FD53630BFD539
value=CAA07070-CD2A-D6D6-D51F-D53630BFD539

(notice the removal of - by using
Replace(CAA07070-CD2A-D6D6-D51F-D53630BFD539, -, )

Then you can safetly rename your displayed fields:
input type=text name=form_CAA07070CD2AD6D6-D51FD53630BFD539 value=

then, when you have the action form you can join both the form_uuid
var with the name_uuid value

hope that makes sense

regards

Mark Drew

On Thu, 24 Jun 2004 13:15:36 +0200, Jochem van Dieten
[EMAIL PROTECTED] wrote:
 
 Aaron DC wrote:
 
  Although CF is all too happy to display the form fields submitted on a page, I do not think you can have variables names with - in them?
 
 Generally not, but you can jump through hoops to create them,
 such as the form example. However, I wouldn't recommend it
 because - is an operator.
 
 Consider the following:
 input name=CAA07070-CD2A-D6D6-A51F-D53630BFD539 type=text
 value=1/
 
 Now on the action page:
 cfset CAA07070 = 8
 cfset CD2A = 2
 cfset D6D6 = 2
 cfset A51F = 2
 cfset D53630BFD539 = 2
 
 cfoutput#Evaluate(CAA07070-CD2A-D6D6-D51F-D53630BFD539)#/cfoutput
 
 Should this be evaluated as 5 value substittions (8-2-2-2-2) and
 then a substraction (returning 0), or as just one substitution of
 the form variable returning 1?
 
 Using operators in variable names only creates confusion.
 
 Jochem
 
 

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




RE: address labels

2004-06-24 Thread Sandy Clark
Samuel Neff did a great talk last year at the CFUG about integration with
Word that taked about this.Try his site.
http://www.rewindlife.com/archives/32.cfm http://www.rewindlife.com 

_

 From: dave
 anyone have a cool tag for address labels?
 simple - query the db for mailing addresses and output to 
 print on a typical Avery label sheet.
 I suppose I could write it to an exel file but i remember 
 this coming up before but couldnt find in past posts
 
 thanks 
 

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




Re: bd and cf on same box?

2004-06-24 Thread Jeffry Houser
It is in this issue:

http://www.sys-con.com/magazine/?issueid=220src="">

The title is Setting Up Your Development Server with ColdFusion 5, MX, 
and BlueDragon

You'll need to be a subscriber to get any farther.

At 09:01 AM 6/24/2004, you wrote:

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




Re: address labels

2004-06-24 Thread Matthew Fusfield
There is also an excellent article in CFDJ (also by Samuel Neff) with
a few great CFCs for printing labels through Word.

Matt

- Original Message -
From: Sandy Clark [EMAIL PROTECTED]
Date: Thu, 24 Jun 2004 09:21:02 -0400
Subject: RE: address labels
To: CF-Talk [EMAIL PROTECTED]

Samuel Neff did a great talk last year at the CFUG about integration with

Word that taked about this.Try his site.

http://www.rewindlife.com/archives/32.cfm http://www.rewindlife.com 

_

 From: dave

 anyone have a cool tag for address labels?

 simple - query the db for mailing addresses and output to 

 print on a typical Avery label sheet.

 I suppose I could write it to an exel file but i remember 

 this coming up before but couldnt find in past posts

 

 thanks 

 



 

 

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




RE: MAX registration?

2004-06-24 Thread Burns, John D
Adam,

 
That's a great idea, however, if I don't get to pay for the actual conference itself soon, I may not be able to go at all, so the hotel won't do me much good.I'm trying to find out if there's some way I can register with MM so the money will be done with and I'll have my ticket in hand.

 
By the way, are there any community type events on the days preceeding or after the conference? (Something besides just hanging out that I can use to justify my job paying for me to come down a few days early)

 
John



From: Adrocknaphobia [mailto:[EMAIL PROTECTED]
Sent: Wed 6/23/2004 11:15 AM
To: CF-Talk
Subject: Re: MAX registration?

John, you should book the hotel now.

- Original Message -
From: Burns, John D [EMAIL PROTECTED]
Date: Wed, 23 Jun 2004 11:09:52 -0400
Subject: MAX registration?
To: CF-Talk [EMAIL PROTECTED]

Can someone let me know an exact date when MAX registration will be
open?My company is saying that they'll send me but that we need to
be able to register and pay ASAP because our budget year is ending and
if we don't pay, we'll lose that money and they may not be able to
send me.Anyone from Macromedia, can you pull any strings to let me
pay early or something?Let me know.

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




Re: rotate images..

2004-06-24 Thread Doug Hughes
You could use the rotate() method on my image manipulation
component... http://www.alagad.com/index.cfm/name-aic.However, then
you really would need to tilt your head.The good thing is that you
could specify the angle at which you wished to tilt your head.

Doug Hughes 

On Wed, 23 Jun 2004 19:50:14 -0400, Jim Curran
[EMAIL PROTECTED] wrote:
 
 The easiest way would be to name the images 1 through x
 then:
 
 img src="">
 
 - j
 
 james curran
 technical director
 nylon technology
 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
 212-691-1134
 
 -Original Message-
 From: Steven Erat [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 23, 2004 6:51 PM
 To: CF-Talk
 Subject: RE: rotate images..
 
 Using _javascript_, this example will rotate the three gifs at 1 second
 intervals:
 
 SCRIPT LANGUAGE=_javascript_ TYPE=TEXT/_javascript_
 var adImages = new Array(image01.gif,image02.gif,image03.gif)
 var thisAd = 0
 
 function cycle() {
if (document.images) {
 if (document.adBanner.complete) {
thisAd++
if (thisAd == 3) {
thisAd = 0
}
document.adBanner.src="">
 }
 setTimeout(cycle(), 1000)
}
 }
 /SCRIPT
 IMG SRC="" border=0 height=40 width=40NAME=adBanner
 
  -Original Message-
  From: Bailey, Neal [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 23, 2004 4:18 PM
  To: CF-Talk
  Subject: rotate images..
 
  Hey Guys...
 
 
  What's the easiest way to rotate a set of images on a site? I have a
  testimonial section that has an image with a few words and I want it to
  rotate through the images either by page load or by session...
 
 
  Is there an udf out there for this or a little script? I Google but could
  not find anything that I could use.
  
_
 

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




Conntecting to Foxpro Database with CFMX

2004-06-24 Thread Mickael
Hi All,

I need to connect to a foxpro database with CFMX but the driver does not appear in my CFAdmin list.How do you connect foxpro?

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




RE: Conntecting to Foxpro Database with CFMX

2004-06-24 Thread Tony Weeg
create an odbc datasource, maybe?ive done it (I think, it was like 6
months ago, when I tried) just ended up upsizing to a sql database, and went
from there...) but...

doug white is good with them, I think he has helped me in the past with
this(wasn't it you doug?)

he is on here, you may hear from him 

tw

-Original Message-
From: Mickael [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 24, 2004 10:09 AM
To: CF-Talk
Subject: Conntecting to Foxpro Database with CFMX

Hi All,

I need to connect to a foxpro database with CFMX but the driver does not
appear in my CFAdmin list.How do you connect foxpro?

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




RE: MAX registration?

2004-06-24 Thread Sandy Clark
Michael Smith usually runs a CFUnderground either one or two days before the
actual conference.

_

From: Burns, John D 
By the way, are there any community type events on the days preceeding or
after the conference? (Something besides just hanging out that I can use to
justify my job paying for me to come down a few days early)

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




RE: Conntecting to Foxpro Database with CFMX

2004-06-24 Thread Ben Forta
Create an ODBC connection using the Windows Control Panel applet, and then
connect to that in CF Admin.

 
--- Ben

_

From: Mickael [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 24, 2004 10:09 AM
To: CF-Talk
Subject: Conntecting to Foxpro Database with CFMX

Hi All,

I need to connect to a foxpro database with CFMX but the driver does not
appear in my CFAdmin list.How do you connect foxpro?

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




RE: Upgrading to CFMX

2004-06-24 Thread Tom Jordahl
Barney,

It was possible to send multi-part Email using CFMail in older version of
ColdFusion.

There, you heard me say it.

It is still possible (but now it is SUPPORTED) to send multi-part Email with
CFMail in CFMX 6.1.

In fact we took a HUGE step FORWARD in supporting multi-part email in 6.1.
You are upset because didn't provide a way to support inlined images as part
of this work.As a result of IMPROVING CFMail, we broke some of the tricks
people (you and others) were using to work around our failing.This is
because instead of CFMail being completely stupid, it tries to actually
handle multi-part messages.When you try to trick it, CF (and JavaMail, the
Java API we use) gets upset.I apologize for that.Our (my) bad.I
goofed, I ran out of time and I didn't make it a priority.It didn't get
done.

We have since implemented this support (in fact it was done right after 6.1
was shipped, because we/I realized our mistake).It hasn't made it in to
your hands because it is new functionality/tag attributes and not a good
hotfix candidate.That sucks for you.I apologize for that too.

Good News: It *will* be in an updater that we have plans to release in the
fall.It will be in Blackstone, the next major release of ColdFusion MX.

--
Tom Jordahl
Macromedia Server Development

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 23, 2004 1:40 PM
To: CF-Talk
Subject: RE: Upgrading to CFMX

Be VERY careful around CFMAIL.You can no longer send multipart messages
that are manually assembled; you have to use CFMAILPART.No big deal if
you're sending both text and HTML format messages, but if you're doing image
inlining (for example), you're totally hosed, and will have to come up with
a non-CFMAIL solution.

Not very nice of MM to take such a huge step back in their email support
with CFMX, but oh well.I've yet to hear a sigle macromedian acknowledge
that it was possible to send multipart mail before CFMAILPART in CFM6.1,
even though it has been possible since at least CF 4.0, when I started.And
I've specifically asked the question.

Cheers,
barneyb

 -Original Message-
 From: Chris McGrath [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, June 23, 2004 9:17 AM
 To: CF-Talk
 Subject: Upgrading to CFMX
 
 Hi all,
 
 I have been charged with upgrading a CRM application built using CF 
 5.0. Currently we are looking at upgrading 15 web servers (a 
 mix of Win 
 2k and Win 2003). 
 
 My question is what are some experiences you had in doing an upgrade 
 from 5.0 to MX?
 
 Thanks,
 Chris

 
 


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




Re: Conntecting to Foxpro Database with CFMX

2004-06-24 Thread Doug White
The Foxpro drivers do not come with the normal installation of MDAC, thus you
will have to upload the specific FoxPro ODBC drivers to the server.I don't
remember if these are available on one of he Microsoft sites, you will have to
check Microsoft, MSDN, and Technet, I guess.

Doug

==
Our Anti-spam solution works!!
http://www.clickdoug.com/mailfilter.cfm
For hosting solutions http://www.clickdoug.com
http://www.forta.com/cf/isp/isp.cfm?isp_id=1069
==

- Original Message - 
From: Mickael
To: CF-Talk
Sent: Thursday, June 24, 2004 9:09 AM
Subject: Conntecting to Foxpro Database with CFMX

Hi All,

I need to connect to a foxpro database with CFMX but the driver does not
appear in my CFAdmin list.How do you connect foxpro?

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




ANNOUNCE: ColdFusion MX Master Class, July 19th

2004-06-24 Thread Adam Churvis
Join us July 19th for five challenging days of ColdFusion MX training.

The ColdFusion MX Master Class is five extended-hour days of intensive
advanced training (8:00 AM to 7:00 PM) in the very best ColdFusion
engineering techniques, followed by a sumptuous and hard-earned graduation
dinner at the finest French restaurant in Atlanta.

Classes are limited to only three students per class, and each class is
personally taught by Adam and David Churvis (the principal authors of The
ColdFusion MX Bible), so these classes are more like personal mentoring than
a regular training class.You'll even get after-class support from us to
help you resolve challenging issues.

Check out the itinerary at http://www.ColdFusionTraining.com.David and I
hope to see you in July! :)

PS-- If your budget's almost shot or your boss is tightening the ropes, then
give me a call at 770-446-8866 and we'll do what we can to accommodate you.

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia

Advanced Intensive ColdFusion MX Training:
* ColdFusion MX Master Class
* Advanced Development with CFMX and SQL Server 2000
http://www.ColdFusionTraining.com

Download CommerceBlocks V2.1 and LoRCAT from
http://www.ProductivityEnhancement.com

The ColdFusion MX Bible is in bookstores now!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Conntecting to Foxpro Database with CFMX

2004-06-24 Thread Mickael Elmalem
That worked Great.

Thanks Ben

Create an ODBC connection using the Windows Control Panel applet, and then
connect to that in CF Admin.
 
--- Ben
 

_

From: Mickael [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 24, 2004 10:09 AM
To: CF-Talk
Subject: Conntecting to Foxpro Database with CFMX


Hi All,

I need to connect to a foxpro database with CFMX but the driver does not
appear in my CFAdmin list.How do you connect foxpro?

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




RE: Why don't query variables persist?

2004-06-24 Thread Alistair Davidson
Try using cfprocresult name=... rather than cfprocparam

I've never used CF with Oracle, but that's how I fixed a similar issue
with SQL Server a while ago

_

From: Richard Crawford [mailto:[EMAIL PROTECTED] 
Sent: 22 June 2004 19:13
To: CF-Talk
Subject: Why don't query variables persist?

I have the following bit of code:

cfstoredproc datasource=DLCampus procedure=dlc_sp_verifyLogin 
debug=yes
cfprocparam type=in value=#trim(FORM.sLogin)# 
cfsqltype=cf_sql_varchar
cfprocparam type=in value=#trim(FORM.sPassword)# 
cfsqltype=cf_sql_varchar
cfprocparam type=in value=#CGI.REMOTE_HOST# 
cfsqltype=cf_sql_varchar
cfprocparam type=in value=#cgi.http_user_agent# 
cfsqltype=cf_sql_varchar
cfprocparam type=in value=#screenSize# cfsqltype=cf_sql_varchar
cfprocparam type=out variable=studentID cfsqltype=cf_sql_integer
cfprocparam type=out variable=success cfsqltype=cf_sql_integer
cfprocparam type=out variable=lastLoginDate
cfsqltype=cf_sql_date
/cfstoredproc

...and later on, I have...

h1cfoutput#studentID#/cfoutput/h1

Unfortunately, by the time the second snippet is executed, which is 
supposed to print out the value of #studentID#, which is determined in 
the stored procedure, the value has changed to 0.I know it's not 0 
earlier on, since other stored procedures which depend on a non-zero 
value for this variable do not throw exceptions.

The worst part about this is that it *used* to work.It seems to have 
broken when I changed the datasource to point to a different Oracle 
database.The new database is identical to the old one, as far as I can

tell, but... things just don't work, and I can't find any errors in any 
logs.

Any thoughts?
-- 
Richard S. Crawford
Programmer III,
UC Davis Extension Distance Learning Group (http://unexdlc.ucdavis.edu)
(916)327-7793 / [EMAIL PROTECTED]

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




RE: ANNOUNCE: ColdFusion MX Master Class, July 19th

2004-06-24 Thread Greg Luce
French restaurant? Let's not support the cheese-eating surrender-monkeys as
part of the class. :-)

Greg

-Original Message-
From: Adam Churvis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 24, 2004 11:12 AM
To: CF-Talk
Subject: ANNOUNCE: ColdFusion MX Master Class, July 19th

Join us July 19th for five challenging days of ColdFusion MX training.

The ColdFusion MX Master Class is five extended-hour days of intensive
advanced training (8:00 AM to 7:00 PM) in the very best ColdFusion
engineering techniques, followed by a sumptuous and hard-earned graduation
dinner at the finest French restaurant in Atlanta.

Classes are limited to only three students per class, and each class is
personally taught by Adam and David Churvis (the principal authors of The
ColdFusion MX Bible), so these classes are more like personal mentoring than
a regular training class.You'll even get after-class support from us to
help you resolve challenging issues.

Check out the itinerary at http://www.ColdFusionTraining.com.David and I
hope to see you in July! :)

PS-- If your budget's almost shot or your boss is tightening the ropes, then
give me a call at 770-446-8866 and we'll do what we can to accommodate you.

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia

Advanced Intensive ColdFusion MX Training:
* ColdFusion MX Master Class
* Advanced Development with CFMX and SQL Server 2000
http://www.ColdFusionTraining.com

Download CommerceBlocks V2.1 and LoRCAT from
http://www.ProductivityEnhancement.com

The ColdFusion MX Bible is in bookstores now!
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: bd and cf on same box?

2004-06-24 Thread Dave Watts
  Yes. To do this, I had to set up separate virtual web 
  servers, though.
 
 i was hoping to dump it on a w/s using iis (we're down to 2 
 dev servers, i'd rather not knock the cf one out  i won't 
 put anything on the db box). does bd have an internal 
 webserver like cf's?

I'm pretty sure that it does, but you can set up separate virtual IIS web
servers on a single machine with no problems. I do that on my laptop all the
time, when I want to play around with something new.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




cfx_pdf from easel

2004-06-24 Thread Douglas.Knudsen
Having some trouble with getting the cfxpdf installed from easel.com.Anyone?

error mess:
The CFX custom tag CFX_pdf was not found in the custom tag database. Please be sure to add custom tags to the database before using them. If you have added your tag to the database then you should check the spelling of the tag within your template to insure that it matches the database entry. The error occurred in D:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\CustomTags\pdf.cfm: line 26

I have the customtags dropped in the standard CT dir.I have the CFX_PDF.jar file in the class path in JRun.I have the cfx regiestered in the CFX tag tool.I get nada.

Using the J2EE install ofCFMXon JRun

Cheers!

--
Douglas Knudsen
Alltel ACI Rapid Response Team
To fear love is to fear life, and those who fear life are already three parts dead. Bertrand Russell 

**
The information contained in this message, including attachments, may contain 
privileged or confidential information that is intended to be delivered only to the 
person identified above. If you are not the intended recipient, or the person 
responsible for delivering this message to the intended recipient, ALLTEL requests 
that you immediately notify the sender and asks that you do not read the message or its 
attachments, and that you delete them without copying or sending them to anyone else.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: bd and cf on same box?

2004-06-24 Thread Paul Hastings
 I'm pretty sure that it does, but you can set up separate virtual IIS web
 servers on a single machine with no problems. I do that on my laptop all
the
 time, when I want to play around with something new.

you can? learn something new. thanks.i actually installed it on its own
webserver. works ok.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: ANNOUNCE: ColdFusion MX Master Class, July 19th

2004-06-24 Thread Alistair Davidson
Would those be the same cheese-eating surrender-monkeys without whose
help you would still be under British rule? 

;P

(sorry, couldn't resist!)

_

From: Greg Luce [mailto:[EMAIL PROTECTED] 
Sent: 24 June 2004 16:55
To: CF-Talk
Subject: RE: ANNOUNCE: ColdFusion MX Master Class, July 19th

French restaurant? Let's not support the cheese-eating surrender-monkeys
as
part of the class. :-)

Greg

-Original Message-
From: Adam Churvis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 24, 2004 11:12 AM
To: CF-Talk
Subject: ANNOUNCE: ColdFusion MX Master Class, July 19th

Join us July 19th for five challenging days of ColdFusion MX training.

The ColdFusion MX Master Class is five extended-hour days of intensive
advanced training (8:00 AM to 7:00 PM) in the very best ColdFusion
engineering techniques, followed by a sumptuous and hard-earned
graduation
dinner at the finest French restaurant in Atlanta.

Classes are limited to only three students per class, and each class is
personally taught by Adam and David Churvis (the principal authors of
The
ColdFusion MX Bible), so these classes are more like personal mentoring
than
a regular training class.You'll even get after-class support from us
to
help you resolve challenging issues.

Check out the itinerary at http://www.ColdFusionTraining.com.David and
I
hope to see you in July! :)

PS-- If your budget's almost shot or your boss is tightening the ropes,
then
give me a call at 770-446-8866 and we'll do what we can to accommodate
you.

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia

Advanced Intensive ColdFusion MX Training:
* ColdFusion MX Master Class
* Advanced Development with CFMX and SQL Server 2000
http://www.ColdFusionTraining.com

Download CommerceBlocks V2.1 and LoRCAT from
http://www.ProductivityEnhancement.com

The ColdFusion MX Bible is in bookstores now!

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




OT: Need a SQL Reporting Services guru

2004-06-24 Thread G
Sorry for the off topic, i'm completely stuck on a report im generating using SQL Server Reporting Services. Its a simple report, and i'm simply trying to read a URL variable within the report.

If you think you can help, please contact me off list at: [EMAIL PROTECTED]

Much appreciated,

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




RE: ANNOUNCE: ColdFusion MX Master Class, July 19th

2004-06-24 Thread Jerry Johnson
Nah.

The British would have lost this colony just like they lost every other one.

It would have taken longer, agreed.

Jerry Johnson

 [EMAIL PROTECTED] 06/24/04 12:12PM 
Would those be the same cheese-eating surrender-monkeys without whose
help you would still be under British rule? 

;P

(sorry, couldn't resist!)

_

From: Greg Luce [mailto:[EMAIL PROTECTED] 
Sent: 24 June 2004 16:55
To: CF-Talk
Subject: RE: ANNOUNCE: ColdFusion MX Master Class, July 19th

French restaurant? Let's not support the cheese-eating surrender-monkeys
as
part of the class. :-)

Greg

-Original Message-
From: Adam Churvis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 24, 2004 11:12 AM
To: CF-Talk
Subject: ANNOUNCE: ColdFusion MX Master Class, July 19th

Join us July 19th for five challenging days of ColdFusion MX training.

The ColdFusion MX Master Class is five extended-hour days of intensive
advanced training (8:00 AM to 7:00 PM) in the very best ColdFusion
engineering techniques, followed by a sumptuous and hard-earned
graduation
dinner at the finest French restaurant in Atlanta.

Classes are limited to only three students per class, and each class is
personally taught by Adam and David Churvis (the principal authors of
The
ColdFusion MX Bible), so these classes are more like personal mentoring
than
a regular training class.You'll even get after-class support from us
to
help you resolve challenging issues.

Check out the itinerary at http://www.ColdFusionTraining.com.David and
I
hope to see you in July! :)

PS-- If your budget's almost shot or your boss is tightening the ropes,
then
give me a call at 770-446-8866 and we'll do what we can to accommodate
you.

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia

Advanced Intensive ColdFusion MX Training:
* ColdFusion MX Master Class
* Advanced Development with CFMX and SQL Server 2000
http://www.ColdFusionTraining.com 

Download CommerceBlocks V2.1 and LoRCAT from
http://www.ProductivityEnhancement.com 

The ColdFusion MX Bible is in bookstores now!

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




Fallback DSN/Database switching?

2004-06-24 Thread rob.stokes
Hi all,

I've been wondering... I've got an application that needs to be up pretty much all the time, and if the database goes down for whatever reason we need to do an 'auto switch' to a mirrored database on another machine.

Has anyone had any experience of this? Is there a way in Coldfusion to test a DSN, say in the application.cfm, and if it doesn't work switch to another DSN which points to the mirror?

*Any* advice regarding this would be v. helpful.

Thanks,
Rob
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Crystal Report Advanced Developer 10

2004-06-24 Thread David Fafard
We are standardizing on Crystal Reports at work.

Anyone have any experience with the advanced
developer version and CFMX?

It states on the page description that is has a Java backend.

Does mean it will integrate well with CFMX?

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




Re: Fallback DSN/Database switching?

2004-06-24 Thread G
This is a very simplistic idea, but in your application.cfm you could test the connection to your primary datasource by running a simple query against the DB, then use CFCATCH to detect any connection errors. 

If you detect an error, you can change your datasource to the next database, and try again. Could keep running the same piece of code until you either hit a good DB, or run out of datasources.

HTH,
Brian
- Original Message - 
From: [EMAIL PROTECTED] 
To: CF-Talk 
Sent: Thursday, June 24, 2004 11:22 AM
Subject: Fallback DSN/Database switching?

Hi all,

I've been wondering... I've got an application that needs to be up pretty much all the time, and if the database goes down for whatever reason we need to do an 'auto switch' to a mirrored database on another machine.

Has anyone had any experience of this? Is there a way in Coldfusion to test a DSN, say in the application.cfm, and if it doesn't work switch to another DSN which points to the mirror?

*Any* advice regarding this would be v. helpful.

Thanks,
Rob
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Fallback DSN/Database switching?

2004-06-24 Thread Barney Boisvert
We set up a DB cluster using the Linux Virtual Server (LVS) so that the DSN
points to a single IP address, which is shared between two machines.If the
machine that currently has the IP goes down, LVS automatically switches the
IP to the other machine.All the connections in the pool terminate, of
course, so they have to be recreated, but that's nearly transparent unless
you're under really heavy load that the time of failover.

You could put something like this in your Application.cfm to do the switch
manually, but that's a cost you'd have to pay on every request.Not a huge
deal (just a handful of milliseconds), but there are definitely better ways
of handling it.

cfset primaryDSN = dsn1 /
cfset secondaryDSN = dsn2 / 
cfset request.dsn = primaryDSN /
cftry
 cfquery datasource=#request.dsn#
SHOW TABLES !--- or any query guarenteed to succeed ---
 /cfquery
 cfcatch type=database
cfset request.dsn = secondaryDSN /
 /cfcatch
/cftry

Cheers,
barneyb

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 24, 2004 9:23 AM
 To: CF-Talk
 Subject: Fallback DSN/Database switching?
 
 Hi all,
 
 I've been wondering... I've got an application that needs to 
 be up pretty much all the time, and if the database goes down 
 for whatever reason we need to do an 'auto switch' to a 
 mirrored database on another machine.
 
 Has anyone had any experience of this? Is there a way in 
 Coldfusion to test a DSN, say in the application.cfm, and if 
 it doesn't work switch to another DSN which points to the mirror?
 
 *Any* advice regarding this would be v. helpful.
 
 Thanks,
 Rob
 

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




RE: Fallback DSN/Database switching?

2004-06-24 Thread rob.stokes
Thanks brian,

I was thinking something along those lines, but thought there might be more to it! I'll give it a try.

-Original Message-
From: G [mailto:[EMAIL PROTECTED]
Sent: 24 June 2004 5:28 pm
To: CF-Talk
Subject: Re: Fallback DSN/Database switching?

This is a very simplistic idea, but in your application.cfm you could test the connection to your primary datasource by running a simple query against the DB, then use CFCATCH to detect any connection errors. 

If you detect an error, you can change your datasource to the next database, and try again. Could keep running the same piece of code until you either hit a good DB, or run out of datasources.

HTH,
Brian
- Original Message - 
From: [EMAIL PROTECTED] 
To: CF-Talk 
Sent: Thursday, June 24, 2004 11:22 AM
Subject: Fallback DSN/Database switching?

Hi all,

I've been wondering... I've got an application that needs to be up pretty much all the time, and if the database goes down for whatever reason we need to do an 'auto switch' to a mirrored database on another machine.

Has anyone had any experience of this? Is there a way in Coldfusion to test a DSN, say in the application.cfm, and if it doesn't work switch to another DSN which points to the mirror?

*Any* advice regarding this would be v. helpful.

Thanks,
Rob
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Fallback DSN/Database switching?

2004-06-24 Thread Dave Watts
 I've been wondering... I've got an application that needs to 
 be up pretty much all the time, and if the database goes down 
 for whatever reason we need to do an 'auto switch' to a 
 mirrored database on another machine.
 
 Has anyone had any experience of this? Is there a way in 
 Coldfusion to test a DSN, say in the application.cfm, and if 
 it doesn't work switch to another DSN which points to the 
 mirror?
 
 *Any* advice regarding this would be v. helpful.

First, I would look at database clustering solutions, which handle this for
you automatically. I've worked with SQL Server 2000 clusters that do this
very nicely. I'm sure other platforms have similar solutions.

If that's not an option, you can do this pretty simply and effectively in
your code. Set up two datasources, one pointing to each database. Store the
name of the primary datasource in the Application scope. You can do that
once, the first time Application.cfm runs. Then, use CFERROR to catch any
database exceptions. If the exception is caused by a failed connection,
simply change the value of the Application variable to the secondary
datasource, and redirect the user to the appropriate page to rerun the last
action.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re:CFMX config question

2004-06-24 Thread Doug White
I have a client asking me to add the following to the CFMX web.xml file:

servlet-mapping
 servlet-nameCfmServlet/servlet-name
 url-pattern*/url-pattern
/servlet-mapping

Since this is on a shared hosting environment, will this break any other CF
sites, or does it force CFMX to deal with .htm, .html, and all files?

Thanks

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




Display numbers in exponential notation

2004-06-24 Thread George Gifford
Hello all! Just signed onto the house of fusion.
15+ yrs dba/developer; however, new to cf.

 
I have need to display variable numbers such as:
1234.893and0.0004567
in Exponential Notation such as:
1.235E3and4.567E-8

 
Is there an easy way to do this in CF?

 
Thanks in advance.

 
George


		
-
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: MAX registration?

2004-06-24 Thread Ben Forta
Tony,

 
I asked the folks responsible, and was told in a few weeks. However, if
you need to register sooner e-mail me off list and I'll send you to someone
who can help.

 
--- Ben

_

From: Tony Weeg [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 23, 2004 10:17 PM
To: CF-Talk
Subject: RE: MAX registration?

can you answer this ben...

when can I register, can I soon, if so, please let me know how, my
company is ready to pay, and while their hot on it, id like to strike.

like mr. bob marley sang...

Strike the hammer while iron is hot.
Strike the hammer while iron is hot.
Strike the hammer while iron is hot.
Open up your heart.
Open up your heart.
Let love come running in, darlin',
Love, sweet love, darlin'.
Love, sweet love, darlin'.

tony

Tony Weeg
sr. web applications architect
navtrak, inc.
[EMAIL PROTECTED]
410.548.2337
www.navtrak.net 

Visit http://www.antiwrap.com the next time you want to send a link to a
friend.

-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 23, 2004 4:30 PM
To: CF-Talk
Subject: RE: MAX registration?

I'm not taking the bait :-)

_

From: simeon [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 23, 2004 4:24 PM
To: CF-Talk
Subject: Re: MAX registration?

This is one of those moments where I expect Ben Forta to chime in and 
say Maybe.. or Soon...Which seems to be the way, when asked about 
details that have not yet been released.

he he he
sim

Ian Skinner wrote:

 I guess there where a few ways to interpret my question.

 I was wondering at what facility in New Orleans the conference was
 going to be at.There have been some intelligent guesses.But, I was

 a bit surprised that it was no mentioned in the MAX 2004 details on 
 the MM website [http://www.macromedia.com/macromedia/events/max/].I 
 can't imagine that the location is not settled on, since it is my 
 understanding that something this big would need at least nine to 
 twelve months advanced booking, wouldn't it?

 Ian

 --

 From the homepage, Company - Events - Max 2004 - Hotel works for
 me...unless I'm misunderstanding the question.

 Ken

 Confidentiality Notice:This message including any attachments is for

 the sole use of the intended
 recipient(s) and may contain confidential and privileged information. 
 Any unauthorized review, use, disclosure or distribution is 
 prohibited. If you are not the intended recipient, please contact the 
 sender and delete any copies of this message.
 
_ 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Fallback DSN/Database switching?

2004-06-24 Thread Adrocknaphobia
I've implemented Dave's suggestion with great results. If I catch an
issue related to connection then I update the APPLICATION dsn. I put
in a little if statement to reload the page when switching to
secondary dbs, so the first person who got the error shouldnt notice
it... unless all the dbs are down. (Of course it doesnt reload if its
on the final failover dsn... otherwise they would be in an infinite
loop.)

You can even take it step futher, if all the dsns are unavilable, flag
that in your application.cfm and then display a 'temporarily offline'
message for all incoming requests.

The hardware single-IP load balancer is definitely the better
solution, but if are on a tight budget, or in my case still waiting
for the red tape to settle, this method will do the job.

-Adam

- Original Message -
From: Dave Watts [EMAIL PROTECTED]
Date: Thu, 24 Jun 2004 12:44:32 -0400
Subject: RE: Fallback DSN/Database switching?
To: CF-Talk [EMAIL PROTECTED]

 I've been wondering... I've got an application that needs to 
 be up pretty much all the time, and if the database goes down 
 for whatever reason we need to do an 'auto switch' to a 
 mirrored database on another machine.
 
 Has anyone had any experience of this? Is there a way in 
 Coldfusion to test a DSN, say in the application.cfm, and if 
 it doesn't work switch to another DSN which points to the 
 mirror?
 
 *Any* advice regarding this would be v. helpful.

First, I would look at database clustering solutions, which handle this for
you automatically. I've worked with SQL Server 2000 clusters that do this
very nicely. I'm sure other platforms have similar solutions.

If that's not an option, you can do this pretty simply and effectively in
your code. Set up two datasources, one pointing to each database. Store the
name of the primary datasource in the Application scope. You can do that
once, the first time Application.cfm runs. Then, use CFERROR to catch any
database exceptions. If the exception is caused by a failed connection,
simply change the value of the Application variable to the secondary
datasource, and redirect the user to the appropriate page to rerun the last
action.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Display numbers in exponential notation

2004-06-24 Thread Dave Carabetta
On Thu, 24 Jun 2004 09:49:50 -0700 (PDT), George Gifford
[EMAIL PROTECTED] wrote:
 
 Hello all! Just signed onto the house of fusion.
 15+ yrs dba/developer; however, new to cf.
 
 I have need to display variable numbers such as:
1234.893and0.0004567
 in Exponential Notation such as:
1.235E3and4.567E-8
 
 Is there an easy way to do this in CF?
 

Not sure if this is a one-to-one of what you're trying to accomplish,
but it should get you most of the way there:

http://www.cflib.org/udf.cfm?ID=391

You can just tweak the UDF out to your liking and off you go.

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




Re: Display numbers in exponential notation

2004-06-24 Thread George Gifford
Thanks Dave!
Exactly what I needed!
I am glad that I signed on to the House of Fusion!

 
George

Dave Carabetta [EMAIL PROTECTED] wrote:
On Thu, 24 Jun 2004 09:49:50 -0700 (PDT), George Gifford
[EMAIL PROTECTED] wrote:
 
 Hello all! Just signed onto the house of fusion.
 15+ yrs dba/developer; however, new to cf.
 
 I have need to display variable numbers such as:
1234.893and0.0004567
 in Exponential Notation such as:
1.235E3and4.567E-8
 
 Is there an easy way to do this in CF?
 

Not sure if this is a one-to-one of what you're trying to accomplish,
but it should get you most of the way there:

http://www.cflib.org/udf.cfm?ID=391

You can just tweak the UDF out to your liking and off you go.

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




RE: CFMX config question

2004-06-24 Thread Dave Watts
 I have a client asking me to add the following to the CFMX 
 web.xml file:
 
 servlet-mapping
servlet-nameCfmServlet/servlet-name
url-pattern*/url-pattern
 /servlet-mapping
 
 Since this is on a shared hosting environment, will this 
 break any other CF sites, or does it force CFMX to deal with 
 .htm, .html, and all files?

I've never done this with CFMX, but I'm pretty sure that this will cause CF
to process all files.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Display numbers in exponential notation

2004-06-24 Thread Joe Rinehart
Cool after lunch programming problemhere's what I came up with,
seems to work.Relies on the typeless nature of CF:

cffunction name=exponentialFormat returnType=string
cfargument name=foo type=numeric required=true
cfif foo eq 0
 cfset foo = 0E0
cfelseif foo gte 1
 cfset foo = foo / (1  repeatString(0, len(round(foo)) - 1)) 
E  (len(round(foo)) - 1)
cfelseif foo lt 1 and foo gt 0
 cfset foo = foo * (1  repeatString(0, len(round(1/foo 
E-  len(round(1/foo))
cfelseif foo lt 0 and foo gt -1
 cfset foo = foo * -1
 cfset foo = foo * (1  repeatString(0, len(round(1/foo 
E-  len(round(1/foo))
 cfset foo = -  foo
cfelseif foo lte -1
 cfset foo = foo * -1
 cfset foo = foo / (1  repeatString(0, len(round(foo)) - 1)) 
E  (len(round(foo)) - 1)
 cfset foo = -  foo
/cfif
cfreturn foo
/cffunction

cfoutput
0 = #exponentialFormat(0)#br
-0.9 = #exponentialFormat(-0.9)#br
-123.333 = #exponentialFormat(-123.333)#br
0.1432 = #exponentialFormat(0.1432)#br
1.4 = #exponentialFormat(1.4)#br
324324 = #exponentialFormat(324324)#br
/cfoutput

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




Re: CFMX config question

2004-06-24 Thread Doug White
- Original Message - 

 I have a client asking me to add the following to the CFMX 
 web.xml file:
 
 servlet-mapping
servlet-nameCfmServlet/servlet-name
url-pattern*/url-pattern
 /servlet-mapping
 
 Since this is on a shared hosting environment, will this 
 break any other CF sites, or does it force CFMX to deal with 
 .htm, .html, and all files?

I've never done this with CFMX, but I'm pretty sure that this will cause CF
to process all files.

The client wants toimplement SES urls,, I think.

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




CFINCLUDE question

2004-06-24 Thread Richard Crawford
I'm using CFINCLUDE to bring in a file from another directory into my 
current file.The problem is that the file being included contains 
references to images in other folders, via relative paths.Thus, when I 
load the main page into a browser, the images do not show up.

Is there a way around this, short of using absolute paths to the image 
files?

-- 
Richard S. Crawford
Programmer III,
UC Davis Extension Distance Learning Group (http://unexdlc.ucdavis.edu)
(916)327-7793 / [EMAIL PROTECTED]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: CFMX config question

2004-06-24 Thread Dave Watts
 The client wants to implement SES urls, I think.

You can do that without mapping every single file to be run through CF, I'm
sure. Something like this would probably work:

servlet-mapping
 servlet-nameCfmServlet/servlet-name
 url-pattern*.cfm*/url-pattern
/servlet-mapping

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: CFINCLUDE question

2004-06-24 Thread Barney Boisvert
Not really.However, using absolute paths the external resources is usually
a good thing, because it lets you reconfigure your application code, and/or
use single bits in multiple places without worrying about breaking the
references.I'd highly recommend do that if at all possible.

Cheers,
barneyb

 -Original Message-
 From: Richard Crawford [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 24, 2004 11:12 AM
 To: CF-Talk
 Subject: CFINCLUDE question
 
 I'm using CFINCLUDE to bring in a file from another directory into my 
 current file.The problem is that the file being included contains 
 references to images in other folders, via relative paths.
 Thus, when I 
 load the main page into a browser, the images do not show up.
 
 Is there a way around this, short of using absolute paths to 
 the image 
 files?
 
 -- 
 Richard S. Crawford
 Programmer III,
 UC Davis Extension Distance Learning Group 
 (http://unexdlc.ucdavis.edu)
 (916)327-7793 / [EMAIL PROTECTED]
 
 

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




RE: CFINCLUDE question

2004-06-24 Thread Douglas.Knudsen
many ways to skin that cat.Check out the system functions involving paths based on the currently running template
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi19.htm#wp1100017
You could use these to build an absolute path so the include will work anywheres.Just one thought

 
Doug

-Original Message-
From: Richard Crawford [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 2:12 PM
To: CF-Talk
Subject: CFINCLUDE question

I'm using CFINCLUDE to bring in a file from another directory into my 
current file.The problem is that the file being included contains 
references to images in other folders, via relative paths.Thus, when I 
load the main page into a browser, the images do not show up.

Is there a way around this, short of using absolute paths to the image 
files?

-- 
Richard S. Crawford
Programmer III,
UC Davis Extension Distance Learning Group (http://unexdlc.ucdavis.edu)
(916)327-7793 / [EMAIL PROTECTED] 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: Crystal Report Advanced Developer 10

2004-06-24 Thread Whittingham, P
we are currently using Crystal Enterprise 9not 10, without any problem. 

 
TIA,
Patrick Whittingham
United Space Alliance

-Original Message-
From: David Fafard [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 12:27 PM
To: CF-Talk
Subject: Crystal Report Advanced Developer 10

We are standardizing on Crystal Reports at work.

Anyone have any experience with the advanced
developer version and CFMX?

It states on the page description that is has a Java backend.

Does mean it will integrate well with CFMX?

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




Re: CFINCLUDE question

2004-06-24 Thread dave
!--- set image folder path ---
cfset displayImage = http://#CGI.Server_Name#/images/

!--- set image---
IMG src="" height=125

id make http://#CGI.Server_Name# a snippet with it and make it a clicking afair

-- Original Message --
From: Richard Crawford [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:Thu, 24 Jun 2004 11:11:34 -0700

I'm using CFINCLUDE to bring in a file from another directory into my 
current file.The problem is that the file being included contains 
references to images in other folders, via relative paths.Thus, when I 
load the main page into a browser, the images do not show up.

Is there a way around this, short of using absolute paths to the image 
files?

-- 
Richard S. Crawford
Programmer III,
UC Davis Extension Distance Learning Group (http://unexdlc.ucdavis.edu)
(916)327-7793 / [EMAIL PROTECTED]



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




RE: CFMX config question

2004-06-24 Thread Barney Boisvert
From my experimentation, you need both of these mappings in place.The
first is the default mapping, and the second is like what Dave proposed, but
with a / in there as well.

servlet-mapping
 servlet-nameCfmServlet/servlet-name
 url-pattern*.cfm/url-pattern
/servlet-mapping 
servlet-mapping
 servlet-nameCfmServlet/servlet-name
 url-pattern*.cfm/*/url-pattern
/servlet-mapping 

I can't say I have a completely understanding of why this specific combo
works, while others don't, but experimentation has shown that it does.The
setup I'm using is CFMX 6.1 deployed on Jrun 4, connected to Apache 2 on
Linux.

Cheers,
barneyb

 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 24, 2004 11:09 AM
 To: CF-Talk
 Subject: RE: CFMX config question
 
  The client wants to implement SES urls, I think.
 
 You can do that without mapping every single file to be run 
 through CF, I'm
 sure. Something like this would probably work:
 
 servlet-mapping
servlet-nameCfmServlet/servlet-name
url-pattern*.cfm*/url-pattern
 /servlet-mapping
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 phone: 202-797-5496
 fax: 202-797-5444
 
 

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




Re: CFINCLUDE question

2004-06-24 Thread dave
oops messed that up

should be

!--- set image folder path ---
cfset displayImage = http://#CGI.Server_Name#/images/

!--- set image---
IMG src="">

-- Original Message --
From: Richard Crawford [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:Thu, 24 Jun 2004 11:11:34 -0700

I'm using CFINCLUDE to bring in a file from another directory into my 
current file.The problem is that the file being included contains 
references to images in other folders, via relative paths.Thus, when I 
load the main page into a browser, the images do not show up.

Is there a way around this, short of using absolute paths to the image 
files?

-- 
Richard S. Crawford
Programmer III,
UC Davis Extension Distance Learning Group (http://unexdlc.ucdavis.edu)
(916)327-7793 / [EMAIL PROTECTED]



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




RE: CFMX config question

2004-06-24 Thread Dave Watts
 From my experimentation, you need both of these mappings in 
 place.The first is the default mapping, and the second is 
 like what Dave proposed, but with a / in there as well.
 
 servlet-mapping
servlet-nameCfmServlet/servlet-name
url-pattern*.cfm/url-pattern /servlet-mapping 
 servlet-mapping
servlet-nameCfmServlet/servlet-name
url-pattern*.cfm/*/url-pattern
 /servlet-mapping 
 
 I can't say I have a completely understanding of why this 
 specific combo works, while others don't, but experimentation 
 has shown that it does.The setup I'm using is CFMX 6.1 
 deployed on Jrun 4, connected to Apache 2 on Linux.

I know that having both mappings in there as you describe will work, but I
would expect a single mapping to work if it specified a URL pattern that
would catch CF pages with and without SES URLs. Out of curiosity, did you
try the single mapping, and have problems with it?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: CFINCLUDE question

2004-06-24 Thread Dave Watts
 I'm using CFINCLUDE to bring in a file from another directory 
 into my current file.The problem is that the file being 
 included contains references to images in other folders, via 
 relative paths.Thus, when I load the main page into a 
 browser, the images do not show up.
 
 Is there a way around this, short of using absolute paths to 
 the image files?

Unless you use CF variables to help write the paths, no, that's just the way
relative paths work in HTML. They're dependent on the relative path from the
file with the URL to the file the browser's supposed to fetch. If you
CFINCLUDE one file within another, the browser doesn't know about the
original location of the CFINCLUDEd file, it just knows about the URL that
it requested to get the page in the first place, and will use that as the
basis for any relative paths within HTML.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: CFMX config question

2004-06-24 Thread Tony Weeg
single mapping hasn't worked for me in the past :(

had to have both.

tw 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 24, 2004 3:10 PM
To: CF-Talk
Subject: RE: CFMX config question

 From my experimentation, you need both of these mappings in 
 place.The first is the default mapping, and the second is 
 like what Dave proposed, but with a / in there as well.
 
 servlet-mapping
servlet-nameCfmServlet/servlet-name
url-pattern*.cfm/url-pattern /servlet-mapping 
 servlet-mapping
servlet-nameCfmServlet/servlet-name
url-pattern*.cfm/*/url-pattern
 /servlet-mapping 
 
 I can't say I have a completely understanding of why this 
 specific combo works, while others don't, but experimentation 
 has shown that it does.The setup I'm using is CFMX 6.1 
 deployed on Jrun 4, connected to Apache 2 on Linux.

I know that having both mappings in there as you describe will work, but I
would expect a single mapping to work if it specified a URL pattern that
would catch CF pages with and without SES URLs. Out of curiosity, did you
try the single mapping, and have problems with it?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




from APRIL 2004 till current month

2004-06-24 Thread Asim Manzur
select size=1 name=month1 >
option value=A selectedAll Months/option
/select

How can I generate the dynamic months till this month from April in select box

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




Re: Fallback DSN/Database switching?

2004-06-24 Thread Jochem van Dieten
Adrocknaphobia wrote:
 
 The hardware single-IP load balancer is definitely the better
 solution, but if are on a tight budget, or in my case still waiting
 for the red tape to settle, this method will do the job.

I doubt extra iron can do a better job as the real time 
clustering that is provided in some databases. A load balancer 
simply knows less about the state of a database as the database 
itself. Besides, a hardware single-IP load balancer is a SPOF :-)

Recent Linux and BSD distributions include CARP (an unencumbered 
protocol similar to VRRP) which can do the single IP load 
balancing job without additional hardware.

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




Re: from APRIL 2004 till current month

2004-06-24 Thread Bryan Stevenson
cfset StartMonth = 4
cfset EndMonth = Month(Now())

select size=1 name=month1 >
option value=A selectedAll Months/option
cfloop index=CurrMonth from=#StartMonth# to=#EndMonth#
 option value=#CurrMonth##MonthAsString(CurrMonth)#
/cfloop
/select

Not tested...should work

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com
- Original Message - 
From: Asim Manzur 
To: CF-Talk 
Sent: Thursday, June 24, 2004 12:18 PM
Subject: from APRIL 2004 till current month

select size=1 name=month1 >
option value=A selectedAll Months/option
/select

How can I generate the dynamic months till this month from April in select box

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




RE: from APRIL 2004 till current month

2004-06-24 Thread Douglas.Knudsen
everything u need is here
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi58.htm#wp1103187

 
^_^

 
Seriously, if I understand your question correctly, take a look at dateDiff() to determine the number of months from April 2004 to Now(), note Now() is a function.Now loop from 1 to this number.On each iteration use DateAdd() to add 1 month to the atarting month of April 2004, look at CreateDate() to set this.Bamm!!!

 
something like...in psuedo code
myStart = CreateDate('2004','4','1')
numMonths = DateDiff('m',myStart,Now())
loop over i from 0 to numMonths
myDate = DateAdd('m',myStart)
cfoutput#myDate#/cfouput
end loop

 
Doug

-Original Message-
From: Asim Manzur [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 3:18 PM
To: CF-Talk
Subject: from APRIL 2004 till current month

select size=1 name=month1 >
option value=A selectedAll Months/option
/select

How can I generate the dynamic months till this month from April in select box

Regards, 
Asim Manzur 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFX and Python?

2004-06-24 Thread Dave Carabetta
On Tue, 22 Jun 2004 18:55:42 -0500, Guy Rish [EMAIL PROTECTED] wrote:
 
 Daniel,
 
 Yes.I've done it with both Python and Jython.
 Was this a general question of something specific to the needs of a job?
 

Guy,

Do you have any sample Python CFX code you could share? We use Python
extensively as a back-end cruncher in a couple of our apps, but we
just make cfhttp calls to the Python scripts and send the data over
the wire using WDDX (also using Zope). Is the CFX way any more
efficient or more maintainable?

Any insights are appreciated.

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




Re: from APRIL 2004 till current month

2004-06-24 Thread simeon
This isa perfect solution to the problem as it was posed.I have an 
additional question, what should happen when the year rolls over and we 
are back at january.In the example the list doesn't execute because 
from 4 to 1, doesnt evaluate true.

So when the year rolls over is the All Months option then sufficient, 
or should the list continue to add month in order?

Bryan Stevenson wrote:

 cfset StartMonth = 4
 cfset EndMonth = Month(Now())

 select size=1 name=month1 >
option value=A selectedAll Months/option
cfloop index=CurrMonth from=#StartMonth# to=#EndMonth#
option value=#CurrMonth##MonthAsString(CurrMonth)#
/cfloop
 /select

 Not tested...should work

 Cheers

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 t. 250.920.8830
 e. [EMAIL PROTECTED]

 -
 Macromedia Associate Partner
 www.macromedia.com
 -
 Vancouver Island ColdFusion Users Group
 Founder  Director
 www.cfug-vancouverisland.com
- Original Message -
From: Asim Manzur
To: CF-Talk
Sent: Thursday, June 24, 2004 12:18 PM
Subject: from APRIL 2004 till current month

select size=1 name=month1 >
option value=A selectedAll Months/option
/select

How can I generate the dynamic months till this month from April in 
 select box

Regards,
Asim Manzur

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




RE: CFX and Python?

2004-06-24 Thread Guy Rish
Dave,

Well seeing a CFX written in Python, as I do it with my tool, really isn't
going to be that constructive.

class VarIn(CustomTag):
 def processRequest(self, request, response):
		vi = request.getAttribute(variable)
		response.write(brpvariable is: %s/p % vi)

The approach that I took was to write an interfacing engine so that I didn't
have to cap a stub onto each tag.Much like the old CFX_J stuff before it
was integrated directly into ColdFusion.This allowed the Python folks to
just write their code using the CFX interfaces and not have to worry about
the sticky stuff with the Python-to-C piece.
Using the Jython library allow me to create a tag that would call python
scripts by filename and get the output results (kinda like a specialized
CFEXECUTE - but never really shelling out to the OS since the Jython
libraries are loaded into the JVM).I was able to carry that a bit further
and create a scripting block that allow for inlining python code. 

rish

-Original Message-
From: Dave Carabetta [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 24, 2004 2:35 PM
To: CF-Talk
Subject: Re: CFX and Python?

On Tue, 22 Jun 2004 18:55:42 -0500, Guy Rish [EMAIL PROTECTED] wrote:
 
 Daniel,
 
 Yes.I've done it with both Python and Jython.
 Was this a general question of something specific to the needs of a job?
 

Guy,

Do you have any sample Python CFX code you could share? We use Python
extensively as a back-end cruncher in a couple of our apps, but we
just make cfhttp calls to the Python scripts and send the data over
the wire using WDDX (also using Zope). Is the CFX way any more
efficient or more maintainable?

Any insights are appreciated.

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




Re: CFX and Python?

2004-06-24 Thread Dave Carabetta
On Thu, 24 Jun 2004 14:50:02 -0500, Guy Rish [EMAIL PROTECTED] wrote:
 
 Dave,
 
 Well seeing a CFX written in Python, as I do it with my tool, really isn't
 going to be that constructive.
 
 class VarIn(CustomTag):
def processRequest(self, request, response):
vi = request.getAttribute(variable)
response.write(brpvariable is: %s/p % vi)
 
 The approach that I took was to write an interfacing engine so that I didn't
 have to cap a stub onto each tag.Much like the old CFX_J stuff before it
 was integrated directly into ColdFusion.This allowed the Python folks to
 just write their code using the CFX interfaces and not have to worry about
 the sticky stuff with the Python-to-C piece.
 Using the Jython library allow me to create a tag that would call python
 scripts by filename and get the output results (kinda like a specialized
 CFEXECUTE - but never really shelling out to the OS since the Jython
 libraries are loaded into the JVM).I was able to carry that a bit further
 and create a scripting block that allow for inlining python code.
 

Interesting solution. Thanks for the info Guy.

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




Re: from APRIL 2004 till current month

2004-06-24 Thread Bryan Stevenson
Perhaps you should explain what you're doing ;-)

Does it always have to start from April ignoring the year?
Does it start from April 2004 and then have all the months between then and now (i.e. April-Dec 2004 and then Jan-Dec 2005 and then Jan-Dec 2006 and so on)?
Something else?

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder  Director
www.cfug-vancouverisland.com
- Original Message - 
From: simeon 
To: CF-Talk 
Sent: Thursday, June 24, 2004 12:45 PM
Subject: Re: from APRIL 2004 till current month

This isa perfect solution to the problem as it was posed.I have an 
additional question, what should happen when the year rolls over and we 
are back at january.In the example the list doesn't execute because 
from 4 to 1, doesnt evaluate true.

So when the year rolls over is the All Months option then sufficient, 
or should the list continue to add month in order?

Bryan Stevenson wrote:

 cfset StartMonth = 4
 cfset EndMonth = Month(Now())

 select size=1 name=month1 >
option value=A selectedAll Months/option
cfloop index=CurrMonth from=#StartMonth# to=#EndMonth#
option value=#CurrMonth##MonthAsString(CurrMonth)#
/cfloop
 /select

 Not tested...should work

 Cheers

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 t. 250.920.8830
 e. [EMAIL PROTECTED]

 -
 Macromedia Associate Partner
 www.macromedia.com
 -
 Vancouver Island ColdFusion Users Group
 Founder  Director
 www.cfug-vancouverisland.com
- Original Message -
From: Asim Manzur
To: CF-Talk
Sent: Thursday, June 24, 2004 12:18 PM
Subject: from APRIL 2004 till current month

select size=1 name=month1 >
option value=A selectedAll Months/option
/select

How can I generate the dynamic months till this month from April in 
 select box

Regards,
Asim Manzur

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




RE: CFMX config question

2004-06-24 Thread Barney Boisvert
Yeah, I did try the single mapping, in various forms.There was always an
issue either with not catching urls ending in the page (/index.cfm), with
not catching urls with SES variables (/index.cfm/id/3), with not catching
urls with SES variables and a .cfm dummy extension (/index.cfm/id/3.cfm), or
with not catching urls with SES variables and a .html dummy extension
(/index.cfm/id/3.html).Only with both mappings could I get all three
situations to work.

Cheers,
barneyb

 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 24, 2004 12:10 PM
 To: CF-Talk
 Subject: RE: CFMX config question
 
  From my experimentation, you need both of these mappings in 
  place.The first is the default mapping, and the second is 
  like what Dave proposed, but with a / in there as well.
  
  servlet-mapping
 servlet-nameCfmServlet/servlet-name
 url-pattern*.cfm/url-pattern /servlet-mapping 
  servlet-mapping
 servlet-nameCfmServlet/servlet-name
 url-pattern*.cfm/*/url-pattern
  /servlet-mapping 
  
  I can't say I have a completely understanding of why this 
  specific combo works, while others don't, but experimentation 
  has shown that it does.The setup I'm using is CFMX 6.1 
  deployed on Jrun 4, connected to Apache 2 on Linux.
 
 I know that having both mappings in there as you describe 
 will work, but I
 would expect a single mapping to work if it specified a URL 
 pattern that
 would catch CF pages with and without SES URLs. Out of 
 curiosity, did you
 try the single mapping, and have problems with it?
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 phone: 202-797-5496
 fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Fallback DSN/Database switching?

2004-06-24 Thread Adrocknaphobia
What isn't a SPOF?

-Adam

- Original Message -
From: Jochem van Dieten [EMAIL PROTECTED]
Date: Thu, 24 Jun 2004 21:20:13 +0200
Subject: Re: Fallback DSN/Database switching?
To: CF-Talk [EMAIL PROTECTED]

Adrocknaphobia wrote:
 
 The hardware single-IP load balancer is definitely the better
 solution, but if are on a tight budget, or in my case still waiting
 for the red tape to settle, this method will do the job.

I doubt extra iron can do a better job as the real time 
clustering that is provided in some databases. A load balancer 
simply knows less about the state of a database as the database 
itself. Besides, a hardware single-IP load balancer is a SPOF :-)

Recent Linux and BSD distributions include CARP (an unencumbered 
protocol similar to VRRP) which can do the single IP load 
balancing job without additional hardware.

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




RE: Fallback DSN/Database switching?

2004-06-24 Thread Barney Boisvert
Two load balancers with automated hot failover.

The solution I proposed (doing the hot failover on the DB servers
themselves) doesn't have any SPOF, doesn't require any extra hardware, and
isn't specific to any particular database's setup.Of course, it does
require using an OS that supports LVS (which most *nixes do).

Cheers,
barneyb

 -Original Message-
 From: Adrocknaphobia [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 24, 2004 1:13 PM
 To: CF-Talk
 Subject: Re: Fallback DSN/Database switching?
 
 What isn't a SPOF?
 
 -Adam
 
 
 - Original Message -
 From: Jochem van Dieten [EMAIL PROTECTED]
 Date: Thu, 24 Jun 2004 21:20:13 +0200
 Subject: Re: Fallback DSN/Database switching?
 To: CF-Talk [EMAIL PROTECTED]
 
 
 Adrocknaphobia wrote:
  
  The hardware single-IP load balancer is definitely the better
  solution, but if are on a tight budget, or in my case still waiting
  for the red tape to settle, this method will do the job.
 
 I doubt extra iron can do a better job as the real time 
 clustering that is provided in some databases. A load balancer 
 simply knows less about the state of a database as the database 
 itself. Besides, a hardware single-IP load balancer is a SPOF :-)
 
 Recent Linux and BSD distributions include CARP (an unencumbered 
 protocol similar to VRRP) which can do the single IP load 
 balancing job without additional hardware.
 
 Jochem
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




inventory management

2004-06-24 Thread Chris Tilley
I'm using the Cartweaver e-commerce for a customer and would like to
have an easier way to receive inventory into the database.Currently,
you must go to the item and then it's sku page and add your received
quantity.This will be tedious seeing as my customer currently has
over 1500 items in the inventory table.Has anyone written any
software/tags that could be modified to allow the manager to key in
all the parts rec'd and quantities and that perform an update to the
database?Thanks in advance

-- 
Chris Tilley
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfx_pdf from easel

2004-06-24 Thread Kevin Graeme
I haven't worked with the J2EE server but it installed fine on my developer
version of CFMX.

-Kevin

- Original Message - 
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 11:02 AM
Subject: cfx_pdf from easel

 Having some trouble with getting the cfxpdf installed from easel.com.
Anyone?

 error mess:
 The CFX custom tag CFX_pdf was not found in the custom tag database.
Please be sure to add custom tags to the database before using them. If you
have added your tag to the database then you should check the spelling of
the tag within your template to insure that it matches the database entry.
The error occurred in
D:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\CustomTags\
pdf.cfm: line 26

 I have the customtags dropped in the standard CT dir.I have the
CFX_PDF.jar file in the class path in JRun.I have the cfx regiestered in
the CFX tag tool.I get nada.

 Using the J2EE install ofCFMXon JRun

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




Re: Fallback DSN/Database switching?

2004-06-24 Thread Adrocknaphobia
Ok. I'm still a bit confused. So you have 2 boxes one with IP#1 and
another with IP#2. The box with IP#2 monitors IP#1 and when IP#1 goes
down the box with IP#2 changes it's IP to be IP#1?

How does box with IP#2 monitor the other box? How does it know that
your db went down?

-Adam

- Original Message -
From: Barney Boisvert [EMAIL PROTECTED]
Date: Thu, 24 Jun 2004 13:21:47 -0700
Subject: RE: Fallback DSN/Database switching?
To: CF-Talk [EMAIL PROTECTED]

Two load balancers with automated hot failover.

The solution I proposed (doing the hot failover on the DB servers
themselves) doesn't have any SPOF, doesn't require any extra hardware, and
isn't specific to any particular database's setup.Of course, it does
require using an OS that supports LVS (which most *nixes do).

Cheers,
barneyb

 -Original Message-
 From: Adrocknaphobia [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, June 24, 2004 1:13 PM
 To: CF-Talk
 Subject: Re: Fallback DSN/Database switching?
 
 What isn't a SPOF?
 
 -Adam
 
 
 - Original Message -
 From: Jochem van Dieten [EMAIL PROTECTED]
 Date: Thu, 24 Jun 2004 21:20:13 +0200
 Subject: Re: Fallback DSN/Database switching?
 To: CF-Talk [EMAIL PROTECTED]
 
 
 Adrocknaphobia wrote:
  
  The hardware single-IP load balancer is definitely the better
  solution, but if are on a tight budget, or in my case still waiting
  for the red tape to settle, this method will do the job.
 
 I doubt extra iron can do a better job as the real time 
 clustering that is provided in some databases. A load balancer 
 simply knows less about the state of a database as the database 
 itself. Besides, a hardware single-IP load balancer is a SPOF :-)
 
 Recent Linux and BSD distributions include CARP (an unencumbered 
 protocol similar to VRRP) which can do the single IP load 
 balancing job without additional hardware.
 
 Jochem
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Books on Flash...

2004-06-24 Thread Troy Simpson
All,

I am considering using Flash MX to create a client front end to a 
database driven application instead of html web pages.Any thoughts on 
this would be appreciated.Could you also recommend some books, 
articles or websites for more information.

Thanks,
Troy

-- 
Troy Simpson
Applications Analyst/Programmer, OCPDBA, MCSE, SCSA
North Carolina State University Libraries
Campus Box 7111 | Raleigh | North Carolina
ph.919.515.3855 | fax.919.513.3330
E-mail: [EMAIL PROTECTED]
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: cfx_pdf from easel

2004-06-24 Thread Douglas.Knudsen
well, it was installed/setup correctly.Seems something was cached somewheres in JRun/CFMX.I bounced everything and no workee.A box reboot, eek!!!, took care of it.

 
Doug

-Original Message-
From: Kevin Graeme [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 5:08 PM
To: CF-Talk
Subject: Re: cfx_pdf from easel

I haven't worked with the J2EE server but it installed fine on my developer
version of CFMX.

-Kevin

- Original Message - 
From: [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 11:02 AM
Subject: cfx_pdf from easel

 Having some trouble with getting the cfxpdf installed from easel.com.
Anyone?

 error mess:
 The CFX custom tag CFX_pdf was not found in the custom tag database.
Please be sure to add custom tags to the database before using them. If you
have added your tag to the database then you should check the spelling of
the tag within your template to insure that it matches the database entry.
The error occurred in
D:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\CustomTags\
pdf.cfm: line 26

 I have the customtags dropped in the standard CT dir.I have the
CFX_PDF.jar file in the class path in JRun.I have the cfx regiestered in
the CFX tag tool.I get nada.

 Using the J2EE install ofCFMXon JRun

 Cheers! 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: Books on Flash...

2004-06-24 Thread Dave Carabetta
On Thu, 24 Jun 2004 17:13:03 -0400, Troy Simpson
[EMAIL PROTECTED] wrote:
 
 All,
 
 I am considering using Flash MX to create a client front end to a
 database driven application instead of html web pages.Any thoughts on
 this would be appreciated.Could you also recommend some books,
 articles or websites for more information.
 

If Flex isn't an option for you, then I would highly recommend
Macromedia Flash MX 2004 for Server Geeks by Nate Weiss. It is
geared towards developers like CF-ers, so the writing and concepts are
very easy to grasp, and the cover makes me laugh almost every time I
see it!

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




  1   2   >