Re: 2 IFrames -Iframe1 btn onclick load iframe2 src pass iframe1 txtbox val as param

2008-11-17 Thread ismail cassiem
Thank You very much - I urgently needed this. 
It works great!

tr
  input type=text text=Keyword id=keyword value=
  input type=button text=filter id=filter 
onClick=(document.getElementById('keyword').value=='') ? alert('Enter a 
Keyword!'); 
document.getElementById('frame1').src='http://srv08-za199/BIrs:Command=RenderKey='+document.getElementById('keyword').value;
/tr
tr
   IFRAME id=frame1 src=blank.htmiframe_placeholder_value/IFRAME

/tr


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315353
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion: Real Life SMS Server

2008-11-17 Thread Fawzi Amadu
it's probably not possible for most folks to debug your SMS gateway config 
w/out 
knowing the provider, etc. (and even then hard unless they have actually used 
them) but in general:

IP OK? port OK? system ID  password correct? does your provider need 
something 
special to connect?

Thanks for the insight and pointers. As I pointed out earlier, another other 
smsServer (smsNow) works fine and is receiving SMS' sent. So now I am accessing 
my SMS messages by using ColdFusion to pull it from nowSMS.

So clearly my provider (routomessaging) ha s proovided me with what I need, it 
is just that I can't seem to get the Coldfusion SMS Server to communicate with 
my SMSC.

The other problem is that I can't seem to find documentation on how to make 
Coldfusion integrate with other SMS Servers (though they call what comes with 
Coldfusion 8 a test server). 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315354
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Code Synchronization - Synchronize code on 2 different machines

2008-11-17 Thread Tom Chiverton
On Friday 14 Nov 2008, Joseph Bugeja wrote:
 ideas on how we can synchronize the code on the different machines so that
 if I do a change on one machine then the change gets pushed to the other
 server.

rsync.

-- 
Tom Chiverton
Helping to enormously repurpose synergies





This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315355
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion: Real Life SMS Server

2008-11-17 Thread Paul Hastings
Fawzi Amadu wrote:
 So clearly my provider (routomessaging) ha s proovided me with what I need,
 it is just that I can't seem to get the Coldfusion SMS Server to communicate
 with my SMSC.

and just as obviously it's not clearly working. something's different between 
the setups. are you sure the connection to your the provider is SMPP (and not 
HTML)?

 The other problem is that I can't seem to find documentation on how to make

it's on your server (cfdocs dir under your cf install) or you can find it here:

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=UseSMSGateway_01.html

 Coldfusion integrate with other SMS Servers (though they call what comes with
 Coldfusion 8 a test server).

because that's what it is, a *test* server to develop your apps rather than 
wasting time  money on a real SMS provider. you use the SMS *gateway* to talk 
to your SMS provider once you've built  tested the app using cf's test SMS 
client  server.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315356
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


AW: cflogin fails with CF8 when using special chars in UTF-8 encoding

2008-11-17 Thread Markus Wollny
Hi!

Sorry for my late answer, I couldn't find the time to pursue this any earlier..

Paul Hastings wrote:
 not really good w/cflogin  you're not showing all your code but i
 always add cfprocessingdirective pageencoding=utf-8 to any
 unicode pages as well as cfset setEncoding(form,utf-8), etc for
 form  url vars.   

We use the correct page encoding and set a BOM, but I also tried 
cfprocessingdirective in addition to everything else, but that didn't work 
either. As this is cflogin with HTTP Basic Auth, form variables are not an 
issue here.

 what do you see if you dump out the form vars? what happens if you
 stay w/utf-8  use another password (like '' or something)? 

As I said, there are no form variables as there is no form. When the password 
just contains plain ASCII chars, authentication works fine.

What's more puzzling: The issue seems to be somehow browser related; using 
Opera 9.62, I can login successfully even when I use a password with non-ASCII 
chars, but all the other browsers I have tested (i.e. Safari 3.1.2 for Windows, 
Internet Explorer 7 and Firefox 3.0.4 for Windows, Safari 3.1 for Mac OS, 
Camino 1.5.1Int for Mac and Mozilla 2.0.0.12 for Mac) fail.

Here's a full standalone example which reproduces this error on my servers:

!--- start of index.cfm ---
cfsilent
cfprocessingdirective pageencoding=UTF-8
cfscript
variables.strLogin='foo';
variables.strPassword='fürth';
variables.strRealm='Login für diese Seite';
REQUEST.userAuthenticated = false;
/cfscript 
/cfsilent
 
cflogin
cfif isDefined('CFLOGIN') 
cfif CFLOGIN.name eq variables.strLogin and CFLOGIN.password 
eq variables.strPassword
cfset REQUEST.userAuthenticated = true
/cfif
   /cfif
   
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN 
http://www.w3.org/TR/html4/loose.dtd;
html
head
titleCF-Login-Test/title
meta http-equiv=Content-Type content=text/html; 
charset=utf-8
/head
body
cfif NOT REQUEST.userAuthenticated
   cfheader statuscode=401
   cfheader name=WWW-Authenticate value=Basic 
realm=#variables.strRealm#
   Login not successful.  
cfelse
   Login successful.
/cfif
/body
/html
/cflogin
!--- /end of index.cfm ---

The page is saved in Unicode (UTF-8) with BOM im DreamWeaver. When I call this 
page, I cannot log in. When I change variables.strPassword to something that 
only contains ASCII chars (no Umlauts, special chars), I can login.

We're running ColdFusion 8,0,1,195765 Enterprise 64-bit standalone server 
install, Webserver is Debian's Apache 2.2.3-4+etch6. When I cancel 
authorisation, I get the following response header with Firefox on Windows:

Date: Mon, 17 Nov 2008 12:43:38 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-9~computec+2 proxy_html/2.5 
mod_ssl/2.2.3 OpenSSL/0.9.8c JRun/4.0
Set-Cookie: CFAUTHORIZATION_=;expires=Sat, 17-Nov-2007 12:43:38 GMT;path=/
WWW-Authenticate: Basic realm=Login für diese Seite
Content-Language: de-DE
Cache-Control: max-age=0
Expires: Mon, 17 Nov 2008 12:43:38 GMT
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

401 Unauthorized


If i use a plain ascii password and login successfully, I get the following 
response header:

Date: Mon, 17 Nov 2008 12:45:03 GMT
Server: Apache/2.2.3 (Debian) PHP/5.2.0-9~computec+2 proxy_html/2.5 
mod_ssl/2.2.3 OpenSSL/0.9.8c JRun/4.0
Set-Cookie: CFAUTHORIZATION_=;expires=Sat, 17-Nov-2007 12:45:03 GMT;path=/
Content-Language: de-DE
Cache-Control: max-age=0
Expires: Mon, 17 Nov 2008 12:45:03 GMT
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

200 OK


Any ideas on this?

Kind regards

   Markus


Computec Media AG
Sitz der Gesellschaft und Registergericht: Fürth (HRB 8818)
Vorstandsmitglieder: Johannes S. Gözalan (Vorsitzender) und Rainer Rosenbusch
Vorsitzender des Aufsichtsrates: Jürg Marquard 
Umsatzsteuer-Identifikationsnummer: DE 812 575 276



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315357
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Show Support for small CF Hosting Companies - Part 2

2008-11-17 Thread Cutter (CFRelated)
For a little more info:

http://blog.cutterscrossing.com/index.cfm/2008/11/17/Hurdles-For-ColdFusion-Hosting-Providers

Please show your support.

-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315358
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


caller.variablename question

2008-11-17 Thread coldfusion . developer
All,

I have an include that I want to place a variable in from a main/caller page.  
The variable 
will be passed from the main page into the included *.cfm file.  Would I do 
this by setting 
the variable from the main page and then in the include using the 
caller.variablename?

Thanks

D


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315359
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


spot CF in Adobe's Flash Platfrm

2008-11-17 Thread Tom Chiverton
Check out Adobe's new site: http://www.adobe.com/flashplatform/

CF gets a mention, at least, on 
http://www.adobe.com/flashplatform/features/include/home/modal_01.png (click 
the icons under the main page bar's anim.).

Can't see it anywhere else however, even under 
http://www.adobe.com/flashplatform/flashplatforminyourfield/?tabVertical=publicApps
So, CF isn't for 'enterprise' or 'the internet', you might be forced to 
conclude ?

I wonder if any CF news will come out of MAX ?
-- 
Tom Chiverton
Helping to heterogeneously seize customized 24/365 advanced innovative IPOs





This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315360
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: caller.variablename question

2008-11-17 Thread Alan Rother
If you are including the file using cfinclude you do not need to use the
caller. scope. You can just reference the variable directly as
variables.WhatEver
The caller scope is only used when including a file as a cfmodule or a
custom tag (CF_myfilename)

=]
-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315361
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Parse .html files with Coldfusion

2008-11-17 Thread Gil Carroll
 If you made the change in the web.xml file then it would. The changes
 you need to make only need to be made in your apache configuration, and
 only for that site.

I do not believe this is entirely accurate. Once you tell Apache to hand
off files to JRun, JRun needs to know what to do with them. Unless
you've made the configuration changes to your web.xml file, CF would
cough up an I don't know what to do with this file error message.

Unfortunately, it looks like the control of what to hand of to CF and
what not to is handled by something other then the apache config
(presumably the mod_jrun adapter), so it doesn't matter what you place
in your apache config.

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Adobe Solution Provider


Cutter (CFRelated) wrote:
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315362
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Parse .html files with Coldfusion

2008-11-17 Thread Gil Carroll
I did this on cf8 running IIS. I have done this a lot, but for some reason, 
this situation results in breaking of CF and HTML, and an apparently endless 
loop in running the page. Any thoughts?

Thanks,

Gil


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315363
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Show support for small CF hosting companies.

2008-11-17 Thread Emmet McGovern
Sorry to bump this.  The only time I'll do it I swear!  :)   I posted it on
a friday which usually gets about zero response.  Please read and post to
their thread if you can.  An overwhelming support for Coldfusion will put us
on the roadmap.


I don't know if you follow the CF hosting side of things but I'll fill you
 in on something that is hurting the small Coldfusion hosting companies and
 dissuading the new ones from supporting CF.

 Parallels are the makers of the Plesk Control panel.  Over the last year
 they have bought every major hosting control panel company that supported CF
 and have moved licensing over to SAS licensing.  (Helm, H-Sphere, Ensim and
 so on.)  This is gouging the smaller companies and forcing them to consider
 other control panels.  Currently the most mature and stable company that's
 left is DotNetPanel.  It is a very solid piece of software with great
 support and features.  However, it does not support Coldfusion.

 After speaking privately with people at their company, they do not believe
 Coldfusion is a priority and have not included it in their 2009 roadmap.
 They have made empty promises in the past.

 Please help me get the message out to them.   Show support for Coldfusion
 on their forums.   It doesn't matter if your a hosting company or not.  Just
 post a message supporting CF.

 http://forum.dotnetpanel.com/forums/t/4918.aspx



 Thanks,
 Emmet



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315364
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: spot CF in Adobe's Flash Platfrm

2008-11-17 Thread Aaron Rouse
Haven't they always not mentioned CF much on their Flash and Flex product
sites?

On Mon, Nov 17, 2008 at 10:02 AM, Tom Chiverton 
[EMAIL PROTECTED] wrote:

 Check out Adobe's new site: http://www.adobe.com/flashplatform/

 CF gets a mention, at least, on
 http://www.adobe.com/flashplatform/features/include/home/modal_01.png(click
 the icons under the main page bar's anim.).

 Can't see it anywhere else however, even under

 http://www.adobe.com/flashplatform/flashplatforminyourfield/?tabVertical=publicApps
 So, CF isn't for 'enterprise' or 'the internet', you might be forced to
 conclude ?

 I wonder if any CF news will come out of MAX ?
 --
 Tom Chiverton
 Helping to heterogeneously seize customized 24/365 advanced innovative IPOs



 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A
 list of members is available for inspection at the registered office. Any
 reference to a partner in relation to Halliwells LLP means a member of
 Halliwells LLP.  Regulated by The Solicitors Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged.  If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents.  If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit www.halliwells.com.

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315365
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


application.cfc error

2008-11-17 Thread Chad Gray
I don't understand what is happening.  Anyone see something in my 
application.cfc that would cause this error?  I can get rid of the error by 
reinitialing the application.

I get this error every once in a while.  It is like the application is not 
re-initialzing right and my application variables are lost when a user hits the 
web site and tries to use the application.cart variable.  The application.page 
variable works fine.  It display the pages etc.

Error Info:
Message: Element CART is undefined in a Java object of type class 
[Ljava.lang.String; referenced as 
Detail: 
Root Cause: 
Type: Expression
Template: /act_addCartItem.cfm?
Tag Context:


Here is my application.cfc

cfcomponent

cfset this.name = testSite
cfset this.sessionManagement = true

cffunction name=onApplicationStart
cfset application.dsn = datasource1
cfset application.page = createObject(component, 
com.testSite.pages)  
cfset application.cart = createObject(component, 
com.testSite.cart)   

cfreturn true
/cffunction

cffunction name=onRequestStart
cfargument name=thePage type=string required=true

cfif isdefined(URL.reinit)
cfset onApplicationStart() /
/cfif

/cffunction

cffunction name=onRequestEnd returnType=void output=false
cfargument name=thePage type=string required=true
cfset var cfid_local = 
cfset var cftoken_local = 

!--- if the user closes their browser, make sure all session 
variables get killed ---
cfif isdefined(Cookie.CFID) and isdefined(Cookie.CFTOKEN)
cfset cfid_local = cookie.cfid
cfset cftoken_local = cookie.cftoken
cfcookie name=CFID value=#cfid_local#
cfcookie name=CFTOKEN value=#cftoken_local#
/cfif
/cffunction

/cfcomponent


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315366
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cflogin fails with CF8 when using special chars in UTF-8 encoding

2008-11-17 Thread Judah McAuley
Since it appears to work in one browser but not in others, I'd try
troubleshooting by switching from basic auth to using a form so you
can capture what was sent by the browser and save it to a file. See if
what is being saved out differs between Opera and Firefox. If it is,
then the issue would seem to be a client-side setting. If it isn't,
then I'm guessing that it has to do with the http auth part of your
equation.

Judah

On Mon, Nov 17, 2008 at 4:54 AM, Markus Wollny
[EMAIL PROTECTED] wrote:
 Hi!

 Sorry for my late answer, I couldn't find the time to pursue this any 
 earlier..

 Paul Hastings wrote:
 not really good w/cflogin  you're not showing all your code but i
 always add cfprocessingdirective pageencoding=utf-8 to any
 unicode pages as well as cfset setEncoding(form,utf-8), etc for
 form  url vars.

 We use the correct page encoding and set a BOM, but I also tried 
 cfprocessingdirective in addition to everything else, but that didn't work 
 either. As this is cflogin with HTTP Basic Auth, form variables are not an 
 issue here.

 what do you see if you dump out the form vars? what happens if you
 stay w/utf-8  use another password (like '' or something)?

 As I said, there are no form variables as there is no form. When the password 
 just contains plain ASCII chars, authentication works fine.

 What's more puzzling: The issue seems to be somehow browser related; using 
 Opera 9.62, I can login successfully even when I use a password with 
 non-ASCII chars, but all the other browsers I have tested (i.e. Safari 3.1.2 
 for Windows, Internet Explorer 7 and Firefox 3.0.4 for Windows, Safari 3.1 
 for Mac OS, Camino 1.5.1Int for Mac and Mozilla 2.0.0.12 for Mac) fail.

 Here's a full standalone example which reproduces this error on my servers:

 !--- start of index.cfm ---
 cfsilent
cfprocessingdirective pageencoding=UTF-8
cfscript
variables.strLogin='foo';
variables.strPassword='fürth';
variables.strRealm='Login für diese Seite';
REQUEST.userAuthenticated = false;
/cfscript
 /cfsilent

 cflogin
cfif isDefined('CFLOGIN')
cfif CFLOGIN.name eq variables.strLogin and CFLOGIN.password 
 eq variables.strPassword
cfset REQUEST.userAuthenticated = true
/cfif
   /cfif

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN 
 http://www.w3.org/TR/html4/loose.dtd;
html
head
titleCF-Login-Test/title
meta http-equiv=Content-Type content=text/html; 
 charset=utf-8
/head
body
cfif NOT REQUEST.userAuthenticated
   cfheader statuscode=401
   cfheader name=WWW-Authenticate value=Basic 
 realm=#variables.strRealm#
   Login not successful.
cfelse
   Login successful.
/cfif
/body
/html
 /cflogin
 !--- /end of index.cfm ---

 The page is saved in Unicode (UTF-8) with BOM im DreamWeaver. When I call 
 this page, I cannot log in. When I change variables.strPassword to something 
 that only contains ASCII chars (no Umlauts, special chars), I can login.

 We're running ColdFusion 8,0,1,195765 Enterprise 64-bit standalone server 
 install, Webserver is Debian's Apache 2.2.3-4+etch6. When I cancel 
 authorisation, I get the following response header with Firefox on Windows:
 
 Date: Mon, 17 Nov 2008 12:43:38 GMT
 Server: Apache/2.2.3 (Debian) PHP/5.2.0-9~computec+2 proxy_html/2.5 
 mod_ssl/2.2.3 OpenSSL/0.9.8c JRun/4.0
 Set-Cookie: CFAUTHORIZATION_=;expires=Sat, 17-Nov-2007 12:43:38 GMT;path=/
 WWW-Authenticate: Basic realm=Login für diese Seite
 Content-Language: de-DE
 Cache-Control: max-age=0
 Expires: Mon, 17 Nov 2008 12:43:38 GMT
 Connection: close
 Transfer-Encoding: chunked
 Content-Type: text/html; charset=UTF-8

 401 Unauthorized
 

 If i use a plain ascii password and login successfully, I get the following 
 response header:
 
 Date: Mon, 17 Nov 2008 12:45:03 GMT
 Server: Apache/2.2.3 (Debian) PHP/5.2.0-9~computec+2 proxy_html/2.5 
 mod_ssl/2.2.3 OpenSSL/0.9.8c JRun/4.0
 Set-Cookie: CFAUTHORIZATION_=;expires=Sat, 17-Nov-2007 12:45:03 GMT;path=/
 Content-Language: de-DE
 Cache-Control: max-age=0
 Expires: Mon, 17 Nov 2008 12:45:03 GMT
 Connection: close
 Transfer-Encoding: chunked
 Content-Type: text/html; charset=UTF-8

 200 OK
 

 Any ideas on this?

 Kind regards

   Markus


 Computec Media AG
 Sitz der Gesellschaft und Registergericht: Fürth (HRB 8818)
 Vorstandsmitglieder: Johannes S. Gözalan (Vorsitzender) und Rainer Rosenbusch
 Vorsitzender des Aufsichtsrates: Jürg Marquard
 Umsatzsteuer-Identifikationsnummer: DE 812 575 276



 


Re: application.cfc error

2008-11-17 Thread Emmet McGovern
Are you sure your not clearing the cart outside of your application.cfc?
-e




On Mon, Nov 17, 2008 at 12:19 PM, Chad Gray [EMAIL PROTECTED] wrote:

 I don't understand what is happening.  Anyone see something in my
 application.cfc that would cause this error?  I can get rid of the error by
 reinitialing the application.

 I get this error every once in a while.  It is like the application is not
 re-initialzing right and my application variables are lost when a user hits
 the web site and tries to use the application.cart variable.  The
 application.page variable works fine.  It display the pages etc.

 Error Info:
 Message: Element CART is undefined in a Java object of type class
 [Ljava.lang.String; referenced as
 Detail:
 Root Cause:
 Type: Expression
 Template: /act_addCartItem.cfm?
 Tag Context:


 Here is my application.cfc

 cfcomponent

 cfset this.name = testSite
 cfset this.sessionManagement = true

cffunction name=onApplicationStart
cfset application.dsn = datasource1
cfset application.page = createObject(component,
 com.testSite.pages)
cfset application.cart = createObject(component,
 com.testSite.cart)

cfreturn true
/cffunction

cffunction name=onRequestStart
cfargument name=thePage type=string required=true

cfif isdefined(URL.reinit)
cfset onApplicationStart() /
/cfif

/cffunction

cffunction name=onRequestEnd returnType=void output=false
cfargument name=thePage type=string required=true
cfset var cfid_local = 
cfset var cftoken_local = 

!--- if the user closes their browser, make sure all
 session variables get killed ---
cfif isdefined(Cookie.CFID) and
 isdefined(Cookie.CFTOKEN)
cfset cfid_local = cookie.cfid
cfset cftoken_local = cookie.cftoken
cfcookie name=CFID value=#cfid_local#
cfcookie name=CFTOKEN value=#cftoken_local#
/cfif
/cffunction

 /cfcomponent


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315368
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: application.cfc error

2008-11-17 Thread Josh Nathanson
Could it be that the application is timing out?  What sort of traffic does
the site get?  What is your application timeout set to?

-- Josh

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 17, 2008 9:20 AM
To: cf-talk
Subject: application.cfc error

I don't understand what is happening.  Anyone see something in my
application.cfc that would cause this error?  I can get rid of the error by
reinitialing the application.

I get this error every once in a while.  It is like the application is not
re-initialzing right and my application variables are lost when a user hits
the web site and tries to use the application.cart variable.  The
application.page variable works fine.  It display the pages etc.

Error Info:
Message: Element CART is undefined in a Java object of type class
[Ljava.lang.String; referenced as 
Detail: 
Root Cause: 
Type: Expression
Template: /act_addCartItem.cfm?
Tag Context:


Here is my application.cfc

cfcomponent

cfset this.name = testSite
cfset this.sessionManagement = true

cffunction name=onApplicationStart
cfset application.dsn = datasource1
cfset application.page = createObject(component,
com.testSite.pages)  
cfset application.cart = createObject(component,
com.testSite.cart)   

cfreturn true
/cffunction

cffunction name=onRequestStart
cfargument name=thePage type=string required=true

cfif isdefined(URL.reinit)
cfset onApplicationStart() /
/cfif

/cffunction

cffunction name=onRequestEnd returnType=void output=false
cfargument name=thePage type=string required=true
cfset var cfid_local = 
cfset var cftoken_local = 

!--- if the user closes their browser, make sure all
session variables get killed ---
cfif isdefined(Cookie.CFID) and
isdefined(Cookie.CFTOKEN)
cfset cfid_local = cookie.cfid
cfset cftoken_local = cookie.cftoken
cfcookie name=CFID value=#cfid_local#
cfcookie name=CFTOKEN value=#cftoken_local#
/cfif
/cffunction

/cfcomponent




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315369
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: application.cfc error

2008-11-17 Thread Alan Rother
Off hand I'm not sure what is causing it, but this may help

   cfif (isdefined(URL.reinit)) OR (NOT
IsDefined(Application.Cart)) OR (NOT IsDefined(Application.Page))
   cfset onApplicationStart() /
   /cfif


=]


-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315370
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: application.cfc error

2008-11-17 Thread Chad Gray
Ya positive.  There are only about 10 pages total in the web site.  So I know 
for sure there is no code to kill the variable.



 -Original Message-
 From: Emmet McGovern [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 17, 2008 12:43 PM
 To: cf-talk
 Subject: Re: application.cfc error
 
 Are you sure your not clearing the cart outside of your application.cfc?
 -e
 
 
 
 
 On Mon, Nov 17, 2008 at 12:19 PM, Chad Gray [EMAIL PROTECTED] wrote:
 
  I don't understand what is happening.  Anyone see something in my
  application.cfc that would cause this error?  I can get rid of the error
 by
  reinitialing the application.
 
  I get this error every once in a while.  It is like the application is
 not
  re-initialzing right and my application variables are lost when a user
 hits
  the web site and tries to use the application.cart variable.  The
  application.page variable works fine.  It display the pages etc.
 
  Error Info:
  Message: Element CART is undefined in a Java object of type class
  [Ljava.lang.String; referenced as
  Detail:
  Root Cause:
  Type: Expression
  Template: /act_addCartItem.cfm?
  Tag Context:
 
 
  Here is my application.cfc
 
  cfcomponent
 
  cfset this.name = testSite
  cfset this.sessionManagement = true
 
 cffunction name=onApplicationStart
 cfset application.dsn = datasource1
 cfset application.page = createObject(component,
  com.testSite.pages)
 cfset application.cart = createObject(component,
  com.testSite.cart)
 
 cfreturn true
 /cffunction
 
 cffunction name=onRequestStart
 cfargument name=thePage type=string required=true
 
 cfif isdefined(URL.reinit)
 cfset onApplicationStart() /
 /cfif
 
 /cffunction
 
 cffunction name=onRequestEnd returnType=void output=false
 cfargument name=thePage type=string required=true
 cfset var cfid_local = 
 cfset var cftoken_local = 
 
 !--- if the user closes their browser, make sure all
  session variables get killed ---
 cfif isdefined(Cookie.CFID) and
  isdefined(Cookie.CFTOKEN)
 cfset cfid_local = cookie.cfid
 cfset cftoken_local = cookie.cftoken
 cfcookie name=CFID value=#cfid_local#
 cfcookie name=CFTOKEN value=#cftoken_local#
 /cfif
 /cffunction
 
  /cfcomponent
 
 
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315371
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ColdFusion 8 + Oracle 9i + Datadirect Driver

2008-11-17 Thread Boysie Tupaz
Hi everyone,

Can anyone tell me which version of Datadirect JDBC Driver should I be using 
for CF8 and Oracle 9i? Is it 3.5 or 4.0???

Thanks in advance.  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315372
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: application.cfc error

2008-11-17 Thread Chad Gray
Traffic is minimal.  We are just testing the site now.  So it will sit for many 
days before getting another user.

I would guess the default timeout on the application since I am not defining 
one in the application.cfc.  2 days in the administrator.

Shouldn't the application start back up after timing out?

I will add that I noticed another application variable timing out (that I 
took out of the application.cfc).  I use to have an application.adminEmail 
defined just below the application.cart.  And when I had a onError function in 
the application.cfc when the onError function fired it would say that the 
application.adminEmail is not defined.

So it is like only the first two application variables (dsn, page) was any 
good.  The rest were un-defined.



 -Original Message-
 From: Josh Nathanson [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 17, 2008 12:59 PM
 To: cf-talk
 Subject: RE: application.cfc error
 
 Could it be that the application is timing out?  What sort of traffic does
 the site get?  What is your application timeout set to?
 
 -- Josh
 
 -Original Message-
 From: Chad Gray [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 17, 2008 9:20 AM
 To: cf-talk
 Subject: application.cfc error
 
 I don't understand what is happening.  Anyone see something in my
 application.cfc that would cause this error?  I can get rid of the error
 by
 reinitialing the application.
 
 I get this error every once in a while.  It is like the application is not
 re-initialzing right and my application variables are lost when a user
 hits
 the web site and tries to use the application.cart variable.  The
 application.page variable works fine.  It display the pages etc.
 
 Error Info:
 Message: Element CART is undefined in a Java object of type class
 [Ljava.lang.String; referenced as
 Detail:
 Root Cause:
 Type: Expression
 Template: /act_addCartItem.cfm?
 Tag Context:
 
 
 Here is my application.cfc
 
 cfcomponent
 
 cfset this.name = testSite
 cfset this.sessionManagement = true
 
   cffunction name=onApplicationStart
   cfset application.dsn = datasource1
   cfset application.page = createObject(component,
 com.testSite.pages)
   cfset application.cart = createObject(component,
 com.testSite.cart)
 
   cfreturn true
   /cffunction
 
   cffunction name=onRequestStart
   cfargument name=thePage type=string required=true
 
   cfif isdefined(URL.reinit)
   cfset onApplicationStart() /
   /cfif
 
   /cffunction
 
   cffunction name=onRequestEnd returnType=void output=false
   cfargument name=thePage type=string required=true
   cfset var cfid_local = 
   cfset var cftoken_local = 
 
   !--- if the user closes their browser, make sure all
 session variables get killed ---
   cfif isdefined(Cookie.CFID) and
 isdefined(Cookie.CFTOKEN)
   cfset cfid_local = cookie.cfid
   cfset cftoken_local = cookie.cftoken
   cfcookie name=CFID value=#cfid_local#
   cfcookie name=CFTOKEN value=#cftoken_local#
   /cfif
   /cffunction
 
 /cfcomponent
 
 
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315373
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: application.cfc error

2008-11-17 Thread Chad Gray
Seems like kind of a hack eh'?  

It probably would work though.



 -Original Message-
 From: Alan Rother [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 17, 2008 1:20 PM
 To: cf-talk
 Subject: Re: application.cfc error
 
 Off hand I'm not sure what is causing it, but this may help
 
cfif (isdefined(URL.reinit)) OR (NOT
 IsDefined(Application.Cart)) OR (NOT IsDefined(Application.Page))
cfset onApplicationStart() /
/cfif
 
 
 =]
 
 
 --
 Alan Rother
 Adobe Certified Advanced ColdFusion MX 7 Developer
 Manager, Phoenix Cold Fusion User Group, AZCFUG.org
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315374
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: application.cfc error

2008-11-17 Thread Alan Rother
Hey Chad,
One more thing came to mind... Not knowing anything about your hosting setup
this is a wild guess... But your Application scope could be getting
corrupted by another site on the same server having the same Application
name...

cfset this.name = testSite

As a practice, I try to make this value as unique as reasonable.

cfset this.name = CustomerA1234_Build26_11142008

It's a theory anyhow...

=]

-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315375
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: application.cfc error

2008-11-17 Thread Chad Gray
Hmmm you know I did realize that there was another web site using the same 
application name.

Could this cause my problems?



 -Original Message-
 From: Chad Gray [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 17, 2008 1:41 PM
 To: cf-talk
 Subject: RE: application.cfc error
 
 Traffic is minimal.  We are just testing the site now.  So it will sit for
 many days before getting another user.
 
 I would guess the default timeout on the application since I am not
 defining one in the application.cfc.  2 days in the administrator.
 
 Shouldn't the application start back up after timing out?
 
 I will add that I noticed another application variable timing out (that
 I took out of the application.cfc).  I use to have an
 application.adminEmail defined just below the application.cart.  And when
 I had a onError function in the application.cfc when the onError function
 fired it would say that the application.adminEmail is not defined.
 
 So it is like only the first two application variables (dsn, page) was any
 good.  The rest were un-defined.
 
 
 
  -Original Message-
  From: Josh Nathanson [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2008 12:59 PM
  To: cf-talk
  Subject: RE: application.cfc error
 
  Could it be that the application is timing out?  What sort of traffic
 does
  the site get?  What is your application timeout set to?
 
  -- Josh
 
  -Original Message-
  From: Chad Gray [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2008 9:20 AM
  To: cf-talk
  Subject: application.cfc error
 
  I don't understand what is happening.  Anyone see something in my
  application.cfc that would cause this error?  I can get rid of the error
  by
  reinitialing the application.
 
  I get this error every once in a while.  It is like the application is
 not
  re-initialzing right and my application variables are lost when a user
  hits
  the web site and tries to use the application.cart variable.  The
  application.page variable works fine.  It display the pages etc.
 
  Error Info:
  Message: Element CART is undefined in a Java object of type class
  [Ljava.lang.String; referenced as
  Detail:
  Root Cause:
  Type: Expression
  Template: /act_addCartItem.cfm?
  Tag Context:
 
 
  Here is my application.cfc
 
  cfcomponent
 
  cfset this.name = testSite
  cfset this.sessionManagement = true
 
  cffunction name=onApplicationStart
  cfset application.dsn = datasource1
  cfset application.page = createObject(component,
  com.testSite.pages)
  cfset application.cart = createObject(component,
  com.testSite.cart)
 
  cfreturn true
  /cffunction
 
  cffunction name=onRequestStart
  cfargument name=thePage type=string required=true
 
  cfif isdefined(URL.reinit)
  cfset onApplicationStart() /
  /cfif
 
  /cffunction
 
  cffunction name=onRequestEnd returnType=void output=false
  cfargument name=thePage type=string required=true
  cfset var cfid_local = 
  cfset var cftoken_local = 
 
  !--- if the user closes their browser, make sure all
  session variables get killed ---
  cfif isdefined(Cookie.CFID) and
  isdefined(Cookie.CFTOKEN)
  cfset cfid_local = cookie.cfid
  cfset cftoken_local = cookie.cftoken
  cfcookie name=CFID value=#cfid_local#
  cfcookie name=CFTOKEN value=#cftoken_local#
  /cfif
  /cffunction
 
  /cfcomponent
 
 
 
 
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315376
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: application.cfc error

2008-11-17 Thread Adrian Lynch
If this line ever errors on AppStart:

cfset application.page = createObject(component, com.testSite.pages)

The cart won't get created and the app will have started.

Adrian
Building a database of ColdFusion errors at http://cferror.org/

-Original Message-
From: Chad Gray
Sent: 17 November 2008 18:41
To: cf-talk
Subject: RE: application.cfc error


Seems like kind of a hack eh'?  

It probably would work though.



 -Original Message-
 From: Alan Rother
 Sent: Monday, November 17, 2008 1:20 PM
 To: cf-talk
 Subject: Re: application.cfc error
 
 Off hand I'm not sure what is causing it, but this may help
 
cfif (isdefined(URL.reinit)) OR (NOT
 IsDefined(Application.Cart)) OR (NOT IsDefined(Application.Page))
cfset onApplicationStart() /
/cfif
 
 
 =]
 
 
 --
 Alan Rother

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315377
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: application.cfc error

2008-11-17 Thread Alan Rother
Hmmm you know I did realize that there was another web site using the same
application name.

Could this cause my problems?

YES
-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315378
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: application.cfc error

2008-11-17 Thread Dawson, Michael
Use the following code to prevent issues with running multiple
applications with the same name on a single server.

this.name = constants.siteName   {  hash(getCurrentTemplatePath()) 
}

(If I remembered where I first saw this, I would give proper credit.)

Mike

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315380
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: application.cfc error

2008-11-17 Thread Chad Gray
I bet this is the problem!  I just looked at the other application.cfc on the 
web server and it is defining the same application name and only defining the 
first two application variables!


cffunction name=onApplicationStart returnType=boolean output=false
cfset application.dsn =  datasource1
cfset application.page = createObject(component, 
com.testSite.pages)  

cfreturn true
/cffunction

Right?

So now say someone hits testSite1 and it runs the above application.

Now someone hits testSite2 and CF says Hey this application is already 
running, but not all of my applications variables are defined for testSite2.  
This is where I am getting my error!






 -Original Message-
 From: Chad Gray [mailto:[EMAIL PROTECTED]
 Sent: Monday, November 17, 2008 1:42 PM
 To: cf-talk
 Subject: RE: application.cfc error
 
 Hmmm you know I did realize that there was another web site using the same
 application name.
 
 Could this cause my problems?
 
 
 
  -Original Message-
  From: Chad Gray [mailto:[EMAIL PROTECTED]
  Sent: Monday, November 17, 2008 1:41 PM
  To: cf-talk
  Subject: RE: application.cfc error
 
  Traffic is minimal.  We are just testing the site now.  So it will sit
 for
  many days before getting another user.
 
  I would guess the default timeout on the application since I am not
  defining one in the application.cfc.  2 days in the administrator.
 
  Shouldn't the application start back up after timing out?
 
  I will add that I noticed another application variable timing out
 (that
  I took out of the application.cfc).  I use to have an
  application.adminEmail defined just below the application.cart.  And
 when
  I had a onError function in the application.cfc when the onError
 function
  fired it would say that the application.adminEmail is not defined.
 
  So it is like only the first two application variables (dsn, page) was
 any
  good.  The rest were un-defined.
 
 
 
   -Original Message-
   From: Josh Nathanson [mailto:[EMAIL PROTECTED]
   Sent: Monday, November 17, 2008 12:59 PM
   To: cf-talk
   Subject: RE: application.cfc error
  
   Could it be that the application is timing out?  What sort of traffic
  does
   the site get?  What is your application timeout set to?
  
   -- Josh
  
   -Original Message-
   From: Chad Gray [mailto:[EMAIL PROTECTED]
   Sent: Monday, November 17, 2008 9:20 AM
   To: cf-talk
   Subject: application.cfc error
  
   I don't understand what is happening.  Anyone see something in my
   application.cfc that would cause this error?  I can get rid of the
 error
   by
   reinitialing the application.
  
   I get this error every once in a while.  It is like the application is
  not
   re-initialzing right and my application variables are lost when a user
   hits
   the web site and tries to use the application.cart variable.  The
   application.page variable works fine.  It display the pages etc.
  
   Error Info:
   Message: Element CART is undefined in a Java object of type class
   [Ljava.lang.String; referenced as
   Detail:
   Root Cause:
   Type: Expression
   Template: /act_addCartItem.cfm?
   Tag Context:
  
  
   Here is my application.cfc
  
   cfcomponent
  
   cfset this.name = testSite
   cfset this.sessionManagement = true
  
 cffunction name=onApplicationStart
 cfset application.dsn = datasource1
 cfset application.page = createObject(component,
   com.testSite.pages)
 cfset application.cart = createObject(component,
   com.testSite.cart)
  
 cfreturn true
 /cffunction
  
 cffunction name=onRequestStart
 cfargument name=thePage type=string required=true
  
 cfif isdefined(URL.reinit)
 cfset onApplicationStart() /
 /cfif
  
 /cffunction
  
 cffunction name=onRequestEnd returnType=void output=false
 cfargument name=thePage type=string required=true
 cfset var cfid_local = 
 cfset var cftoken_local = 
  
 !--- if the user closes their browser, make sure all
   session variables get killed ---
 cfif isdefined(Cookie.CFID) and
   isdefined(Cookie.CFTOKEN)
 cfset cfid_local = cookie.cfid
 cfset cftoken_local = cookie.cftoken
 cfcookie name=CFID value=#cfid_local#
 cfcookie name=CFTOKEN value=#cftoken_local#
 /cfif
 /cffunction
  
   /cfcomponent
  
  
  
  
  
 
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315379
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 

SEEFUSION v FusionReactor

2008-11-17 Thread DURETTE, STEVEN J (ATTASIAIT)
All,

 

We are going through a review of our using FusionReactor on some of our
servers.  Some people want us to keep it, some want us to switch to
SEEFUSION.

 

Does anyone have a comparison of SEEFUSION v FusionReactor?

 

Don't want to start a war, just looking for information!

 

Steve

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315381
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SEEFUSION v FusionReactor

2008-11-17 Thread Alan Rother
Based on my experience with both:
SeeFusion is cheaper and offers fewer features. It's solid works well and
offers a lot of useful info for performance tuning and monitoring. It does
lack many of the monitoring and controlling features found in FusionReactor.
Also, you need a license of it for every physical server you have. So it may
not be cheaper in the long run

FusionReactor has a lot more features and options. It can all sorts of
things like automated tasks and scripts to fix common issues you encounter.
It's quite a bit more expensive, BUT (and correct me if I am wrong, its been
awhile) one enterprise license can cover many machines. It also features a
single point interface, whereas with SeeFusion you must log into each
server's SeeFusion interface separately.


Now, what do you want to use it for? I use SeeFusion on our servers simply
to performance tune applications. If you are making use of some of the more
advanced features in FusionReactor, I don't think you will be able to switch
to SeeFusion, it just doesn't have all of the tools you'll find in
FusionReactor.



HTH

=]


-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315382
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Going from Application.cfm to Application.cfc

2008-11-17 Thread Gerald Guido
I have a couple of old apps and I want to start using Application.cfc. Here
is the thing. The main app I want to convert has parts that dates back to CF
5 and has a LOT of stuff in Application.cfm: Queries, Logging, CFInclude's,
all kinds of cfparams, stuff to load things into various scopes. A lot of it
is unscoped like paths and URLs.

Can anyone point me to any resources or offer any advice on the best way to
go about this? Any Gotchas to avoid, etc?

As always, many TIA
G

-- 
Gerald Guido
http://www.myinternetisbroken.com

Neurotics build castles in the air, psychotics live in them. My mother
cleans them.
-- Rita Rudner


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315383
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Going from Application.cfm to Application.cfc

2008-11-17 Thread Dan O'Keefe
Check this out and do a search on Ray's blog for application.cfc
http://www.coldfusionjedi.com/index.cfm/2007/11/5/ApplicationCFC-Template-Update

I think he even has a recorded preso he did once on using it.
--
Dan O'Keefe


On Mon, Nov 17, 2008 at 2:56 PM, Gerald Guido [EMAIL PROTECTED]wrote:

 I have a couple of old apps and I want to start using Application.cfc. Here
 is the thing. The main app I want to convert has parts that dates back to
 CF
 5 and has a LOT of stuff in Application.cfm: Queries, Logging, CFInclude's,
 all kinds of cfparams, stuff to load things into various scopes. A lot of
 it
 is unscoped like paths and URLs.

 Can anyone point me to any resources or offer any advice on the best way to
 go about this? Any Gotchas to avoid, etc?

 As always, many TIA
 G

 --
 Gerald Guido
 http://www.myinternetisbroken.com

 Neurotics build castles in the air, psychotics live in them. My mother
 cleans them.
 -- Rita Rudner


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315384
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Adobe people we know on the Cold Fusion side

2008-11-17 Thread Don L
Ben Forta, sure, since Allaire's time for those of us, die-hard CFers...
Sean Corfield, CF architecure, sure too

Ok, more on the tech side, now how about the business side? exeutives in charge 
of CF product, who comes to your mind?

Thanks.

Don
Chunshen Li 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315385
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Adobe people we know on the Cold Fusion side

2008-11-17 Thread Tyler Fitch
I'm not sure what we're going for here but Sean left Adobe 2-3 years ago.

And he was never on the CF product team.  He was an Architect on the Web
Team and helped promote the use of CF on adobe.com.

t

On Mon, Nov 17, 2008 at 1:56 PM, Don L [EMAIL PROTECTED] wrote:

 Ben Forta, sure, since Allaire's time for those of us, die-hard CFers...
 Sean Corfield, CF architecure, sure too
 
 Ok, more on the tech side, now how about the business side? exeutives in
 charge of CF product, who comes to your mind?

 Thanks.

 Don
 Chunshen Li

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315386
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


subtotal SUM in group query

2008-11-17 Thread Mark Townsend
Hello. Say I have a table with the following data:

Acct#, Name, Cost
001, Bennett, 50.00
001, Bradley, 250.00
001, Green, 200.00
420, Smith, 50.00
420, Cummings, 50.00
470, Brown, 80.00

I would like the output to be like:

001-6405
Bennett 50.00
Bradley 250.00
Green   200.00
Total 001   500.00

420-6405
Smith   50.00
Cummings50.00
Total 420   100.00

470-6405
Brown   80.00
Total 470   80.00

Total Accts 680.00

I used a query like this 

cfquery name=GetCostSum datasource=travel
SELECT SUM(Cost) AS CostSum, Acct, Name, Cost from travel WHERE 
reconciled = 'No' GROUP BY Acct, Name, Cost
/cfquery

to try and get the groups summed up together, but my sum total is only the 
first record so it looks like the following. The output is:

cfoutput query=GetCostSum group=Acct
strong#Acct#-6405/strongbr /
cfoutput
#Name# #DollarFormat(Cost)#br /
/cfoutput
   Total: #DollarFormat(CostSum)#br /br /
   /cfoutput

001-6405
Bennett 50.00
Bradley 250.00
Green   200.00
Total 001   50.00

420-6405
Smith   50.00
Cummings50.00
Total 420   50.00

470-6405
Brown   80.00
Total 470   80.00

Do I need to do some kind of a loop to get the subtotals for each account? 
Thanks. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315387
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion: Real Life SMS Server

2008-11-17 Thread Fawzi Amadu
and just as obviously it's not clearly working. something's different between 
the setups. are you sure the connection to your the provider is SMPP (and not 
HTML)?

But that is exactly my problem. I have followed the instructions and updated my 
configuration file with the parameters supplied by my provider (but as per 
ColdFusion
Documentation) the ColdFusion SMS Test Server doesn't work. Yet other servers I 
try work fine. 

Coldfusion reports a: SMSGateway (SMS RoutoTelecom) Bind operation failed: 
java.lang.NullPointerException (that isn't too very explanatory).


Interestingly when we bind to the ColdFusion test server via the other SMS 
Server, it binds and reads the data from it.

Since we have checked an re-checked our configuration file and all parameters 
are properly set, we are at a loss as to what Coldfusion cannot find.




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315388
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Adobe people we know on the Cold Fusion side

2008-11-17 Thread Don L
If anything, save the warm, fuzzy feeling considering the fact that winter is 
coming.
Earnestly, I'm looking forward to an opportunity of working with Adobe's Cold 
Fusion team on both sides (no, not a job) on a project, so, getting to know the 
right people over there who can put up with my temparament (I'm notorious for 
that here) would be desirable.

Thanks.

Don
Chunshen Li

I'm not sure what we're going for here but Sean left Adobe 2-3 years ago.

And he was never on the CF product team.  He was an Architect on the Web
Team and helped promote the use of CF on adobe.com.

t

On Mon, Nov 17, 2008 at 1:56 PM, D

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315389
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


(ot) Design Lab

2008-11-17 Thread Michael Muller
I'm looking for a design lab similar to what these guys have...

http://www.pikiware.com/online_designer

 that I can pop in, ala FCKeditor.

Anyone know of a piece of software, free or not, that can do image editing and 
text layout so a customer could edit what they print on a poster or a t-shirt? 
The ultimate would be a simpler version of pixlr ( http://pixlr.com/app/ ) with 
the addition of a clip-art library.

Perhaps there's a full-blown interactive applet that uses imagecfc out there 
somewhere?

Maybe FCKeditor can be modified to be able to do something like this too. 
Hmmm...

Thanks,

Mik 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315390
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) Design Lab

2008-11-17 Thread Azadi Saryev
www.picnik.com if i am not mistaken

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Michael Muller wrote:
 I'm looking for a design lab similar to what these guys have...

 http://www.pikiware.com/online_designer

  that I can pop in, ala FCKeditor.

 Anyone know of a piece of software, free or not, that can do image editing 
 and text layout so a customer could edit what they print on a poster or a 
 t-shirt? The ultimate would be a simpler version of pixlr ( 
 http://pixlr.com/app/ ) with the addition of a clip-art library.

 Perhaps there's a full-blown interactive applet that uses imagecfc out there 
 somewhere?

 Maybe FCKeditor can be modified to be able to do something like this too. 
 Hmmm...

 Thanks,

 Mik 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315391
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfselect bind issue and option value

2008-11-17 Thread Ernest Burkhalter
 
 I'm using three cfselects for a three selects related setup. 
 Each is bound bind to a cfc. Works great. 
 
 However, I'd like to get the select boxes to just display please 
 select instead of the first value of the query it looks up. I can do 
 this with the second and third cfselect since I can set those to 
 trigger onclick . 
 
 My first cfselect named make: 
 
 
 cfselect   name= make   bind= cfc:michelinmoto.model.
 getfitmentdata.getMakes()   value= make  
 
 display= make  bindonload= true   multiple= no 
 
 option   value   =please select
 
 /cfselect  
 
 
 My second cfselect uses:
 
 bind= cfc:getdata.getmodels([EMAIL PROTECTED]) My third cfselect uses: 
 
 
 bind= cfc:getdata.getyears({model},[EMAIL PROTECTED])  
 
 Is there a trigger I can use to have the first cfselect just show 
 please select and load the data when a user clicks on it? I tried 
 various forms of [EMAIL PROTECTED] with no luck. 
 
 -jeff
 
 
 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315392
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) Design Lab

2008-11-17 Thread Azadi Saryev
oh, jut in case you miss it: you need to click on 'Developers' in the
tiny bottom many to access their API pages...

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Michael Muller wrote:
 I'm looking for a design lab similar to what these guys have...

 http://www.pikiware.com/online_designer

  that I can pop in, ala FCKeditor.

 Anyone know of a piece of software, free or not, that can do image editing 
 and text layout so a customer could edit what they print on a poster or a 
 t-shirt? The ultimate would be a simpler version of pixlr ( 
 http://pixlr.com/app/ ) with the addition of a clip-art library.

 Perhaps there's a full-blown interactive applet that uses imagecfc out there 
 somewhere?

 Maybe FCKeditor can be modified to be able to do something like this too. 
 Hmmm...

 Thanks,

 Mik 

   

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315393
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfselect bind issue and option value

2008-11-17 Thread Ernest Burkhalter
 
 I'm using three cfselects for a three selects related setup. 
 Each is bound bind to a cfc. Works great. 
 
 However, I'd like to get the select boxes to just display please 
 select instead of the first value of the query it looks up. I can do 
 this with the second and third cfselect since I can set those to 
 trigger onclick . 
 
 My first cfselect named make: 
 
 
 cfselect   name= make   bind= cfc:michelinmoto.model.
 getfitmentdata.getMakes()   value= make  
 
 display= make  bindonload= true   multiple= no 
 
 option   value   =please select
 
 /cfselect  
 
 
 My second cfselect uses:
 
 bind= cfc:getdata.getmodels([EMAIL PROTECTED]) My third cfselect uses: 
 
 
 bind= cfc:getdata.getyears({model},[EMAIL PROTECTED])  
 
 Is there a trigger I can use to have the first cfselect just show 
 please select and load the data when a user clicks on it? I tried 
 various forms of [EMAIL PROTECTED] with no luck. 
 
 -jeff
 
 
 Can you give me the code for the three related cfselects? I have been trying 
 to construct my own code based on Ben's examples and other code snippets I 
 have found, but with no success.  Obviously, I must be missing something 
 relating to binding cfc-generated date in the CF 8.0 cfselect tag. Any help 
 would be appreciated.

Ernie Burkhalter


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315394
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfselect bind issue and option value

2008-11-17 Thread Ernest Burkhalter
 Change the CFC and rebuild the queries (using QueryAddRow and 
 QuerySetCell)
 to insert a blank record at the first position in the recordset (for 
 all
 the methods). Set it to have a empty () as value and the display 
 Please
 select (or whatever you like).
 
 I've done this here:
 https://www.pagina22.com.br/index.
 cfm?fuseaction=assinaturaFormulario[EMAIL PROTECTED]
 
 You can see the three select-related in Setor de atuação - 
 Segmento de
 atuação - Atividade de atuação fields (almost in the end of the 
 form).
 Sorry, in portuguese.
 
 []'s
 Alex
 
 On Nov 16, 2007 12:24 PM, [EMAIL PROTECTED] 
 [EMAIL PROTECTED]
 wrote:
 
 
  I'm using three cfselects for a three selects related setup.
  Each is bound bind to a cfc. Works great.
 
  However, I'd like to get the select boxes to just display please 
 select
  instead of the first value of the query it looks up. I can do this 
 with the
  second and third cfselect since I can set those to trigger onclick .
 
 
  My first cfselect named make:
 
   cfselect   name= make   bind= cfc:
  michelinmoto.model.getfitmentdata.getMakes()   value= make
   display= make  bindonload= true   multiple= no 
   option   value   =please select
   /cfselect
 
   My second cfselect uses:
 
  bind= cfc:getdata.getmodels([EMAIL PROTECTED]) My third cfselect uses:
 
   bind= cfc:getdata.getyears({model},[EMAIL PROTECTED])
 
  Is there a trigger I can use to have the first cfselect just show 
 please
  select and load the data when a user clicks on it? I tried various 
 forms of
  [EMAIL PROTECTED] with no luck.
 
  -jeff
 
 
 
 
  

Can you give me the code for the three related cfselects? I have been trying 
to construct my own code based on Ben's examples and other code snippets I have 
found, but with no success.  Obviously, I must be missing something relating to 
binding cfc-generated date in the CF 8.0 cfselect tag. Any help would be 
appreciated.

Ernie Burkhalter



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315395
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) Design Lab

2008-11-17 Thread Mik Muller
Nice.  That's a lot like pixlr.com/app

I really need an image library that allows you to drag in images and move them 
around, and has decent text manipularion and layout capabilities.

Getting closer...


At 06:21 PM 11/17/2008, Azadi Saryev wrote:
www.picnik.com if i am not mistaken

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Michael Muller wrote:
 I'm looking for a design lab similar to what these guys have...

 http://www.pikiware.com/online_designer

  that I can pop in, ala FCKeditor.

 Anyone know of a piece of software, free or not, that can do image editing 
 and text layout so a customer could edit what they print on a poster or a 
 t-shirt? The ultimate would be a simpler version of pixlr ( 
 http://pixlr.com/app/ ) with the addition of a clip-art library.

 Perhaps there's a full-blown interactive applet that uses imagecfc out there 
 somewhere?

 Maybe FCKeditor can be modified to be able to do something like this too. 
 Hmmm...

 Thanks,

 Mik 

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315396
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SEEFUSION v FusionReactor

2008-11-17 Thread James Holmes
I'll second this; dumping FusionReactor to spend money on SeeFusion is
taking a step backwards.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


2008/11/18 Alan Rother [EMAIL PROTECTED]:
 Based on my experience with both:
 SeeFusion is cheaper and offers fewer features. It's solid works well and
 offers a lot of useful info for performance tuning and monitoring. It does
 lack many of the monitoring and controlling features found in FusionReactor.
 Also, you need a license of it for every physical server you have. So it may
 not be cheaper in the long run

 FusionReactor has a lot more features and options. It can all sorts of
 things like automated tasks and scripts to fix common issues you encounter.
 It's quite a bit more expensive, BUT (and correct me if I am wrong, its been
 awhile) one enterprise license can cover many machines. It also features a
 single point interface, whereas with SeeFusion you must log into each
 server's SeeFusion interface separately.


 Now, what do you want to use it for? I use SeeFusion on our servers simply
 to performance tune applications. If you are making use of some of the more
 advanced features in FusionReactor, I don't think you will be able to switch
 to SeeFusion, it just doesn't have all of the tools you'll find in
 FusionReactor.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315397
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: subtotal SUM in group query

2008-11-17 Thread C S
 Do I need to do some kind of a loop to get the subtotals for each 
 account? Thanks. 

There are a few ways to do it. One option is to use a variable to accumulate 
the subtotals within your inner cfoutput.

cfoutput query=GetCostSum group=Acct   
   strong#Acct#-6405/strongbr / 
   cfset subtotal = 0
   cfoutput   
   #Name# #DollarFormat(Cost)#br / 
   cfset subtotal = subtotal + cost
   /cfoutput
   Total: #DollarFormat(subtotal)#br /br /  
/cfoutput 

Another option is to use a derived query to calculate the subtotals in your 
sql. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315398
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: subtotal SUM in group query

2008-11-17 Thread Azadi Saryev
you didn't say which db you are using, but with MySQL you have a GROUP
BY ... WITH ROLLUP option (if i remember correctly).

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Mark Townsend wrote:
 Hello. Say I have a table with the following data:

 Acct#, Name, Cost
 001, Bennett, 50.00
 001, Bradley, 250.00
 001, Green, 200.00
 420, Smith, 50.00
 420, Cummings, 50.00
 470, Brown, 80.00

 I would like the output to be like:

 001-6405
 Bennett   50.00
 Bradley   250.00
 Green 200.00
 Total 001 500.00

 420-6405
 Smith 50.00
 Cummings  50.00
 Total 420 100.00

 470-6405
 Brown 80.00
 Total 470 80.00

 Total Accts   680.00

   

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315399
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Adobe people we know on the Cold Fusion side

2008-11-17 Thread Dave Watts
 Ok, more on the tech side, now how about the business  side? exeutives in 
 charge of CF product, who comes to
 your mind?

The CF marketing manager is Kristin Schofield:
http://www.webbschofield.com/Index.cfm

Jason Delmore is on the CF product team:
http://www.cfinsider.com/

Adam Lehman is a product evangelist:
http://www.adrocknaphobia.com/

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315400
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion: Real Life SMS Server

2008-11-17 Thread Paul Hastings
Fawzi Amadu wrote:
 ColdFusion Documentation) the ColdFusion SMS Test Server doesn't work. Yet
 other servers I try work fine.

not sure i'm following you any longer but once again the test server's NOT a 
production server, its for testing. you want the SMS gateway.

to help get myself back on your track, what exactly do you expect the SMS test 
server to do?

i can assure you that both the test server/client as well  the SMS gateway 
works (in fact the gateway works so well that we broke one SMS provider that 
couldn't handle cf's output).

 Coldfusion reports a: SMSGateway (SMS RoutoTelecom) Bind operation failed:
 java.lang.NullPointerException (that isn't too very explanatory).

there should be other messages, what else shows up in the logs?


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315401
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Adobe people we know on the Cold Fusion side

2008-11-17 Thread Jochem van Dieten
On Mon, Nov 17, 2008 at 1:56 PM, Don L wrote:
 Ok, more on the tech side, now how about the business side? exeutives in 
 charge of CF product, who comes to your mind?

You could google them. If they don't out themselves on their blogs I
guess that means they prefer to stay out of the spotlight. And there
is a Meet the Team session at MAX tonight ...

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315402
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Retrieving a .zip file via cfhttp and writing it to the server

2008-11-17 Thread Pete Ruckelshaus
My client's primary supplier makes their product list available via
..zip file.  I want to grab this .zip file and save it to the server so
that I can then unzip it and process it for import.  Problem is, I
can't get it to work.  Here's my code:

cfhttp url=http://[domainname]/diagrams/Downloads/cycling.zip;
getasbinary=auto method=get result=qfile/cfhttp
cffile action=write
file=#getdirectoryfrompath(expandpath(CGI.script_name))#products.zip
output=#tobinary(trim(qfile.filecontent))#

Problem is, I'm getting a ByteArray objects cannot be converted to
strings. error.

Any ideas what I'm missing here?

Thanks,

Pete

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315403
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Retrieving a .zip file via cfhttp and writing it to the server

2008-11-17 Thread Azadi Saryev
why don't you just use FILE and PATH attributes of CFHTTP?

cfhttp url=http://[domainname]/diagrams/Downloads/cycling.zip;
getasbinary=auto method=get file=products.zip 
path=#getdirectoryfrompath(expandpath(CGI.script_name))#
/cfhttp


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



Pete Ruckelshaus wrote:
 My client's primary supplier makes their product list available via
 ..zip file.  I want to grab this .zip file and save it to the server so
 that I can then unzip it and process it for import.  Problem is, I
 can't get it to work.  Here's my code:

 cfhttp url=http://[domainname]/diagrams/Downloads/cycling.zip;
 getasbinary=auto method=get result=qfile/cfhttp
 cffile action=write
 file=#getdirectoryfrompath(expandpath(CGI.script_name))#products.zip
 output=#tobinary(trim(qfile.filecontent))#

 Problem is, I'm getting a ByteArray objects cannot be converted to
 strings. error.

 Any ideas what I'm missing here?

 Thanks,

 Pete


   

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315404
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Adobe people we know on the Cold Fusion side

2008-11-17 Thread Don L
Thank you, Dave, also, I've interacted with Jason's boss, Damon Cooper (wow, 
just double checked the spelling, it's correct), who seems to be a great person 
and easy to work with.

Don 
  Ok, more on the tech side, now how about the business  side? 
 exeutives in charge of CF product, who comes to
  your mind?
 
 The CF marketing manager is Kristin Schofield:
 http://www.webbschofield.com/Index.cfm
 
 Jason Delmore is on the CF product team:
 http://www.cfinsider.com/
 
 Adam Lehman is a product evangelist:
 http://www.adrocknaphobia.com/
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more 
information! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315405
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Adobe people we know on the Cold Fusion side

2008-11-17 Thread Don L
I appreciate the thought, Jochem.

 On Mon, Nov 17, 2008 at 1:56 PM, Don L wrote:
  Ok, more on the tech side, now how about the business side? 
 exeutives in charge of CF product, who comes to your mind?
 
 You could google them. If they don't out themselves on their blogs I
 guess that means they prefer to stay out of the spotlight. And there
 is a Meet the Team session at MAX tonight ...
 
Jochem 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315406
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4