Re: cfheader and pushing a file to the user

2010-10-18 Thread Les Mizzell

On 10/18/2010 7:53 PM, Michael Grant wrote:
>
> 
> 

I had that actually - not using the "type" though as there's a number of 
different file types available.

Turns out it was related to the server issue that was causing a query 
weirdness I was asking about earlier where the two below statements were 
giving different results...

WHERE
   (paID=)
AND (nl_status = 'published' OR nl_status = 'archive

WHERE
   paID=
AND (nl_status = 'published' OR nl_status = 'archive


Restarted the server - all is good.

Hmmm...

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338319
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9 / IIS 7 Issues

2010-10-18 Thread Andrew Scott

That is not needed for ColdFusion 9.01, but I am sure it is needed for
ColdFusion 9.


Regards,
Andrew Scott
http://www.andyscott.id.au/


> -Original Message-
> From: Eric Cobb [mailto:cft...@ecartech.com]
> Sent: Tuesday, 19 October 2010 7:13 AM
> To: cf-talk
> Subject: Re: CF 9 / IIS 7 Issues
> 
> 
> Control Panel > Programs & Features > Turn Windows Features On or Off  >
> Internet Information Services > Web Management Tools > IIS 6 Management
> Compatibility > "IIS Metabase and IIS 6 configuration compatibility"
> needs to be checked.
> 
> Thanks,
> 
> Eric Cobb
> ECAR Technologies, LLC
> http://www.ecartech.com
> http://www.cfgears.com
> 
> 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338318
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Fckeditor html vs xhtml

2010-10-18 Thread Terry Troxel

Is there anyway to configure Fckditor so when it writes richtext in CF8 it
switches between shorttag and longtag?

Ie:   foe example.

 

Terry




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338317
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-18 Thread Sean Corfield

FWIW, you'll probably find a speed improvement if you have
output="false" on cfcomponent and cffunction...

On Mon, Oct 18, 2010 at 6:50 PM, Bryn Parrott
 wrote:
>
> For those to whom it might be useful, here is the wrapper cfc I used for 
> java.io.FileWriter which, in the application I was concerned with, attained a 
> 10x performance improvement over  under condition 
> that over 20,000 lines needed to be written out to a text file.
> It aint nuthin special, but might save someone a few minutes...
>
>
> 
>
>         output="Yes">
>                
>                http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338316
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-18 Thread Gerald Guido

Thanx for sharing! One for the utility belt, I am sure I will be putting
this to use at one point or another. Every little bit helps you know,

G!

On Mon, Oct 18, 2010 at 9:50 PM, Bryn Parrott  wrote:

>
> For those to whom it might be useful, here is the wrapper cfc I used for
> java.io.FileWriter which, in the application I was concerned with, attained
> a 10x performance improvement over  under
> condition that over 20,000 lines needed to be written out to a text file.
> It aint nuthin special, but might save someone a few minutes...
>
>
> 
>
> output="Yes">
>
>
>
> output="">
>
>  "java.io.FileWriter").init(arguments.filename, true)>
>
>
>
>
> output="yes">
>
>
> len(arguments.fileData))>
>
>
>
>
> output="yes">
>
>
>
>
>
>
>
>
>
> output="yes">
>
>
>
>
>
> 
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338315
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-18 Thread Bryn Parrott

For those to whom it might be useful, here is the wrapper cfc I used for 
java.io.FileWriter which, in the application I was concerned with, attained a 
10x performance improvement over  under condition 
that over 20,000 lines needed to be written out to a text file.
It aint nuthin special, but might save someone a few minutes...










 


























   

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338314
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-18 Thread Bryn Parrott

> You still didn't answer the question. What is the version number of 
> the JVM being used? This is very important.  Anything less than 1.6.
> 0_10 is going to have performance issues.
> 

Hi Wil,

In regards the JVM version, the original version I saw was 1.6.0_17.
I changed it to use the Adobe distribution version for CF 8.0.0, which got me 
1.6.0_01
and that had a 3 second better performance than the original, on the original 
code that utilised .

Now on that same 1.6.0_01 JVM version, with calls to java.io.filewriter 
replacing those to cffile, I get run times of 8 seconds (10x faster).

Finally, I change the JVM version back to 1.6.0_17 and I get a run time of 12 
seconds.

So I conclude that unexpectedly, the older version of JVM is faster doing file 
io than the newer version, and of course java.io.Filewriter is faster than 



Unfortunately I am unable to spend further time on this, but again, thanks for 
your involvement and contribution.  I will post the cfc encapsulating the calls 
to java.io.filewriter under separate cover for those that want it.  Nothing 
special but might save someone some time.

Cheers,
Bryn 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338313
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-18 Thread Bryn Parrott

>+1,000,000 for Jame's theory about string concatenation. CF is very
>inefficient at this. Doesn't matter much for small stuff and a few
>repeats, but for bulk, a Java buffer is the way to go.
>

Thanks to all those that ventured suggestions ...

There is a hint  at what the eventual solution turned out 
to be.
By the way what the code was doing was to assemble a string out of 
from constant strings and dynamic data from queries and then writing that out 
to a file using .

I replaced calls to  with calls to java.io.FileWriter and performamce 
improved on the benchmark data from 74 seconds to 8 seconds.  Pretty much a 
smoking in the hand of  . I would say.

The string concanenation inherent in my code is still there as it must be to 
perform the function I need.

...Cheers... 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338312
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-18 Thread Bryn Parrott

>+1,000,000 for Jame's theory about string concatenation. CF is very
>inefficient at this. Doesn't matter much for small stuff and a few
>repeats, but for bulk, a Java buffer is the way to go.
>

Thanks to all those that ventured suggestions ...

There is a hint  at what the eventual solution turned out 
to be.
By the way what the code was doing was to assemble a string out of 
from constant strings and dynamic data from queries and then writing that out 
to a file using .

I replaced calls to  with calls to java.io.FileWriter and performamce 
improved on the benchmark data from 74 seconds to 8 seconds.  Pretty much a 
smoking gun pointed at  I would say.

The string concanenation inherent in my code is still there as it must be to 
perform the function I need.

...Cheers... 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338311
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Dynamically resizing a cfwindow?

2010-10-18 Thread Michael Grant

If it's inside the window why not try cutting CF out of it?





self.resizeTo(#imgInfo.width#,#imgInfo.height#);






~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338310
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfheader and pushing a file to the user

2010-10-18 Thread Michael Grant






On Mon, Oct 18, 2010 at 4:48 PM, Les Mizzell  wrote:

>
> I've got a section of a site where a user can access a number of logo
> downloads, including tiff, jpeg, ai, or gif formats.
>
> There are thumbs on the download page, with links on each thumb like:
>
> 
>
> This takes them to the resource_download processing page (located in the
> same directory as the files to be downloaded), which runs a query to
> record which logo they downloaded along with a date/time stamp.
>
> What is supposed to happen next is that the selected file is pushed to
> them so they can save it. This is where I'm having problems.
>
> So, after the query runs:
>
> NAME="content-disposition"
>value="attachment;
>filename=#get.logo#">
>
> Looks correct so far...
>
> But, let's say I selected a jpg. The dialog comes up ("SAVE" or "OPEN"),
> I select "SAVE", and when I try to open the file in Photoshop I get an
> error "Could not complete your request because a JPEG marker segment
> length is too short. The file may be truncated or incomplete.
>
> If I just tell it to "OPEN" the file instead of saving - I get a blank doc.
>
> If I grab the file FTP from the server, it seems to be fine and
> saves/opens properly.
>
> What's wrong here? Suggestions?
>
>
>
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338309
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Apache Axis Upgrade

2010-10-18 Thread Russ Michaels

I have upgraded apache axis before to resolve a problem and never had any
new issues as a result. As long as you check all your web services are
working afterwards you should be fine, and its easy enough to rollback.

On Mon, Oct 18, 2010 at 11:07 PM, denstar  wrote:

>
> On Mon, Oct 18, 2010 at 2:32 PM, Donnie Carvajal wrote:
> >
> > I'm running CF 9 and the default version of Apache Axis is 1.2.  I would
> like to
> > upgrade Apache Axis to 1.4.  Does anyone know of any potential issues
> with
> > upgrading the version of Apache Axis and CF 9?
>
> Offhand, it'll probably affect web service related stuff.  Potentially
> hazardous, let's say.
>
> Can you use a javaloader instead?
>
> Otherwise, replace it, and run some tests, and see if it affects
> anything you're using.
>
> :Den
>
> --
> There are no facts, only interpretations.
> Friedrich Nietzsc
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338308
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Apache Axis Upgrade

2010-10-18 Thread denstar

On Mon, Oct 18, 2010 at 2:32 PM, Donnie Carvajal wrote:
>
> I'm running CF 9 and the default version of Apache Axis is 1.2.  I would like 
> to
> upgrade Apache Axis to 1.4.  Does anyone know of any potential issues with
> upgrading the version of Apache Axis and CF 9?

Offhand, it'll probably affect web service related stuff.  Potentially
hazardous, let's say.

Can you use a javaloader instead?

Otherwise, replace it, and run some tests, and see if it affects
anything you're using.

:Den

-- 
There are no facts, only interpretations.
Friedrich Nietzsc

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338307
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: What difference does the parenthesis make?

2010-10-18 Thread Eric Roberts

I think SQL server adds them to enforce the order of operations (that my
guess anyway).  The query was probably tested in either 2005 or 2008
Enterprise manager or whatever they call it now.  I have noticed that Query
Analyzer will rewrite your queries when you run them.  I wish there was a
way to shut that off.

-Original Message-
From: Bryan Stevenson [mailto:br...@electricedgesystems.com] 
Sent: Monday, October 18, 2010 4:36 PM
To: cf-talk
Subject: Re: What difference does the parenthesis make?


I'd second a  double check of cachingand I'd restart the CF services
between changes and test again.

I mention the latter because every once in a while CF just doesn't "see"
changes at all or correctly.  It's like it's not seeing the cource has
changed and is not re-compiling.

Anyways...that is one thing I always consider when queries are involved
and I know the code should work or behave differently.

Cheers

On Mon, 2010-10-18 at 16:03 -0400, Les Mizzell wrote:

> On 10/18/2010 3:33 PM, Michael Grant wrote:
> >
> > In this case specifically the parenthesis should make no difference at
all.
> > Are you sure the two queries are exactly as you've shown them?
> 
> Yup.
> 
> Database is SQL Server
> 
> I can run the query with the paranths, and get the expected results.
> Edit the same page to remove them, no results.
> 
> I can also substitute the variable "#law.paid#" with a known ID integer, 
> and get the same results.
> 
> paID=
> 
> Weird...
> 
> SELECT nl_id
>   FROM vw_newsletters
>   WHERE
> (paID=)
>   AND (nl_status = 'published' OR nl_status = 'archived')
> 
> 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338306
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfheader and pushing a file to the user

2010-10-18 Thread Dave Watts

> I've got a section of a site where a user can access a number of logo
> downloads, including tiff, jpeg, ai, or gif formats.
>
> There are thumbs on the download page, with links on each thumb like:
>
> 
>
> This takes them to the resource_download processing page (located in the
> same directory as the files to be downloaded), which runs a query to
> record which logo they downloaded along with a date/time stamp.
>
> What is supposed to happen next is that the selected file is pushed to
> them so they can save it. This is where I'm having problems.
>
> So, after the query runs:
>
>     NAME="content-disposition"
>    value="attachment;
>    filename=#get.logo#">
>
> Looks correct so far...
>
> But, let's say I selected a jpg. The dialog comes up ("SAVE" or "OPEN"),
> I select "SAVE", and when I try to open the file in Photoshop I get an
> error "Could not complete your request because a JPEG marker segment
> length is too short. The file may be truncated or incomplete.
>
> If I just tell it to "OPEN" the file instead of saving - I get a blank doc.

You have a CFCONTENT after the CFHEADER to actually serve the file,
right? CFHEADER doesn't actually serve the file.

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 o

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338305
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What difference does the parenthesis make?

2010-10-18 Thread Les Mizzell

On 10/18/2010 4:40 PM, Wil Genovese wrote:
>
> Have you tried this directly in the DB from SQL Manager?  If it still happens 
> then ColdFusion is not part of the issue.

Directly in the DB will pull the expected/correct data set either way. 
Looks like the server needs a reboot!

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338304
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 / IIS 7 Issues

2010-10-18 Thread Russ Michaels

cf 9.0.1 now supports iis7 natively, u no longer need the IIS6 compatibility
tools.

make sure the cf extensions are enabled under "ISAPI and CGI Restrictions".
make sure the handler mappings have been created, they will look like
"AboMapperCustom-x", the important one is the * handler which points tot
he wilcard application mapping.




-- 

--
Russ Michaels
www.cfmldeveloper.com - Supporting the CF community since 1999
FREE ColdFusion/Railo hosting for developers.

blog: www.michaels.me.uk


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338303
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


cfheader and pushing a file to the user

2010-10-18 Thread Les Mizzell

I've got a section of a site where a user can access a number of logo 
downloads, including tiff, jpeg, ai, or gif formats.

There are thumbs on the download page, with links on each thumb like:



This takes them to the resource_download processing page (located in the 
same directory as the files to be downloaded), which runs a query to 
record which logo they downloaded along with a date/time stamp.

What is supposed to happen next is that the selected file is pushed to 
them so they can save it. This is where I'm having problems.

So, after the query runs:



Looks correct so far...

But, let's say I selected a jpg. The dialog comes up ("SAVE" or "OPEN"), 
I select "SAVE", and when I try to open the file in Photoshop I get an 
error "Could not complete your request because a JPEG marker segment 
length is too short. The file may be truncated or incomplete.

If I just tell it to "OPEN" the file instead of saving - I get a blank doc.

If I grab the file FTP from the server, it seems to be fine and 
saves/opens properly.

What's wrong here? Suggestions?





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338302
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What difference does the parenthesis make?

2010-10-18 Thread Wil Genovese

Have you tried this directly in the DB from SQL Manager?  If it still happens 
then ColdFusion is not part of the issue.


Wil Genovese
Sr. Web Application Developer/
Systems Administrator

wilg...@trunkful.com
www.trunkful.com

On Oct 18, 2010, at 3:36 PM, Bryan Stevenson wrote:

> 
> I'd second a  double check of cachingand I'd restart the CF services
> between changes and test again.
> 
> I mention the latter because every once in a while CF just doesn't "see"
> changes at all or correctly.  It's like it's not seeing the cource has
> changed and is not re-compiling.
> 
> Anyways...that is one thing I always consider when queries are involved
> and I know the code should work or behave differently.
> 
> Cheers
> 
> On Mon, 2010-10-18 at 16:03 -0400, Les Mizzell wrote:
> 
>> On 10/18/2010 3:33 PM, Michael Grant wrote:
>>> 
>>> In this case specifically the parenthesis should make no difference at all.
>>> Are you sure the two queries are exactly as you've shown them?
>> 
>> Yup.
>> 
>> Database is SQL Server
>> 
>> I can run the query with the paranths, and get the expected results.
>> Edit the same page to remove them, no results.
>> 
>> I can also substitute the variable "#law.paid#" with a known ID integer, 
>> and get the same results.
>> 
>> paID=
>> 
>> Weird...
>> 
>> SELECT nl_id
>>  FROM vw_newsletters
>>  WHERE
>>(paID=)
>>  AND (nl_status = 'published' OR nl_status = 'archived')
>> 
>> 
> 
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338301
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Dynamically resizing a cfwindow?

2010-10-18 Thread Pete Ruckelshaus

It's inline in the cfwindow.  I want to allow previous/next navigation
inside the cfwindow, and resize the window based upon the size of the image
that's being loaded in the cfwindow.  Complete code for the cfwindow page
(getAlbum method returns the data stored for the images in an album, and
includes the image name):


if (isUserInRole("Administrators,Contributors")) {
tmp.show_all = 1;
 } else {
tmp.show_all = 0;
}




 





 


ColdFusion.Window.getWindowObject('albumwin').resizeTo(#imgInfo.width#,#imgInfo.height#);

 



On Mon, Oct 18, 2010 at 10:12 AM, morgan l  wrote:

>
> Where does this js code reside? Are you trying to do this inline in the
> cfwindow's source code, or calling it as a function?
>
> Are you getting any js errors (use Firebug in Firefox to get good js error
> information)?
>
> I use the resizeTo() method, and the code you provided looks like it should
> work fine, so I have to suspect that your js isn't firing properly.
>
> On Sun, Oct 17, 2010 at 8:16 PM, Pete Ruckelshaus  >wrote:
>
> >
> > Yes, and I'm using imageInfo() to grab the dimensions of the image (the
> x,y
> > dimensions in the resizeTo()).
> >
> > On Sun, Oct 17, 2010 at 9:13 PM, Michael Grant  wrote:
> >
> > >
> > > Just to make sure, do you have that wrapped in cfoutput?
> > >
> > > On Sun, Oct 17, 2010 at 9:08 PM, Pete Ruckelshaus <
> > pruckelsh...@gmail.com
> > > >wrote:
> > >
> > > >
> > > > I'd like to be able to dynamically resize a ColdFusion window created
> > > with
> > > > cfwindow.  I haven't found anything definitive as to whether this is
> > > > possible; I did try the following:
> > > >
> > > > [script language="javascript">
> > > >
> > > >
> > > >
> > >
> >
> ColdFusion.Window.getWindowObject('albumwin').resizeTo(#imgInfo.width#,#imgInfo.height#);
> > > > [/script>
> > > >
> > > > (script tags broken intentionally).  This doesn't seem to work.  Is
> > there
> > > a
> > > > way to do this?
> > > >
> > > > Thanks,
> > > >
> > > > Pete
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338300
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Apache Axis Upgrade

2010-10-18 Thread Donnie Carvajal

I'm running CF 9 and the default version of Apache Axis is 1.2.  I would like 
to 
upgrade Apache Axis to 1.4.  Does anyone know of any potential issues with 
upgrading the version of Apache Axis and CF 9?

Thanks,

Donnie 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338299
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9 / IIS 7 Issues

2010-10-18 Thread Robert Harrison

Got it. Thanks - the info was a helpful start. 

You also need to Run Add Web Server Configuration afterwards. Found
excellent documentation on:
http://www.codecurry.com/2009/09/installing-coldfusion-on-iis-7.html 

Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged



 

__ Information from ESET Smart Security, version of virus signature
database 5543 (20101018) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338298
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What difference does the parenthesis make?

2010-10-18 Thread Bryan Stevenson

I'd second a  double check of cachingand I'd restart the CF services
between changes and test again.

I mention the latter because every once in a while CF just doesn't "see"
changes at all or correctly.  It's like it's not seeing the cource has
changed and is not re-compiling.

Anyways...that is one thing I always consider when queries are involved
and I know the code should work or behave differently.

Cheers

On Mon, 2010-10-18 at 16:03 -0400, Les Mizzell wrote:

> On 10/18/2010 3:33 PM, Michael Grant wrote:
> >
> > In this case specifically the parenthesis should make no difference at all.
> > Are you sure the two queries are exactly as you've shown them?
> 
> Yup.
> 
> Database is SQL Server
> 
> I can run the query with the paranths, and get the expected results.
> Edit the same page to remove them, no results.
> 
> I can also substitute the variable "#law.paid#" with a known ID integer, 
> and get the same results.
> 
> paID=
> 
> Weird...
> 
> SELECT nl_id
>   FROM vw_newsletters
>   WHERE
> (paID=)
>   AND (nl_status = 'published' OR nl_status = 'archived')
> 
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338297
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9 / IIS 7 Issues

2010-10-18 Thread Robert Harrison

Checked "IIS Metabase and IIS 6 configuration compatibility" and rebooted.
No change.  

Is there something else I should also check or do I need to re-install
ColdFusion?



Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged


 

__ Information from ESET Smart Security, version of virus signature
database 5543 (20101018) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338296
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


cfpresentation save slide notes to PowerPoint.

2010-10-18 Thread Patrick Kerley

In CF9 I want to save a presentation to PPT but I would like to retain the 
notes 
so the person who downloads it can see them in PowerPoint. Any suggestions.
 
 
This code doesn't save the slide notes.
 
 

 
 


   
Slide #i#   
   


 

Summary

Projected Sales
Challenges Ahead
Long Term Goals


 
 
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338295
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 / IIS 7 Issues

2010-10-18 Thread Eric Cobb

Control Panel > Programs & Features > Turn Windows Features On or Off  > 
Internet Information Services > Web Management Tools > IIS 6 Management 
Compatibility > "IIS Metabase and IIS 6 configuration compatibility" 
needs to be checked.

Thanks,

Eric Cobb
ECAR Technologies, LLC
http://www.ecartech.com
http://www.cfgears.com



Robert Harrison wrote:
> Just got a new Windows 7 machine and I'm setting it up as a dev box with
> local CF 9. It has IIS 7.5.
>
> Giving me a 403 error on all CF pages. Apparently CF is not installing the
> correct mappings for IIS 7.5 to handle cfm and cfc extensions. Anyone know
> of any documentation or fixes on this issue?
>
> Thanks
>
>
>
> Robert B. Harrison
> Director of Interactive Services
> Austin & Williams
> 125 Kennedy Drive, Suite 100 
> Hauppauge NY 11788
> P : 631.231.6600 Ext. 119 
> F : 631.434.7022
> http://www.austin-williams.com 
>
> Great advertising can't be either/or.  It must be &.
>
> Plug in to our blog: A&W Unplugged
> http://www.austin-williams.com/unplugged
>
>  
>
> __ Information from ESET Smart Security, version of virus signature
> database 5543 (20101018) __
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>  
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338294
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What difference does the parenthesis make?

2010-10-18 Thread Les Mizzell

On 10/18/2010 3:33 PM, Michael Grant wrote:
>
> In this case specifically the parenthesis should make no difference at all.
> Are you sure the two queries are exactly as you've shown them?

Yup.

Database is SQL Server

I can run the query with the paranths, and get the expected results.
Edit the same page to remove them, no results.

I can also substitute the variable "#law.paid#" with a known ID integer, 
and get the same results.

paID=

Weird...

SELECT nl_id
  FROM vw_newsletters
  WHERE
(paID=)
  AND (nl_status = 'published' OR nl_status = 'archived')

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338293
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF 9 / IIS 7 Issues

2010-10-18 Thread Robert Harrison

Just got a new Windows 7 machine and I'm setting it up as a dev box with
local CF 9. It has IIS 7.5.

Giving me a 403 error on all CF pages. Apparently CF is not installing the
correct mappings for IIS 7.5 to handle cfm and cfc extensions. Anyone know
of any documentation or fixes on this issue?

Thanks



Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged

 

__ Information from ESET Smart Security, version of virus signature
database 5543 (20101018) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338292
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: What difference does the parenthesis make?

2010-10-18 Thread Michael Grant

In this case specifically the parenthesis should make no difference at all.
Are you sure the two queries are exactly as you've shown them?

For instance there's a BIG difference between this:

WHERE
 paID=
AND (nl_status = 'published' OR nl_status = 'archived')

and this:

WHERE
 paID=
AND nl_status = 'published' OR nl_status = 'archived'



On Mon, Oct 18, 2010 at 3:17 PM, Les Mizzell  wrote:

>
> What's the difference between
>
> 1. --
> SELECT nl_id
> FROM vw_newsletters
> WHERE
>  (paID=)
> AND (nl_status = 'published' OR nl_status = 'archived')
>
>
> 2. --
> SELECT nl_id
> FROM vw_newsletters
> WHERE
>  paID=
> AND (nl_status = 'published' OR nl_status = 'archived')
>
>
>
> #1 returns the correct records
> #2 returns nothing
>
> Not sure what difference the first set of parenthesis makes in #1
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338291
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: What difference does the parenthesis make?

2010-10-18 Thread Paul Alkema

In mssql there shouldn't be a difference in the records returns. I would
double check that the input variable #law.paid# is the same in both of these
scenarios and also that none of these queries are cached. 

-Original Message-
From: Les Mizzell [mailto:lesm...@bellsouth.net] 
Sent: Monday, October 18, 2010 3:17 PM
To: cf-talk
Subject: What difference does the parenthesis make?


What's the difference between

1. --
SELECT nl_id
FROM vw_newsletters
WHERE
  (paID=)
AND (nl_status = 'published' OR nl_status = 'archived')


2. --
SELECT nl_id
FROM vw_newsletters
WHERE
  paID=
AND (nl_status = 'published' OR nl_status = 'archived')



#1 returns the correct records
#2 returns nothing

Not sure what difference the first set of parenthesis makes in #1



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338290
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: What difference does the parenthesis make?

2010-10-18 Thread DURETTE, STEVEN J (ATTASIAIT)

That depends on the DB server.  MSSQL doesn't have any problem with
getting rid of the () that I know of.


-Original Message-
From: Les Mizzell [mailto:lesm...@bellsouth.net] 
Sent: Monday, October 18, 2010 3:17 PM
To: cf-talk
Subject: What difference does the parenthesis make?


What's the difference between

1. --
SELECT nl_id
FROM vw_newsletters
WHERE
  (paID=)
AND (nl_status = 'published' OR nl_status = 'archived')


2. --
SELECT nl_id
FROM vw_newsletters
WHERE
  paID=
AND (nl_status = 'published' OR nl_status = 'archived')



#1 returns the correct records
#2 returns nothing

Not sure what difference the first set of parenthesis makes in #1



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338289
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


What difference does the parenthesis make?

2010-10-18 Thread Les Mizzell

What's the difference between

1. --
SELECT nl_id
FROM vw_newsletters
WHERE
  (paID=)
AND (nl_status = 'published' OR nl_status = 'archived')


2. --
SELECT nl_id
FROM vw_newsletters
WHERE
  paID=
AND (nl_status = 'published' OR nl_status = 'archived')



#1 returns the correct records
#2 returns nothing

Not sure what difference the first set of parenthesis makes in #1

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338288
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF jQuery Grid

2010-10-18 Thread Paul Alkema

I LOVE ColdFusion! But.. I think that the code in asp.net is usually easier
to look at than ColdFusion as with asp.net by default the user interface and
the domain logic are separated. I know CF has MVC's that help with this, but
I'm talking CF out of the box here.

That's my 2 cents. :)

Paul Alkema
http://paulalkema.com/


-Original Message-
From: Gerald Guido [mailto:gerald.gu...@gmail.com] 
Sent: Friday, October 15, 2010 11:44 PM
To: cf-talk
Subject: Re: CF jQuery Grid


>>God asp is ugly to look at.

???

ASP.net looks just like imported CF custom tags , C# looks just like
cfscript and VB looks just like... well.. VB looks like VB.

Actually working with COM objects with CF reminds me of VB.

G!


On Fri, Oct 15, 2010 at 8:04 PM, Michael Grant  wrote:

>
> God asp is ugly to look at.
>
>
> On Fri, Oct 15, 2010 at 7:16 PM, Andrew Scott  >wrote:
>
> >
> > That is very true about IE9, however ExtJS doesn't have any problems
with
> > IE9 at this stage. jQuery I don't use enough of to make a judgement
call.
> >
> > As for being outside of the .Net world I mean with the likes:
> >
> >
> >
>
http://demos.telerik.com/aspnet-ajax/controls/examples/default/defaultcs.asp
> > x
> >
> > Regards,
> > Andrew Scott
> > http://www.andyscott.id.au/
> >
> >
> > > -Original Message-
> > > From: Judah McAuley [mailto:ju...@wiredotter.com]
> > > Sent: Saturday, 16 October 2010 10:10 AM
> > > To: cf-talk
> > > Subject: Re: CF jQuery Grid
> > >
> > >
> > > Given that IE9 was first released in a public beta exactly one month
> ago,
> > I
> > > think that Dojo can be forgiven for not supporting it yet.  I'm also
> not
> > sure
> > > what you mean by "outside the .Net world". If you are looking at
> > javascript,
> > > .Net MVC bundles JQuery. If you are looking at a control, there are
> some
> > > decent ones, but for web pages they are all ActiveX which means they
> > won't
> > > be cross-browser or cross-platform.
> > >
> > > Cheers,
> > > Judah
> >
> >
> >
>
> 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338287
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Apache Axis Version

2010-10-18 Thread Donnie Carvajal

Thanks.  Exactly what I needed. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338286
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Apache Axis Version

2010-10-18 Thread Leigh


#ax.getVersion()#



  

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338285
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Apache Axis Version

2010-10-18 Thread Donnie Carvajal

Does anyone know how to determine which version of Apache Axis an installation 
of CF 9 is using?

Thanks,

Donnie 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338284
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Dynamically resizing a cfwindow?

2010-10-18 Thread morgan l

Where does this js code reside? Are you trying to do this inline in the
cfwindow's source code, or calling it as a function?

Are you getting any js errors (use Firebug in Firefox to get good js error
information)?

I use the resizeTo() method, and the code you provided looks like it should
work fine, so I have to suspect that your js isn't firing properly.

On Sun, Oct 17, 2010 at 8:16 PM, Pete Ruckelshaus wrote:

>
> Yes, and I'm using imageInfo() to grab the dimensions of the image (the x,y
> dimensions in the resizeTo()).
>
> On Sun, Oct 17, 2010 at 9:13 PM, Michael Grant  wrote:
>
> >
> > Just to make sure, do you have that wrapped in cfoutput?
> >
> > On Sun, Oct 17, 2010 at 9:08 PM, Pete Ruckelshaus <
> pruckelsh...@gmail.com
> > >wrote:
> >
> > >
> > > I'd like to be able to dynamically resize a ColdFusion window created
> > with
> > > cfwindow.  I haven't found anything definitive as to whether this is
> > > possible; I did try the following:
> > >
> > > [script language="javascript">
> > >
> > >
> > >
> >
> ColdFusion.Window.getWindowObject('albumwin').resizeTo(#imgInfo.width#,#imgInfo.height#);
> > > [/script>
> > >
> > > (script tags broken intentionally).  This doesn't seem to work.  Is
> there
> > a
> > > way to do this?
> > >
> > > Thanks,
> > >
> > > Pete
> > >
> > >
> > >
> >
> >
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338283
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Back to the COM issue...

2010-10-18 Thread Eric Roberts

Yes...64 bit CF9.  I have been trying to find an absolute answer on this from 
Adobe for CF9...I know it doesn't work on 8, but they aren't talking...

Eric

You're on a 64 bit version of CF?  If so, it won't work... ever.  
>Check out http://kb2.adobe.com/cps/403/kb403277.html#_Toc193176418, 
>wherein Adobe flat out states there is no COM support for 64 bit 
>architecture... at least for CF8.  There doesn't seem to be any reason 
>why this shouldn't hold true for CF9 as well.
>
>
>Matthew Williams
>Geodesic GraFX
>www.geodesicgrafx.com 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338282
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Back to the COM issue...

2010-10-18 Thread Matthew Williams

  You're on a 64 bit version of CF?  If so, it won't work... ever.  
Check out http://kb2.adobe.com/cps/403/kb403277.html#_Toc193176418, 
wherein Adobe flat out states there is no COM support for 64 bit 
architecture... at least for CF8.  There doesn't seem to be any reason 
why this shouldn't hold true for CF9 as well.


Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338281
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Back to the COM issue...

2010-10-18 Thread Eric Roberts

Ok...they got us a 64bit com object, but I am not convinced that we are even
looking at it right.  I put the dll in system32, used regsvr32 to register
it and i still get the same error as I did with the 32 bit dll. (see below
with stack trace)



here is how I am calling it...

*

the name fo the dll is Replacer264.dll

I have also tried  to no avail...

Am i doing something wrong?

Help!

a very frustrated Eric...

Here's the error and stack trace...thanks in advance...

*

An exception occurred when instantiating a COM object.The cause of this
exception was that: java.lang.RuntimeException: Can not use native code:
Initialisation failed.   The error occurred in
*C:\inetpub\wwwroot\weblink\fh\admin\vtributes\download_create2.cfm:
line 82*
*Called from* C:\inetpub\wwwroot\weblink\templates\2000\template.cfm: line
258
*Called from* C:\inetpub\wwwroot\weblink\templates\2000\template.cfm: line 2
*Called from* C:\inetpub\wwwroot\weblink\templates\2000\template.cfm: line 1
*Called from* C:\inetpub\wwwroot\weblink\fh\admin\vt_download.cfm: line 49
*Called from*C:\inetpub\wwwroot\weblink\fh\admin\vtributes\download_create2.cfm:
line 82
*Called from* C:\inetpub\wwwroot\weblink\templates\2000\template.cfm: line
258
*Called from* C:\inetpub\wwwroot\weblink\templates\2000\template.cfm: line 2
*Called from* C:\inetpub\wwwroot\weblink\templates\2000\template.cfm: line 1
*Called from* C:\inetpub\wwwroot\weblink\fh\admin\vt_download.cfm: line 49

80 : 
81 : *82 : *
83 :
84 :

  --
   Resources:

   - Check the ColdFusion documentation
to verify that you are using the
correct syntax.
   - Search the Knowledge Base  to
   find a solution to your problem.

 Browser   Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9)
Gecko/20100824 Firefox/3.6.9 GTB7.1  Remote Address   12.96.65.83
Referrer
http://devint.meaningfulfunerals.net/fh/admin/vt_index.cfm?&fh_id=10273&s_id=78CF5A6A-D8B2-0499-2158F5317E9AAEB1&o_id=413378&vt_type=1
Date/Time   18-Oct-10 08:29 AM Stack Trace   at
cfdownload_create22ecfm1127011690.runPage(C:\inetpub\wwwroot\weblink\fh\admin\vtributes\download_create2.cfm:82)
at
cftemplate2ecfm1384931961._factor2(C:\inetpub\wwwroot\weblink\templates\2000\template.cfm:258)
at
cftemplate2ecfm1384931961._factor3(C:\inetpub\wwwroot\weblink\templates\2000\template.cfm:2)
at
cftemplate2ecfm1384931961.runPage(C:\inetpub\wwwroot\weblink\templates\2000\template.cfm:1)
at
cfvt_download2ecfm373307081.runPage(C:\inetpub\wwwroot\weblink\fh\admin\vt_download.cfm:49)
at
cfdownload_create22ecfm1127011690.runPage(C:\inetpub\wwwroot\weblink\fh\admin\vtributes\download_create2.cfm:82)
at
cftemplate2ecfm1384931961._factor2(C:\inetpub\wwwroot\weblink\templates\2000\template.cfm:258)
at
cftemplate2ecfm1384931961._factor3(C:\inetpub\wwwroot\weblink\templates\2000\template.cfm:2)
at
cftemplate2ecfm1384931961.runPage(C:\inetpub\wwwroot\weblink\templates\2000\template.cfm:1)
at
cfvt_download2ecfm373307081.runPage(C:\inetpub\wwwroot\weblink\fh\admin\vt_download.cfm:49)


java.lang.RuntimeException: Can not use native code: Initialisation failed
at com.linar.jintegra.NativeObjRef.(Unknown Source)
at com.linar.jintegra.Dispatch.createDispatch(Unknown Source)
at com.linar.jintegra.Dispatch.(Unknown Source)
at 
com.intrinsyc.typeInfo.IMacroViewerProxy.(IMacroViewerProxy.java:32)
at com.intrinsyc.typeInfo.MacroViewer.(MacroViewer.java:90)
at com.intrinsyc.typeInfo.MacroViewer.(MacroViewer.java:69)
at 
com.intrinsyc.typeInfo.InterfaceInfoFactory.getInfoGivenPROGID(InterfaceInfoFactory.java:50)
at coldfusion.runtime.com.ComProxy.(ComProxy.java:114)
at 
coldfusion.runtime.com.ComProxyFactory.getProxy(ComProxyFactory.java:41)
at coldfusion.runtime.ProxyFactory.getProxy(ProxyFactory.java:65)
at coldfusion.runtime.CFPage.createObjectProxy(CFPage.java:4949)
at coldfusion.tagext.lang.ObjectTag.doStartTag(ObjectTag.java:427)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
at 
cfdownload_create22ecfm1127011690.runPage(C:\inetpub\wwwroot\weblink\fh\admin\vtributes\download_create2.cfm:82)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
at 
cftemplate2ecfm1384931961._factor2(C:\inetpub\wwwroot\weblink\templates\2000\template.cfm:258)
at 
cftemplate2ecfm1384931961._factor3(C:\inetpub\wwwroot\weblink\templates\2000\template.cfm:2)
at 
cftemplate2ecfm1384931961.runPage(C:\inetpub\wwwroot\weblink\templates\2000\template.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
at coldfusion.runtime.CfJspPage._emptyTcfTag(Cf

Re: CF (8.0.0) performance vs PHP (5)

2010-10-18 Thread enigment

+1,000,000 for Jame's theory about string concatenation. CF is very
inefficient at this. Doesn't amtter much for small stuff and a few
repeats, but for bulk, a Java buffer is the way to go.

Dave

On Mon, Oct 18, 2010 at 4:04 AM, Jochem van Dieten  wrote:
>
> On Mon, Oct 18, 2010 at 5:14 AM, Bryn Parrott wrote:
>> When I code this algorithm and execute in PHP 5 it runs in 7 seconds (give 
>> or take);
>> When I code and excecute it in CF 8.0.0, it runs in around 74 seconds.
>
>> Sonme might suggest this is difficult since I have deliberately not posted 
>> the code;
>
> Indeed. So I'll be just as obscure and limit myself to the words "fake
> fsync in PHP" and wait for the code.
>
> Jochem
>
> --
> Jochem van Dieten
> http://jochem.vandieten.net/
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338279
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Adobe Marketing of ColdFusion

2010-10-18 Thread Russ Michaels

I did suggest to Adobe that giving away cfbuilder with CF or Creative Suite
would be a good idea, it looks like they have listened as they are currently
doing a promotion of CF Enterprise with 3 x cfbuilder.
Sadly this is still missing the biggest target audience as most people will
never be able to afford cf enterprise. Offering it with cf standard and
dreamweaver/Creative Suite would work better I think.

Adobe also do not seem to represent the product on any of the generic web
dev communities like Sitepoint or magazines that cover their wother products
a lot but with PHP not CF.

Seems a bit odd to ignore those obvious markets.

Russ

On Mon, Oct 18, 2010 at 10:29 AM, Andrew Scott wrote:

>
> ColdFusion is certainly promoted on Adobe's website, and the link
> adobe.com/products clearly states ColdFusion 9 there.
>
> I am not sure why you think that they would not promote it on their own
> website, however nobody will disagree with you that Adobe should be doing
> more to market it better.
>
> ColdFusion Builder is also promoted with Flash as well as with ColdFusion,
> in fact if you buy ( I assume it is still the case) Flash Builder 4 you get
> ColdFusion Builder free. I agree that to buy the thing on its own is very
> pricey when you consider the alternatives, and what other langauges do
> offer
> as well.
>
> Evangalists will tell you that you are needing to do more to promte the
> product, but in my opinion it should be Adobe doing this not people who are
> not paid to do it. I see people advertising for ColdFusion marketing their
> adds to the one market, well here in Australia at least. There is nothing
> wrong with trying to get people with a diverse knowledge and good analytic
> skills, these types can program in almost anything.
>
> Instead they complain that they can't get developers, because they
> advertise
> it wrong. Then because of that these people then begin to look elsewhere
> for
> their technologies as well. There are a lot of factors involved in this,
> but
> resources seems to be the main one.
>
>
> Regards,
> Andrew Scott
> http://www.andyscott.id.au/
>
>
>
>
> > -Original Message-
> > From: Ciarán Archer  [mailto:=?ISO-8859-
> > 1?Q?Ciar=E1n_Archer  > Sent: Monday, 18 October 2010 6:58 PM
> > To: cf-talk
> > Subject: Adobe Marketing of ColdFusion
> >
> >
> > Hi all
> >
> > I've been thinking a bit about how Adobe market ColdFusion. I wrote a
> small
> > piece here:
> >
> > http://flydillonfly.wordpress.com/2010/10/17/thoughts-on-coldfusion-and-
> > adobes-marketing-strategy/
> >
> > I'd love to get some feedback.
> >
> > Thanks in advance!
> > Ciaran
> >
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338278
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Adobe Marketing of ColdFusion

2010-10-18 Thread Andrew Scott

ColdFusion is certainly promoted on Adobe's website, and the link
adobe.com/products clearly states ColdFusion 9 there.

I am not sure why you think that they would not promote it on their own
website, however nobody will disagree with you that Adobe should be doing
more to market it better.

ColdFusion Builder is also promoted with Flash as well as with ColdFusion,
in fact if you buy ( I assume it is still the case) Flash Builder 4 you get
ColdFusion Builder free. I agree that to buy the thing on its own is very
pricey when you consider the alternatives, and what other langauges do offer
as well.

Evangalists will tell you that you are needing to do more to promte the
product, but in my opinion it should be Adobe doing this not people who are
not paid to do it. I see people advertising for ColdFusion marketing their
adds to the one market, well here in Australia at least. There is nothing
wrong with trying to get people with a diverse knowledge and good analytic
skills, these types can program in almost anything.

Instead they complain that they can't get developers, because they advertise
it wrong. Then because of that these people then begin to look elsewhere for
their technologies as well. There are a lot of factors involved in this, but
resources seems to be the main one.


Regards,
Andrew Scott
http://www.andyscott.id.au/




> -Original Message-
> From: Ciarán Archer  [mailto:=?ISO-8859-
> 1?Q?Ciar=E1n_Archer  Sent: Monday, 18 October 2010 6:58 PM
> To: cf-talk
> Subject: Adobe Marketing of ColdFusion
> 
> 
> Hi all
> 
> I've been thinking a bit about how Adobe market ColdFusion. I wrote a
small
> piece here:
> 
> http://flydillonfly.wordpress.com/2010/10/17/thoughts-on-coldfusion-and-
> adobes-marketing-strategy/
> 
> I'd love to get some feedback.
> 
> Thanks in advance!
> Ciaran
> 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338277
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF (8.0.0) performance vs PHP (5)

2010-10-18 Thread Jochem van Dieten

On Mon, Oct 18, 2010 at 5:14 AM, Bryn Parrott wrote:
> When I code this algorithm and execute in PHP 5 it runs in 7 seconds (give or 
> take);
> When I code and excecute it in CF 8.0.0, it runs in around 74 seconds.

> Sonme might suggest this is difficult since I have deliberately not posted 
> the code;

Indeed. So I'll be just as obscure and limit myself to the words "fake
fsync in PHP" and wait for the code.

Jochem

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

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338276
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Adobe Marketing of ColdFusion

2010-10-18 Thread Ciarán Archer

Hi all

I've been thinking a bit about how Adobe market ColdFusion. I wrote a small
piece here:

http://flydillonfly.wordpress.com/2010/10/17/thoughts-on-coldfusion-and-adobes-marketing-strategy/

I'd love to get some feedback.

Thanks in advance!
Ciaran


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338275
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm