RE: Waaahhhh! Why won't my CFC work!

2008-06-24 Thread Rick Faircloth
Hey, Mike... couldn't wait until tomorrow, so I went ahead
and jumped into the app.  Looking good so far.  Like the approach
you're taking with the narrative.  I'm going to mention things in
this thread as I go along that I think you'll want or might want to know.

First thing I saw was that I wasn't getting the nice table formatting
on my index.cfm page.  I changed the path from "/css/c22Tutorial.css"
to "css/c22Tutorial.css" and the nice table appeared.  :o)

Rick

> -Original Message-
> From: Mike Kear [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 25, 2008 12:22 AM
> To: CF-Talk
> Subject: Re: Waaa! Why won't my CFC work!
> 
> For those following this thread ...  I've put the step-by-step
> tutorial I mentioned earlier on my company's web site.   The first
> tutorial of what I hope will become a series describes how to set up a
> simple application to manage the records in a table using a CFC to
> isolate all database operations to a single CFC and introduces some
> object procedures to pass data around from one place in the
> applicatoin to another.  Also it shows how to reuse a form for
> multiple purposes.
> 
> And it's been written to specifically AVOID the use of all that OO
> jargon like 'encapsulation' and 'model-view-controller'.It's
> written in terms that people experienced with the more traditional
> procedural code mehods in ColdFusion will understand.
> 
> You can download the code and run it on your own machine, and follow
> through the files line by line as I describe how it works and what
> everything does.
> 
> You can find it at my web site at http://afpwebworks.comI hope
> you'll give it a look.   Do please let me know what you think of it.
> 
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
> 
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308093
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cffile upload temporary folder changes

2008-06-24 Thread James Holmes
As we're lucky enough that it's only happened in dev and test and not
prod (yet) I'm waiting until we change to our new CF8 architecture
before expending any effort. If it happens in prod I'll just make
/var/tmp writeable for the CF user.

I still win the list :P

On Wed, Jun 25, 2008 at 12:59 PM, denstar <[EMAIL PROTECTED]> wrote:
> On Sun, Jun 22, 2008 at 9:39 PM, James Holmes wrote:
>> I knew this would be a stumper. I win the list!
>
> Patience, grasshopper, the list is not always fast like the rabbit.  :-)
>
> You tried setting environment variables and whatnot?  Passing JVM
> arguments in there?
>
> Cover all the bases, and I bet it goes away.
>
> Not that I'm actually betting you, though.  You may have already tried
> everything, see.  =]

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

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308092
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Suppressing white space in source

2008-06-24 Thread denstar
there's also a nice servlet that will trim white-space.  Trim*mumble*
or something... ah yes:

http://www.servletsuite.com/servlets/trimflt.htm

Pretty cool.

-- 
Some national parks have long waiting lists for camping reservations.
When you have to wait a year to sleep next to a tree, something is
wrong.
George Carlin

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308091
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cffile upload temporary folder changes

2008-06-24 Thread denstar
On Sun, Jun 22, 2008 at 9:39 PM, James Holmes wrote:
> I knew this would be a stumper. I win the list!

Patience, grasshopper, the list is not always fast like the rabbit.  :-)

You tried setting environment variables and whatnot?  Passing JVM
arguments in there?

Cover all the bases, and I bet it goes away.

Not that I'm actually betting you, though.  You may have already tried
everything, see.  =]

-- 
It's never just a game when you're winning.
George Carlin

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308090
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Waaahhhh! Why won't my CFC work!

2008-06-24 Thread Mike Kear
For those following this thread ...  I've put the step-by-step
tutorial I mentioned earlier on my company's web site.   The first
tutorial of what I hope will become a series describes how to set up a
simple application to manage the records in a table using a CFC to
isolate all database operations to a single CFC and introduces some
object procedures to pass data around from one place in the
applicatoin to another.  Also it shows how to reuse a form for
multiple purposes.

And it's been written to specifically AVOID the use of all that OO
jargon like 'encapsulation' and 'model-view-controller'.It's
written in terms that people experienced with the more traditional
procedural code mehods in ColdFusion will understand.

You can download the code and run it on your own machine, and follow
through the files line by line as I describe how it works and what
everything does.

You can find it at my web site at http://afpwebworks.comI hope
you'll give it a look.   Do please let me know what you think of it.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308089
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFC Tutorial now on line

2008-06-24 Thread s. isaac dealey
Hey Mike, 

Thanks for taking the time to make this available to the community. I
haven't considered myself in that category of struggling with terms in a
long time, but I can definitely see how terminology might be daunting to
a new person. In fact, that's mentioned somewhat in the article I wrote
recently about frameworks. I worry though that I may be too comfortable
with the terminology to do a very good job of breaking it down for
people who are still struggling with it. If you get a few minutes to
read it over, I'd love to have your feedback on how I've done
simplifying frameworks technology in that article and any suggestions
you might have for further revisions. :) 

Article is posted here: http://www.woohooligan.com/frameworks/

Thanks again

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 617.365.5732

http://onTap.riaforge.org/blog



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308088
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFC Tutorial now on line

2008-06-24 Thread Mike Kear
Some of you have been following the thread Rick Faircloth stimulated,
where he was trying to get his head around the issues relating to
using CFCs.  The thread went quite a long time, and some of you might
well have dropped off.

Rick was feeling prety confused for the same reason I was at first  -
there is so much terminology and jargon associated with object
oriented techniques, that it's pretty forbidding to a new developer.
  I nearly gave it all away several times, until i came to the
conclusion it was the terminology that was bamboozling me, not the
concepts.   I figured i didnt actually need to know what
'encapsulation' was or  why you had to var scope variables, or what
the difference between the variables scope and the var scope is.   Not
at first anyway.

So for a while i ignored all that stuff,  found a sample to copy and
started using it.For me, that was the breakthrough.   I was able
to see what everything did, and could start learning what all those
new terms meant, based on my own hesitating uses of the CFCs.

That's where Rick was.   So i offered to write a tutorial for him
showing how to use CFCs the way I do,  without using all that
terminology.I figured if he could use CFCs in a OO way, without
necessarily  knowing a lot about OO jargon, that would help get him
started. A few other people seemed interested in that as well, so
i've put it on line at my web site.

The tutorial is at my company's web site at http://afpwebworks.com.
I suggest you download the code,  set up the little demo site on your
dev environment, and follow along with the tutorial.   It's not a
comprehensive object-oriented tutorial, but hopefully over a series of
tutorials it'll help you get started into using a technique that has
revolutionised the way i write code in teh last couple of years.
Once you get started using the code,  I'm sure all those terms that
confuse you will be a lot easier to understand and you'll pick up what
all those IT greaduates are talking about when they talk about
encapsulation or design patterns or DAOs or factory patterns.


I'd welcome any suggestions or criticisms  (but i make no apologies
for not using the correct OO terms for things.  That's the point!)

-- 
Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308087
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CF tags in CFFILE write

2008-06-24 Thread Rick Sanders
Hey James,

Thanks for the tip! I'll give it a shot!

Rick

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: June-24-08 10:05 PM
To: CF-Talk
Subject: Re: CF tags in CFFILE write

Build the output using cfsavecontent and write the result using the cffile
tag.

On Wed, Jun 25, 2008 at 8:37 AM, Rick Sanders <[EMAIL PROTECTED]> wrote:
> Hey everyone,
>
>
>
> I need to dynamically write a javascript file from Cold fusion. However,
it
> keeps giving me errors. Is there a way to write a file using cf tags in
the
> output?


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



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308086
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF tags in CFFILE write

2008-06-24 Thread James Holmes
Build the output using cfsavecontent and write the result using the cffile tag.

On Wed, Jun 25, 2008 at 8:37 AM, Rick Sanders <[EMAIL PROTECTED]> wrote:
> Hey everyone,
>
>
>
> I need to dynamically write a javascript file from Cold fusion. However, it
> keeps giving me errors. Is there a way to write a file using cf tags in the
> output?


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

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308085
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: (ot) mod_rewrite with VirtualHost and .htaccess

2008-06-24 Thread James Holmes
The vhost file also needs to configure Options FollowSymLinks for the
sites and the .htaccess file mey also need to also have RewriteEngine
On.

On Wed, Jun 25, 2008 at 5:14 AM, Adrian Lynch <[EMAIL PROTECTED]> wrote:
> I'd like to have my rewrite rules in a .htaccess per site. I'm using virtual
> hosts and everything I have read has said that I need to place the rules in
> with the VirtualHost directive block or in httpd.config and then add the
> following lines to my v-hosts:
>
> RewriteEngine On
> RewriteOptions Inherit
>
> What I can't find reference to, and I can't get to work, is how to use
> ..htaccess with v-hosts where the .htaccess file is in the webroot for a
> given site.

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

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308084
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF tags in CFFILE write

2008-06-24 Thread Rick Sanders
Hey everyone,

 

I need to dynamically write a javascript file from Cold fusion. However, it
keeps giving me errors. Is there a way to write a file using cf tags in the
output?

 

Example:



var lat[loop] = {latitude};

var lon[loop] = {longitude}; 

var latLong[loop] = new VELatLong(lat[loop], lon[loop]);','var points[loop]
= [

new VELatLong(lat[loop], lon[loop] - 0.15),

new VELatLong(lat[loop] + 0.1, lon[loop] - 0.05),

new VELatLong(lat[loop] + 0.1, lon[loop] + 0.05),

new VELatLong(lat[loop], lon1 + 0.15),

new VELatLong(lat[loop] - 0.1, lon[loop] + 0.05),

new VELatLong(lat[loop] - 0.1, lon[loop] - 0.05)];','shape[loop]
= new VEShape(VEShapeType.Polygon, points[loop]);



">

 

I need to loop in the file to put all the points and latitude / longitude
for a map. So, I need to parse the cfloop code in the file, but only write
the results to the file. Please let me know if this can be done?

 

Rick Sanders

Webenergy

Canada: 902-431-7279

USA:   919-799-9076

Canada: www.webenergy.ca

USA:   www.webenergyusa.com

 






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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308083
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Installing ColdFusion on IIS

2008-06-24 Thread sam menon
Hi,
  I have coldfusion installed on my local system, than selecting IIS as the 
server , i installed it as default, now it has installed in c:/CF/wwwroot 
folder, how can I change it to IIS?

Will selecting the IIS  as server change the rest of the sites on it??

please help me

Thanks 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308082
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Ian Rutherford
One other odd thing I noticed. When I restart Cf and go to this page for the 
first time, I get an error saying "Error invoking CFC 
/adminCFCs/couponWrapper.cfc: Attribute validation error  for the CFCOOKIE tag."

This only happens the first time I access the page.

I don't use the cfcookie tag in either cfc. 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308081
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Java NULL in CF

2008-06-24 Thread Mark Mandel
I just use a struct, with StructKyExists, it's pretty straight forward -

var local = StructNew();

local.foo = javaThing.returnsNull();

if(StructKeyExists(local, "foo"))
{
  //do stuff.
}

Mark

On Wed, Jun 25, 2008 at 3:41 AM, Brad Wood <[EMAIL PROTECTED]>
wrote:

> Thanks Pete.
>
> Exactly what class is horus.coldfusion.undefined?   If my "attached" you
> mean that you literally attached something to the E-mail, that won't
> work.
>
> Send it off list if you would or post a link.
>
> Thanks.
>
> ~Brad
>
> -Original Message-
> From: Pete Jordan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 12:35 PM
> To: CF-Talk
> Subject: Re: Java NULL in CF
>
> Brad Wood wrote:
>
> > What's the best way to test for a Java NULL in CF?
>
> > Should I just set the output of each of those methods into a variable,
> > and then check for the variables existence?
>
> That'll work.
>
> 
>   
>
> We use a little Java class to tidy this (amongst other things) up that
> I've attached - with luck the houseoffusion mailing list software will
> leave it intact.
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308080
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) mod_rewrite with VirtualHost and .htaccess

2008-06-24 Thread Barney Boisvert
Check the .htaccess documentation from Apache.  Basically you need to
ensure you have rights to use .htaccess configured in the main apache
file.  Then you just stick your rules in there.  Be aware of path
issues, however, since you're not in a global context, you're in the
context of the directory .htaccess lives in.

If you own the main config file(s), a better option would be to use
the Include directive to include an apache config file from each
virtual host, instead of using .htaccess.  The former approach will be
more performant and less complicated, though it doesn't allow live
editing (i.e. changes require an Apache restart).

cheers,
barneyb

On Tue, Jun 24, 2008 at 2:14 PM, Adrian Lynch <[EMAIL PROTECTED]> wrote:
> I'd like to have my rewrite rules in a .htaccess per site. I'm using virtual
> hosts and everything I have read has said that I need to place the rules in
> with the VirtualHost directive block or in httpd.config and then add the
> following lines to my v-hosts:
>
> RewriteEngine On
> RewriteOptions Inherit
>
> What I can't find reference to, and I can't get to work, is how to use
> ..htaccess with v-hosts where the .htaccess file is in the webroot for a
> given site.
>
> Any pointers would be greatly appreciated.
>
> Adrian Lynch
>
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308079
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


(ot) mod_rewrite with VirtualHost and .htaccess

2008-06-24 Thread Adrian Lynch
I'd like to have my rewrite rules in a .htaccess per site. I'm using virtual
hosts and everything I have read has said that I need to place the rules in
with the VirtualHost directive block or in httpd.config and then add the
following lines to my v-hosts:

RewriteEngine On
RewriteOptions Inherit

What I can't find reference to, and I can't get to work, is how to use
..htaccess with v-hosts where the .htaccess file is in the webroot for a
given site.

Any pointers would be greatly appreciated.

Adrian Lynch


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308078
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Simulate click on ListBox down arrow

2008-06-24 Thread Charlie Griefer
Hi Walter:

Sorry, I misunderstood you.  I thought you were asking if there was a
way to pre-select a given option.

Still not sure I fully understand.  Is this to allow users to select
multiple options?  Because otherwise the functionality you're after is
the default behavior of the  element... onclick it opens up.
it may not show all of the options, but it shows the first batch.
Unless you're shooting for allowing the user to select more than one
option, is there any reason to show all?

If this is a route you want to go, you might try manipulating the
z-index value of the  element to try and float it over the
element(s) below it.


On Tue, Jun 24, 2008 at 1:20 PM, Walter Conti <[EMAIL PROTECTED]> wrote:
> Thank You Charlie, that shows me just the fourth option. I would like to have 
> all of them visible.
>
> this.size = this.length works
> but the listbox does not open on top of the other form element, instead push 
> them down.
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308077
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Simulate click on ListBox down arrow

2008-06-24 Thread Walter Conti
Thank You Charlie, that shows me just the fourth option. I would like to have 
all of them visible.

this.size = this.length works 
but the listbox does not open on top of the other form element, instead push 
them down. 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308076
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Simulate click on ListBox down arrow

2008-06-24 Thread Charlie Griefer
On Tue, Jun 24, 2008 at 11:59 AM, Walter Conti <[EMAIL PROTECTED]> wrote:
> Although the purpose of a listbox is to initially hide the options, I would 
> like to drop, open, the select element onFocus(). Any way of doing it with 
> JS, Java?
> Thanks for helping.



a
b
c
I am selected!
d


?

-- 
A byte walks into a bar and orders a pint. Bartender asks him "What's
wrong?" Byte says "Parity error." Bartender nods and says "Yeah, I
thought you looked a bit off."

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308075
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Simulate click on ListBox down arrow

2008-06-24 Thread Walter Conti
Although the purpose of a listbox is to initially hide the options, I would 
like to drop, open, the select element onFocus(). Any way of doing it with JS, 
Java?
Thanks for helping. 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308074
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Ian Rutherford
I had forgotten to restart the service so the old variable names were still 
hanging around. I'm almost there. 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308073
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Ian Rutherford
Okay, I think that this is almost working. If I invoke the wrapper using 
cfinvoke tags directly in the page I get a result set! The problem I am still 
having is that when trying to bind it to the grid I get "CFGRID: Response is 
empty."

I tried the fix on Ben's blog
http://www.forta.com/blog/index.cfm/2007/6/25/ColdFusion-Ajax-Tutorial-6-Editable-Data-Grids

And I added a bindonload="true" argument to the cfgrid tag. 

I also tried this variation on Ben's fix:
http://www.cfcode.net/blog/post.cfm/important-gotcha-for-web-service-and-application-cfc-users


No luck. 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308072
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF 8 Server Monitor stops working

2008-06-24 Thread Dana Kowalski
I'm having a problem with the CF 8 server monitor today, and maybe someone here 
has some thoughts or an idea.

Firstly, our administrator sits outside the webroot under its own IIS site that 
only responds to the local loopback (127.0.0.1/localhost)

I ran the server monitor 2 weeks ago without a problem. When I try to run it 
today, I continue to get a popup box saying the server is not found. The box 
contains a form to plug in the server, context path and u/n, password.

I'm not seeing any info online about this except people putting in the port 
manually in the address line causing them trouble. I'm accessing the admin via 
port 80 defaulted. Any ideas? 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308071
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Anybody using POIUtility.cfc to import from Excel?

2008-06-24 Thread Les Mizzell
Tyler Fitch wrote:
> There's a version of the POI library buried in the CF installation and you
> could replace it with the newer version from the Apache group.  But I
> wouldn't recommend that as it could unexpectedly break some of CF in built
> functionality.  

Yea - I sorta already figured that out.

I've been able to recreate the problem with a 2003 Excel file though. 
the cfc will error out when trying to type a NULL cell - and I've not 
figured out a way around this yet...

I've got code on the other side that will take care of it, but the I'm 
still looking at the cfscript in the cfc itself. (without much luck so far)

Thanks,

LEs

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308070
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Java NULL in CF

2008-06-24 Thread Brad Wood
Thanks Pete.  

Exactly what class is horus.coldfusion.undefined?   If my "attached" you
mean that you literally attached something to the E-mail, that won't
work.

Send it off list if you would or post a link.

Thanks.

~Brad

-Original Message-
From: Pete Jordan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 24, 2008 12:35 PM
To: CF-Talk
Subject: Re: Java NULL in CF

Brad Wood wrote:

> What's the best way to test for a Java NULL in CF?

> Should I just set the output of each of those methods into a variable,
> and then check for the variables existence?

That'll work.


  

We use a little Java class to tidy this (amongst other things) up that
I've attached - with luck the houseoffusion mailing list software will
leave it intact.

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308069
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Brian Kotek
Are you sure the argument in application.coupon is not named
"gridSortColumn"? You have it defined as just "sortColumn" below.

On Tue, Jun 24, 2008 at 1:27 PM, Ian Rutherford <
[EMAIL PROTECTED]> wrote:

> Okay, I moved the wrapper into a folder that is part of the application and
> can now at least get a step farther but now am stuck on this.
>
> "The GRIDSORTCOLUMN parameter to the getCouponList function is required but
> was not passed in."
>
> I have put a cfdump tag right after the arguments list and the
> gridsortcolumn variable is defined there.
>
> Thanks for all the help so far!
>
>
> 
>  output="false" returntype="all">
> 
>
> type="string">
> type="string">
>
>
>  method="getCouponList" returnvariable="CouponList">
>  value="#arguments.page#">
> value="#arguments.pageSize#">
> value="#arguments.gridSortColumn#">
> value="#arguments.gridSortDirection#">
> value="#arguments.active#">
>
> 
>
>
> 
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308068
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Java NULL in CF

2008-06-24 Thread Pete Jordan
Ach! It stripped it. Here's the class:

package horus.coldfusion;

// Java-end NULL-surrogate bits for ColdFusion
// Copyright © 2007-2008, Horus Web Engineering Ltd. All rights reserved.

public class undefined {
  private Class test=null;

  public undefined () {
this.test=this.getClass();
  }

  public String toString () {
return "␀";
  }

  public boolean assigned (Object arg) {
return arg==null || arg.getClass()!=this.test;
  }

  public boolean identitycheck (Object arg1, Object arg2) {
return arg1==arg2;
  }

  public Object check (Object arg, Object nullv) {
return arg==null ? nullv : arg;
  }

  public Object check (Object arg) {
return this.check(arg, this);
  }
}

-- 
Regards,

Pete Jordan
Horus Web Engineering Ltd
http://www.webhorus.net/
phone: +44 1275 543971
mobile: +44 7973 725120

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308067
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Java NULL in CF

2008-06-24 Thread Brad Wood
Thanks Barney.

I did dig up a little snippet of help while Googling.  
The trim() and len() functions will accept a null and return an empty
string and 0 respectively.


#trim(Obj.i_return_null())# returns empty string
#len(Obj.i_return_null())#  returns 0

Thanks.

~Brad


-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 

Yeah, using structKeyExists or isDefined is what you have to do.  Kind
of annoying, but such is life.

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308066
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Java NULL in CF

2008-06-24 Thread Pete Jordan
Brad Wood wrote:

> What's the best way to test for a Java NULL in CF?

> Should I just set the output of each of those methods into a variable,
> and then check for the variables existence?

That'll work.


  

We use a little Java class to tidy this (amongst other things) up that
I've attached - with luck the houseoffusion mailing list software will
leave it intact.

There are a few bits glued into the server scope at the CF end:

 
  server.undefined=createobject('java',
'horus.coldfusion.undefined').init();

  function defined( value ) {
var argc=arguments.size();
value=server.undefined.assigned(value);
if (argc eq 1) return value;
if (value) return arguments[2];
if (argc gt 2) return arguments[3];
return '';
  }

  server.defined=defined;
 

Using your my_url object, you could then do:



or




 

 


It's worth noting that the "check" method must be called directly, with
the potentially-null-returning Java call as an argument; that's the only
way to bypass ColdFusion bleating about an undefined variable.

Having a NULL-surrogate value that can be used anywhere in ColdFusion is
*hugely* useful; I only wish that Macradobaire had seen fit to do it
properly in the first place.

-- 
Regards,

Pete Jordan
Horus Web Engineering Ltd
http://www.webhorus.net/
phone: +44 1275 543971
mobile: +44 7973 725120


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308065
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Ian Rutherford
Okay, I moved the wrapper into a folder that is part of the application and can 
now at least get a step farther but now am stuck on this.

"The GRIDSORTCOLUMN parameter to the getCouponList function is required but was 
not passed in."

I have put a cfdump tag right after the arguments list and the gridsortcolumn 
variable is defined there.

Thanks for all the help so far!




















 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308064
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


DirectoryExists questions

2008-06-24 Thread thomas v
Hi all,

I try to check to see if my directory is already existed so I can rename (the 
old directory) before I create one with the same name. 
 
I have two questions:
1) Why does DirectoryExists(curDirectory) return with a 'yes'? when I dont have 
one existed.

2) It looked like it renamed and create the folder 'gal' and 'galold' under 
c:\Inetpub\wwwroot\projects\testrepo\ at the same time, when I wanted to do was 
either rename or create. Seems like it ignores my   or it loops 
through the second time ( and I dont have a loop for that)?

Thanks




   












 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308063
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Brian Kotek
Is the remote proxy CFC running in a folder that will run your
Application.cfc? If not, the application scope won't be available for this
component.

On Tue, Jun 24, 2008 at 12:47 PM, Ian Rutherford <
[EMAIL PROTECTED]> wrote:

> Makes sense but now it says that "element coupons is undefined in
> application" I did a dump of that right before the cfgrid call and it is
> there.
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308062
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Java NULL in CF

2008-06-24 Thread Barney Boisvert
Yeah, using structKeyExists or isDefined is what you have to do.  Kind
of annoying, but such is life.

cheers,
barneyb

On Tue, Jun 24, 2008 at 9:26 AM, Brad Wood <[EMAIL PROTECTED]> wrote:
> What's the best way to test for a Java NULL in CF?
>
> For instance, the following code:
>
>  createobject("java","java.net.URL").init("http://www.yahoo.comy";)>
>
> 
> getpath
> getauthority
> getfile
> getquery
> gethost
> getprotocol
> getport
> getDefaultPort
> getRef
> getUserInfo
>
>  will blow up because getref() and getuserinfo() return null.
>
> Should I just set the output of each of those methods into a variable,
> and then check for the variables existence?
>
> Thanks.
>
> ~Brad
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308061
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Ian Rutherford
Makes sense but now it says that "element coupons is undefined in application" 
I did a dump of that right before the cfgrid call and it is there. 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308060
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Brian Kotek
It needs to be #application.coupons# if you want to call a method on an
existing instance. Otherwise it assumes you're specifying a package path.

On Tue, Jun 24, 2008 at 11:56 AM, Ian Rutherford <
[EMAIL PROTECTED]> wrote:

> Oh, I changed the cfscript tag to:
>
>  returnvariable="getCouponList">
> value="#arguments.page#">
> value="#arguments.pageSize#">
> value="#arguments.gridSortColumn#">
> value="#arguments.gridSortDirection#">
> value="#arguments.active#">
>
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308059
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Java NULL in CF

2008-06-24 Thread Brad Wood
What's the best way to test for a Java NULL in CF?

For instance, the following code:

http://www.yahoo.comy";)>


getpath
getauthority
getfile
getquery
gethost
getprotocol
getport
getDefaultPort
getRef
getUserInfo

 will blow up because getref() and getuserinfo() return null.

Should I just set the output of each of those methods into a variable,
and then check for the variables existence?

Thanks.

~Brad

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308058
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


iText underline in the middle of a paragraph

2008-06-24 Thread Loathe
Here's what I have:

generalPara = paragraph.init("1. ");
generalChunk = chunk.init("General");
generalChunk.setUnderline(javaCast("float", "0.2"), javaCast("float", 
"-2"));
generalPara.add(generalChunk);

For some reason the first part of the paragraph, "1. " isn't being out 
put to the page, and although general shows up it isn't underlined, ideas?

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308057
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Ian Rutherford
Oh, I changed the cfscript tag to:







 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308056
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Ian Rutherford
I fixed that but am now getting a message "Could not find the coldFusion 
component or interface application.coupons" (The actual cfc in the application 
scope is application.coupons, not application. couponcfc as in the code above). 
I dumped the application.coupons variable and it is a real component. 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308055
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread James Holmes
Yes, that's the general idea, although as I recall the access needs to
be "remote," not "public."

On Tue, Jun 24, 2008 at 11:17 PM, Ian Rutherford
<[EMAIL PROTECTED]> wrote:
> So I would have something like this?
>
> 
>
> returntype="all">
>
>
>
> type="string">
>
> getCouponList=application.couponCFC.getCouponList(page,pagesize,gridSortColumn,gridSortDirection)>
>
>

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

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308054
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Ian Rutherford
I am planning on writing my next app in coldbox. I already started and 
integrated transfer with little difficulty. Not sure I'm going to bother with 
ColdSpring as it will probably be overkill for an app with about five 
components. 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308053
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Ian Rutherford
So I would have something like this?











 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308052
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFC confusion. please help!

2008-06-24 Thread Tom Chiverton
On Tuesday 24 Jun 2008, Brian Kotek wrote:
> They "__type__" hack is only on the server side, to allow you to pass
> structures to Flex and fool it into thinking it is a CFC, since CFC
> creation is too slow when dealing with larger numbers of CFCs. On the Flex
> side they convert to actual ActionScript classes so you still retain all
> the code hinting, etc. in FlexBuilder.

Of course, CF is dynamically typed, so it doesn't care than foo[i].property 
accesses an array of struct rather than an array of CFC, so CF code carries 
on regardless.
CFEclipse doesn't do syntax insight so it's not a problem there.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308051
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFC confusion. please help!

2008-06-24 Thread Brian Kotek
They "__type__" hack is only on the server side, to allow you to pass
structures to Flex and fool it into thinking it is a CFC, since CFC creation
is too slow when dealing with larger numbers of CFCs. On the Flex side they
convert to actual ActionScript classes so you still retain all the code
hinting, etc. in FlexBuilder.

On Tue, Jun 24, 2008 at 6:40 AM, Dave Watts <[EMAIL PROTECTED]> wrote:

> > Although with CF8 talking to Flex's RemoteObject, you can use
> > an array of struct with a 'magic key' ('__type__') instead.
>
> But then, if you're using Flex Builder, you lose all the autocomplete
> goodness that you get from having value objects, right?
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308050
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Suppressing white space in source

2008-06-24 Thread Adrian Lynch
Try:

&nme=#nme#&ttl=#ttl#&ico1=#ico1#&ico2=#ico2#&id=#id#<
/cfoutput>

This'll banish any white space around the output.

Adrian

-Original Message-
From: Robert Harrison [mailto:[EMAIL PROTECTED]
Sent: 24 June 2008 14:20
To: CF-Talk
Subject: Suppressing white space in source


I have a situation where I'm running a query (or several) to output strings
for flash remoting, but I'm still getting white space in the source pages.
You can see an example of this at:
http://69.10.45.176/flashquery_bio_landing.cfm... just do view source.

Right now I'm using  and wrapping the
queries in , but the white space is still there. Any ideas on how
I can get rid of this?

Current page code is:




select bio_id, name, title, icon1, icon2
from tbl_bios
where display=1
















&nme=#nme#&ttl=#ttl#&ico1=#ico1#&ico2=#ico2#&id=#id#

Thanks.



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


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308049
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Suppressing white space in source

2008-06-24 Thread Robert Harrison
Duh... application.cfm. That was it. 

Thank You

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

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

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 24, 2008 9:28 AM
To: CF-Talk
Subject: Re: Suppressing white space in source

Have you accounted for white space in any other file involvled in this 
request, such as application.cfm, etc?





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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308048
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: KInda OT - FF3 and flash forms

2008-06-24 Thread Will Swain
Thanks Rick - hope you enjoyed cfunited btw. 

I totally uninstalled all previous versions, including having to manually
remove the firefox 3 beta folder, and then reinstalled and that did seem to
do the job. 

I was surprised at how little there was on there about this.

Anyway, all fixed now.

Cheers

w

-Original Message-
From: Rick Mason [mailto:[EMAIL PROTECTED] 
Sent: 24 June 2008 14:30
To: CF-Talk
Subject: Re: KInda OT - FF3 and flash forms

Will,

I got back from CFUnited and found out that everyone who downloaded FF3 at
our company was having problems with our Flash Forms.

All I could find was a post on Mike Chambers blog that referenced a problem
with FF3 and Flash which had been fixed.  But he only referenced a mac url
for the fix and we're on Windows.

The key thing was that everyone having a problem downloaded FF3 on the big
download day.  I downloaded it yesterday and didn't experience a problem.

Their version of FF3 didn't indicate that an update was available.  However
removing Firefox 3 and completely reinstalling fixed the problem here.


Rick Mason




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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308047
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: KInda OT - FF3 and flash forms

2008-06-24 Thread Rick Mason
Will,

I got back from CFUnited and found out that everyone who downloaded FF3 at
our company was having problems with our Flash Forms.

All I could find was a post on Mike Chambers blog that referenced a problem
with FF3 and Flash which had been fixed.  But he only referenced a mac url
for the fix and we're on Windows.

The key thing was that everyone having a problem downloaded FF3 on the big
download day.  I downloaded it yesterday and didn't experience a problem.

Their version of FF3 didn't indicate that an update was available.  However
removing Firefox 3 and completely reinstalling fixed the problem here.


Rick Mason

On Thu, Jun 19, 2008 at 6:46 PM, Will Swain <[EMAIL PROTECTED]> wrote:

> If anyone is interested - that did the trick.
>
> Woot
>
> -Original Message-
> From: Will Swain [mailto:[EMAIL PROTECTED]
> Sent: 19 June 2008 22:53
> To: CF-Talk
>  Subject: RE: KInda OT - FF3 and flash forms
>
>
> Nope. This was a clean install of FF3 with no extensions at all.
>
> I noticed that there was still a ff3 beta folder in the Program files
> folder, although I had uninstalled it - have deleted it, will uninstall ff3
> and restart, then try again.
>
> No other xp pro machines here to test on. Will install it on the mac though
> to check.
>
> Thanks for the time guys - if anyone has any other bright ideas I'm all
> ears!
>
> -Original Message-
> From: Matt Williams [mailto:[EMAIL PROTECTED]
> Sent: 19 June 2008 22:48
> To: CF-Talk
> Subject: Re: KInda OT - FF3 and flash forms
>
> On Thu, Jun 19, 2008 at 4:40 PM, Will Swain <[EMAIL PROTECTED]> wrote:
> > Final release. I get the same thing with flash player 9 and the 10 beta.
> >
> > Darn it.
>
> Any funky FF add-ons/extensions possibly causing the issue?
> Firebug and Web developer are the only ones I'm running.
>
> Does it work on another computer within the network? If not, maybe some
> funky trusted domain setting or someting??
>
> --
> Matt Williams
> "It's the question that drives us."
>
>
>
>
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308046
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Suppressing white space in source

2008-06-24 Thread Ian Skinner
Have you accounted for white space in any other file involvled in this 
request, such as application.cfm, etc?



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308045
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Suppressing white space in source

2008-06-24 Thread Robert Harrison
I have a situation where I'm running a query (or several) to output strings
for flash remoting, but I'm still getting white space in the source pages.
You can see an example of this at:
http://69.10.45.176/flashquery_bio_landing.cfm... just do view source.

Right now I'm using  and wrapping the
queries in , but the white space is still there. Any ideas on how
I can get rid of this?

Current page code is:




select bio_id, name, title, icon1, icon2
from tbl_bios
where display=1
















&nme=#nme#&ttl=#ttl#&ico1=#ico1#&ico2=#ico2#&id=#id#

Thanks.



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

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



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308044
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


dynamic queries/tables in coldfusion

2008-06-24 Thread erik tom
For example I may have 3 courses . so i want to dynamically generate the query 
and fill the result into the THe number of courses can change that why I 
need to dynamically generate the queries 

I came up with code but does not seems to be working 



#erLastName#,#erFirstName#
#eaLastName#,#eaFirstName#
#locname#
#empLastName#,#first_name#


Select completiondate from EmployeeTraining 
where EmployeeID=#EmployeeID# and courseID in (#lcourse#)



bgcolor="##00FF00"bgcolor="##FF">








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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308043
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: variables.whatever isn't defined in CFC

2008-06-24 Thread Rick Faircloth
Let me know your thoughts as you work with it.

Rick

> -Original Message-
> From: Will Tomlinson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 8:36 AM
> To: CF-Talk
> Subject: Re: variables.whatever isn't defined in CFC
> 
> > Is that different or a part of Coldspring?
> >
> > Rick
> 
> It's its own framework. It does have coldspring integrated in it.
> 
> I like it because it uses cfc's as event handlers, not xml. Seems easier for 
> me to understand.
> 
> Generating a template layout is pretty nifty too. Just been doin basics so 
> far but I like what I
see.
> Gonna continue with it this week.
> 
> Will
> 
> 
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308042
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: variables.whatever isn't defined in CFC

2008-06-24 Thread Will Tomlinson
> Is that different or a part of Coldspring?
> 
> Rick

It's its own framework. It does have coldspring integrated in it. 

I like it because it uses cfc's as event handlers, not xml. Seems easier for me 
to understand. 

Generating a template layout is pretty nifty too. Just been doin basics so far 
but I like what I see. Gonna continue with it this week. 

Will


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308041
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFC confusion. please help!

2008-06-24 Thread Tom Chiverton
On Tuesday 24 Jun 2008, Dave Watts wrote:
> > an array of struct with a 'magic key' ('__type__') instead.
> But then, if you're using Flex Builder, you lose all the autocomplete
> goodness that you get from having value objects, right?

Flex Builder keys off the ActionScript value objects, which remain strongly 
typed i.e. unchanged, including appropriate [RemoteClass] hints.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308040
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Mailer Output

2008-06-24 Thread Tom Chiverton
On Tuesday 24 Jun 2008, Jason Congerton wrote:
> sorry I wasn't really clear with what I actually need help with, I
> basically need to know how to output the page html to a text file, I have
> been looking at cfcontent.


#whateverMakesYourPage()#




-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308039
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: variables.whatever isn't defined in CFC

2008-06-24 Thread Rick Faircloth
Is that different or a part of Coldspring?

Rick

> -Original Message-
> From: Will Tomlinson [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 24, 2008 12:09 AM
> To: CF-Talk
> Subject: Re: variables.whatever isn't defined in CFC
> 
> > I'm just beginning to work with CFC's, so I'm in no position
> > to be able to validate your code, however (and it's probably
> > just a typo in your email), I did notice a missing ">" at the
> > end of this line:
> 
> Hey Rick, I started playin around with Coldbox today. Man you gotta give it a 
> whirl. It kicks
*ss!!
> 
> Will



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308038
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Column type to CF_SQL_TYPE map

2008-06-24 Thread Jochem van Dieten
Adrian Lynch wrote:
> Is there a definitive list of what CF SQL type goes with what column data
> type?

The JDBC spec has a list with the most common datatypes. Anything that 
isn't in there should be in the documentation of the JDBC driver you are 
using.

Jochem


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308037
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Mailer Output

2008-06-24 Thread Jason Congerton
Hi again

sorry I wasn't really clear with what I actually need help with, I basically 
need to know how to output the page html to a text file, I have been looking at 
cfcontent.

Jason



> Hi 
> 
> My client is using a third party to send out there monthly email news 
> letter, I have created an admin facility which creates the the mailer 
> using full paths to images etc.. The email marketing software requires 
> the user to copy and past the html source code into a form field.
> 
> For ease I would like to be able to output the queried page including 
> all html to a text file, so the user can copy and paste, without the 
> need to load the page, right click to view source etc. Or if there is 
> a better way to go, I am all ears!!
> 
> Jason 


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308036
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Why do I need getters/setters?

2008-06-24 Thread Dave Watts
> But I was lookin at Joe's legacy samples ...

I wouldn't read too much into samples. I haven't looked at the sample in
question, but it may not be a complete application.

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

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

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308035
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFC confusion. please help!

2008-06-24 Thread Dave Watts
> Although with CF8 talking to Flex's RemoteObject, you can use 
> an array of struct with a 'magic key' ('__type__') instead.

But then, if you're using Flex Builder, you lose all the autocomplete
goodness that you get from having value objects, right?

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

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

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308034
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Why do I need getters/setters?

2008-06-24 Thread Will Tomlinson
>Well, the example I created was pulled right out of my ... imagination. But
>if you create different object instances for each user, and store those in
>each user's session, the fact that you have the same structure for each of
>those instances doesn't matter at all.
>
But I was lookin at Joe's legacy samples and I see he has a Contact.cfc and 
ContactManager.cfc in his model.

And in his controllers he has a ContactManagerController.cfc. 

It has this line:


  

So does model glue automatically take care of it for you? How would this be 
thread safe? There isn't a reference to session anywhere I can find. 

Thanks Dave!

Will 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308033
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Mailer Output

2008-06-24 Thread Jason Congerton
Hi 

My client is using a third party to send out there monthly email news letter, I 
have created an admin facility which creates the the mailer using full paths to 
images etc.. The email marketing software requires the user to copy and past 
the html source code into a form field.

For ease I would like to be able to output the queried page including all html 
to a text file, so the user can copy and paste, without the need to load the 
page, right click to view source etc. Or if there is a better way to go, I am 
all ears!!

Jason 


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308032
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFC confusion. please help!

2008-06-24 Thread Tom Chiverton
On Monday 23 Jun 2008, Matt Williams wrote:
> One issue with returning an array of objects instead of a query is
> that if you're talking about lots of records, creating all those
> objects can become processing and memory intensive.

Although with CF8 talking to Flex's RemoteObject, you can use an array of 
struct with a 'magic key' ('__type__') instead.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308031
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4