Re: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-12 Thread Massimo Foti
From: Bryan Stevenson [EMAIL PROTECTED]
 I'd also wait on Massimo to be sure it's the same issue...

It's sounds like a problem with the an neadless systems. On the CFC's page
there are links pointing to potential fixes:
http://www.olimpo.ch/tmt/cfc/tmt_img/



 looks the same as what I had dropping my image manip code (same core code
as
 Massimo uses AFAIKthink I may have given it to him too..can't recall)
on
 a headless Linux server.

Once again Bryan, even if it uses the same Java APIs, it's NOT the same
code, I published the first version of my CFC back in January 2003, long
before you.
You can take a look at the source and see by yourself (and you will also see
why the image quality is better).


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220791
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Cold Fusion Page Execution Times

2005-10-12 Thread Kevin Roche
Hi,

I am investigating the execution times on one of my customer's web site.

The site uses CF5 and has some complex pages. I was quite happy with the
home page which was excuting in an average of 110 ms.

However I was still getting some complaints from users about the time the
home page took to respond.

I built a simple tool with CF to measure the time from my desktop machine
using cfhttp.

This showed that the average time for the page to return was more like 1349
ms.

I saved a copy of the home page on the server and called it index.htm so
that it was delivered without any interaction from CF5. Now that page comes
back in 556 ms.

What is causing the big time difference?

If the page takes 110ms to build and IIS takes 556ms to send it I was
expecting a total of 666ms!

Any ideas?

Kevin Roche


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220792
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cold Fusion Page Execution Times

2005-10-12 Thread Jim Davis
 -Original Message-
 From: Kevin Roche [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 12, 2005 4:17 AM
 To: CF-Talk
 Subject: Cold Fusion Page Execution Times
 
 Hi,
 
 I am investigating the execution times on one of my customer's web site.
 
 The site uses CF5 and has some complex pages. I was quite happy with the
 home page which was excuting in an average of 110 ms.
 
 However I was still getting some complaints from users about the time the
 home page took to respond.

You may want to ask them to get specific... what does respond mean?  Is
the page done, but is not navigable (often the case with complex JavaScript
navigation)?  Is the page done but not displayed yet (can indicate page
rendering issues)?
 
 I built a simple tool with CF to measure the time from my desktop machine
 using cfhttp.

This is a good thing but can't tell you the whole story.  I'm sorry if I'm
selling you short but I assume the tool is simply fetching the page, right?
It's not fetching any of the assets on the page (graphics, style sheets,
etc)?

Even it were fetching all of them it's not rendering the page like a browser
would.

The assets on a page can DRAMATICALLY affect rendering time.  Images without
height and width attributes must be downloading and examined before the page
can be rendered.  External style sheets must be obtained before anything can
be shown and so forth.

Even my relatively simple home page (www.depressedpress.com) makes 48
separate requests.  www.cnet.com makes (as of right this instant) 148
requests (but still that pages on takes 3.49 seconds to download all its
assets over my connection).

Lastly such a test would probably be on a more reliable network than the
people that have complained.

In other words this might give you an idea of page download time but only
over your connection.  It won't include any of the browser shenanigans or
other network issues.
 
 This showed that the average time for the page to return was more like
 1349
 ms.

 I saved a copy of the home page on the server and called it index.htm so
 that it was delivered without any interaction from CF5. Now that page
 comes
 back in 556 ms.
 
 What is causing the big time difference?

In this case it's cutting CF from the picture.

But the declared time for a page in CF isn't the whole story.  CF can only
start timing a page when it starts working on the page and it stops when
it's almost done.  The time CF shows doesn't include any of the time the web
server might be consuming or and time spent in the CF queue.

 If the page takes 110ms to build and IIS takes 556ms to send it I was
 expecting a total of 666ms!

You might get that sometimes... these are all just point-in-time tests.  You
might try automating the testing such that you can run it hundreds of times
a day and average the results.  That would give you a better picture.

You could also, for a while, set the log slow pages admin setting to 1
second - you'll then see if the home page is ever actually taking longer
than you think it should.

A tool like HTTPWatch is amazing useful in these scenarios.  Although it's
not cheap and it only runs in IE it provides a stunning amount of
information about the request process.  It will log information about the
whole page - all the (probably very many) requests that make it up and how
they're being cached, found and dealt with.

I'd be happy to run it for you and send you the results if you give me the
URL to check.

Jim Davis



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220793
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: ColdFusion DataDirect JDBC drivers 3.5 ETA?

2005-10-12 Thread Thomas Chiverton
On Tuesday 11 October 2005 22:04, Adrocknaphobia wrote:
 Maybe you shouldn't have rushed into 10g r2 eh?

Dunno about you, but I felt fairly silly standing up in a dev. meeting and 
saying we couldn't try r2 (as a solution to some other issue) because CF 
doesn't support it :-/

-- 

Tom Chiverton 
Advanced ColdFusion Programmer

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220794
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Anybody expierence in medical stuff e.g. DICOM, HL7

2005-10-12 Thread Daniel Hikel
Hello !!!

I am new here and working with since years. For a new job i am looking for 
any modules, help, infos, ... about Coldfusion and working with standard 
medical date like HL7, Dicom, ...

Does anybody have some expierence and can report?

Thanks

Daniel 



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220795
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Anybody expierence in medical stuff e.g. DICOM, HL7

2005-10-12 Thread Gavin Brook
My company is working on HL7 interfaces with NHS UK. What did u want to
know??

Gavin

-Original Message-
From: Daniel Hikel [mailto:[EMAIL PROTECTED] 
Sent: 12 October 2005 12:06
To: CF-Talk
Subject: Anybody expierence in medical stuff e.g. DICOM, HL7

Hello !!!

I am new here and working with since years. For a new job i am looking
for 
any modules, help, infos, ... about Coldfusion and working with standard

medical date like HL7, Dicom, ...

Does anybody have some expierence and can report?

Thanks

Daniel 





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220796
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: FTPS? (was RE: SFTP?)

2005-10-12 Thread Kevin Graeme
Thanks. That fits with what I already knew. 

Based both my own experience and yours regarding using SFTP over FTPS, it
makes me wonder why whenever there's a request for FTP servers
recommendation thread that it only includes servers that use FTPS.

Do most people just not use the security? I haven't seen many private
vendors requiring either FTPS or SFTP whereas here it's policy. 

I've been looking for an easy to administer server for home, but I want
secured transfers so this interest isn't just academic.

---
Kevin Graeme
Cooperative Extension Technology Services
University of Wisconsin-Extension
 

 -Original Message-
 From: Damien McKenna [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, October 11, 2005 10:46 AM
 To: CF-Talk
 Subject: RE: FTPS? (was RE: SFTP?)
 
 FTPS is a file transport layer on top of SSL or TLS.  There 
 are number of options available with it and this can cause 
 problems: SSL v2 or v3 or TLS, implicit connection, passive 
 transfers, etc.  In my experience it can be quite tricky to 
 get the options all working correctly on both the server and 
 client if you have a firewall or two in the middle, I spent 
 quite some time this past summer trying to get a series of 
 servers working and ultimately gave up.  One of the problems 
 that I see with FTPS is that there are several fall-back 
 options usually available (sometimes required) which drop 
 communications back to an unsecured channel, which defeats 
 the purpose.
 
 SFTP is a file transport layer on top of SSH, a protocol for 
 creating secure shell logins.  It is IMHO the most secure way 
 of doing transfers and is easiest to use from a network 
 management point of view because it all runs on one port 
 (#22) and there are no drop back to unsecured transfers 
 capabilities.
 
 Whether my experiences with FTPS were actual problems or just 
 my lack of knowledge I can't say, I just got frustrated after 
 trying several server-client combinations and gave up in 
 favor of SSH which was pretty much install-and-go.
 
 FYI there are both free SSH servers (OpenSSH on 
 UNIX/Linux/BSD/MacOSX and FreeSSHd on Windows) and clients 
 (oodles on UNIX, CoreFTP on
 Windows) available.
 
 --
 Damien McKenna - Web Developer - 
 [EMAIL PROTECTED] The Limu Company - 
 http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220797
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms and a bad directory structure?

2005-10-12 Thread Arturo Fuentes
i did attempt that.. still no go.

cfusionmx7\wwwroot
and inetpub\wwwroot are two different directories.. but i don't use
the cfmx one..

On 10/12/05, Mike Soultanian [EMAIL PROTECTED] wrote:
 Try setting up a mapping in CF server.  is your web server root the same
 as your cf web root?

 mike

 Arturo Fuentes wrote:
  i'm not sure what is happening here.
 
  my directory structure is :
 
  /projects/Pets/assets/com/petlog.cfc
 
  my code references this as:
   myService = connection.getService(projects.Pets.assets.com.petlog,
  responseHandler );
 
   I do not get a cfc location error.. i get a null back for my values.
 
   BUT... if i move my cfc into the webroot /petlog.cfc
 
   and call it as:
 
   myService = connection.getService(petlog, responseHandler );
 
   it  works  fine.. for obvious reasons i do not want to chuck my cfc's
   into  the  root  of  my  server...  but i am not sure wtf is going on
   here.. if anyone has any ideas or suggestions. i am open...
 
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220798
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


cf5 scheduled tasks going haywire

2005-10-12 Thread George Abraham
All,
Our creaking CF5 server suddenly started behaving badly with respect to
scheduled tasks. One of the tasks was something set to run every 4 hours
(240 minutes). With no reason, this task started running every 30 seconds or
so. I modified the task, and now all of the other tasks are doing the same
thing, that is, running every 30 seconds or so. Has anybody run into this
issue before? CF 5 on Windows Server 2003 with IIS 6.

Thanks,
George


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220799
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


UTF-8 CFFile Support in CF5

2005-10-12 Thread Kevin Pechin
Hi All,

I've been working on a CF5 machine (can't upgrade for a few months
unfortunately) trying to upload a UTF-8 encoded xml file to the server. When
I upload it I use cffile to save it to the server. Unfortunately when it
saves, the unicode characters seem to become corrupted (or the server tried
to convert it to non unicode). For example a right curly word quote (') now
shows up as: (’). My goal is to upload the xml file, parse it and then
import it into a db, but as long as the characters are getting replaced like
this, it becomes unusable. I know the support for UTF-8 characters is much
better in 6  7, but there is very little information on UTF-8 in cf5.

In the top of my upload page I put the following meta tag:
meta http-equiv=Content-Type content=text/html; charset=utf-8 /

I even attempted to put: CHARSET=UTF-8 in my CFFile.

Any suggestions?

-Kevin


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220800
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Loop through a structure of structures

2005-10-12 Thread Andy Mcshane
Hi all, I think I have been looking at this for too long and cannot figure out 
how to loop through and output a structure of query results.

I have a CFC that will return multiple recordsets. I figured that the only way 
that I could return multiple recordsets from a CFC was to return them within a 
structure. My query runs inside my CFC and returns 17 individual recordsets. I 
create a structure and add each of these recordsets to it so my structure now 
looks like this;

RSStructure
RS1   query - Rows 2
AGE   ID   NAME
  1  221   Wibble
  2  212   Wobble
RS2   query - Rows 3
AGE   ID   NAME
  1  223   Wibble
  2  214   Wobble
  3  305   Woo
RS3   query - Rows 3
AGE   ID   NAME
  1  346   Wibble
  2  237   Wobble
  3  338   Woo

This continues until I have 17 recordsets within my structure. I then return 
this structure to my calling page. Now I must be having a really brain dead day 
because for the life of me I cannot remeber how to reference each of my 
recordsets within this structure so that I can output the data, it must be 
simple but then again so must I be at the moment! Can anybody help this 
flagging programmer?


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220801
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cold Fusion Page Execution Times

2005-10-12 Thread Burns, John D
I was wondering the same thing. This could have a lot to do with loading
the assets and images. It also might make a big difference on browsers.
I know that IE usually shows you the layout of the page and loads the
graphics within that. Many time I have seen people using netscape and it
keeps the screen blank until all images and everything have loaded.  You
might want to try a simple online tool to test the total download time
of the site. I use the one at echoecho.com that checks for HTML
validity, load time and some other stuff. The tool's direct link is
http://www.echoecho.com/toolhtmlinspector.htm

Hope that helps. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Jim Davis [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 12, 2005 5:10 AM
To: CF-Talk
Subject: RE: Cold Fusion Page Execution Times

 -Original Message-
 From: Kevin Roche [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 12, 2005 4:17 AM
 To: CF-Talk
 Subject: Cold Fusion Page Execution Times
 
 Hi,
 
 I am investigating the execution times on one of my customer's web
site.
 
 The site uses CF5 and has some complex pages. I was quite happy with 
 the home page which was excuting in an average of 110 ms.
 
 However I was still getting some complaints from users about the time 
 the home page took to respond.

You may want to ask them to get specific... what does respond mean?
Is the page done, but is not navigable (often the case with complex
JavaScript navigation)?  Is the page done but not displayed yet (can
indicate page rendering issues)?
 
 I built a simple tool with CF to measure the time from my desktop 
 machine using cfhttp.

This is a good thing but can't tell you the whole story.  I'm sorry if
I'm selling you short but I assume the tool is simply fetching the page,
right?
It's not fetching any of the assets on the page (graphics, style sheets,
etc)?

Even it were fetching all of them it's not rendering the page like a
browser would.

The assets on a page can DRAMATICALLY affect rendering time.  Images
without height and width attributes must be downloading and examined
before the page can be rendered.  External style sheets must be obtained
before anything can be shown and so forth.

Even my relatively simple home page (www.depressedpress.com) makes 48
separate requests.  www.cnet.com makes (as of right this instant) 148
requests (but still that pages on takes 3.49 seconds to download all its
assets over my connection).

Lastly such a test would probably be on a more reliable network than the
people that have complained.

In other words this might give you an idea of page download time but
only over your connection.  It won't include any of the browser
shenanigans or other network issues.
 
 This showed that the average time for the page to return was more like
 1349
 ms.

 I saved a copy of the home page on the server and called it index.htm 
 so that it was delivered without any interaction from CF5. Now that 
 page comes back in 556 ms.
 
 What is causing the big time difference?

In this case it's cutting CF from the picture.

But the declared time for a page in CF isn't the whole story.  CF can
only start timing a page when it starts working on the page and it stops
when it's almost done.  The time CF shows doesn't include any of the
time the web server might be consuming or and time spent in the CF
queue.

 If the page takes 110ms to build and IIS takes 556ms to send it I was 
 expecting a total of 666ms!

You might get that sometimes... these are all just point-in-time tests.
You might try automating the testing such that you can run it hundreds
of times a day and average the results.  That would give you a better
picture.

You could also, for a while, set the log slow pages admin setting to 1
second - you'll then see if the home page is ever actually taking longer
than you think it should.

A tool like HTTPWatch is amazing useful in these scenarios.  Although
it's not cheap and it only runs in IE it provides a stunning amount of
information about the request process.  It will log information about
the whole page - all the (probably very many) requests that make it up
and how they're being cached, found and dealt with.

I'd be happy to run it for you and send you the results if you give me
the URL to check.

Jim Davis





~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220802
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Body too long: RE: Cold Fusion Page Execution Times

2005-10-12 Thread Burns, John D
I was wondering the same thing. This could have a lot to do with loading
the assets and images. It also might make a big difference on browsers.
I know that IE usually shows you the layout of the page and loads the
graphics within that. Many time I have seen people using netscape and it
keeps the screen blank until all images and everything have loaded.  You
might want to try a simple online tool to test the total download time
of the site. I use the one at echoecho.com that checks for HTML
validity, load time and some other stuff. The tool's direct link is
http://www.echoecho.com/toolhtmlinspector.htm

Hope that helps. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220803
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Loop through a structure of structures

2005-10-12 Thread Matthew Small
Reference each query through the structure perhaps?

Does this work?
cfoutput query=structurename.RS1
/cfoutput

cfoutput query=structurename.RS2
/cfoutput

But this begs the question, why are there 17 recordsets? Might a single
query do the job?
 
Matthew Small
Web Developer
American City Business Journals
704-973-1045
[EMAIL PROTECTED]
 

-Original Message-
From: Andy Mcshane [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 12, 2005 11:21 AM
To: CF-Talk
Subject: Loop through a structure of structures

Hi all, I think I have been looking at this for too long and cannot figure
out how to loop through and output a structure of query results.

I have a CFC that will return multiple recordsets. I figured that the only
way that I could return multiple recordsets from a CFC was to return them
within a structure. My query runs inside my CFC and returns 17 individual
recordsets. I create a structure and add each of these recordsets to it so
my structure now looks like this;

RSStructure
RS1   query - Rows 2
AGE   ID   NAME
  1  221   Wibble
  2  212   Wobble
RS2   query - Rows 3
AGE   ID   NAME
  1  223   Wibble
  2  214   Wobble
  3  305   Woo
RS3   query - Rows 3
AGE   ID   NAME
  1  346   Wibble
  2  237   Wobble
  3  338   Woo

This continues until I have 17 recordsets within my structure. I then return
this structure to my calling page. Now I must be having a really brain dead
day because for the life of me I cannot remeber how to reference each of my
recordsets within this structure so that I can output the data, it must be
simple but then again so must I be at the moment! Can anybody help this
flagging programmer?




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220804
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Loop through a structure of structures

2005-10-12 Thread Andy Mcshane
I really am having a bad day, as soon as I clicked submit I solved my own 
problem! I feel like a total waste of bandwidth today! Nurse!

 Hi all, I think I have been looking at this for too long and cannot 
 figure out how to loop through and output a structure of query results.
 
 
 I have a CFC that will return multiple recordsets. I figured that the 
 only way that I could return multiple recordsets from a CFC was to 
 return them within a structure. My query runs inside my CFC and 
 returns 17 individual recordsets. I create a structure and add each of 
 these recordsets to it so my structure now looks like this;
 
 RSStructure

 RS1   query - Rows 2

 AGE   ID   NAME
  
 1  221   Wibble
  
 2  212   Wobble

 RS2   query - Rows 3

 AGE   ID   NAME
  
 1  223   Wibble
  
 2  214   Wobble
  
 3  305   Woo

 RS3   query - Rows 3

 AGE   ID   NAME
  
 1  346   Wibble
  
 2  237   Wobble
  
 3  338   Woo
 
 This continues until I have 17 recordsets within my structure. I then 
 return this structure to my calling page. Now I must be having a 
 really brain dead day because for the life of me I cannot remeber how 
 to reference each of my recordsets within this structure so that I can 
 output the data, it must be simple but then again so must I be at the 
 moment! Can anybody help this flagging programmer?

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220805
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Loop through a structure of structures

2005-10-12 Thread Andy Mcshane
Thanks, I just realised that before I posted again, God alone knows what I 
thought I was trying to do with it earlier! The 17 recordsets are all returned 
via one stored procedure call within the CFC so there really is only DB call, 
couldn't do it any other way as the data that is returned is keyed on a 
position on screen so I have to get all top row, middle row, etc data.

Reference each query through the structure perhaps?

Does this work?
cfoutput query=structurename.RS1
/cfoutput

cfoutput query=structurename.RS2
/cfoutput

But this begs the question, why are there 17 recordsets? Might a single
query do the job?
 
Matthew Small
Web Developer
American City Business Journals
704-973-1045
[EMAIL PROTECTED]
 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220806
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-12 Thread Bryan Stevenson
 Once again Bryan, even if it uses the same Java APIs, it's NOT the same
 code, I published the first version of my CFC back in January 2003, long
 before you.
 You can take a look at the source and see by yourself (and you will also 
 see
 why the image quality is better).

hehe...no worries Massimonot a credit/plagiarism issueand yer tag is 
far more complete then mine (and I wrote mine in 2003 as well FYI...although 
I think it was later in the year)!! ;-)  I was just saying that to help 
Andybecause I was pretty sure the APIs used were the same and that 
should have meant the error was for the same reason (headless system).

All bow before Massimo and his tag...hehe!!!

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220807
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


dynamic function call puzzle

2005-10-12 Thread Paul
My read function returns, predictably, a query object with a single row
containing all the columns needed to populate a bean.  It bothers me that to
use the bean I then have to write a code block full of set statements -
mybean.setVariable(queryname.column) - for every property of the bean.

 

So I'm trying to write a function that takes the result of my read
function and automatically sets the bean values.  I've been able to populate
a struct dynamically, but not without using evaluate(), and I can't call my
bean's set functions at all.  How can I improve on the following code?

 

cfquery name=q datasource=#getDSN()#

select * 

from TEMPLATES

where TEMPLATE_ID = cfqueryparam value=2
cfsqltype=cf_sql_integer

/cfquery

 

cfset o=createObject(component,com.redweb.Template).init()

cfoutput query=q

cfscript

colArray=listToArray(q.columnlist);

 

//test struct to see if I can get that far.

s=structNew();

for (x=1; x LTE arrayLen(colArray); x=x+1) {

//this test is ugly but it works

s.#colArray[x]#=evaluate(colArray[x]);

 

//this is not valid but it is
essentially what I want to do...

 
o.set#colArray[x]#(evaluate(colArray[x]));

}

/cfscript

/cfoutput

 

cfdump var=#s#

cfdump var=#o.getSnapshot()#



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220808
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-12 Thread Massimo Foti
 hehe...no worries Massimonot a credit/plagiarism issue

Glad to see things clarified (this was the second time here on CF-Talk).
I really don't want to sound rude, but I take this sort of things very
seriously.

Best


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220809
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: When will Dave Watts finally blog?

2005-10-12 Thread Larry Lyons
I was reading Ray Camdens last post on his blog today and it really does
emphasize the lack of CF administration information out there.  I know there
are other great blogs on the subject like Talking Tree and Brandon Purcell
but when will Dave finally shed some regular light on the subject?

How bout it Dave?

emmet

If Dave starts blogging when will he find the time to solve all the problems on 
CF-Talk?

:)

larry

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220810
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: ColdFusion DataDirect JDBC drivers 3.5 ETA?

2005-10-12 Thread Dave Carabetta
On Tuesday 11 October 2005 22:04, Adrocknaphobia wrote:
 Maybe you shouldn't have rushed into 10g r2 eh?

Well, I don't think that's really a valid statement. I mean, most
shops don't use ColdFusion exclusively to access their Oracle
database, and yet it's ColdFusion that seems to have missed the
Release 2 support. Further, the Release Notes for the 7.0.1 updater
are extremely mis-leading (and I've noted as such, but to no avail),
as it says Oracle 10g RDBMS support under New platform support and
doesn't say that it's only Release 1.

Regards,
Dave.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220811
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: dynamic function call puzzle

2005-10-12 Thread Ryan Guill
The following code does something similar to what you want to do, but it 
outputs it to the screen, but if you look youll see what it is you need I think:

cfset variables.arResultsHeaders = ListToArray(variables.q.columnlist) /
cfoutput
table align=left id=queryResults
tr
th
Row
/th
cfloop from=1 
to=#arrayLen(variables.arResultsHeaders)# index=i
th
#variables.arResultsHeaders[i]#
/th
/cfloop
/tr
cfloop from=1 to=#variables.q.recordCount# index=k
tr
th
#NumberFormat(k,)#
/th
cfloop from=1 
to=#arrayLen(variables.arResultsHeaders)# index=j
td

#variables.q[#variables.arResultsHeaders[j]#][k]#
/td
/cfloop
/tr
/cfloop

/table
/cfoutput

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220812
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: dynamic function call puzzle

2005-10-12 Thread Kerry
heres what i do when I need to dynamically call functions - make all your
beans inherit this:

cffunction name=runFunction
cfargument name=functionname type=string required=yes
cfargument name=args type=struct required=no
default=#structnew()#
cfset var retval = 
cfinvoke component=#this#

method=#arguments.functionname#

argumentCollection=#arguments.args#
returnvariable=retval
cfreturn retval
/cffunction


Then you can:

o.runfunction(setcolArray[x],q[colArray[x]]);

-Original Message-
From: Paul [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 16:47
To: CF-Talk
Subject: dynamic function call puzzle


My read function returns, predictably, a query object with a single row
containing all the columns needed to populate a bean.  It bothers me that to
use the bean I then have to write a code block full of set statements -
mybean.setVariable(queryname.column) - for every property of the bean.



So I'm trying to write a function that takes the result of my read
function and automatically sets the bean values.  I've been able to populate
a struct dynamically, but not without using evaluate(), and I can't call my
bean's set functions at all.  How can I improve on the following code?



cfquery name=q datasource=#getDSN()#

select *

from TEMPLATES

where TEMPLATE_ID = cfqueryparam value=2
cfsqltype=cf_sql_integer

/cfquery



cfset o=createObject(component,com.redweb.Template).init()

cfoutput query=q

cfscript

colArray=listToArray(q.columnlist);



//test struct to see if I can get that far.

s=structNew();

for (x=1; x LTE arrayLen(colArray); x=x+1) {

//this test is ugly but it works

s.#colArray[x]#=evaluate(colArray[x]);



//this is not valid but it is
essentially what I want to do...


o.set#colArray[x]#(evaluate(colArray[x]));

}

/cfscript

/cfoutput



cfdump var=#s#

cfdump var=#o.getSnapshot()#





~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220813
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: dynamic function call puzzle

2005-10-12 Thread Kerry
oops, with that flavour of the function you will need:

args = structnew();
args[colArray[x]] = q[colArray[x]][q.currentrow];
o.runfunction(setcolArray[x],args);


-Original Message-
From: Kerry [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 16:57
To: CF-Talk
Subject: RE: dynamic function call puzzle


heres what i do when I need to dynamically call functions - make all your
beans inherit this:

cffunction name=runFunction
cfargument name=functionname type=string required=yes
cfargument name=args type=struct required=no
default=#structnew()#
cfset var retval = 
cfinvoke component=#this#

method=#arguments.functionname#

argumentCollection=#arguments.args#
returnvariable=retval
cfreturn retval
/cffunction


Then you can:



-Original Message-
From: Paul [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 16:47
To: CF-Talk
Subject: dynamic function call puzzle


My read function returns, predictably, a query object with a single row
containing all the columns needed to populate a bean.  It bothers me that to
use the bean I then have to write a code block full of set statements -
mybean.setVariable(queryname.column) - for every property of the bean.



So I'm trying to write a function that takes the result of my read
function and automatically sets the bean values.  I've been able to populate
a struct dynamically, but not without using evaluate(), and I can't call my
bean's set functions at all.  How can I improve on the following code?



cfquery name=q datasource=#getDSN()#

select *

from TEMPLATES

where TEMPLATE_ID = cfqueryparam value=2
cfsqltype=cf_sql_integer

/cfquery



cfset o=createObject(component,com.redweb.Template).init()

cfoutput query=q

cfscript

colArray=listToArray(q.columnlist);



//test struct to see if I can get that far.

s=structNew();

for (x=1; x LTE arrayLen(colArray); x=x+1) {

//this test is ugly but it works

s.#colArray[x]#=evaluate(colArray[x]);



//this is not valid but it is
essentially what I want to do...


o.set#colArray[x]#(evaluate(colArray[x]));

}

/cfscript

/cfoutput



cfdump var=#s#

cfdump var=#o.getSnapshot()#







~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220814
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Image manipulation in coldfusion - error with tmt_img.cfc

2005-10-12 Thread Bryan Stevenson
 hehe...no worries Massimonot a credit/plagiarism issue

 Glad to see things clarified (this was the second time here on CF-Talk).
 I really don't want to sound rude, but I take this sort of things very
 seriously.

 Best

Yep...sorry about thatI'm so busy right now and was trying to be helpful 
at the same timeso out came the brain dump of what I could recall at the 
time (now I see what I said could have been misconstrued) ;-)

I would take it pretty seriously as well if someone else took credit for my 
work...so again...sorry for the confusionjust trying to help Andy.

For the record CF-TalkersMassimo and I created our code 
independantlyand even though I haven't played with his tag...I'm quite 
sure it's more robust than mine from what I've read (mine is for simple 
image size retrieval and simple resizing of GIF/JPG files).

FYI folksI gave Tony Weeg permission to wrap my 2 methods up in a CFC 
and make it available to dload somewhere (Tony can ya post the link if it's 
up)...for free (and of course leaving my code comments in placewouldn't 
want another issue like this one...hehe).

Personally I'm not in the tag or CFC writing/selling game (not saying 
Massimo is or isn't nor does it matter to me in any way)no time for such 
small returns...but if I have code that will help someonea posting I go 
;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220815
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


JDBC NSL DATASOURCE problem?

2005-10-12 Thread Pedro Mendes
Hello All,

 

I recently updated to CF MX7 and the following happened to my dates (months in 
this case): They were in Portuguese, and all of a sudden turned English :-)

You can see it here:

http://web3.cmvm.pt/sdi2004/fundos/carteiras/fim/_carteiras_fim.cfm 
http://web3.cmvm.pt/sdi2004/fundos/carteiras/fim/_carteiras_fim.cfm 

 

 

One of the queries I use is:

select rtrim(mes,' ')||' '||ano mes_ano

from

(select to_char(to_date('30/09/2005','DD/MM/'),'Month') mes, 
to_char(to_date('30/09/2005','DD/MM/'),'' ) ano 

from dual)

 

It is ok if I run it on the DB server (by sqlplus or toad). When I see it on 
the site, it isn't.

 

I noticed that the data sources are no longer managed by OBBC. Can this be it? 
Is there a place I can fine tune the DATASOURCE connection so it uses the 
correct NLS. Am I going all wrong about this?

 

Thank you so much in advance,

Pedro

.
Pedro Mendes
Webmaster
CMVM - Comissão do Mercado de Valores Mobiliários

mailto:[EMAIL PROTECTED] BLOCKED::mailto:[EMAIL PROTECTED] 
http://www.cmvm.pt BLOCKED::http://www.cmvm.pt/ 





AVISO DE CONFIDENCIALIDADE: Esta mensagem e quaisquer ficheiros enviados em 
anexo são confidenciais e destinam-se exclusivamente a informação ou uso da 
pessoa ou entidade a que são dirigidos. Na eventualidade de não ser o 
destinatário da mensagem, de não ser responsável pelo encaminhamento da 
mensagem ao destinatário ou de ter recebido esta mensagem por erro ou engano, a 
CMVM informa-o que qualquer utilização, distribuição, encaminhamento ou outra 
forma de revelação a outrem, impressão ou cópia da mesma são expressamente 
proibidos, devendo ser destruída de imediato e informado o remetente. 
LIMITAÇÃO DE RESPONSABILIDADE: Quaisquer opiniões expressas nesta mensagem 
vinculam apenas a pessoa que a emitiu, excepto quando o contrário resulte da 
própria mensagem e quando o destinatário seja autorizado a atribuí-las à CMVM. 
Não obstante os procedimentos de segurança a que a CMVM submete todas as 
mensagens de correio electrónico, a integridade do conteúdo das mesmas não pode 
ser garantido pelo remetente que não se responsabiliza pela respectiva 
intercepção, corrupção, perda, destruição, atraso ou pelos vírus que possa 
conter.

CONFIDENTIALITY NOTICE: This message and any files sent as attachments are 
confidential and destined exclusively for the information or use by the person 
or entity to which it is addressed. In the event of not being the addressee of 
the message, nor responsible for the delivery of the message to the addressee 
or receive this message in error or mistake, the CMVM hereby informs you that 
any use, distribution, delivery or another form of disclosure to others, print 
or copy of the same is expressly forbidden, and that you should immediately 
destroy this and duly inform the sender. 
LIMITATION OF LIABILITY: Any opinions expressed in this message belongs only to 
the person who issued it, except when the contrary is reflected on the actual 
message and when the addressee is authorized to attribute same to the CMVM. 
Notwithstanding the security procedures that the CMVM submits all e-mail 
messages, the integrity of the content of same may not be guaranteed by the 
sender and, in addition, the sender may not be held responsible for the 
respective interception, corruption, loss, destruction, delay or virus that it 
may contain.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220816
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: dynamic function call puzzle

2005-10-12 Thread Paul
Wow, this is great, really expanding my horizons here...

So in the inherited function CF throws this error: Variable RETVAL is
undefined.

I do have the following as you sent; CF refers to the CFINVOKE line number
in the error message.  Maybe I need a deeper understanding to figure out
what I may have done differently to cause the error...  (Something about my
Setters perhaps?)

cfset var retval = 
cfinvoke component=#this# 
method=#arguments.functionname#
argumentCollection=#arguments.args# 
returnvariable=retval
cfreturn retval 

-Original Message-
From: Kerry [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 12, 2005 10:04 AM
To: CF-Talk
Subject: RE: dynamic function call puzzle

oops, with that flavour of the function you will need:

args = structnew();
args[colArray[x]] = q[colArray[x]][q.currentrow];
o.runfunction(setcolArray[x],args);


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220817
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: dynamic function call puzzle

2005-10-12 Thread Kerry
probly because your sets dont return anything?

1) take the return out of the runfunction:

cffunction name=runFunction
cfargument name=functionname type=string required=yes
cfargument name=args type=struct required=no
default=#structnew()#
cfset var retval = 
cfinvoke component=#this#

method=#arguments.functionname#

argumentCollection=#arguments.args#
returnvariable=retval

/cffunction

OR

2) check it exists

cffunction name=runFunction
cfargument name=functionname type=string required=yes
cfargument name=args type=struct required=no
default=#structnew()#
cfset var retval = structnew()
cfinvoke component=#this#

method=#arguments.functionname#

argumentCollection=#arguments.args#

returnvariable=retval.result

cfif structkeyexists(retval,result)
cfreturn retval
/cfif

/cffunction

-Original Message-
From: Paul [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 17:25
To: CF-Talk
Subject: RE: dynamic function call puzzle


Wow, this is great, really expanding my horizons here...

So in the inherited function CF throws this error: Variable RETVAL is
undefined.

I do have the following as you sent; CF refers to the CFINVOKE line number
in the error message.  Maybe I need a deeper understanding to figure out
what I may have done differently to cause the error...  (Something about my
Setters perhaps?)

cfset var retval = 
cfinvoke component=#this#
method=#arguments.functionname#
argumentCollection=#arguments.args#
returnvariable=retval
cfreturn retval

-Original Message-
From: Kerry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 10:04 AM
To: CF-Talk
Subject: RE: dynamic function call puzzle

oops, with that flavour of the function you will need:

args = structnew();
args[colArray[x]] = q[colArray[x]][q.currentrow];
o.runfunction(setcolArray[x],args);




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220818
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: dynamic function call puzzle

2005-10-12 Thread Kerry
OR

3) Customise it entirely for your beans, e.g.

cffunction name=runSetter
cfargument name=property type=string required=yes
cfargument name=value type=string required=no
default=

cfinvoke component=#this#

method=SET#arguments.property#

value=#arguments.value#


/cffunction



-Original Message-
From: Paul [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 17:25
To: CF-Talk
Subject: RE: dynamic function call puzzle


Wow, this is great, really expanding my horizons here...

So in the inherited function CF throws this error: Variable RETVAL is
undefined.

I do have the following as you sent; CF refers to the CFINVOKE line number
in the error message.  Maybe I need a deeper understanding to figure out
what I may have done differently to cause the error...  (Something about my
Setters perhaps?)

cfset var retval = 
cfinvoke component=#this#
method=#arguments.functionname#
argumentCollection=#arguments.args#
returnvariable=retval
cfreturn retval

-Original Message-
From: Kerry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 10:04 AM
To: CF-Talk
Subject: RE: dynamic function call puzzle

oops, with that flavour of the function you will need:

args = structnew();
args[colArray[x]] = q[colArray[x]][q.currentrow];
o.runfunction(setcolArray[x],args);




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220819
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: When will Dave Watts finally blog?

2005-10-12 Thread Kevin Aebig
Well though I'd definitely frequent a blog from Dave, I can hardly blame him
considering the number of things Figleaf is involved with.

!k

-Original Message-
From: Larry Lyons [mailto:[EMAIL PROTECTED] 
Sent: October 12, 2005 9:53 AM
To: CF-Talk
Subject: Re: When will Dave Watts finally blog?

I was reading Ray Camdens last post on his blog today and it really does
emphasize the lack of CF administration information out there.  I know
there
are other great blogs on the subject like Talking Tree and Brandon Purcell
but when will Dave finally shed some regular light on the subject?

How bout it Dave?

emmet

If Dave starts blogging when will he find the time to solve all the problems
on CF-Talk?

:)

larry



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220820
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFFTP thru Corporate Firewall

2005-10-12 Thread Anthony Prato
Have you tried playing with the passive attribute?

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220821
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Secure Admin Areas

2005-10-12 Thread Jason Manaigre
Hi all, a few quick questions, building a CMS (or rather learning as I
go) and was going to use the following http://tutorial8.easycfm.com/ to
build my Admin area, will this be enough security? What else can be
done? Is there a better tut out there?

This is just for my site, nothing mission critical.

Thanks everyone, take it easy.

Big Jay

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220822
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Secure Admin Areas

2005-10-12 Thread Kerry
quick glance, I can see this wrong with it:

script
 alert(You must login to access this area!);
 self.location=login.cfm;
/script

oooh, javascript, REAL secure, nobody can get past that.


replace with something like:

You must login to access this area!
cflocation url=login.cfm
cfabort !--- abort not really needed, just to be sure ---



-Original Message-
From: Jason Manaigre [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 17:58
To: CF-Talk
Subject: Secure Admin Areas


Hi all, a few quick questions, building a CMS (or rather learning as I
go) and was going to use the following http://tutorial8.easycfm.com/ to
build my Admin area, will this be enough security? What else can be
done? Is there a better tut out there?

This is just for my site, nothing mission critical.

Thanks everyone, take it easy.

Big Jay



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220823
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Secure Admin Areas

2005-10-12 Thread Kerry
also, you would want to use cfqueryparam in the query, not dump the form
values straight to the database.

-Original Message-
From: Jason Manaigre [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 17:58
To: CF-Talk
Subject: Secure Admin Areas


Hi all, a few quick questions, building a CMS (or rather learning as I
go) and was going to use the following http://tutorial8.easycfm.com/ to
build my Admin area, will this be enough security? What else can be
done? Is there a better tut out there?

This is just for my site, nothing mission critical.

Thanks everyone, take it easy.

Big Jay



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220824
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Secure Admin Areas

2005-10-12 Thread Kerry
and this line:

cfif qVerify.RecordCount

this only verifies that one or more users were found, assuming you have
unique usernames, it should be:

cfif qVerify.RecordCount eq 1

not sure if there is a better tutorial out there, but i hope so, there seems
to be a few issues with this one.


-Original Message-
From: Jason Manaigre [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 17:58
To: CF-Talk
Subject: Secure Admin Areas


Hi all, a few quick questions, building a CMS (or rather learning as I
go) and was going to use the following http://tutorial8.easycfm.com/ to
build my Admin area, will this be enough security? What else can be
done? Is there a better tut out there?

This is just for my site, nothing mission critical.

Thanks everyone, take it easy.

Big Jay



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220825
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: ColdFusion DataDirect JDBC drivers 3.5 ETA?

2005-10-12 Thread Adrocknaphobia
It just seems a bit hard to fault MM and DataDirect on this one. I
don't see how they can forecast what Oracle will be doing in future
releases. When you got CF they certified that it would work on the
most recent version of Oracle 10g at the time. I don't think anyone
every claimed that it would continue to work for all future revisions.

-Adam

On 10/12/05, Dave Carabetta [EMAIL PROTECTED] wrote:
 On Tuesday 11 October 2005 22:04, Adrocknaphobia wrote:
  Maybe you shouldn't have rushed into 10g r2 eh?

 Well, I don't think that's really a valid statement. I mean, most
 shops don't use ColdFusion exclusively to access their Oracle
 database, and yet it's ColdFusion that seems to have missed the
 Release 2 support. Further, the Release Notes for the 7.0.1 updater
 are extremely mis-leading (and I've noted as such, but to no avail),
 as it says Oracle 10g RDBMS support under New platform support and
 doesn't say that it's only Release 1.

 Regards,
 Dave.

 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220826
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Secure Admin Areas

2005-10-12 Thread Kevin Aebig
And you might want to think about putting all these replies into one
email... =]

!K

-Original Message-
From: Kerry [mailto:[EMAIL PROTECTED] 
Sent: October 12, 2005 11:16 AM
To: CF-Talk
Subject: RE: Secure Admin Areas

and this line:

cfif qVerify.RecordCount

this only verifies that one or more users were found, assuming you have
unique usernames, it should be:

cfif qVerify.RecordCount eq 1

not sure if there is a better tutorial out there, but i hope so, there seems
to be a few issues with this one.


-Original Message-
From: Jason Manaigre [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 17:58
To: CF-Talk
Subject: Secure Admin Areas


Hi all, a few quick questions, building a CMS (or rather learning as I
go) and was going to use the following http://tutorial8.easycfm.com/ to
build my Admin area, will this be enough security? What else can be
done? Is there a better tut out there?

This is just for my site, nothing mission critical.

Thanks everyone, take it easy.

Big Jay





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220827
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: HTML Combo Boxes

2005-10-12 Thread Aaron Rouse
Can anyone recommend a good solution for the need of a combo-box on a web
page? I found this one but have had little success getting it to work within
a form.
 http://webfx.eae.net/dhtml/combobox/combobox.htm

--
Aaron Rouse
http://www.happyhacker.com/


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220828
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
Hey All,

I'm having some issues trying to get a try/catch block to work correctly (i.e. 
doesn't catch a dang thing) in a method in one of my CFCs.  I haven't tried 
this before...are there any gotchas? can it be done (don't see why not)?

TIA

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220829
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFCs and cftry/cfcatch

2005-10-12 Thread Kerry
try catch definitely works in a cfc.
can you post your code?

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 18:37
To: CF-Talk
Subject: CFCs and cftry/cfcatch


Hey All,

I'm having some issues trying to get a try/catch block to work correctly
(i.e. doesn't catch a dang thing) in a method in one of my CFCs.  I haven't
tried this before...are there any gotchas? can it be done (don't see why
not)?

TIA

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220830
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: HTML Combo Boxes

2005-10-12 Thread Aaron Rouse
Nevermind, I think this one will do what I need done.
 http://shaunwagner.com/projects/js/comboBox.html

 On 10/12/05, Aaron Rouse [EMAIL PROTECTED] wrote:

 Can anyone recommend a good solution for the need of a combo-box on a web
 page? I found this one but have had little success getting it to work within
 a form.
  http://webfx.eae.net/dhtml/combobox/combobox.htm

 --
 Aaron Rouse
 http://www.happyhacker.com/




--
Aaron Rouse
http://www.happyhacker.com/


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220831
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFCs and cftry/cfcatch

2005-10-12 Thread John C. Bland II
cffunction name=blah
cftry
!--- do stuff here ---
cfcatch type=any!--- handle error ---/cfcatch
/cftry
/cffunction

Do you have something like that? We do cftry/catch in cfc's all of the time.

On 10/12/05, Bryan Stevenson [EMAIL PROTECTED] wrote:

 Hey All,

 I'm having some issues trying to get a try/catch block to work correctly (
 i.e. doesn't catch a dang thing) in a method in one of my CFCs. I haven't
 tried this before...are there any gotchas? can it be done (don't see why
 not)?

 TIA

 Cheers

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com http://www.electricedgesystems.com

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220832
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
Thanks KerryI may have a different problem than I thoughtif I don't 
get it sorted ASAP I'll fire up the code and see what the list has to say 
;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message - 
From: Kerry [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, October 12, 2005 10:40 AM
Subject: RE: CFCs and cftry/cfcatch


 try catch definitely works in a cfc.
 can you post your code?

 -Original Message-
 From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
 Sent: 12 October 2005 18:37
 To: CF-Talk
 Subject: CFCs and cftry/cfcatch


 Hey All,

 I'm having some issues trying to get a try/catch block to work correctly
 (i.e. doesn't catch a dang thing) in a method in one of my CFCs.  I 
 haven't
 tried this before...are there any gotchas? can it be done (don't see why
 not)?

 TIA

 Cheers

 Bryan Stevenson B.Comm.
 VP  Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 phone: 250.480.0642
 fax: 250.480.1264
 cell: 250.920.8830
 e-mail: [EMAIL PROTECTED]
 web: www.electricedgesystems.com



 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220833
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Secure Admin Areas

2005-10-12 Thread Kerry
Sorry, in future I will just save up my posts and send a daily digest.
Might risk getting body to long though...

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 18:32
To: CF-Talk
Subject: RE: Secure Admin Areas


And you might want to think about putting all these replies into one
email... =]

!K

-Original Message-
From: Kerry [mailto:[EMAIL PROTECTED]
Sent: October 12, 2005 11:16 AM
To: CF-Talk
Subject: RE: Secure Admin Areas

and this line:

cfif qVerify.RecordCount

this only verifies that one or more users were found, assuming you have
unique usernames, it should be:

cfif qVerify.RecordCount eq 1

not sure if there is a better tutorial out there, but i hope so, there seems
to be a few issues with this one.


-Original Message-
From: Jason Manaigre [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 17:58
To: CF-Talk
Subject: Secure Admin Areas


Hi all, a few quick questions, building a CMS (or rather learning as I
go) and was going to use the following http://tutorial8.easycfm.com/ to
build my Admin area, will this be enough security? What else can be
done? Is there a better tut out there?

This is just for my site, nothing mission critical.

Thanks everyone, take it easy.

Big Jay







~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220834
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms and a bad directory structure?

2005-10-12 Thread Mike Soultanian
Yeah.. I dunno.. that is weird.  For kicks try putting it in the 
coldfusion webroot with the same file structure and see if it works. 
That might help narrow things down.

Arturo Fuentes wrote:
 i did attempt that.. still no go.
 
 cfusionmx7\wwwroot
 and inetpub\wwwroot are two different directories.. but i don't use
 the cfmx one..
 
 On 10/12/05, Mike Soultanian [EMAIL PROTECTED] wrote:
 Try setting up a mapping in CF server.  is your web server root the same
 as your cf web root?

 mike

 Arturo Fuentes wrote:
 i'm not sure what is happening here.

 my directory structure is :

 /projects/Pets/assets/com/petlog.cfc

 my code references this as:
  myService = connection.getService(projects.Pets.assets.com.petlog,
 responseHandler );

  I do not get a cfc location error.. i get a null back for my values.

  BUT... if i move my cfc into the webroot /petlog.cfc

  and call it as:

  myService = connection.getService(petlog, responseHandler );

  it  works  fine.. for obvious reasons i do not want to chuck my cfc's
  into  the  root  of  my  server...  but i am not sure wtf is going on
  here.. if anyone has any ideas or suggestions. i am open...



 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220835
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
OK...I give uphere's the code:

  cffunction name=getHail access=remote returntype=query 
output=false hint=Retrieves a core hail out record (hail 
numbers/licences/trip types/periods can be retrieved via other available 
methods). If a hailID and hailNumber are passed in, the hailID will be used 
instead of the hailNumber

cfargument name=user type=string   required=yes
  cfargument name=pwd  type=string   required=yes
cfargument name=hailNum  type=numeric  required=yes 
hint=hail number of desired hail record (pass a zero if you want to ignore 
this argument)
cfargument name=hailID   type=numeric  required=yes 
hint=activity ID of desired hail record (pass a zero if you want to ignore 
this argument)
cfargument name=hailType type=string   required=yes 
hint=type of hail (valid values are OUT and IN)

cftry

  !--- we will lookup hail by activity ID for provided hail number - 
lookup activity ID ---
  cfif Len(Trim(ARGUMENTS.hailNum)) AND NOT 
Len(Trim(ARGUMENTS.hailID))

cfquery name=qGetActID datasource=#datasource# 
username=#ARGUMENTS.user# password=#ARGUMENTS.pwd#
  SELECT act_act_id
FROM #oschema#.hail_number
   WHERE haiul_no = cfqueryparam value=#ARGUMENTS.hailNum# 
cfsqltype=CF_SQL_NUMERIC
   /cfquery
cfset activityID = qGetActID.act_act_id

  !--- hail number and hail ID (activity ID) passed to method - ignore 
hail number and use hail ID to lookup hail ---
  cfelseif Len(Trim(ARGUMENTS.hailNum)) AND 
Len(Trim(ARGUMENTS.hailID))
cfset activityID = ARGUMENTS.hailID
  /cfif

  !--- lookup hail out record ---
  cfif Trim(ARGUMENTS.hailType) eq OUT
cfset qGetHail = 
CreateObject(component,appcfcs.fos.hails).getHailOuty(ARGUMENTS.user,ARGUMENTS.pwd,activityID)
  !--- lookup hail in record ---
  cfelseif Trim(ARGUMENTS.hailType) eq IN
cfset qGetHail = 
CreateObject(component,appcfcs.fos.hails).getHailIn(ARGUMENTS.user,ARGUMENTS.pwd,activityID)
  /cfif

  cfreturn qGetHail

  cfcatch type=any
   !---  cfset qGetHail = packageError(cfcatch.errorMessage) ---
cfdump var=#cfcatch#cfabort
  /cfcatch

/cftry

  /cffunction

I have forced an error by calling getHailOuty instead of getHailOut 
(this condition is met cfif Trim(ARGUMENTS.hailType) eq OUT).  The 
cfcatch does NOT fire off and no dump of cfcatch scope occursinstead I 
get a standard fairly useless CF webservice error.

Anybody?

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220836
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: ColdFusion DataDirect JDBC drivers 3.5 ETA?

2005-10-12 Thread Dave Carabetta
On 10/12/05, Adrocknaphobia [EMAIL PROTECTED] wrote:
 It just seems a bit hard to fault MM and DataDirect on this one. I
 don't see how they can forecast what Oracle will be doing in future
 releases. When you got CF they certified that it would work on the
 most recent version of Oracle 10g at the time. I don't think anyone
 every claimed that it would continue to work for all future revisions.


Understood, but most vendors of the calibur of Macromedia and Oracle
are partners, meaning that they're going to receive significant
(enough) advance notice of pending releases. Macromedia certainly
isn't an end-user in the sense that they have to go to Oracle's
download site to check for new releases. Further, the initial release
of Oracle R2 (which was only for Linux) was in July. The other
versions came out in early-to-mid August and Windows finally on 9/8.
Merrimack came out at the end of September. So even assuming that
Macromedia had found out by going to their downloads page, there was
still months of warning.

Now, you don't just throw in a set of drivers to Merrimack without
significant regression testing, which is why I'm sure they were left
out of the release cycle. I'm certainly not faulting them for making a
sound business decision like that. But it's hard to criticize
developers for upgrading to Release 2 when it has been out for as long
as it has and other third-party vendors have done their part in
upgrading their apps (anecdotally, our CRM vendor had the necessary
driver patch to us within a day or R2's July release).

All of the above being said, I know Stephen and the Macromedia people
are on top of this and hopefully this whole discussion is moot in
short order. And, like I said, clarification in the Release Notes for
Merrimack would have gone a long way toward raising the necessary
red-flag in advance of any upgrade.

Regards,
Dave.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220837
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
Bugger!!  I think I may have figured it out...there is a site-wide error 
handler in place that may be messing with the try/catch *insert my red face 
here*.  I'll check into itbut in the meantime if anyone sees a problem 
with my code...feel free to enlighten me ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220838
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Secure Admin Areas

2005-10-12 Thread Jason Manaigre
 
Hey guys, thanks for the info Kerry I'll make those changes...



-Original Message-
From: Kerry [mailto:[EMAIL PROTECTED] 
Sent: October 12, 2005 12:46 PM
To: CF-Talk
Subject: RE: Secure Admin Areas

Sorry, in future I will just save up my posts and send a daily digest.
Might risk getting body to long though...

-Original Message-
From: Kevin Aebig [mailto:[EMAIL PROTECTED]
Sent: 12 October 2005 18:32
To: CF-Talk
Subject: RE: Secure Admin Areas


And you might want to think about putting all these replies into one
email... =]


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220839
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFCs and cftry/cfcatch

2005-10-12 Thread Ian Skinner
Bugger!!  I think I may have figured it out...there is a site-wide error 
handler in place that may be messing with the try/catch *insert my red face 
here*.  I'll check into itbut in the meantime if anyone sees a problem 
with my code...feel free to enlighten me ;-)

Cheers

Well the one thing I noticed is that you have output=false on the function, 
this blocks all output, even cfdumps.  So you need to either temporarily turn 
on the output, or return the error to the calling code in some way.




--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

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. 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220840
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
 Well the one thing I noticed is that you have output=false on the 
 function, this blocks all output, even cfdumps.  So you need to either 
 temporarily turn on the output, or return the error to the calling code in 
 some way.

and this is why you show your codeto find the stupid things you shoulda 
seen ;-)

I'll give that a whirl

FYI there is s site-wide error handlerturned it off and found there is 
some other error handler that I can't find (previous developer)so I'm 
still tracking that down.

Bah...all this for something that should be so simple ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message - 
From: Ian Skinner [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, October 12, 2005 11:08 AM
Subject: RE: CFCs and cftry/cfcatch


 Bugger!!  I think I may have figured it out...there is a site-wide error
 handler in place that may be messing with the try/catch *insert my red 
 face
 here*.  I'll check into itbut in the meantime if anyone sees a problem
 with my code...feel free to enlighten me ;-)

 Cheers

 Well the one thing I noticed is that you have output=false on the 
 function, this blocks all output, even cfdumps.  So you need to either 
 temporarily turn on the output, or return the error to the calling code in 
 some way.




 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA

 C code. C code run. Run code run. Please!
 - Cynthia Dunning

 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.




 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220841
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: google-search 2

2005-10-12 Thread daniel kessler
thanks for your help everyone.  I didn't realize these options are available.

 I've been using Verity after watching Ray's preso on it. Works sweet, 
 just like google. Suggested spellings even. 
 
Will

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220842
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFCs and cftry/cfcatch

2005-10-12 Thread Ian Skinner
FYI there is s site-wide error handlerturned it off and found there is 
some other error handler that I can't find (previous developer)so I'm 
still tracking that down.

Look for cferror tags as well as other cftry blocks that may be surrounding 
this code, especially in included templates such as application.cfm. 


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

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. 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220843
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Customer 404 error handler application specific

2005-10-12 Thread Rey Bango
Hi guys,

I know that CFMX has the missing template handler in CF which seems to 
be site wide but us there a way to specify a missing template page based 
on the specific site the user is in?

I don't want one 404 handler for all of our sites.

Someone suggested going into IIS and clicking the Verify File Exists 
checkbox in the .cfm mapping but doesn't seem to be working.

Any ideas?

Rey...

-- 
http://www.ReyBango.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220844
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Customer 404 error handler application specific

2005-10-12 Thread Michael Dinowitz
Write a global 404 handler that will try to read a 'local' handler page from 
each site in question. If the local exists, use it. If not, use a global 
default. 

The 404 template has access to the CGI, Url and Form variable scopes so you can 
get the domain and page requested and can even deal with 404 errors based on 
url and form vars. I have some custom code in my 404 that deals with a space 
before the filename being requested. Don't know why it comes up, but it does so 
I deal.

Hi guys,

I know that CFMX has the missing template handler in CF which seems to 
be site wide but us there a way to specify a missing template page based 
on the specific site the user is in?

I don't want one 404 handler for all of our sites.

Someone suggested going into IIS and clicking the Verify File Exists 
checkbox in the .cfm mapping but doesn't seem to be working.

Any ideas?

Rey...

-- 
http://www.ReyBango.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220845
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
Yes John...exactly like your example (I'm not new to try/catchjust 
haven't used inside  a cffunction before).  The weird part is the catch 
doesn't fire off ;-)

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220846
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: any free Oracle IDE

2005-10-12 Thread Eddie Awad
On 10/11/05, Robert Everland III [EMAIL PROTECTED] wrote:
 I am using TOAD for Oracle, but does anyone have any Win32 applications that 
 are free that can interface to Oracle? I have also tried jdeveloper. I was 
 less than impressed with that.

Some useful links for you:

http://awads.net/wp/2005/08/19/your-sql-tool/
http://awads.net/wp/2005/10/12/your-sql-tool-part-ii/
http://www.freelists.org/archives/oradev/08-2005/msg9.html

HTH
--
Eddie Awad.
http://awads.net/

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220847
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Customer 404 error handler application specific

2005-10-12 Thread Howie Hamlin
You can do this on a site-by-site basic in IIS.  Here are the settings we use 
on one site (Custom Errors settings).

Error Code: 404
Definition: Not Found
Message Type: URL
URL: /404.cfm

This will send the user to a not found default CFM page for anything except a 
missing ColdFusion template unless you also check verify that file exists in 
the Application Extension Mapping settings.

HTH,

--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion and BlueDragon applications
Find out how iMS Stacks up to the competition: 
http://www.coolfusion.com/imssecomparison.cfm

iMS-Lite - the completely free mail server solution for applications and 
application servers
http://www.coolfusion.com/iMSLite

--- On Wednesday, October 12, 2005 2:30 PM, Rey Bango scribed: ---

 Hi guys,
 
 I know that CFMX has the missing template handler in CF which seems to
 be site wide but us there a way to specify a missing template page
 based on the specific site the user is in?
 
 I don't want one 404 handler for all of our sites.
 
 Someone suggested going into IIS and clicking the Verify File Exists
 checkbox in the .cfm mapping but doesn't seem to be working.
 
 Any ideas?
 
 Rey...

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220848
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Loop through a structure of structures

2005-10-12 Thread Alexander Sherwood
Try this:

[CFLOOP collection=RSStructure item=itm]

[cfset thisQuery  =RSStructure[itm]]

[cfoutput query =thisQuery]

   .. query output code here

[/cfoutput]

[/CFLOOP]

Hope this helps.

--
Alex





Andy Mcshane wrote:

Hi all, I think I have been looking at this for too long and cannot figure out 
how to loop through and output a structure of query results.

I have a CFC that will return multiple recordsets. I figured that the only way 
that I could return multiple recordsets from a CFC was to return them within a 
structure. My query runs inside my CFC and returns 17 individual recordsets. I 
create a structure and add each of these recordsets to it so my structure now 
looks like this;

RSStructure
RS1   query - Rows 2
AGE   ID   NAME
  1  221   Wibble
  2  212   Wobble
RS2   query - Rows 3
AGE   ID   NAME
  1  223   Wibble
  2  214   Wobble
  3  305   Woo
RS3   query - Rows 3
AGE   ID   NAME
  1  346   Wibble
  2  237   Wobble
  3  338   Woo

This continues until I have 17 recordsets within my structure. I then return 
this structure to my calling page. Now I must be having a really brain dead 
day because for the life of me I cannot remeber how to reference each of my 
recordsets within this structure so that I can output the data, it must be 
simple but then again so must I be at the moment! Can anybody help this 
flagging programmer?




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220849
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
 Look for cferror tags as well as other cftry blocks that may be 
 surrounding this code, especially in included templates such as 
 application.cfm.

First thing I didnada ;-)

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message - 
From: Ian Skinner [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, October 12, 2005 11:25 AM
Subject: RE: CFCs and cftry/cfcatch


 FYI there is s site-wide error handlerturned it off and found there is
 some other error handler that I can't find (previous developer)so I'm
 still tracking that down.

 Look for cferror tags as well as other cftry blocks that may be 
 surrounding this code, especially in included templates such as 
 application.cfm.


 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA

 C code. C code run. Run code run. Please!
 - Cynthia Dunning

 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.




 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220850
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFCs and cftry/cfcatch

2005-10-12 Thread Ken Ferguson
So, when I want to use a try/catch in a function, I usually do it like this:


cfunction
cfargument
cfset var 
cftry
do stuff
cfcatch
cfreturn cfcatch
/cfcatch
cfreturn intededReturnVariable
/cffunction

This way, if I do catch an error I'm returning the cfcatch info. I guess 
you will have to do something a little different since you're returntype 
is set to query. I guess you could create a query object from the 
cfcatch information to return. Also, you're just doing an output-style 
dump, but your cffunction tag has output=false. I'm thinking that's 
not what you want to do.

--Ferg


Bryan Stevenson wrote:

OK...I give uphere's the code:

  cffunction name=getHail access=remote returntype=query 
output=false hint=Retrieves a core hail out record (hail 
numbers/licences/trip types/periods can be retrieved via other available 
methods). If a hailID and hailNumber are passed in, the hailID will be used 
instead of the hailNumber

cfargument name=user type=string   required=yes
  cfargument name=pwd  type=string   required=yes
cfargument name=hailNum  type=numeric  required=yes 
hint=hail number of desired hail record (pass a zero if you want to ignore 
this argument)
cfargument name=hailID   type=numeric  required=yes 
hint=activity ID of desired hail record (pass a zero if you want to ignore 
this argument)
cfargument name=hailType type=string   required=yes 
hint=type of hail (valid values are OUT and IN)

cftry

  !--- we will lookup hail by activity ID for provided hail number - 
lookup activity ID ---
  cfif Len(Trim(ARGUMENTS.hailNum)) AND NOT 
Len(Trim(ARGUMENTS.hailID))

cfquery name=qGetActID datasource=#datasource# 
username=#ARGUMENTS.user# password=#ARGUMENTS.pwd#
  SELECT act_act_id
FROM #oschema#.hail_number
   WHERE haiul_no = cfqueryparam value=#ARGUMENTS.hailNum# 
cfsqltype=CF_SQL_NUMERIC
   /cfquery
cfset activityID = qGetActID.act_act_id

  !--- hail number and hail ID (activity ID) passed to method - ignore 
hail number and use hail ID to lookup hail ---
  cfelseif Len(Trim(ARGUMENTS.hailNum)) AND 
Len(Trim(ARGUMENTS.hailID))
cfset activityID = ARGUMENTS.hailID
  /cfif

  !--- lookup hail out record ---
  cfif Trim(ARGUMENTS.hailType) eq OUT
cfset qGetHail = 
CreateObject(component,appcfcs.fos.hails).getHailOuty(ARGUMENTS.user,ARGUMENTS.pwd,activityID)
  !--- lookup hail in record ---
  cfelseif Trim(ARGUMENTS.hailType) eq IN
cfset qGetHail = 
CreateObject(component,appcfcs.fos.hails).getHailIn(ARGUMENTS.user,ARGUMENTS.pwd,activityID)
  /cfif

  cfreturn qGetHail

  cfcatch type=any
   !---  cfset qGetHail = packageError(cfcatch.errorMessage) ---
cfdump var=#cfcatch#cfabort
  /cfcatch

/cftry

  /cffunction

I have forced an error by calling getHailOuty instead of getHailOut 
(this condition is met cfif Trim(ARGUMENTS.hailType) eq OUT).  The 
cfcatch does NOT fire off and no dump of cfcatch scope occursinstead I 
get a standard fairly useless CF webservice error.

Anybody?

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220851
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
exactly what I'm doing Kenand I think I have it all working now (didn't 
have cfreturn as part of my catchtry when the remote machine connection is 
restored)DOH!

I'm having one of thse days today ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220852
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


A Curious little bug in my CF Admin...

2005-10-12 Thread Jeff Small
I have a datasource in my CF Admin (CFMX). Let's say it's called jmh. When 
I view it in my CFAdmin Datasource view, I see Not Specified in the Driver 
column. Whenever I go to delete it, I get the following error:

Error Occurred While Processing Request
Please try the following:
Check the CFML Reference Manual to verify that you are using the correct 
syntax.
Search the Knowledge Base to find a solution to your problem.

Browser  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) 
Gecko/20050511 Firefox/1.0.4
Remote Address  192.168.1.188
Referrer  http://XXX/CFIDE/administrator/datasources/index.cfm
Date/Time  12-Oct-05 03:27 PM

Stack Trace

 java.lang.NoClassDefFoundError
 at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198])
 at coldfusion.compiler.TemplateReader.decrypt(Unknown Source)
 at coldfusion.compiler.TemplateReader.init(Unknown Source)
 at coldfusion.compiler.NeoTranslationContext.getPageReader(Unknown Source)
 at coldfusion.compiler.NeoTranslator.translateJava(Unknown Source)
 at coldfusion.compiler.NeoTranslator.translateJava(Unknown Source)
 at coldfusion.runtime.TemplateClassLoader$1.fetch(Unknown Source)
 at coldfusion.util.LruCache.get(Unknown Source)
 at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(Unknown 
Source)
 at coldfusion.util.AbstractCache.fetch(Unknown Source)
 at coldfusion.util.SoftCache.get(Unknown Source)
 at coldfusion.runtime.TemplateClassLoader.findClass(Unknown Source)
 at coldfusion.filter.PathFilter.invoke(Unknown Source)
 at coldfusion.filter.ExceptionFilter.invoke(Unknown Source)
 at coldfusion.filter.BrowserDebugFilter.invoke(Unknown Source)
 at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown Source)
 at coldfusion.filter.BrowserFilter.invoke(Unknown Source)
 at coldfusion.filter.GlobalsFilter.invoke(Unknown Source)
 at coldfusion.filter.DatasourceFilter.invoke(Unknown Source)
 at coldfusion.CfmServlet.service(Unknown Source)
 at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
 at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
 at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
 at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
 at 
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
 at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
 at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
 at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
 at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Any ideas? Any ideas on what could be causing the error in the CFAdmin, and 
how I might go about removing the datasource?

--
Jeff Small
LHWH Advertising
Myrtle Beach, SC 29577
843-448-1123 Ext 254 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220853
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Secure Admin Areas

2005-10-12 Thread Matt Robertson
There are some free tags in the MM devex.  I wrote one, AccessMonger
Lite, that does password stuff, along with things like using salted
hashes for pwd storage and hint/answer secured password recovery. 
Just heard of a bug in its admin area, though.  A misnamed variable in
a new upload.  Bah!


--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220854
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: A Curious little bug in my CF Admin...

2005-10-12 Thread Burns, John D
You could go directly into the XML file and delete the datasource that
way. Perhaps while you're in there you'd see the issue. [CFMX
PATH]\lib\neo-query.xml

Try doing a find for your datasource name.


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Jeff Small [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 12, 2005 3:29 PM
To: CF-Talk
Subject: A Curious little bug in my CF Admin...

I have a datasource in my CF Admin (CFMX). Let's say it's called jmh.
When I view it in my CFAdmin Datasource view, I see Not Specified in
the Driver column. Whenever I go to delete it, I get the following
error:

Error Occurred While Processing Request
Please try the following:
Check the CFML Reference Manual to verify that you are using the correct
syntax.
Search the Knowledge Base to find a solution to your problem.

Browser  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8)
Gecko/20050511 Firefox/1.0.4
Remote Address  192.168.1.188
Referrer  http://XXX/CFIDE/administrator/datasources/index.cfm
Date/Time  12-Oct-05 03:27 PM

Stack Trace

 java.lang.NoClassDefFoundError
 at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198])
 at coldfusion.compiler.TemplateReader.decrypt(Unknown Source)  at
coldfusion.compiler.TemplateReader.init(Unknown Source)  at
coldfusion.compiler.NeoTranslationContext.getPageReader(Unknown Source)
at coldfusion.compiler.NeoTranslator.translateJava(Unknown Source)  at
coldfusion.compiler.NeoTranslator.translateJava(Unknown Source)  at
coldfusion.runtime.TemplateClassLoader$1.fetch(Unknown Source)  at
coldfusion.util.LruCache.get(Unknown Source)  at
coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(Unknown
Source)
 at coldfusion.util.AbstractCache.fetch(Unknown Source)  at
coldfusion.util.SoftCache.get(Unknown Source)  at
coldfusion.runtime.TemplateClassLoader.findClass(Unknown Source)  at
coldfusion.filter.PathFilter.invoke(Unknown Source)  at
coldfusion.filter.ExceptionFilter.invoke(Unknown Source)  at
coldfusion.filter.BrowserDebugFilter.invoke(Unknown Source)  at
coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown Source)
at coldfusion.filter.BrowserFilter.invoke(Unknown Source)  at
coldfusion.filter.GlobalsFilter.invoke(Unknown Source)  at
coldfusion.filter.DatasourceFilter.invoke(Unknown Source)  at
coldfusion.CfmServlet.service(Unknown Source)  at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
 at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
 at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226
)
 at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527
)
 at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:
198)
 at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.j
ava:348)
 at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java
:451)
 at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.jav
a:294)
 at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Any ideas? Any ideas on what could be causing the error in the CFAdmin,
and how I might go about removing the datasource?

--
Jeff Small
LHWH Advertising
Myrtle Beach, SC 29577
843-448-1123 Ext 254 





~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220855
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: OT: HTML Combo Boxes

2005-10-12 Thread Paul
 Nevermind, I think this one will do what I need done.
 http://shaunwagner.com/projects/js/comboBox.html

Looks like this one has a JS error on Windows IE6?



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220856
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: HTML Combo Boxes

2005-10-12 Thread Aaron Rouse
I implimented it earlier with IE 6 and ran into no JS errors. We did just
decide we need more of an auto-fill on a text input kind of like how
Google does things in gmail. So back to searching to see what I can find for
that.

On 10/12/05, Paul [EMAIL PROTECTED] wrote:

  Nevermind, I think this one will do what I need done.
  http://shaunwagner.com/projects/js/comboBox.html

 Looks like this one has a JS error on Windows IE6?



 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220857
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


SOLVED: Re: CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
Let's just say it works as intended and leave it at that ;-)

Thanks to all that replied

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220858
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Customer 404 error handler application specific

2005-10-12 Thread Rey Bango
Hi Howie,

I did that in IIS for the 404 so that it redirects to a 404 catch page 
that we've defined. I also checked off the Verify File Exists option 
for the .cfm mapping but when I specify an invalid CF template, it just 
gives me a CFMX missing template message instead of redirecting to the 
404 page.

Rey./..

Howie Hamlin wrote:
 You can do this on a site-by-site basic in IIS.  Here are the settings we use 
 on one site (Custom Errors settings).
 
 Error Code: 404
 Definition: Not Found
 Message Type: URL
 URL: /404.cfm
 
 This will send the user to a not found default CFM page for anything except a 
 missing ColdFusion template unless you also check verify that file exists 
 in the Application Extension Mapping settings.
 
 HTH,
 
 --
 Howie Hamlin - inFusion Project Manager
 On-Line Data Solutions, Inc. - www.CoolFusion.com
 inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
 PrismAV - Virus scanning for ColdFusion and BlueDragon applications
 Find out how iMS Stacks up to the competition: 
 http://www.coolfusion.com/imssecomparison.cfm
 
 iMS-Lite - the completely free mail server solution for applications and 
 application servers
 http://www.coolfusion.com/iMSLite
 
 --- On Wednesday, October 12, 2005 2:30 PM, Rey Bango scribed: ---
 
Hi guys,

I know that CFMX has the missing template handler in CF which seems to
be site wide but us there a way to specify a missing template page
based on the specific site the user is in?

I don't want one 404 handler for all of our sites.

Someone suggested going into IIS and clicking the Verify File Exists
checkbox in the .cfm mapping but doesn't seem to be working.

Any ideas?

Rey...
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220859
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Secure Admin Areas

2005-10-12 Thread Jason Manaigre
Thanks, will check it out. 


-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED] 
Sent: October 12, 2005 2:30 PM
To: CF-Talk
Subject: Re: Secure Admin Areas

There are some free tags in the MM devex.  I wrote one, AccessMonger
Lite, that does password stuff, along with things like using salted
hashes for pwd storage and hint/answer secured password recovery. 
Just heard of a bug in its admin area, though.  A misnamed variable in
a new upload.  Bah!



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220860
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Verity and Asian languages

2005-10-12 Thread Matthew Walker
I've been having issues within CF7 with getting Verity to index and
search Japanese. I note that you can download language packs from
Macromedia (www.macromedia.com/go/verity
http://www.macromedia.com/go/verity ) (the instructions for these btw
specify the wrong file location, also the file sizes are completely
wrong). So I've installed the Asian pack, created a collection and
attempted to search it. The results returned are all question marks,
indicating a character encoding issue to me. If I try cfcollection
action=LIST... it looks like Verity is using the Shift_JIS character
set. I never asked for that -- I'm using Unicode.
 
I think the multilanguage pack includes support for the Unicode
language -- leaving aside that Unicode isn't a language. I'll have to
download that from home later as we pay through the nose for office
bandwidth, so I haven't tested this out yet. 
 
Can anybody confirm that this is the way to search Unicode data with
Verity? It seems to me that the Verity CF docs are in an appalling state
with regard to languages. My second question then is, does Verity not
apply any special intelligence to languages like Japanese or does that
only apply with the Japanese locale and the Shift JIS character set?
The advantages of using Verity at all for Japanese are hard for me to
see. 
 
Advice anybody?


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220861
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: [Norton AntiSpam] SOLVED: Re: CFCs and cftry/cfcatch

2005-10-12 Thread Andrew Scott
Bryan,

Just a FYI. Even if you have a site wide error handling, or even a cferror
tag, a cftry/cfcacth will override those. As you really never explained the
error, and there was the possibility that you didn't have output='true' then
I can also assume that you haven't patched your server with the cfdump in a
cftry block bug.


Regards,
Andrew Scott
 
Quote of the Day:
Me and my two friends... GIF and Wesson.
-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 13 October 2005 6:32 AM
To: CF-Talk
Subject: [Norton AntiSpam] SOLVED: Re: CFCs and cftry/cfcatch

Let's just say it works as intended and leave it at that ;-)

Thanks to all that replied

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220862
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Customer 404 error handler application specific

2005-10-12 Thread Howie Hamlin
And you have the same settings as I have?  I think the Message Type parameter 
has to be URL.

Howie

--- On Wednesday, October 12, 2005 4:52 PM, Rey Bango scribed: ---

 Hi Howie,
 
 I did that in IIS for the 404 so that it redirects to a 404 catch page
 that we've defined. I also checked off the Verify File Exists option
 for the .cfm mapping but when I specify an invalid CF template, it
 just 
 gives me a CFMX missing template message instead of redirecting to the
 404 page.
 
 Rey./..
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220863
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [Norton AntiSpam] SOLVED: Re: CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
 Just a FYI. Even if you have a site wide error handling, or even a cferror
 tag, a cftry/cfcacth will override those.

Yep...that's why I couldn't figure out what was up...but I did know what 
should take precedence

 As you really never explained the
 error, and there was the possibility that you didn't have output='true' 
 then
 I can also assume that you haven't patched your server with the cfdump in 
 a
 cftry block bug.

Not sure about the patch (on MX 7)but I know I've seen cfdump work 
inside a cftry.  The biggie I never mentioned is that this is a 
webservice...so I would assume output of true wouldn't work anyways??

All is workinig now though...essentially by not having a cfreturn as part of 
the cfcatch, I was causing an error of the wrong datatype being returned 
(i.e. nothing being returned when it should have been a query).

I've seen lots of complaints about debugging webservices in CFI'm 
starting to understand why ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220864
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: [Norton AntiSpam] SOLVED: Re: CFCs and cftry/cfcatch

2005-10-12 Thread Andrew Scott
Bryan,

If you don't have a return, it should have fallen through to the nearest
return. I take it that in the cfcatch you also had a cfabort then? Which
would explain why you need the return.


Regards,
Andrew Scott
 
Quote of the Day:
IBM: Increasingly Banal Movement
-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 13 October 2005 8:01 AM
To: CF-Talk
Subject: Re: [Norton AntiSpam] SOLVED: Re: CFCs and cftry/cfcatch

 Just a FYI. Even if you have a site wide error handling, or even a cferror
 tag, a cftry/cfcacth will override those.

Yep...that's why I couldn't figure out what was up...but I did know what 
should take precedence

 As you really never explained the
 error, and there was the possibility that you didn't have output='true' 
 then
 I can also assume that you haven't patched your server with the cfdump in 
 a
 cftry block bug.

Not sure about the patch (on MX 7)but I know I've seen cfdump work 
inside a cftry.  The biggie I never mentioned is that this is a 
webservice...so I would assume output of true wouldn't work anyways??

All is workinig now though...essentially by not having a cfreturn as part of

the cfcatch, I was causing an error of the wrong datatype being returned 
(i.e. nothing being returned when it should have been a query).

I've seen lots of complaints about debugging webservices in CFI'm 
starting to understand why ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220865
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [Norton AntiSpam] SOLVED: Re: CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
nope...the proper return bailed (intentionally so I could test the 
try/catch) casuing the cfcatch to fire off...it had no return so I still 
ended up with a method returning something not of type query

just my own stupidity...it happens...sh ;-)

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220866
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: [Norton AntiSpam] Re: [Norton AntiSpam] SOLVED: Re: CFCs and cftry/cfcatch

2005-10-12 Thread Andrew Scott
Bryan,

That’s because after looking at the code, you had the return prior to the
cactch.

This is what I always do.

cffunction
cftry
    Logic
 /cftry
 cfcatch
    Catch Error
/cfcatch
 cfreturn retValue /
/cffunction

Now as this was a query you could defined the retValue as an empty query,
then if the cacth is being caught it would fall through and return an empty
query. Otherwise the query will be returned populated.


Regards,
Andrew Scott
 
Quote of the Day:
Your manuscript is both good and original, but the part that is good is 
not original and the part that is original is not good.
-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 13 October 2005 8:14 AM
To: CF-Talk
Subject: [Norton AntiSpam] Re: [Norton AntiSpam] SOLVED: Re: CFCs and
cftry/cfcatch

nope...the proper return bailed (intentionally so I could test the 
try/catch) casuing the cfcatch to fire off...it had no return so I still 
ended up with a method returning something not of type query

just my own stupidity...it happens...sh ;-)

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220867
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [Norton AntiSpam] Re: [Norton AntiSpam] SOLVED: Re: CFCs and cftry/cfcatch

2005-10-12 Thread Bryan Stevenson
yep...what I'm doing is essentially the same thing.6 of one half dozen 
of another ;-)

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220868
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


SQL issue: filter query

2005-10-12 Thread Asim Manzur
Hi,
 I have two queries.

cfquery name=getImg dbtype=query
select * from getList
where name NOT like 'tn_%'
order by name
/cfquery

cfquery name=getSQL datasource=#DSN#
select * from Judges
/cfquery

 in GetImg recordset I have some data in there, in GetSQL recordset I am
pulling another series of records.
 I need to create the third query which contains all the records but not the
one which are pulled from Judges table.
 in other words,
select * from getList, GetSql where getlist.name http://getlist.name 
getSql.image


--
Regards,


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220869
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: flash forms and a bad directory structure?

2005-10-12 Thread Arturo Fuentes
nope. did nothing.

On 10/12/05, Mike Soultanian [EMAIL PROTECTED] wrote:
 Yeah.. I dunno.. that is weird.  For kicks try putting it in the
 coldfusion webroot with the same file structure and see if it works.
 That might help narrow things down.

 Arturo Fuentes wrote:
  i did attempt that.. still no go.
 
  cfusionmx7\wwwroot
  and inetpub\wwwroot are two different directories.. but i don't use
  the cfmx one..
 
  On 10/12/05, Mike Soultanian [EMAIL PROTECTED] wrote:
  Try setting up a mapping in CF server.  is your web server root the same
  as your cf web root?
 
  mike
 
  Arturo Fuentes wrote:
  i'm not sure what is happening here.
 
  my directory structure is :
 
  /projects/Pets/assets/com/petlog.cfc
 
  my code references this as:
   myService = connection.getService(projects.Pets.assets.com.petlog,
  responseHandler );
 
   I do not get a cfc location error.. i get a null back for my values.
 
   BUT... if i move my cfc into the webroot /petlog.cfc
 
   and call it as:
 
   myService = connection.getService(petlog, responseHandler );
 
   it  works  fine.. for obvious reasons i do not want to chuck my cfc's
   into  the  root  of  my  server...  but i am not sure wtf is going on
   here.. if anyone has any ideas or suggestions. i am open...
 
 
 
 
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220870
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


javax.mail.SendFailedException: 550 5.7.1

2005-10-12 Thread John Lucania
cfloop query=A03
cfset THEFIN = A03.PTFIN
cfset THEMRN = A03.PTMRN
 CFPROCESSINGDIRECTIVE SUPPRESSWHITESPACE=No
 CFMAIL
 SUBJECT= Discharge
 FROM=[EMAIL PROTECTED]
 TO=[EMAIL PROTECTED]; [EMAIL PROTECTED]
 BCC=[EMAIL PROTECTED]
 Type =plain 
cfmailparam name=Reply-to value= [EMAIL PROTECTED]
 #PTRoomNo#
 /CFMAIL
 /CFPROCESSINGDIRECTIVE
 cfquery name=A03Yes datasource=PTINFO
  update PTINFOIncident
   set MsgSent ='Yes'
  where PTFIN ='#THEFIN#' and PTMRN = '#THEMRN#'
 /cfquery
/cfloop

Why is this generating this error?

Invalid Addresses; nested exception is:
javax.mail.SendFailedException: 550 5.7.1 Unable to relay for
[EMAIL PROTECTED] ; nested exception is:
javax.mail.SendFailedException: 550 5.7.1 Unable to relay for
[EMAIL PROTECTED]

If I open Outlook and send e-mail to [EMAIL PROTECTED] and
[EMAIL PROTECTED], messages go through with no issue.

If I send messages with CFMAIL, I get the error above.

CF is connecting Outlook server, so I thought it should work fine.

 mailsend.log says: Moved undelivered mail: Mail62781.cfmail to
C:\CFusionMX/Mail/Undelivr directory

Mail62781.cfmail says:

server:  swexchange:25
from:  [EMAIL PROTECTED]
to:  [EMAIL PROTECTED],[EMAIL PROTECTED]
bcc:  [EMAIL PROTECTED]
subject:  Discharge
type:  text/plain; charset=UTF-8
X-Mailer:  ColdFusion MX Application Server
body:
body:N205
body:

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220871
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Cold Fusion MX Adminstrator Error

2005-10-12 Thread HOFLee _
java.lang.NoClassDefFoundError
   at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198])

Google is your friend ;-) 
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=98b88caapss=rss_coldfusion_98b88caa

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220872
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54