RE: Anyone else have the latest CFBuilder crashing constantly?

2010-03-12 Thread Andrew Scott

Cutting and pasting chews through memory very quickly, it was raised as a
bug and Adobe just closed it straight away.

Now that either means it is fixed or they are not going to fix it so let's
see.

But as I described to Adobe, I went from 77mb of heap space and after
copying and pasting about 5 to 10 times from another file my heap space had
grown out to 250mb before ColdFusion Builder then crashed.

There are a lot of memory leaks with ColdFusion Builder, that just ends up
chewing through memory way to fast.



-Original Message-
From: Roger Austin [mailto:raust...@nc.rr.com] 
Sent: Friday, 12 March 2010 2:51 AM
To: cf-talk
Subject: RE: Anyone else have the latest CFBuilder crashing constantly?


 For me, CFB beta 3 has been unstable to a point where I went 
back to text editors to get work done. There is a problem 
when I cut and paste a lot. Every paste would set off something 
in CFB which seemed to need to time out before it came back to 
life.
 Also, there were problems when I would type a double 
quote and CFB would go numb on me for a while. I definitely 
had to watch the screen as I typed since I had no idea when it 
would go mental on me.
 I ended up turning off all the helpers in the system 
which turns it into a fancy text editor and allows me to get 
work done. I sure hope they fix all these problems before it 
goes into production. I assumed that there would be another 
beta, but that may not happen.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331636
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: iText PDF signature

2010-03-12 Thread Marco Antonio C. Santos

We're using iText-2.0.7.jar + javaLoader + CF 7 Std with success. Please
take a look this code to insert an image and a description in your PDF
signed:

cffunction name=signPDF
 cfargument name=pathPDF required=yes
 cfargument name=pathPDFSigned required=yes
 cfargument name=pathArqPFX required=yes

 cfset var local = StructNew()
 cfset local.pathPDF = arguments.pathPDF
 cfset local.pathPDFSigned = arguments.pathPDFSigned
 cfset local.pathArqPFX = arguments.pathArqPFX

 cfif NOT CompareNoCase(local.pathPDF,local.pathPDFSigned)
  cfreturn false
 /cfif
 cfscript
  setReason='ACME Corporation';
  setPassword='yourPFXPassword';
  setLocation='Your City-State';

  fullPathToPFXFile = local.pathArqPFX;
  fullPathToOriginalFile = local.pathPDF;
  fullPathToSignedFile = local.pathPDFSigned;
  string = createObject(java,java.lang.String);
  passwordSign = string.init(setPassword);
  keyStore =
createObject(java,java.security.KeyStore).getInstance(pkcs12);
  privateKey = createObject(java,java.security.PrivateKey);
  inputStream =
createObject(java,java.io.FileInputStream).init(fullPathToPFXFile);
  keyStore.load(inputStream, passwordSign.toCharArray());
  keyStoreAlias = keyStore.aliases().nextElement();
  privateKey = keyStore.getKey(keyStoreAlias,
passwordSign.toCharArray());
  chainArray = keyStore.getCertificateChain(keyStoreAlias);
  pdfReader =
server[application.javaLoaderInit].create(com.lowagie.text.pdf.PdfReader).init(fullPathToOriginalFile);

  outStream =
createObject(java,java.io.FileOutputStream).init(fullPathToSignedFile);

  pdfStamper =
server[application.javaLoaderInit].create(com.lowagie.text.pdf.PdfStamper);

  pdfVersion = string.init(URLDecode('%00')).charAt(0);
  stamper = pdfStamper.createSignature(pdfReader, outStream, pdfVersion);

  signatureAppearance = stamper.getSignatureAppearance();
  PdfSignatureAppearance =
server[application.javaLoaderInit].create(com.lowagie.text.pdf.PdfSignatureAppearance);

  signatureAppearance.setCrypto( privateKey, chainArray, javacast(null,
0),PdfSignatureAppearance.WINCER_SIGNED);
  signatureAppearance.setReason(setReason);
  signatureAppearance.setLocation(setLocation);
  rectangle =
server[application.javaLoaderInit].create(com.lowagie.text.Rectangle).init(
 javacast(float, 100),
 javacast(float, 100),
 javacast(float, 200),
 javacast(float, 200) );
  signatureAppearance.setVisibleSignature( rectangle, javacast(int, 1),
javacast(null, ) );
  
signatureAppearance.setCertificationLevel(signatureAppearance.CERTIFIED_NO_CHANGES_ALLOWED);
  stamper.close();
  inputStream.close();
  pdfReader.close();
  outStream.close();
  return true;
 /cfscript
/cffunction
Cheers
Marco Antonio
On Thu, Mar 11, 2010 at 7:12 PM, Chad Gray cg...@careyweb.com wrote:


 Hello, I am working with iText that comes with CF8 and I don’t see these
 methods in com.lowagie.text.pdf.PdfSignatureAppearance
 setRenderMode
 setSignatureGraphic

 I want to create a signature in a PDF that has an image like this example
 code is doing:
 http://itextpdf.com/examples/index.php?page=exampleid=221

 Anyone figured out how to get an image and description into a PDF
 signature?

 If I use the method setImage that is in the CF8 class the image is laid on
 top of the description and you cannot read it.

 Thanks,
 Cha

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331637
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Phantom Scheduled Tasks

2010-03-12 Thread Bryan S

I changed the interval on the Scheduled Task from 10 minutes to 7 minutes.
The second identical URL still fires exactly 5 minutes after the first.

Bryan

-Original Message-
From: Dorioo [mailto:dor...@gmail.com] 
Sent: Thursday, March 11, 2010 5:36 PM
To: cf-talk
Subject: Re: Phantom Scheduled Tasks


Something to test: I'd change the scheduled task to run at something
other than 10 minutes and see if it affects that 5 minute timeframe.
Then you'd at least know that the second one is definitely tied into
the first one as the 5 minute window changes when you changed the 10
minute window.

- Gabriel


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331638
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Phantom Scheduled Tasks

2010-03-12 Thread Bryan S

I disabled all of the existing Scheduled Tasks relating to this application.

I then deleted all of the existing Scheduled Tasks relating to this
application.

I created a new Scheduled Task with a new name and an interval of 6 minutes
instead of 10 or 7.

The test results were identical.

The scheduled task fires and correctly determines it should run a report so
it fires a URL calling the event that starts a report.

Exactly 5 minutes later another identical URL fires and starts another
report. There is no indication in the Cold Fusion Scheduled Task log or in
my application logs that another Cold Fusion Scheduled Task fires. There is
an indication in my application log that a URL calling the event that starts
a report is fired again.

Bryan


-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com] 
Sent: Thursday, March 11, 2010 8:36 PM
To: cf-talk
Subject: RE: Phantom Scheduled Tasks


Bryan...

Have you tried deleting your scheduled tasks and then re-entering them?
Might clear the cobwebs...

Rick


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331639
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Two CFQUERY statements?

2010-03-12 Thread Bobby Hartsfield

In SQL Server, not only can you cross join two databases in a single query,
you can join them across separate servers/instances (provided they are
linked servers).

-Original Message-
From: Casey Dougall [mailto:ca...@uberwebsitesolutions.com] 
Sent: Thursday, March 11, 2010 3:38 PM
To: cf-talk
Subject: Re: Two CFQUERY statements?


On Thu, Mar 11, 2010 at 3:35 PM, Barney Boisvert bboisv...@gmail.comwrote:


 You can happily query multiple databases within the same request; what
 you can't do is query multiple databases within a single transaction.
 So as long as your CFQUERY tags don't share a CFTRANSACTION block you
 should be fine.

 Can you post the actual error message?

 cheers,
 barneyb


But you can't do it from within the same cfquery tag as they are separate
data sources.

 So you need two queries and then a QoQ to link them together if need be.




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331640
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Phantom Scheduled Tasks

2010-03-12 Thread Dorioo

Another test comes to mind. I'd change the call to run a report to do
something else like write a text file that's named using a UUID. Does
that file get written again 5 minutes later?

Testing to see if the main task runs twice for everything or if
there's some relationship between running twice and making a CFHTTP
call.

- Gabriel

On Fri, Mar 12, 2010 at 7:56 AM, Bryan S bryansgroup...@gmail.com wrote:

 I disabled all of the existing Scheduled Tasks relating to this application.

 I then deleted all of the existing Scheduled Tasks relating to this
 application.

 I created a new Scheduled Task with a new name and an interval of 6 minutes
 instead of 10 or 7.

 The test results were identical.

 The scheduled task fires and correctly determines it should run a report so
 it fires a URL calling the event that starts a report.

 Exactly 5 minutes later another identical URL fires and starts another
 report. There is no indication in the Cold Fusion Scheduled Task log or in
 my application logs that another Cold Fusion Scheduled Task fires. There is
 an indication in my application log that a URL calling the event that starts
 a report is fired again.

 Bryan


 -Original Message-
 From: Rick Faircloth [mailto:r...@whitestonemedia.com]
 Sent: Thursday, March 11, 2010 8:36 PM
 To: cf-talk
 Subject: RE: Phantom Scheduled Tasks


 Bryan...

 Have you tried deleting your scheduled tasks and then re-entering them?
 Might clear the cobwebs...

 Rick


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331641
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Two CFQUERY statements?

2010-03-12 Thread Bobby Hartsfield

Make sure the name you gave your datasource in the CF Administrator is the
same as the name you are using in the name attribute of your cfquery tag.

CF Appears to think there is no datasource with the name you are trying to
use.

-Original Message-
From: Steven Sprouse [mailto:sspro...@ccboe.com] 
Sent: Thursday, March 11, 2010 3:39 PM
To: cf-talk
Subject: Re: Two CFQUERY statements?


You'll have to excuse me, I'm still sort of a CF novice so I'm not too
familiar with how to use CFTRANSACTION.

What I was doing was just putting two separate CFQUERY statements at the
head of my document, each with a different name attribute and different data
sources. When I did my cfoutput of the second cfquery, that's when I got my
error.

The error was Error Executing Database Query. [Macromedia][SequeLink JDBC
Driver][ODBC Socket][DataDirect][ODBC SequeLink driver][SequeLink Server]The
specified data source is not defined. But I'm not sure that is very helpful
to you.

If one of the databases was converted into a table and placed into the other
database, I'd have no problem with this, but for some reason I'm getting
tripped up with the different data sources.

Thanks for any help you can offer.

 You can happily query multiple databases within the same request; 
 what
 you can't do is query multiple databases within a single transaction.
 So as long as your CFQUERY tags don't share a CFTRANSACTION block you
 should be fine.
 
 Can you post the actual error message?
 
 cheers,
 barneyb
 
 On Thu, Mar 11, 2010 at 12:26 PM, Steven Sprouse sspro...@ccboe.com 
 wrote:
 
  I have someone who has two separate databases and they want me to 
 write a Web form generating option menus from both databases.
 
  I have set up both as separate data sources in my Coldfusion 
 administrator and have included one cfquery at the head of my document 
 generating a list of locations. It's working fine. When I try to query 
 the second database and do a cfoutput for another option menu, I get 
 errors.
 
  I seem to remember that it might not be possible to have two 
 separate cfquery statements in the same document. Is this correct? If 
 so, how would I go about achieving my desired result?
 
  




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331642
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Phantom Scheduled Tasks

2010-03-12 Thread Earl, George

Bryan said:
 Exactly 5 minutes later another identical URL fires and starts another
 report. There is no indication in the Cold Fusion Scheduled Task log
or in
 my application logs that another Cold Fusion Scheduled Task fires.
There
 is
 an indication in my application log that a URL calling the event that
 starts a report is fired again.

Could the 5 minutes later request be coming from another server or
another instance in your environment?

George

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331643
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Phantom Scheduled Tasks

2010-03-12 Thread Bryan S

Gabriel

configNumber is an identifier I put on the URL called by the scheduled task.
I pass it all the way through for logging purposes.

This is the contents of the file for the report I want to run:
\uuidTest52D99D5B-0C5F-3CA2-303F0CF77BC50955\d100312.txt167
3/12/2010 9:49 AM
{ts '2010-03-12 09:49:05'} The following scheduledId was just executed: 2914
- arguments.configNumber = 1 - local.uuidForReport =
52D99D5B-0C5F-3CA2-303F0CF77BC50955

This is the contents of the file for the report I DO NOT want to run:
\uuidTest52DE3980-C6AB-230F-FB79BCC2FA5D67E8\d100312.txt167
3/12/2010 9:54 AM
{ts '2010-03-12 09:54:07'} The following scheduledId was just executed: 2920
- arguments.configNumber = 1 - local.uuidForReport =
52DE3980-C6AB-230F-FB79BCC2FA5D67E8

Bryan

-Original Message-
From: Dorioo [mailto:dor...@gmail.com] 
Sent: Friday, March 12, 2010 8:08 AM
To: cf-talk
Subject: Re: Phantom Scheduled Tasks


Another test comes to mind. I'd change the call to run a report to do
something else like write a text file that's named using a UUID. Does
that file get written again 5 minutes later?

Testing to see if the main task runs twice for everything or if
there's some relationship between running twice and making a CFHTTP
call.

- Gabriel


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331644
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Phantom Scheduled Tasks

2010-03-12 Thread Dorioo

So it wrote the file again 5 minutes later? Do any of your other
scheduled tasks behave like this one?

- Gabriel

On Fri, Mar 12, 2010 at 9:59 AM, Bryan S bryansgroup...@gmail.com wrote:

 Gabriel

 configNumber is an identifier I put on the URL called by the scheduled task.
 I pass it all the way through for logging purposes.

 This is the contents of the file for the report I want to run:
 \uuidTest52D99D5B-0C5F-3CA2-303F0CF77BC50955\d100312.txt        167
 3/12/2010 9:49 AM
 {ts '2010-03-12 09:49:05'} The following scheduledId was just executed: 2914
 - arguments.configNumber = 1 - local.uuidForReport =
 52D99D5B-0C5F-3CA2-303F0CF77BC50955

 This is the contents of the file for the report I DO NOT want to run:
 \uuidTest52DE3980-C6AB-230F-FB79BCC2FA5D67E8\d100312.txt        167
 3/12/2010 9:54 AM
 {ts '2010-03-12 09:54:07'} The following scheduledId was just executed: 2920
 - arguments.configNumber = 1 - local.uuidForReport =
 52DE3980-C6AB-230F-FB79BCC2FA5D67E8

 Bryan

 -Original Message-
 From: Dorioo [mailto:dor...@gmail.com]
 Sent: Friday, March 12, 2010 8:08 AM
 To: cf-talk
 Subject: Re: Phantom Scheduled Tasks


 Another test comes to mind. I'd change the call to run a report to do
 something else like write a text file that's named using a UUID. Does
 that file get written again 5 minutes later?

 Testing to see if the main task runs twice for everything or if
 there's some relationship between running twice and making a CFHTTP
 call.

 - Gabriel


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331645
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Phantom Scheduled Tasks

2010-03-12 Thread Bryan S

Gabriel

Yes it does write another file five minutes later. Sorry, that is why I
included the time stamps to demonstrate that.

I haven't experienced this with other scheduled tasks but none of the other
scheduled tasks redirect to another URL either.

Bryan

-Original Message-
From: Dorioo [mailto:dor...@gmail.com] 
Sent: Friday, March 12, 2010 10:08 AM
To: cf-talk
Subject: Re: Phantom Scheduled Tasks


So it wrote the file again 5 minutes later? Do any of your other
scheduled tasks behave like this one?

- Gabriel

On Fri, Mar 12, 2010 at 9:59 AM, Bryan S bryansgroup...@gmail.com wrote:

 Gabriel

 configNumber is an identifier I put on the URL called by the scheduled
task.
 I pass it all the way through for logging purposes.

 This is the contents of the file for the report I want to run:
 \uuidTest52D99D5B-0C5F-3CA2-303F0CF77BC50955\d100312.txt        167
 3/12/2010 9:49 AM
 {ts '2010-03-12 09:49:05'} The following scheduledId was just executed:
2914
 - arguments.configNumber = 1 - local.uuidForReport =
 52D99D5B-0C5F-3CA2-303F0CF77BC50955

 This is the contents of the file for the report I DO NOT want to run:
 \uuidTest52DE3980-C6AB-230F-FB79BCC2FA5D67E8\d100312.txt        167
 3/12/2010 9:54 AM
 {ts '2010-03-12 09:54:07'} The following scheduledId was just executed:
2920
 - arguments.configNumber = 1 - local.uuidForReport =
 52DE3980-C6AB-230F-FB79BCC2FA5D67E8



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331646
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


session variable timeout

2010-03-12 Thread Matthew Smith

I think I know this, but want to verify.

If I do a isdefined on one session variable, is the timeout for all session
variables reset?

So if I have a isdefined(session.loggedin) check and it is true, I can
assume that all session variables are still defined, assuming they were
coming into that portion of the code?

Thanks!


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331647
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Phantom Scheduled Tasks

2010-03-12 Thread DURETTE, STEVEN J (ATTASIAIT)

Bryan,

You don't by any chance have a cfschedule tag in any of your code?  Maybe 
something is hitting code with a cfschedule tag to automatically recall the 
page in 5 minutes.

That might explain why the second hit is always exactly 5 minutes after the 
original call no matter what the time frame is.

Steve


-Original Message-
From: Bryan S [mailto:bryansgroup...@gmail.com] 
Sent: Friday, March 12, 2010 10:21 AM
To: cf-talk
Subject: RE: Phantom Scheduled Tasks


Gabriel

Yes it does write another file five minutes later. Sorry, that is why I
included the time stamps to demonstrate that.

I haven't experienced this with other scheduled tasks but none of the other
scheduled tasks redirect to another URL either.

Bryan

-Original Message-
From: Dorioo [mailto:dor...@gmail.com] 
Sent: Friday, March 12, 2010 10:08 AM
To: cf-talk
Subject: Re: Phantom Scheduled Tasks


So it wrote the file again 5 minutes later? Do any of your other
scheduled tasks behave like this one?

- Gabriel

On Fri, Mar 12, 2010 at 9:59 AM, Bryan S bryansgroup...@gmail.com wrote:

 Gabriel

 configNumber is an identifier I put on the URL called by the scheduled
task.
 I pass it all the way through for logging purposes.

 This is the contents of the file for the report I want to run:
 \uuidTest52D99D5B-0C5F-3CA2-303F0CF77BC50955\d100312.txt        167
 3/12/2010 9:49 AM
 {ts '2010-03-12 09:49:05'} The following scheduledId was just executed:
2914
 - arguments.configNumber = 1 - local.uuidForReport =
 52D99D5B-0C5F-3CA2-303F0CF77BC50955

 This is the contents of the file for the report I DO NOT want to run:
 \uuidTest52DE3980-C6AB-230F-FB79BCC2FA5D67E8\d100312.txt        167
 3/12/2010 9:54 AM
 {ts '2010-03-12 09:54:07'} The following scheduledId was just executed:
2920
 - arguments.configNumber = 1 - local.uuidForReport =
 52DE3980-C6AB-230F-FB79BCC2FA5D67E8





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331648
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: session variable timeout

2010-03-12 Thread Dave Watts

 If I do a isdefined on one session variable, is the timeout for all session
 variables reset?

No. The timeout is reset on every subsequent request by a user.

 So if I have a isdefined(session.loggedin) check and it is true, I can
 assume that all session variables are still defined, assuming they were
 coming into that portion of the code?

Generally, yes, unless you've done something to manipulate the
contents of the Session scope.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331649
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Phantom Scheduled Tasks

2010-03-12 Thread Dorioo

I saw the timestamp but was wondering if your code was _only_ creating
the files or if it was still calling the CFHTTP call _and_ creating
the files. In other words, is it the CFHTTP call that triggers it?

Regardless, if it's not your code, that 5 minute timeframe is freaky
and could be something internal to CF.

1. The updater notes for CF7 include a fix for scheduled tasks running
twice. Updater notes are never that detailed so this may be related to
that. Running the updater is at least an option if not already done.

2. If you've already updated and it's still occurring, I know updating
from CF7 is not an option but how about running an instance of Railo
and using it as a glorified scheduled task manager?  It's free, open
source, and newer than CF7. And you wouldn't even have to change your
code as you'd be using it simply for your scheduled tasks.

At a minimum, you could run an instance of it to test if the same
behavior occurs through scheduled tasks created in Railo. That would
help you determine if it's internal to CF7 and its scheduled tasks.

- Gabriel


On Fri, Mar 12, 2010 at 10:21 AM, Bryan S bryansgroup...@gmail.com wrote:

 Gabriel

 Yes it does write another file five minutes later. Sorry, that is why I
 included the time stamps to demonstrate that.

 I haven't experienced this with other scheduled tasks but none of the other
 scheduled tasks redirect to another URL either.

 Bryan

 -Original Message-
 From: Dorioo [mailto:dor...@gmail.com]
 Sent: Friday, March 12, 2010 10:08 AM
 To: cf-talk
 Subject: Re: Phantom Scheduled Tasks


 So it wrote the file again 5 minutes later? Do any of your other
 scheduled tasks behave like this one?

 - Gabriel

 On Fri, Mar 12, 2010 at 9:59 AM, Bryan S bryansgroup...@gmail.com wrote:

 Gabriel

 configNumber is an identifier I put on the URL called by the scheduled
 task.
 I pass it all the way through for logging purposes.

 This is the contents of the file for the report I want to run:
 \uuidTest52D99D5B-0C5F-3CA2-303F0CF77BC50955\d100312.txt        167
 3/12/2010 9:49 AM
 {ts '2010-03-12 09:49:05'} The following scheduledId was just executed:
 2914
 - arguments.configNumber = 1 - local.uuidForReport =
 52D99D5B-0C5F-3CA2-303F0CF77BC50955

 This is the contents of the file for the report I DO NOT want to run:
 \uuidTest52DE3980-C6AB-230F-FB79BCC2FA5D67E8\d100312.txt        167
 3/12/2010 9:54 AM
 {ts '2010-03-12 09:54:07'} The following scheduledId was just executed:
 2920
 - arguments.configNumber = 1 - local.uuidForReport =
 52DE3980-C6AB-230F-FB79BCC2FA5D67E8



 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331650
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Phantom Scheduled Tasks

2010-03-12 Thread Bryan S

Steve

I did a global search of the application and cfschedule appears no where.

Bryan

-Original Message-
From: DURETTE, STEVEN J (ATTASIAIT) [mailto:sd1...@att.com] 
Sent: Friday, March 12, 2010 10:26 AM
To: cf-talk
Subject: RE: Phantom Scheduled Tasks


Bryan,

You don't by any chance have a cfschedule tag in any of your code?  Maybe
something is hitting code with a cfschedule tag to automatically recall the
page in 5 minutes.

That might explain why the second hit is always exactly 5 minutes after the
original call no matter what the time frame is.

Steve


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331651
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: session variable timeout

2010-03-12 Thread Bobby Hartsfield

I'd think yes since it was defined when the request was made.

-Original Message-
From: Matthew Smith [mailto:chedders...@gmail.com] 
Sent: Friday, March 12, 2010 10:23 AM
To: cf-talk
Subject: session variable timeout


I think I know this, but want to verify.

If I do a isdefined on one session variable, is the timeout for all session
variables reset?

So if I have a isdefined(session.loggedin) check and it is true, I can
assume that all session variables are still defined, assuming they were
coming into that portion of the code?

Thanks!




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331652
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: session variable timeout

2010-03-12 Thread Mike Chabot

Kinda and yes. Simply accessing the page within the timeout limit
should maintain the session. Your code in the second question should
be an adequate check of whether or not the session is active. All
session variables inside the user's session would expire at the same
time. StructKeyExists(session,loggedin) is more efficient than
IsDefined().

-Mike Chabot

On Fri, Mar 12, 2010 at 10:22 AM, Matthew Smith chedders...@gmail.com wrote:

 I think I know this, but want to verify.

 If I do a isdefined on one session variable, is the timeout for all session
 variables reset?

 So if I have a isdefined(session.loggedin) check and it is true, I can
 assume that all session variables are still defined, assuming they were
 coming into that portion of the code?

 Thanks!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331653
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: iText PDF signature

2010-03-12 Thread Chad Gray

Thanks for the suggestions Paul.

I don’t see any setRender or setSignatureGraphic method.  Are you on CF9?  
Maybe that is the difference.

All I have is setImage and setImageScale.  These lay an image behind the text 
in the signature.

I did find that I can do setLayer2Text to blank and it will clear the type on 
top of the image.  So maybe that is the route I will go.  I really don’t feel 
like monkey'ing around with replacing iText in CF8.

Thanks again,
Chad



-Original Message-
From: Paul Hastings [mailto:p...@sustainablegis.com] 
Sent: Thursday, March 11, 2010 8:38 PM
To: cf-talk
Subject: Re: iText PDF signature 


On 3/12/2010 5:12 AM, Chad Gray wrote:
 I want to create a signature in a PDF that has an image like this example 
 code is doing:
 http://itextpdf.com/examples/index.php?page=exampleid=221

that's for the latest version of iText not the one shipped with cf. you can 
drop 
the new version into cfs class path or use mark's javaLoader  away you go (but 
make sure you read the new licensing first). on the plus side is that the new 
version's class, etc names have changed so no classpath hell w/existing cf 
version.

---or---

if you want to use the existing version maybe this will help:

setRenderingMode === setRender Sets the rendering mode for this signature
setSignatureGraphic === setSignatureGraphic (still there), it's looking for a 
com.lowagie.text.Image



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331654
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SOT: Default Flash behavior when crossdomain.xml is absent

2010-03-12 Thread Dave Watts

 Straws appreciated and accepted.  I don't think that's the case though.  I
 opened MS Fiddler and hit on of our pages myself.  (All of the streaming
 content on our site uses the same dynamic page and the same SWF player.  The
 SWF player is not located on the CDN).  This is what Fiddler showed me:

 Request for www.mysite.com/thePage.cfm
 Request for www.mysite.com/player.swf
 Request for www.mycdn.com/crossdomain.xml (Returned 404)
 Request for www.mycdn.com/theFile.mp3

 It defies logic.  By all rights flash should have shut down the SWF and
 never allowed it to access the last file.

 Hmm, a bit more Googling, and apparently that isn't always necessarily the
 case.  According to this knowledge base article, Flash differentiates
 between simply playing an MP3 and extracting data from it.
 http://kb2.adobe.com/cps/963/50c96388.html

 This article appears to say that flash WILL allow an MP3 from another domain
 to be played, but will stop short of allowing you to extract data from it
 (like ID3 tags) without a crossdomain.xml file.  Interesting... I'm not sure
 if that is affecting me or not.  I'm using the JWPlayer and I'm pretty
 certain it doesn't do anything special to the MP3s.

Well there you go, I've never tried loading MP3s specifically and
didn't know there was a policy exception for them. And I have no idea
what's in an MP3 that JWPlayer would read sometimes and not read other
times.

But can't you just go ahead and create a crossdomain file and avoid
this problem altogether?

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, o

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331655
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Old CF doc needs to learn new Java tricks

2010-03-12 Thread Reed Powell

I've put this for too long, and now there is real need for me to interface my 
CF code to vendor-provided class libraries written in Java. Have been coding CF 
apps for a long time; it's the Java side that I'm petty weak on.  Documentation 
on the Java libraries (mostly Google AdWords at this point) isn't too bad, and 
there are Java examples of using them in a 100% Java application.  

I've found blog posting here and there that have tidbits of info on doing this 
sort of thing, but I'm sure that there's a lot more out there that would be 
helpful to me.  The problem is that with search terms like ColdFusion and 
Java, given that CF is build on Java and that Java is popular in it's own 
right, the results of Googling have been pretty useless.

Any points to resources to get this project kick-started?

thanks everyone,
Reed 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331656
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: SOT: Lessons from a lost decade: Developing for a disposable Web

2010-03-12 Thread Sebastiaan GMC van Dijk

What was your reason for posting this? 2 retorts already by CF-people, but 
wouldn't it be better to just ignore these kinds of articles alltogether?


Greetz from the Netherlands
  
_
Få nye Windows Live™ Messenger.
http://download.live.com/messenge

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331657
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Old CF doc needs to learn new Java tricks

2010-03-12 Thread Dorioo

If you mean you want to load a java library for use in CF, javaloader
by Mark Mandel is fantastic.

http://javaloader.riaforge.org/

- Gabriel

On Fri, Mar 12, 2010 at 10:47 AM, Reed Powell r...@powellgenealogy.com wrote:

 I've put this for too long, and now there is real need for me to interface my 
 CF code to vendor-provided class libraries written in Java. Have been coding 
 CF apps for a long time; it's the Java side that I'm petty weak on.  
 Documentation on the Java libraries (mostly Google AdWords at this point) 
 isn't too bad, and there are Java examples of using them in a 100% Java 
 application.

 I've found blog posting here and there that have tidbits of info on doing 
 this sort of thing, but I'm sure that there's a lot more out there that would 
 be helpful to me.  The problem is that with search terms like ColdFusion 
 and Java, given that CF is build on Java and that Java is popular in 
 it's own right, the results of Googling have been pretty useless.

 Any points to resources to get this project kick-started?

 thanks everyone,
 Reed

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331658
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Authenticating against .NET 2.0 website

2010-03-12 Thread Matthew

Hi all,

I have managed to convince a client to go for ColdFusion as a solution amongst 
different option offered.

Problem: the client currently has an existing site but wants a single login for 
the existing site a .net 2.0 site hosted on iis6.1and SQL 2k server and the CF 
website hosted on cf8, iis7 on SQL 2008.

What do you guys suggest for cross platform authentication? Your suggestions 
are greatly appreciated.

Many thanks,

Matt.



  

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331659
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Old CF doc needs to learn new Java tricks

2010-03-12 Thread John M Bliss

Not really an answer to your question but, for what it's worth, I've written
a lot of Google AdWords code and it's all CFML (using CF's native
webservice/SOAP/XML functionality) and it was relatively easy.

On Fri, Mar 12, 2010 at 9:47 AM, Reed Powell r...@powellgenealogy.comwrote:


 I've put this for too long, and now there is real need for me to interface
 my CF code to vendor-provided class libraries written in Java. Have been
 coding CF apps for a long time; it's the Java side that I'm petty weak on.
  Documentation on the Java libraries (mostly Google AdWords at this point)
 isn't too bad, and there are Java examples of using them in a 100% Java
 application.

 I've found blog posting here and there that have tidbits of info on doing
 this sort of thing, but I'm sure that there's a lot more out there that
 would be helpful to me.  The problem is that with search terms like
 ColdFusion and Java, given that CF is build on Java and that Java is
 popular in it's own right, the results of Googling have been pretty useless.

 Any points to resources to get this project kick-started?

 thanks everyone,
 Reed

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331660
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Phantom Scheduled Tasks

2010-03-12 Thread Bryan S

I can't even get our server guys to respond with an answer if the latest
updater is installed. Therefore, I am not optimistic about my chances of
them installing another application for my testing purposes.

One option that has been presented that I may have to explore is to have a
then create a cron job fire the URL on the Linux server.

I've tried to avoid that since it makes me more dependent on our server guys
which compromises my development productivity.

Bryan

-Original Message-
From: Dorioo [mailto:dor...@gmail.com] 
Sent: Friday, March 12, 2010 10:42 AM
To: cf-talk
Subject: Re: Phantom Scheduled Tasks


I saw the timestamp but was wondering if your code was _only_ creating
the files or if it was still calling the CFHTTP call _and_ creating
the files. In other words, is it the CFHTTP call that triggers it?

Regardless, if it's not your code, that 5 minute timeframe is freaky
and could be something internal to CF.

1. The updater notes for CF7 include a fix for scheduled tasks running
twice. Updater notes are never that detailed so this may be related to
that. Running the updater is at least an option if not already done.

2. If you've already updated and it's still occurring, I know updating
from CF7 is not an option but how about running an instance of Railo
and using it as a glorified scheduled task manager?  It's free, open
source, and newer than CF7. And you wouldn't even have to change your
code as you'd be using it simply for your scheduled tasks.

At a minimum, you could run an instance of it to test if the same
behavior occurs through scheduled tasks created in Railo. That would
help you determine if it's internal to CF7 and its scheduled tasks.

- Gabriel


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331661
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SOT: Lessons from a lost decade: Developing for a disposable Web

2010-03-12 Thread John M Bliss

 What was your reason for posting this?

To bring it to the attention of CF-people so that, if they're inclined,
they'll retort.

 2 retorts already by CF-people, but wouldn't it be better to just ignore
these kinds of articles alltogether?

That's a good question.  It's clear to me that the set of things that need
to happen in order for ColdFusion is scrap on the side of the Information
Superhighway to be laughable is much larger than CF-people retorting in
the comments.  Having said that, I'm *guessing* that it helps...?  If the
community disagrees, I'd like to hear about it.


On Fri, Mar 12, 2010 at 9:56 AM, Sebastiaan GMC van Dijk seb...@hotmail.com
 wrote:


 What was your reason for posting this? 2 retorts already by CF-people, but
 wouldn't it be better to just ignore these kinds of articles alltogether?


 Greetz from the Netherlands

 _
 Få nye Windows Live™ Messenger.
 http://download.live.com/messenge

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331662
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: SOT: Default Flash behavior when crossdomain.xml is absent

2010-03-12 Thread brad

 But can't you just go ahead and create a crossdomain file and avoid
 this problem altogether?


Of course, and I already have.  My personality is such that I like to
find out exactly why things were broke-- not just wiggle wires until it
turns on, shrug, and continue.  :)

~Brad


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331663
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


re: Authenticating against .NET 2.0 website

2010-03-12 Thread Jason Fisher

Have them both use the same database for user / auth lookups.  That's the 
simplest, assuming that both servers can access at least one of the SQL 
Servers.  If that's a challenge, then build a quick webservice to wrap the 
authentication call, which is a good idea in any case, and then allow both 
apps to hit that service in order to set sessions.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331664
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: null500 on nested custom tag

2010-03-12 Thread wabba

Lolcat :P

Good thought about logging to an external file. On SQL 2k. The depth is
unknown, it is usually 2-6 levels but theoretically could go way down. A
fixed DB structure would make this a million times easier but also be
virtually worthless for the application. 

And no, the cfif nParentCatID LT 1 shouldn't error out because it's with
a loop over the query its referencing, so if it returns no records it's
never run and just returns but up to the last nesting.

-Original Message-
From: Brad Wood [mailto:b...@bradwood.com] 
Sent: Thursday, March 11, 2010 9:33 PM
To: cf-talk
Subject: Re: null500 on nested custom tag


You should try a variable called lolcat.  :)

Seriously though, it sounds like an endless loop to me.  If you check your 
server's coldfusion-out log you will probably see an out of memory 
exception.

Put in some external logging to a text file or something to follow what is 
happening to your variables.  Or use a counter in session to keep yourself 
from recursing more than 10 times so you can output debugging info in your 
page.
Without really digging in to your code I can't really say where the problem 
is.  It sounds like your issue is pretty straight forward-- you have a 
series of categories which are arranged in a hierarchy via your pivot table.

Given a leaf node of your tree, you wish to climb until you reach the root 
node.  I guess you're trying to make sure that none of your categories are 
orphaned with no active parents?

Honestly, it might be a little simpler to write this using iteration, but 
don't let that keep you from recursive tags if that's what you like.

As to whether or not you can do it in a single SQL statement-- maybe.  If 
you are on SQL Server 2005 or later CTE's (common table expressions) allow 
recursion but I don't know that it would be any simpler.  If your hierarchy 
of categories always has a known depth, you can just keep joining to your 
pivot table that many times.  Other than that, you are out of luck using an 
adjacency list model.  Nested sets are much better for calculating ancestors

and descendants.

One question: if your query returns no records, won't the line cfif 
nParentCatID LT 1 error trying to convert  to a number?

~Brad

- Original Message - 
From: Me Too must...@wabba.net
To: cf-talk cf-talk@houseoffusion.com
Sent: Thursday, March 11, 2010 10:31 PM
Subject: null500 on nested custom tag



 This is driving me nuts. Pretty simple, I have a little custom tag that 
 runs through a pivot table trying to reach the bottom (categoryID=0) of a 
 category tree by way of active (bActive=1) categories. The logic is:




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331665
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Phantom Scheduled Tasks

2010-03-12 Thread Dorioo

Not having full control is definitely going to impede your testing.

Although it's plausible that you could run railo on your personal
computer, schedule the URL that you're testing, see if it runs twice 5
minutes later, and delete railo. You'd at least know then if CF7 is
the problem.

- Gabriel

On Fri, Mar 12, 2010 at 11:05 AM, Bryan S bryansgroup...@gmail.com wrote:

 I can't even get our server guys to respond with an answer if the latest
 updater is installed. Therefore, I am not optimistic about my chances of
 them installing another application for my testing purposes.

 One option that has been presented that I may have to explore is to have a
 then create a cron job fire the URL on the Linux server.

 I've tried to avoid that since it makes me more dependent on our server guys
 which compromises my development productivity.

 Bryan

 -Original Message-
 From: Dorioo [mailto:dor...@gmail.com]
 Sent: Friday, March 12, 2010 10:42 AM
 To: cf-talk
 Subject: Re: Phantom Scheduled Tasks


 I saw the timestamp but was wondering if your code was _only_ creating
 the files or if it was still calling the CFHTTP call _and_ creating
 the files. In other words, is it the CFHTTP call that triggers it?

 Regardless, if it's not your code, that 5 minute timeframe is freaky
 and could be something internal to CF.

 1. The updater notes for CF7 include a fix for scheduled tasks running
 twice. Updater notes are never that detailed so this may be related to
 that. Running the updater is at least an option if not already done.

 2. If you've already updated and it's still occurring, I know updating
 from CF7 is not an option but how about running an instance of Railo
 and using it as a glorified scheduled task manager?  It's free, open
 source, and newer than CF7. And you wouldn't even have to change your
 code as you'd be using it simply for your scheduled tasks.

 At a minimum, you could run an instance of it to test if the same
 behavior occurs through scheduled tasks created in Railo. That would
 help you determine if it's internal to CF7 and its scheduled tasks.

 - Gabriel


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331666
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfchart and bar colors

2010-03-12 Thread Larry Lyons

---  bump  --- 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331667
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SOT: Lessons from a lost decade: Developing for a disposable Web

2010-03-12 Thread Larry Lyons

We know abou this, but this isn't the appropriate forum for this. How about 
taking it to CF_Community, CF-OT or one of the one of the other off topic lists.

regards,
larry

 What was your reason for posting this?

To bring it to the attention of CF-people so that, if they're inclined,
they'll retort.

 2 retorts already by CF-people, but wouldn't it be better to just ignore
these kinds of articles alltogether?

That's a good question.  It's clear to me that the set of things that need
to happen in order for ColdFusion is scrap on the side of the Information
Superhighway to be laughable is much larger than CF-people retorting in
the comments.  Having said that, I'm *guessing* that it helps...?  If the
community disagrees, I'd like to hear about it.


On Fri, Mar 12, 2010 at 9:56 AM, Sebastiaan GMC van Dijk seb...@hotmail.com
 wrote:

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331668
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SOT: Lessons from a lost decade: Developing for a disposable Web

2010-03-12 Thread John M Bliss

Roger.  My bad.

On Fri, Mar 12, 2010 at 10:16 AM, Larry Lyons larrycly...@gmail.com wrote:


 We know abou this, but this isn't the appropriate forum for this. How about
 taking it to CF_Community, CF-OT or one of the one of the other off topic
 lists.

 regards,
 larry

  What was your reason for posting this?
 
 To bring it to the attention of CF-people so that, if they're inclined,
 they'll retort.
 
  2 retorts already by CF-people, but wouldn't it be better to just ignore
 these kinds of articles alltogether?
 
 That's a good question.  It's clear to me that the set of things that need
 to happen in order for ColdFusion is scrap on the side of the Information
 Superhighway to be laughable is much larger than CF-people retorting in
 the comments.  Having said that, I'm *guessing* that it helps...?  If the
 community disagrees, I'd like to hear about it.
 
 
 On Fri, Mar 12, 2010 at 9:56 AM, Sebastiaan GMC van Dijk 
 seb...@hotmail.com
  wrote:
 
 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331669
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Validating mailing addresses or determining Zip+4 zipcodes...

2010-03-12 Thread Che Vilnonis

I have a client that is getting hammered by UPS with charges for address
corrections
when customers enter a shipping address that is (even slightly) incorrect.

Does anyone know of a database or a web service (paid or free) that can:

#1. Verify a complete mailing address?
#2. or provide a Zip+4 zipcode when a complete mailing address is passed to
it?

Either will go a long way to recifying my clients current situation with
UPS.

Do any CFers have any experience implementing something like this?

Thanks, Che



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331670
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Validating mailing addresses or determining Zip+4 zipcodes...

2010-03-12 Thread John M Bliss

Perhaps: http://www.usps.com/webtools/address.htm

On Fri, Mar 12, 2010 at 10:25 AM, Che Vilnonis ch...@asitv.com wrote:


 I have a client that is getting hammered by UPS with charges for address
 corrections
 when customers enter a shipping address that is (even slightly) incorrect.

 Does anyone know of a database or a web service (paid or free) that can:

 #1. Verify a complete mailing address?
 #2. or provide a Zip+4 zipcode when a complete mailing address is passed to
 it?

 Either will go a long way to recifying my clients current situation with
 UPS.

 Do any CFers have any experience implementing something like this?

 Thanks, Che



 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331671
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Validating mailing addresses or determining Zip+4 zipcodes...

2010-03-12 Thread Dorioo

If they're using UPS already, UPS has address validations tools (city,
state, zip) and (street level)

https://www.ups.com/upsdeveloperkit?loc=en_US

- Gabriel

On Fri, Mar 12, 2010 at 11:28 AM, John M Bliss bliss.j...@gmail.com wrote:

 Perhaps: http://www.usps.com/webtools/address.htm

 On Fri, Mar 12, 2010 at 10:25 AM, Che Vilnonis ch...@asitv.com wrote:


 I have a client that is getting hammered by UPS with charges for address
 corrections
 when customers enter a shipping address that is (even slightly) incorrect.

 Does anyone know of a database or a web service (paid or free) that can:

 #1. Verify a complete mailing address?
 #2. or provide a Zip+4 zipcode when a complete mailing address is passed to
 it?

 Either will go a long way to recifying my clients current situation with
 UPS.

 Do any CFers have any experience implementing something like this?

 Thanks, Che





 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331672
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Authenticating against .NET 2.0 website

2010-03-12 Thread Matthew

Thanks Jason, yes I thought of web service too, as I do not have access to the 
databse shouldn't they be the one creating the web service and I consuming it? 
Also aren't  webservices easily spoofed?

Matt.

On 12 Mar 2010, at 16:09, Jason Fisher ja...@wanax.com wrote:


Have them both use the same database for user / auth lookups.  That's the 
simplest, assuming that both servers can access at least one of the SQL 
Servers.  If that's a challenge, then build a quick webservice to wrap the 
authentication call, which is a good idea in any case, and then allow both 
apps to hit that service in order to set sessions.





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331673
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Authenticating against .NET 2.0 website

2010-03-12 Thread Duane Boudreau

Do you have the ability to modify the .Net authentication procedure?

If you do, you could move all the session info in to the database and modify 
the .Net authentication to check your session table before issuing the 
challenge.

If it's the same domain you could store everything in a cookie instead of the 
database and have both CF and .Net look for the cookie for authentication info 
as well.




-Original Message-
From: Matthew [mailto:a.matthe...@yahoo.com] 
Sent: Friday, March 12, 2010 11:58 AM
To: cf-talk
Subject: Authenticating against .NET 2.0 website


Hi all,

I have managed to convince a client to go for ColdFusion as a solution amongst 
different option offered.

Problem: the client currently has an existing site but wants a single login for 
the existing site a .net 2.0 site hosted on iis6.1and SQL 2k server and the CF 
website hosted on cf8, iis7 on SQL 2008.

What do you guys suggest for cross platform authentication? Your suggestions 
are greatly appreciated.

Many thanks,

Matt.



  



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331674
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Validating mailing addresses or determining Zip+4 zipcodes...

2010-03-12 Thread Che Vilnonis

John/Dorioo thanks for the links! Free APIs are my friend. :)

-Original Message-
From: Dorioo [mailto:dor...@gmail.com] 
Sent: Friday, March 12, 2010 11:32 AM
To: cf-talk
Subject: Re: Validating mailing addresses or determining Zip+4 zipcodes...


If they're using UPS already, UPS has address validations tools (city,
state, zip) and (street level)

https://www.ups.com/upsdeveloperkit?loc=en_US

- Gabriel



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331675
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Authenticating against .NET 2.0 website

2010-03-12 Thread Dave Watts

 Thanks Jason, yes I thought of web service too, as I do not have access to 
 the databse shouldn't they be the one creating the
 web service and I consuming it?

Yes, they'd have to create that. If they're unwilling to do this, you
could probably accomplish what you need by interacting with their
login form and action from your own login, via CFHTTP.

 Also aren't webservices easily spoofed?

No more so than any other HTTP interface, like your application.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331676
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Authenticating against .NET 2.0 website

2010-03-12 Thread Matthew Allen

OK thanks Dave - I'll have to go for webservices.

Thanks all. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331677
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Fastest Hardware for ColdFusion 9?

2010-03-12 Thread John Foster

We are looking to speed up our application layer as much as possible. We've 
pumped the DB up substantially and had great results. I realize there are 
network, load balancer, memcache, etc and other ways than the hardware to have 
impact, but we want to buy whatever will give us some gain.

Unfortunately, we didn't notice with a dual quad core server a ton of impact in 
the past and didn't seem to be able to get the full utilization, so we just 
stayed with multiple servers instead of fewer, beefier servers.

Will 64 bit and many cores be the best for CF 9? Or less cores at higher clock?

Does more memory help much?

How about SSD hard drives for local source code?  I wouldn't expect that, but 
somebody seemed to suggest that somewhere.

Does CF Enterprise make a big difference?

Should we change the JVM to a faster one? What would that be?

 

Thanks! 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331678
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


onsessionstart not being called with j2ee session variables

2010-03-12 Thread Scott Brady

We're seeing some weird behavior on one of our applications.

It looks like if we check use j2ee session variables in the admin,
the our Application.cfc's onSessionStart() isn't called.  (I put a
dump and an abort in onSessionStart() to verify it).

Is there something different about j2ee variables that could cause
this? Or some special setting in Application.cfc we need to use?  I've
checked the web-inf/web.xml session-timeout setting to make sure it's
longer than the CF settings.

Here's the basic abbreviated code from application.cfc:
cfcomponent
cfset this.sessionManagement = true
cfset this.sessionTimeout = CreateTimeSpan(0,0,20,0) /

cffunction name=onSessionStart
cfdump var=here
cfabort
cfscript
// sign up form
session.stSignupForm = structNew();
/cffunction

/cfcomponent

The dump of here doesn't show up with j2ee session variables checked.

Scott

Scott

-- 
-
Scott Brady
http://www.scottbrady.net/

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331679
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Authenticating against .NET 2.0 website

2010-03-12 Thread Jason Fisher

Actually, if you're just authenticating against the database, then you could 
create a service easily in CF and then consume it from the .NET side.  At that 
point, you wouldn't even need the database side to be involved.



From: Dave Watts dwa...@figleaf.com
Sent: Friday, March 12, 2010 11:43 AM
To: cf-talk cf-talk@houseoffusion.com
Subject: Re: Authenticating against .NET 2.0 website

 Thanks Jason, yes I thought of web service too, as I do not have access to 
 the databse shouldn't they be the one creating the
 web service and I consuming it?

Yes, they'd have to create that. If they're unwilling to do this, you
could probably accomplish what you need by interacting with their
login form and action from your own login, via CFHTTP.

 Also aren't�webservices easily spoofed?

No more so than any other HTTP interface, like your application.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331680
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: session variable timeout

2010-03-12 Thread Matthew Smith

Ok, just to clarify, does the count down restart with the load of
application.cfm, or is it when a session variables is referenced?

On Fri, Mar 12, 2010 at 9:42 AM, Mike Chabot mcha...@gmail.com wrote:


 Kinda and yes. Simply accessing the page within the timeout limit
 should maintain the session. Your code in the second question should
 be an adequate check of whether or not the session is active. All
 session variables inside the user's session would expire at the same
 time. StructKeyExists(session,loggedin) is more efficient than
 IsDefined().

 -Mike Chabot

 On Fri, Mar 12, 2010 at 10:22 AM, Matthew Smith chedders...@gmail.com
 wrote:
 
  I think I know this, but want to verify.
 
  If I do a isdefined on one session variable, is the timeout for all
 session
  variables reset?
 
  So if I have a isdefined(session.loggedin) check and it is true, I can
  assume that all session variables are still defined, assuming they were
  coming into that portion of the code?
 
  Thanks!

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331681
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: onsessionstart not being called with j2ee session variables

2010-03-12 Thread Dave Watts

 We're seeing some weird behavior on one of our applications.

 It looks like if we check use j2ee session variables in the admin,
 the our Application.cfc's onSessionStart() isn't called.  (I put a
 dump and an abort in onSessionStart() to verify it).

 Is there something different about j2ee variables that could cause
 this? Or some special setting in Application.cfc we need to use?  I've
 checked the web-inf/web.xml session-timeout setting to make sure it's
 longer than the CF settings.

 Here's the basic abbreviated code from application.cfc:
 cfcomponent
        cfset this.sessionManagement = true
        cfset this.sessionTimeout = CreateTimeSpan(0,0,20,0) /

        cffunction name=onSessionStart
                cfdump var=here
                cfabort
        cfscript
                        // sign up form
                        session.stSignupForm = structNew();
        /cffunction

 /cfcomponent

 The dump of here doesn't show up with j2ee session variables checked.

You may already have an active J2EE session on that server. Try
clearing your cookies first.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-autho

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331682
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: session variable timeout

2010-03-12 Thread Dave Watts

 Ok, just to clarify, does the count down restart with the load of
 application.cfm, or is it when a session variables is referenced?

It restarts on every subsequent request made by that browser.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331683
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fastest Hardware for ColdFusion 9?

2010-03-12 Thread Dave Watts

 Unfortunately, we didn't notice with a dual quad core server a ton of impact 
 in the past and didn't seem to be able to get the full
 utilization, so we just stayed with multiple servers instead of fewer, 
 beefier servers.

 Will 64 bit and many cores be the best for CF 9? Or less cores at higher 
 clock?

 Does more memory help much?

I would definitely recommend 64-bit. Not necessarily for reasons of
pure performance (response time  throughput) but because you'll be
able to use memory better, and caching things in memory is one of the
ways you can significantly improve application performance.

As far as cores vs clock speed, this will be very
application-dependent. In short, it depends on what your application
does and how it does it. CF is multithreaded, so more cores is better
than fewer cores, all other things being equal.

 How about SSD hard drives for local source code?  I wouldn't expect that, but 
 somebody seemed to suggest that somewhere.

Unless your application does a lot of disk reads/writes (such as file
uploads/downloads) this won't make much of a difference at all.
Compiled CF files are cached in memory.

 Does CF Enterprise make a big difference?

Not unless you're using a feature specific to Enterprise. There are a
bunch of features in Enterprise that either don't exist in Standard,
or are rate-limited in Standard. PDF generation, for example, exists
in both but performs significantly better in Enterprise.

 Should we change the JVM to a faster one? What would that be?

You should use the latest supported JVM for your version of CF,
generally. That usually won't provide a speed increase, but will fix
specific bugs in earlier JVMs.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331684
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fastest Hardware for ColdFusion 9?

2010-03-12 Thread Wil Genovese

As Dave said - 64bit will give you the biggest boost.  Mainly because you can 
setup massive memory allocations for the JVM.  Our servers each have 8Gb of 
memory with 4Gb setup for the JVM.

More cores the better is the mantra, but we run 4 and 8 core servers and really 
don't see much different between the two in performance. 

I'd stick with SCSI drives if you need a lot of read/write access.

And yes certain JVM upgrades can boost the speed mainly because of the bugs in 
earlier versions cause object creation to be very slow.  

How much load is your application seeing?  Hard configuration and scale will be 
affected by your applications load.



Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well. 

On Mar 12, 2010, at 11:25 AM, John Foster wrote:

 
 We are looking to speed up our application layer as much as possible. We've 
 pumped the DB up substantially and had great results. I realize there are 
 network, load balancer, memcache, etc and other ways than the hardware to 
 have impact, but we want to buy whatever will give us some gain.
 
 Unfortunately, we didn't notice with a dual quad core server a ton of impact 
 in the past and didn't seem to be able to get the full utilization, so we 
 just stayed with multiple servers instead of fewer, beefier servers.
 
 Will 64 bit and many cores be the best for CF 9? Or less cores at higher 
 clock?
 
 Does more memory help much?
 
 How about SSD hard drives for local source code?  I wouldn't expect that, but 
 somebody seemed to suggest that somewhere.
 
 Does CF Enterprise make a big difference?
 
 Should we change the JVM to a faster one? What would that be?
 
 
 
 Thanks! 
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331685
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Fastest Hardware for ColdFusion 9?

2010-03-12 Thread Judah McAuley

Hardware is important, but tuning is going to be more important.  You
can throw 6 GB of ram at your application on a 64-bit JVM, but unless
you tune your JVM and make changes to your application to use that
memory, you won't see a dramatic increase in performance.

Invest in profiling tools such as SeeFusion or FusionReactor to see
where your performance bottlenecks are. If it is a database-heavy
application, you may need to look at the execution plans of your
queries and tune indexes. If you are running on Windows, set up a
PerfMon session while load testing your application and see where your
spikes are. CPU? Disk Access? Are you paging out to disk a lot?

Talk to a company that does JVM tuning. There are some relatively
simple things, like adjusting the different types of memory space and
some much more esoteric things you can do like changing to a different
garbage collector.

There are also differences in speed between different CF versions and
engines. One area that Railo beat the pants off of CF8 in was Object
creation. If you are using an ORM that makes big arrays of objects for
every query, that can be a definite bottleneck. CF9, however, made a
lot of gains in the area of object creation performance.  CF9 and
Railo both have support for ehCache as a caching provider now as well,
which you can take advantage of in your code. There is also a
performance difference between using Lists and Arrays when dealing
with large sets of data.

Bottom line, I'd say, is buy good hardware. Get testing tools like
SeeFusion or FusionReactor and then a load testing tool like Selenium.
Start profiling your apps to see where the slow parts are, then
concentrate on those and get advice that is more specific to the issue
*your* app is having as they will almost certainly be different than
the issues that *my* app might be having.

Cheers,
Judah

On Fri, Mar 12, 2010 at 10:10 AM, Wil Genovese jugg...@visi.com wrote:

 As Dave said - 64bit will give you the biggest boost.  Mainly because you can 
 setup massive memory allocations for the JVM.  Our servers each have 8Gb of 
 memory with 4Gb setup for the JVM.

 More cores the better is the mantra, but we run 4 and 8 core servers and 
 really don't see much different between the two in performance.

 I'd stick with SCSI drives if you need a lot of read/write access.

 And yes certain JVM upgrades can boost the speed mainly because of the bugs 
 in earlier versions cause object creation to be very slow.

 How much load is your application seeing?  Hard configuration and scale will 
 be affected by your applications load.



 Wil Genovese

 One man with courage makes a majority.
 -Andrew Jackson

 A fine is a tax for doing wrong. A tax is a fine for doing well.

 On Mar 12, 2010, at 11:25 AM, John Foster wrote:


 We are looking to speed up our application layer as much as possible. We've 
 pumped the DB up substantially and had great results. I realize there are 
 network, load balancer, memcache, etc and other ways than the hardware to 
 have impact, but we want to buy whatever will give us some gain.

 Unfortunately, we didn't notice with a dual quad core server a ton of impact 
 in the past and didn't seem to be able to get the full utilization, so we 
 just stayed with multiple servers instead of fewer, beefier servers.

 Will 64 bit and many cores be the best for CF 9? Or less cores at higher 
 clock?

 Does more memory help much?

 How about SSD hard drives for local source code?  I wouldn't expect that, 
 but somebody seemed to suggest that somewhere.

 Does CF Enterprise make a big difference?

 Should we change the JVM to a faster one? What would that be?



 Thanks!



 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331686
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


can't figure out cfc error

2010-03-12 Thread Matthew Smith

I've checked the spelling, cut and paste the reference.  Not sure what is
going on...  Works locally but uploading to the live server it is broken.
 Is there some sort of cache for cfcs?

Expression Element HARDLINKQUANITY is undefined in ARGUMENTS. [empty string]
0 [empty string] [empty string]

random3bycategory lines in question:
cfinvoke
component=redhotkittiescfcs.hardlinkgenerator
 method=linkgenerator
returnvariable=itemlink
 productid=#qry_random3bycategory.productID#
callkey=#arguments.taxologykey#
 hardlinkstring=#qry_random3bycategory.hardlink#
quantity=#qry_random3bycategory.quantity#
 hardlinkquantity=#qry_random3bycategory.hardlinkquantity#
self=#arguments.self#


cfcatch.tagcontext - array 1cfcatch.tagcontext - struct COLUMN 0IDCF_DOTRESOLVER
LINE 11RAW_TRACE at
cfhardlinkgenerator2ecfc446576818$funcLINKGENERATOR.runFunction(D:\Inetpub\redhotkitties\redhotkittiescfcs\hardlinkgenerator.cfc:11)TEMPLATE
D:\Inetpub\redhotkitties\redhotkittiescfcs\hardlinkgenerator.cfc
TYPECFML 2cfcatch.tagcontext
- struct COLUMN 0ID CFINVOKELINE 31RAW_TRACE at
cfrandom3bycategory2ecfc1508842978$funcRANDOM3BYCATEGORY.runFunction(D:\Inetpub\redhotkitties\redhotkittiescfcs\random3bycategory.cfc:31)TEMPLATE
D:\Inetpub\redhotkitties\redhotkittiescfcs\random3bycategory.cfc TYPECFML


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331687
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: can't figure out cfc error

2010-03-12 Thread Matthew Smith

missing a t which corrected.  This is on crystaltech.  How do I reset the
cfc?

On Fri, Mar 12, 2010 at 12:34 PM, Matthew Smith chedders...@gmail.comwrote:

 I've checked the spelling, cut and paste the reference.  Not sure what is
 going on...  Works locally but uploading to the live server it is broken.
  Is there some sort of cache for cfcs?

 Expression Element HARDLINKQUANITY is undefined in ARGUMENTS. [empty
 string] 0 [empty string] [empty string]

 random3bycategory lines in question:
 cfinvoke
 component=redhotkittiescfcs.hardlinkgenerator
  method=linkgenerator
 returnvariable=itemlink
  productid=#qry_random3bycategory.productID#
 callkey=#arguments.taxologykey#
  hardlinkstring=#qry_random3bycategory.hardlink#
 quantity=#qry_random3bycategory.quantity#
  hardlinkquantity=#qry_random3bycategory.hardlinkquantity#
 self=#arguments.self#


 cfcatch.tagcontext - array 1cfcatch.tagcontext - struct COLUMN 
 0IDCF_DOTRESOLVER
 LINE 11RAW_TRACE at
 cfhardlinkgenerator2ecfc446576818$funcLINKGENERATOR.runFunction(D:\Inetpub\redhotkitties\redhotkittiescfcs\hardlinkgenerator.cfc:11)TEMPLATE
 D:\Inetpub\redhotkitties\redhotkittiescfcs\hardlinkgenerator.cfc 
 TYPECFML2cfcatch.tagcontext
 - struct COLUMN 0ID CFINVOKELINE 31RAW_TRACE at
 cfrandom3bycategory2ecfc1508842978$funcRANDOM3BYCATEGORY.runFunction(D:\Inetpub\redhotkitties\redhotkittiescfcs\random3bycategory.cfc:31)TEMPLATE
 D:\Inetpub\redhotkitties\redhotkittiescfcs\random3bycategory.cfc TYPECFML




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331688
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: session variable timeout

2010-03-12 Thread Mike Chabot

The timer is reset when the session object is referenced, which
happens on every page request. ColdFusion touches the session object
on every ColdFusion page request, even if you don't specifically do
this in your code. The session timer is not reset if you access file
types that aren't served by CF, such as HTML files.

There are some hidden functions which allow you to list out every
session for every user within the application, not just the current
session for the current user. So you could see, for example, that
there are 20 active sessions on your server and you can see details
about each session. One side effect of making use of this unofficial
ability is that all the timers for all the user session get reset when
you list them out like this, simply because you touched every session
in order to list them out.

Below is a CFC function that you can ping every X minutes from inside
of an Adobe Flex app in order to keep the session alive on the
ColdFusion server. Notice how the function is empty, yet it does the
job.
cffunction name=keepSessionAlive access=remote output=no
!--- Do nothing here ---
/cffunction

-Mike Chabot

On Fri, Mar 12, 2010 at 12:43 PM, Matthew Smith chedders...@gmail.com wrote:

 Ok, just to clarify, does the count down restart with the load of
 application.cfm, or is it when a session variables is referenced?

 On Fri, Mar 12, 2010 at 9:42 AM, Mike Chabot mcha...@gmail.com wrote:


 Kinda and yes. Simply accessing the page within the timeout limit
 should maintain the session. Your code in the second question should
 be an adequate check of whether or not the session is active. All
 session variables inside the user's session would expire at the same
 time. StructKeyExists(session,loggedin) is more efficient than
 IsDefined().

 -Mike Chabot

 On Fri, Mar 12, 2010 at 10:22 AM, Matthew Smith chedders...@gmail.com
 wrote:
 
  I think I know this, but want to verify.
 
  If I do a isdefined on one session variable, is the timeout for all
 session
  variables reset?
 
  So if I have a isdefined(session.loggedin) check and it is true, I can
  assume that all session variables are still defined, assuming they were
  coming into that portion of the code?
 
  Thanks!


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331689
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: can't figure out cfc error

2010-03-12 Thread Dave Watts

 I've checked the spelling, cut and paste the reference.  Not sure what is
 going on...  Works locally but uploading to the live server it is broken.
  Is there some sort of cache for cfcs?

 Expression Element HARDLINKQUANITY is undefined in ARGUMENTS. [empty string]
 0 [empty string] [empty string]

You didn't post the CFC, so we can't see for sure. But are you sure
you checked the spelling? It's HARDLINKQUANITY, not
HARDLINKQUANTITY?

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsi

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331690
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Has anyone created a website keyword ranking app with CF?

2010-03-12 Thread Rick Faircloth

I've been considering writing my own keyword ranking tool with CF (CF9) for
use with my

clients' websites, but have never found any info on how to achieve that.

 

Does anyone have any experience with this or knowledge of some online

info I could check out?

 

Thanks for any feedback!

 

Rick





~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331691
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: can't figure out cfc error

2010-03-12 Thread Matthew Smith

Here's the cfc:
cfcomponent
cffunction name=linkgenerator access=public returntype=string
 cfargument name=productid type=numeric required=yes
cfargument name=callkey type=numeric required=yes
 cfargument name=hardlinkstring type=string required=yes
 cfargument name=quantity type=numeric required=yes
cfargument name=hardlinkquantity type=numeric required=yes
 cfargument name=self type=string required=yes
  cfif len(arguments.hardlinkstring) eq 0 or remote_addr contains
192.168.1 or arguments.hardlinkquanity neq arguments.quantity
 cfset XFA.viewItemDetail = thegallery.itemDetail
cfset itemlink =
#arguments.self#/fuseaction/#XFA.viewItemDetail#/productID/#arguments.productID#/callKey/#arguments.callkey#/index.cfm
 cfelse
!--- cfif remote_addr contains 192.168.1
 cfset itemlink = http://redhotkittiesdotcom#arguments.hardlinkstring#;
 cfelse ---
cfset itemlink = http://www.RedHotKitties.com#arguments.hardlinkstring#;
!--- /cfif ---
/cfif
cfreturn itemlink
 /cffunction
/cfcomponent


It's working locally.  I've uploaded to the live server and it is broken
there.  It's like the reference is cached.

On Fri, Mar 12, 2010 at 12:40 PM, Dave Watts dwa...@figleaf.com wrote:


  I've checked the spelling, cut and paste the reference.  Not sure what is
  going on...  Works locally but uploading to the live server it is broken.
   Is there some sort of cache for cfcs?
 
  Expression Element HARDLINKQUANITY is undefined in ARGUMENTS. [empty
 string]
  0 [empty string] [empty string]

 You didn't post the CFC, so we can't see for sure. But are you sure
 you checked the spelling? It's HARDLINKQUANITY, not
 HARDLINKQUANTITY?

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

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsi

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331692
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: can't figure out cfc error

2010-03-12 Thread Matthew Smith

just spotted it.  Sorry.  Thank you for the help.

On Fri, Mar 12, 2010 at 12:48 PM, Matthew Smith chedders...@gmail.comwrote:

 Here's the cfc:
 cfcomponent
 cffunction name=linkgenerator access=public returntype=string
  cfargument name=productid type=numeric required=yes
 cfargument name=callkey type=numeric required=yes
  cfargument name=hardlinkstring type=string required=yes
  cfargument name=quantity type=numeric required=yes
 cfargument name=hardlinkquantity type=numeric required=yes
  cfargument name=self type=string required=yes
   cfif len(arguments.hardlinkstring) eq 0 or remote_addr contains
 192.168.1 or arguments.hardlinkquanity neq arguments.quantity
  cfset XFA.viewItemDetail = thegallery.itemDetail
 cfset itemlink =
 #arguments.self#/fuseaction/#XFA.viewItemDetail#/productID/#arguments.productID#/callKey/#arguments.callkey#/index.cfm
  cfelse
 !--- cfif remote_addr contains 192.168.1
  cfset itemlink = 
 http://redhotkittiesdotcom#arguments.hardlinkstring#http://redhotkittiesdotcom#arguments.hardlinkstring%23
 
  cfelse ---
 cfset itemlink = 
 http://www.RedHotKitties.com#arguments.hardlinkstring#http://www.RedHotKitties.com#arguments.hardlinkstring%23
 
 !--- /cfif ---
 /cfif
 cfreturn itemlink
  /cffunction
 /cfcomponent


 It's working locally.  I've uploaded to the live server and it is broken
 there.  It's like the reference is cached.

 On Fri, Mar 12, 2010 at 12:40 PM, Dave Watts dwa...@figleaf.com wrote:


  I've checked the spelling, cut and paste the reference.  Not sure what
 is
  going on...  Works locally but uploading to the live server it is
 broken.
   Is there some sort of cache for cfcs?
 
  Expression Element HARDLINKQUANITY is undefined in ARGUMENTS. [empty
 string]
  0 [empty string] [empty string]

 You didn't post the CFC, so we can't see for sure. But are you sure
 you checked the spelling? It's HARDLINKQUANITY, not
 HARDLINKQUANTITY?

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

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsi

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331693
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: can't figure out cfc error

2010-03-12 Thread Dave Watts

 missing a t which corrected.  This is on crystaltech.  How do I reset the
 cfc?

You shouldn't have to do anything. Just publishing a new file should
work, unless you're caching the CFC instance in memory - and it
doesn't appear that you're doing that.

In some rare cases, you may have to delete the compiled CFC from the
server. You can see the name of that CFC from the stack trace:

cfhardlinkgenerator2ecfc446576818$funcLINKGENERATOR

Each method within a CFC is actually compiled as a separate class. By
default, these live in \coldfusion9\wwwroot\WEB-INF\cfclasses, I
think.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsit

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331694
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: onsessionstart not being called with j2ee session variables

2010-03-12 Thread Scott Brady

Nope. (I had done everything fresh except for actually deleting the
jsessionid cookies, but removing all of my cookies didn't fix the
issue)

Any other things?

We can put in some kludge code in onrequeststart() to look for the
existence of one of the session variables and manually call
onsesionstart() if they don't exist, but I'm not a huge fan of that.

Scott

On Fri, Mar 12, 2010 at 10:52 AM, Dave Watts dwa...@figleaf.com wrote:


 You may already have an active J2EE session on that server. Try
 clearing your cookies first.

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

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-autho

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331695
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: onsessionstart not being called with j2ee session variables

2010-03-12 Thread Jochem van Dieten

On Fri, Mar 12, 2010 at 6:35 PM, Scott Brady wrote:
 It looks like if we check use j2ee session variables in the admin,
 the our Application.cfc's onSessionStart() isn't called.  (I put a
 dump and an abort in onSessionStart() to verify it).

 cfcomponent
        cfset this.sessionManagement = true
        cfset this.sessionTimeout = CreateTimeSpan(0,0,20,0) /

        cffunction name=onSessionStart
                cfdump var=here
                cfabort
        /cffunction
 /cfcomponent

Doesn't your app have a name?

Jochem


-- 
Jochem van Dieten
http://jochem.vandieten.net/

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331696
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: onsessionstart not being called with j2ee session variables

2010-03-12 Thread Scott Brady

Ugh. I knew it was something obvious.

I swear it's not my code. I'm just troubleshooting. :)

Thanks!

Scott

On Fri, Mar 12, 2010 at 12:19 PM, Jochem van Dieten joch...@gmail.com wrote:


 Doesn't your app have a name?

 Jochem


-- 
-
Scott Brady
http://www.scottbrady.net/

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331697
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Development Apps - Does anyone use homesite still?

2010-03-12 Thread ben alembick

Ive just tried comparing speeds of cfbuilder, cfeclipse  dreamweaver on
OSX

Opening folders:
cfelclipse take 45 seconds to load a ftp folder up
cfbuilder takes around 8-10 seconds
dreamweaver takes 2 seconds

Opening file:
cfelclipse i gave up trying to find a file it took so long
cfbuilder takes 3 seconds to open a file
dreamweaver takes about 4

Cfeclipses ftp isnt even worth considering, whats that all about.

Is it wrong of me to contemplate switching to dreamweaver, I remember years
ago (back in the mx days) that dreamweaver used to do some crazy stuff to my
code like switching cfoutputs close tags with close cfif 9very annoying).

Anyones views would be great, i really wanted to get into cfeclipse but the
ftp is awfull.

Please, please any views



On 10 March 2010 05:30, denstar valliants...@gmail.com wrote:


 Hey Christian!

 I should have said something the other day, but the select tag stuff
 works on HTML elements too, in the latest CFEclipse preview release.
 I broke the formatter putting it in, but I've got unit tests for the
 formatting, so me no worry long.

 Still need to add a context menu for tag select, and edit tag still
 only works on CFML elements, but hey, we're getting there.

 The awesome part is that I can use what I used to do the tag
 selection, for doing that expand tag selection stuff you guys were
 talking about.  Ctrl+] expanding outwards from the selected tag.

 Next is writing some unit tests for the proposal stuff, so we can nail
 that down, instead of flying the helicopter, as it were.

 1.4.0 should be a pretty kick'n release.

 --
 Without struggle, no progress and no result. Every breaking of habit
 produces a change in the machine.
 George Gurdjieff

 On Tue, Mar 9, 2010 at 10:42 AM, Christian N. Abad wrote:
 
  Ben:
 
  I'm in the same boat as you!  (...Seriously...)
 
  I've been using HomeSite+ (HS+) for YEARS, since I started working with
 CF
  4.52!  I have tried repeatedly to make the transition to Aptana /
 CFEclipse
  and now CFBuilder countless times, only to come back running to HS+.  It
  just works and it works FAST!  It's PERFECT for me...
 
  My biggest issues with moving away from HS+ is that the functionality
 that I
  use the most, like Select Full Tag and Edit Tag don't work nearly as
  well - or at all - in the aforementioned other editors.  It's plain and
  simple; I can't work efficiently without this functionality.
 
  However, I've been actively participating with the CFEclipse Team via
 their
  Google Group and they have been listening to my feedback and even
  incorporating my needs into their nightly builds.  In other words, they
 are
  listening and actually implementing what I need.  We're not 100% there
 yet,
  but we're getting closer with each nightly build.  With any patience
  diligence, I will be able to move to CFEclipse within a month or two...
 
  So, my advice to you is to join their Google Group and present your needs
 to
  the CFEclipse Team, and who knows - maybe they will build you the tool
 that
  you need.  http://groups.google.com/group/cfeclipse-users
 
  Just my $.02!
 
  G

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331698
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Need Ajax Combobox

2010-03-12 Thread sandeep saini

Hi,

I need ColdFusion Ajax Combobox. I should be able to enter text and based on 
that the options should populate dynamically.

Thanks


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331699
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Development Apps - Does anyone use homesite still?

2010-03-12 Thread mark

I feel like I should hang my head when I say this, but I really like
Dreamweaver.  I intend to give cfBuilder a try because of the tight
integration with Flex, but Dreamweaver works well for me.

Mark

-Original Message-
From: ben alembick [mailto:benalemb...@gmail.com] 
Sent: Friday, March 12, 2010 3:06 PM
To: cf-talk
Subject: Re: Development Apps - Does anyone use homesite still?


Ive just tried comparing speeds of cfbuilder, cfeclipse  dreamweaver on
OSX

Opening folders:
cfelclipse take 45 seconds to load a ftp folder up
cfbuilder takes around 8-10 seconds
dreamweaver takes 2 seconds

Opening file:
cfelclipse i gave up trying to find a file it took so long
cfbuilder takes 3 seconds to open a file
dreamweaver takes about 4

Cfeclipses ftp isnt even worth considering, whats that all about.

Is it wrong of me to contemplate switching to dreamweaver, I remember years
ago (back in the mx days) that dreamweaver used to do some crazy stuff to my
code like switching cfoutputs close tags with close cfif 9very annoying).

Anyones views would be great, i really wanted to get into cfeclipse but the
ftp is awfull.

Please, please any views



On 10 March 2010 05:30, denstar valliants...@gmail.com wrote:


 Hey Christian!

 I should have said something the other day, but the select tag stuff
 works on HTML elements too, in the latest CFEclipse preview release.
 I broke the formatter putting it in, but I've got unit tests for the
 formatting, so me no worry long.

 Still need to add a context menu for tag select, and edit tag still
 only works on CFML elements, but hey, we're getting there.

 The awesome part is that I can use what I used to do the tag
 selection, for doing that expand tag selection stuff you guys were
 talking about.  Ctrl+] expanding outwards from the selected tag.

 Next is writing some unit tests for the proposal stuff, so we can nail
 that down, instead of flying the helicopter, as it were.

 1.4.0 should be a pretty kick'n release.

 --
 Without struggle, no progress and no result. Every breaking of habit
 produces a change in the machine.
 George Gurdjieff

 On Tue, Mar 9, 2010 at 10:42 AM, Christian N. Abad wrote:
 
  Ben:
 
  I'm in the same boat as you!  (...Seriously...)
 
  I've been using HomeSite+ (HS+) for YEARS, since I started working with
 CF
  4.52!  I have tried repeatedly to make the transition to Aptana /
 CFEclipse
  and now CFBuilder countless times, only to come back running to HS+.  It
  just works and it works FAST!  It's PERFECT for me...
 
  My biggest issues with moving away from HS+ is that the functionality
 that I
  use the most, like Select Full Tag and Edit Tag don't work nearly as
  well - or at all - in the aforementioned other editors.  It's plain and
  simple; I can't work efficiently without this functionality.
 
  However, I've been actively participating with the CFEclipse Team via
 their
  Google Group and they have been listening to my feedback and even
  incorporating my needs into their nightly builds.  In other words, they
 are
  listening and actually implementing what I need.  We're not 100% there
 yet,
  but we're getting closer with each nightly build.  With any patience
  diligence, I will be able to move to CFEclipse within a month or two...
 
  So, my advice to you is to join their Google Group and present your
needs
 to
  the CFEclipse Team, and who knows - maybe they will build you the tool
 that
  you need.  http://groups.google.com/group/cfeclipse-users
 
  Just my $.02!
 
  G

 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331700
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: can't figure out cfc error

2010-03-12 Thread Matthew Smith

Thank you, Dave.  Appreciated.

On Fri, Mar 12, 2010 at 12:54 PM, Dave Watts dwa...@figleaf.com wrote:


  missing a t which corrected.  This is on crystaltech.  How do I reset
 the
  cfc?

 You shouldn't have to do anything. Just publishing a new file should
 work, unless you're caching the CFC instance in memory - and it
 doesn't appear that you're doing that.

 In some rare cases, you may have to delete the compiled CFC from the
 server. You can see the name of that CFC from the stack trace:

 cfhardlinkgenerator2ecfc446576818$funcLINKGENERATOR

 Each method within a CFC is actually compiled as a separate class. By
 default, these live in \coldfusion9\wwwroot\WEB-INF\cfclasses, I
 think.

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

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsit

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331701
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


using name of query in QofQ form custom tag

2010-03-12 Thread Tony Bentley

Okay here is what I am trying to do:

tag:customtag query=testquery


customtag:

cfquery dbtype=query name=#attributes.query#
select * from #attributes.query#
/cfquery


Obviously the name=#attributes.query# does not work. 

Any ideas? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331702
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Development Apps - Does anyone use homesite still?

2010-03-12 Thread Gerald Guido

You might want to check out the Aptana Plugin. It's FTP client pretty
decent. Seeing that CFBuilder is based on Aptana I will say it be a safe bet
that they both use the same engine (the icons that they use are the same as
well). I have read good things about the Aptana client on various CF blargs.
I just forget where but here are a couple of posts I dug up.

http://www.webtrenches.com/post.cfm/finally-solid-ftp-in-eclipse
http://blog.crankybit.com/better-ftp-support-in-eclipse-via-aptana/

another $.02 

G!

On Fri, Mar 12, 2010 at 3:06 PM, ben alembick benalemb...@gmail.com wrote:


 Ive just tried comparing speeds of cfbuilder, cfeclipse  dreamweaver on
 OSX

 Opening folders:
 cfelclipse take 45 seconds to load a ftp folder up
 cfbuilder takes around 8-10 seconds
 dreamweaver takes 2 seconds

 Opening file:
 cfelclipse i gave up trying to find a file it took so long
 cfbuilder takes 3 seconds to open a file
 dreamweaver takes about 4

 Cfeclipses ftp isnt even worth considering, whats that all about.

 Is it wrong of me to contemplate switching to dreamweaver, I remember years
 ago (back in the mx days) that dreamweaver used to do some crazy stuff to
 my
 code like switching cfoutputs close tags with close cfif 9very annoying).

 Anyones views would be great, i really wanted to get into cfeclipse but the
 ftp is awfull.

 Please, please any views



 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331703
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: using name of query in QofQ form custom tag

2010-03-12 Thread G Allen R Souliere

Is it possible that you need to use:

name=#Evaluate(attributes.query)#

Allen

On 12-Mar-10, at 12:19 PM, Tony Bentley wrote:


 Okay here is what I am trying to do:

 tag:customtag query=testquery


 customtag:

 cfquery dbtype=query name=#attributes.query#
 select * from #attributes.query#
 /cfquery


 Obviously the name=#attributes.query# does not work.

 Any ideas?

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331704
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Development Apps - Does anyone use homesite still?

2010-03-12 Thread Eric Nicholas Sweeney

I have not had any problems with dreamweaver (CS3 CS4) closing tags with the
wrong tags... 

I think there may have been issues in the past with switching to and from
the design mode - but I don't use that very often (if at all) - I mainly
use the code view.

I like DW - use it all the time.

- N



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331705
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Need Ajax Combobox

2010-03-12 Thread Barney Boisvert

jQueryUI has a pretty nice autocomplete widget that I use for most stuff:
http://jqueryui.com/demos/autocomplete/

I wrote this combobox 5-6 years ago (because there weren't any freely
available implementations that didn't suck) and though it predates
both jQuery and Prototype, still use it when jQueryUI's doesn't cut
the mustard:
http://www.barneyb.com/barneyblog/projects/combobox/

Both support local and remote completions.  Last time I checked you
have to hack the jQuery one if you want to send back rich options
(e.g., with embeded images).

cheers,
barneyb

On Fri, Mar 12, 2010 at 12:09 PM, sandeep saini sandeep00...@yahoo.com wrote:

 Hi,

 I need ColdFusion Ajax Combobox. I should be able to enter text and based on 
 that the options should populate dynamically.

 Thanks


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331706
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: using name of query in QofQ form custom tag

2010-03-12 Thread Barney Boisvert

You need to do this:

cfset myQuery = caller[attributes.query] /
cfquery dbtype=query name=caller.#attributes.query#
select * from myQuery
/cfquery

The first line pulls the query object from the caller scope down into
the current variables scope where the QofQ can successfully
dereference it.  If you'd like to preserve the original query name
(perhaps for nicer error messages), you can do it this way:

cfset variables[attributes.query] = caller[attributes.query] /
cfquery dbtype=query name=caller.#attributes.query#
select * from #attributes.query#
/cfquery

Note also the addition of caller. in the name attribute of the
CFQUERY tag, which you didn't explicit state you wanted, but judging
from the code, I suspect is the case.

cheers,
barneyb

On Fri, Mar 12, 2010 at 12:19 PM, Tony Bentley t...@tonybentley.com wrote:

 Okay here is what I am trying to do:

 tag:customtag query=testquery


 customtag:

 cfquery dbtype=query name=#attributes.query#
 select * from #attributes.query#
 /cfquery


 Obviously the name=#attributes.query# does not work.

 Any ideas?



-- 
Barney Boisvert
bboisv...@gmail.com
http://www.barneyb.com/

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331707
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Development Apps - Does anyone use homesite still?

2010-03-12 Thread Jen Perkins McVicker

I use Dreamweaver CS4.  I've been using DW for years, mainly because of the
good SFTP integration, but I don't love it.  It crashes on me regularly.
And what I miss most of all is the remote server search from CF Studio.  SO
irritating that they cut this out when they moved to Dreamweaver.

Jen Perkins McVicker
Adobe Certified ColdFusion Developer
jen.mcvic...@gmail.com
-Original Message-
From: ben alembick [mailto:benalemb...@gmail.com] 
Sent: Friday, March 12, 2010 12:06 PM
To: cf-talk
Subject: Re: Development Apps - Does anyone use homesite still?


Ive just tried comparing speeds of cfbuilder, cfeclipse  dreamweaver on
OSX

Opening folders:
cfelclipse take 45 seconds to load a ftp folder up
cfbuilder takes around 8-10 seconds
dreamweaver takes 2 seconds

Opening file:
cfelclipse i gave up trying to find a file it took so long
cfbuilder takes 3 seconds to open a file
dreamweaver takes about 4

Cfeclipses ftp isnt even worth considering, whats that all about.

Is it wrong of me to contemplate switching to dreamweaver, I remember years
ago (back in the mx days) that dreamweaver used to do some crazy stuff to my
code like switching cfoutputs close tags with close cfif 9very annoying).

Anyones views would be great, i really wanted to get into cfeclipse but the
ftp is awfull.

Please, please any views



On 10 March 2010 05:30, denstar valliants...@gmail.com wrote:


 Hey Christian!

 I should have said something the other day, but the select tag stuff
 works on HTML elements too, in the latest CFEclipse preview release.
 I broke the formatter putting it in, but I've got unit tests for the
 formatting, so me no worry long.

 Still need to add a context menu for tag select, and edit tag still
 only works on CFML elements, but hey, we're getting there.

 The awesome part is that I can use what I used to do the tag
 selection, for doing that expand tag selection stuff you guys were
 talking about.  Ctrl+] expanding outwards from the selected tag.

 Next is writing some unit tests for the proposal stuff, so we can nail
 that down, instead of flying the helicopter, as it were.

 1.4.0 should be a pretty kick'n release.

 --
 Without struggle, no progress and no result. Every breaking of habit
 produces a change in the machine.
 George Gurdjieff

 On Tue, Mar 9, 2010 at 10:42 AM, Christian N. Abad wrote:
 
  Ben:
 
  I'm in the same boat as you!  (...Seriously...)
 
  I've been using HomeSite+ (HS+) for YEARS, since I started working with
 CF
  4.52!  I have tried repeatedly to make the transition to Aptana /
 CFEclipse
  and now CFBuilder countless times, only to come back running to HS+.  It
  just works and it works FAST!  It's PERFECT for me...
 
  My biggest issues with moving away from HS+ is that the functionality
 that I
  use the most, like Select Full Tag and Edit Tag don't work nearly as
  well - or at all - in the aforementioned other editors.  It's plain and
  simple; I can't work efficiently without this functionality.
 
  However, I've been actively participating with the CFEclipse Team via
 their
  Google Group and they have been listening to my feedback and even
  incorporating my needs into their nightly builds.  In other words, they
 are
  listening and actually implementing what I need.  We're not 100% there
 yet,
  but we're getting closer with each nightly build.  With any patience
  diligence, I will be able to move to CFEclipse within a month or two...
 
  So, my advice to you is to join their Google Group and present your
needs
 to
  the CFEclipse Team, and who knows - maybe they will build you the tool
 that
  you need.  http://groups.google.com/group/cfeclipse-users
 
  Just my $.02!
 
  G

 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331708
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: using name of query in QofQ form custom tag

2010-03-12 Thread Tony Bentley

Nice Barney! I didn't even think about using caller. Thanks! 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331709
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: session variable timeout

2010-03-12 Thread Matthew Smith

Cool.  Thank you.

On Fri, Mar 12, 2010 at 12:39 PM, Mike Chabot mcha...@gmail.com wrote:


 The timer is reset when the session object is referenced, which
 happens on every page request. ColdFusion touches the session object
 on every ColdFusion page request, even if you don't specifically do
 this in your code. The session timer is not reset if you access file
 types that aren't served by CF, such as HTML files.

 There are some hidden functions which allow you to list out every
 session for every user within the application, not just the current
 session for the current user. So you could see, for example, that
 there are 20 active sessions on your server and you can see details
 about each session. One side effect of making use of this unofficial
 ability is that all the timers for all the user session get reset when
 you list them out like this, simply because you touched every session
 in order to list them out.

 Below is a CFC function that you can ping every X minutes from inside
 of an Adobe Flex app in order to keep the session alive on the
 ColdFusion server. Notice how the function is empty, yet it does the
 job.
 cffunction name=keepSessionAlive access=remote output=no
!--- Do nothing here ---
 /cffunction

 -Mike Chabot

 On Fri, Mar 12, 2010 at 12:43 PM, Matthew Smith chedders...@gmail.com
 wrote:
 
  Ok, just to clarify, does the count down restart with the load of
  application.cfm, or is it when a session variables is referenced?
 
  On Fri, Mar 12, 2010 at 9:42 AM, Mike Chabot mcha...@gmail.com wrote:
 
 
  Kinda and yes. Simply accessing the page within the timeout limit
  should maintain the session. Your code in the second question should
  be an adequate check of whether or not the session is active. All
  session variables inside the user's session would expire at the same
  time. StructKeyExists(session,loggedin) is more efficient than
  IsDefined().
 
  -Mike Chabot
 
  On Fri, Mar 12, 2010 at 10:22 AM, Matthew Smith chedders...@gmail.com
  wrote:
  
   I think I know this, but want to verify.
  
   If I do a isdefined on one session variable, is the timeout for all
  session
   variables reset?
  
   So if I have a isdefined(session.loggedin) check and it is true, I
 can
   assume that all session variables are still defined, assuming they
 were
   coming into that portion of the code?
  
   Thanks!
 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331710
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Old CF doc needs to learn new Java tricks

2010-03-12 Thread Reed Powell

Thanks for the note John - I didn't meant to imply that I was new to the 
AdWords API.  I have been programming against it from CF for a long time, 
mostly using CFXML and CFHTTP (since CFINVOKE etc weren't around when we 
started writing this stuff).  But with the total rewrite/rearchitecture for 
V2009 of the AdCenter API I'm weighing rewriting all of my stuff from scratch, 
or just interfacing to their Java client library and letting it do the heavy 
lifting in talking to their webservice. Especially since they haven't done a 
lot in the way of documenting what the actual SOAP requests look like.  Have 
you upgraded your code to V2009?  There's only 5 weeks left until V13 sunsets, 
so I gotta get rocking and rolling on this. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331711
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Easy Regex question?

2010-03-12 Thread Che Vilnonis

This should be easy.
How do I remove all text between table/table tags from a larger string?

Thanks, Che



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331712
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Easy Regex question?

2010-03-12 Thread Che Vilnonis

Scratch that... I figured it out!

-Original Message-
From: Che Vilnonis [mailto:ch...@asitv.com] 
Sent: Friday, March 12, 2010 4:25 PM
To: 'cf-talk@houseoffusion.com'
Subject: Easy Regex question?

This should be easy.
How do I remove all text between table/table tags from a larger string?

Thanks, Che



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331713
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


JSON object error

2010-03-12 Thread sandeep saini

guys,

I am getting following error when i access a CFC from Bind attribute of 
CFSELECT-

Bind failed for select box,bind value is not a 2 D array or valid serialized 
query.

Here is my component:
_
cfcomponent
cffunction name=rptData access=remote returntype=string 
returnFormat=JSON output=yes
cfargument name=idVal type=numeric required=yes
cfquery name=rptName datasource=advrpt
select REPORT_NAME from advance.entity t
where t.ID_NUMBER  cfqueryparam cfsqltype=cf_sql_varchar 
value=#idVal#
/cfquery
cfset jsonObj=#SerializeJSON(rptName)#
cfreturn jsonObj/
/cffunction
/cfcomponent
_



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331714
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Old CF doc needs to learn new Java tricks

2010-03-12 Thread John M Bliss

Yes, I upgraded to v2009. Not too hard but I also was annoyed by lack of
sample SOAP reqs and have told Google so.

On Mar 12, 2010 3:23 PM, Reed Powell r...@powellgenealogy.com wrote:


Thanks for the note John - I didn't meant to imply that I was new to the
AdWords API.  I have been programming against it from CF for a long time,
mostly using CFXML and CFHTTP (since CFINVOKE etc weren't around when we
started writing this stuff).  But with the total rewrite/rearchitecture for
V2009 of the AdCenter API I'm weighing rewriting all of my stuff from
scratch, or just interfacing to their Java client library and letting it do
the heavy lifting in talking to their webservice. Especially since they
haven't done a lot in the way of documenting what the actual SOAP requests
look like.  Have you upgraded your code to V2009?  There's only 5 weeks left
until V13 sunsets, so I gotta get rocking and rolling on this.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331715
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: JSON object error

2010-03-12 Thread brad

Is the server call erroring?  Use FireBug or MS Fiddler to capture the
actual ajax request and confirm the status code and response body.

~Brad

 Original Message 
Subject: JSON object error
From: sandeep saini sandeep00...@yahoo.com
Date: Fri, March 12, 2010 3:22 pm
To: cf-talk cf-talk@houseoffusion.com


guys,

I am getting following error when i access a CFC from Bind attribute of
CFSELECT-

Bind failed for select box,bind value is not a 2 D array or valid
serialized query.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331716
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JSON object error

2010-03-12 Thread sandeep saini

When I use 
http://127.0.0.1:8500/prototype/getData.cfc?method=rptDataidval=04; 
in URL, I get following displayed in browser-
{\COLUMNS\:[\REPORT_NAME\],\DATA\:[[\AAA\],[\BBB\]]} 

Looks like the JSON object is properly get created. Then not sure whats wrong 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331717
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JSON object error

2010-03-12 Thread Stephane Vantroyen

Hello, you should return it as 'plain', and not as json (it 'double jsonencode' 
it then)


 When I use http://127.0.0.1:8500/prototype/getData.
 cfc?method=rptDataidval=04 in URL, I get following displayed 
 in browser-
 {\COLUMNS\:[\REPORT_NAME\],\DATA\:[[\AAA\],[\BBB\]]} 
 
 Looks like the JSON object is properly get created. Then not sure 
 whats wrong 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331718
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: JSON object error

2010-03-12 Thread brad

I think you are double encoding your JSON.  You don't need to put
returnFormat=JSON in the component definition AND use the
SerializeJSON() function.  Pick one.  Your CFC is returning JSON- but it
is a JSON representation of a string that also just so happens to be a
JSON representation of your result set.

~Brad

 Original Message 
Subject: Re: JSON object error
From: sandeep saini sandeep00...@yahoo.com
Date: Fri, March 12, 2010 3:41 pm
To: cf-talk cf-talk@houseoffusion.com


When I use
http://127.0.0.1:8500/prototype/getData.cfc?method=rptDataidval=04;
in URL, I get following displayed in browser-
{\COLUMNS\:[\REPORT_NAME\],\DATA\:[[\AAA\],[\BBB\]]} 

Looks like the JSON object is properly get created. Then not sure whats
wrong 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331719
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Easy Regex question?

2010-03-12 Thread Carol F

do you mind sharing the solution please?

On Fri, Mar 12, 2010 at 1:28 PM, Che Vilnonis ch...@asitv.com wrote:


 Scratch that... I figured it out!

 -Original Message-
 From: Che Vilnonis [mailto:ch...@asitv.com]
 Sent: Friday, March 12, 2010 4:25 PM
 To: 'cf-talk@houseoffusion.com'
 Subject: Easy Regex question?

 This should be easy.
 How do I remove all text between table/table tags from a larger string?

 Thanks, Che



 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331720
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Easy Regex question?

2010-03-12 Thread andy matthews

Should be able to do this:

REMatchNoCase('table[^]+/table', myString)


-Original Message-
From: Carol F [mailto:cfcn...@gmail.com] 
Sent: Friday, March 12, 2010 6:52 PM
To: cf-talk
Subject: Re: Easy Regex question?


do you mind sharing the solution please?

On Fri, Mar 12, 2010 at 1:28 PM, Che Vilnonis ch...@asitv.com wrote:


 Scratch that... I figured it out!

 -Original Message-
 From: Che Vilnonis [mailto:ch...@asitv.com]
 Sent: Friday, March 12, 2010 4:25 PM
 To: 'cf-talk@houseoffusion.com'
 Subject: Easy Regex question?

 This should be easy.
 How do I remove all text between table/table tags from a larger
string?

 Thanks, Che



 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331721
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JSON object error

2010-03-12 Thread sandeep saini

Big thanks to Brad and Stephane. It did work properly now once I set format as 
Plain.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331722
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm