RE: CF Blog software

2010-11-14 Thread Russ Michaels

Ah could potentially be useful as long as it doesn't internally require
cfreateobject(java) like cfdump does.
Obviously it would  require all the frameworks to be rewritten to use this
before it will be helpful to hosts and allow them to keep createobject(java)
disabled.

RUss

-Original Message-
From: James Holmes [mailto:james.hol...@gmail.com] 
Sent: 14 November 2010 01:43
To: cf-talk
Subject: Re: CF Blog software


http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WS61C07B60-3D65-4d71-8
F2A-8411D8010E60.html

--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/



On 13 November 2010 20:19, Russ Michaels r...@michaels.me.uk wrote:

 This new function

 -Original Message-
 From: Sean Corfield [mailto:seancorfi...@gmail.com]
 Sent: 13 November 2010 07:44
 To: cf-talk
 Subject: Re: CF Blog software


 On Thu, Nov 11, 2010 at 1:40 AM, Russ Michaels r...@michaels.me.uk
wrote:
 could we have an example ?

 An example of what?
 --
 Sean A Corfield -- (904) 302-SEAN
 Railo Technologies, Inc. -- http://getrailo.com/
 An Architect's View -- http://corfield.org/

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwood



 



~|
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:339191
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Where to put your code

2010-11-14 Thread Russ Michaels

Seriously? There are many thousands or hundreds of thousands of programs out
there that were written before OOP even existed in many different languages,
including your operating system.
Perhaps YOU are not able to produce well written programs without OOP or
CFC's, but that does not apply to everyone else on the planet, and many
people still continue to do so.

Russ

-Original Message-
From: Paul Alkema [mailto:paulalkemadesi...@gmail.com] 
Sent: 13 November 2010 13:19
To: cf-talk
Subject: Re: Where to put your code


I second this. : )

On Fri, Nov 12, 2010 at 8:05 PM, James Holmes james.hol...@gmail.comwrote:


 I'd argue that CF didn't allow for well written applications before
 CFCs came along.

 --
 WSS4CF - WS-Security framework for CF
 http://wss4cf.riaforge.org/



 On 13 November 2010 02:16, Dave Watts dwa...@figleaf.com wrote:
  Functions existed well before CFCs - does that mean that
  well-written applications predating the use of CFCs are now
  poorly-written?

 



~|
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:339192
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Builder Code Color Problem

2010-11-14 Thread Krish reddy

Can you please do these steps to know the cause of the issue so that I can
help accordingly.
1.Launch ColdFusion Builder.In the Help Menu click on Adobe ColdFusion
Builder Registartion... .If  it opens the registration window then it is NOT
licensing issue.

Probably you would have run the updater but didn't start CFB with -clean
option.

If you have run the updater please start the CFB from command prompt with
-clean option ( CFBuilder.app/MacOS/Contents/CFBuilder -clean - There are
typos here you can see for the actual names on Mac. )
If you are on Windows CFBuilder -clean.If you are using the eclipse use the
paths accordingly.

2.When you click on HelpAdobe ColdFusion Builder Registartion... if it
throws a message like 'this operation is not supported' means there may
be license issue.If this is the case please send me the /tmp/amt.log file.


Thanks,
Krishna


On Fri, Jul 2, 2010 at 9:11 PM, Adrocknaphobia adrocknapho...@gmail.comwrote:


 This can be a sign that the product licensing it's working. Do you have a
 license for CB or are your using the trial version? Is it possible the
 trial
 has expired? Try setting the date back on your PC and restart to see if
 coloring resumes.

 -Adam

 On Fri, Jul 2, 2010 at 11:16 AM, Donnie Carvajal 
 donnie.carva...@transformyx.com wrote:

 
  When I loaded CF Builder this morning.  All of my files are black and
 white
  with no coloring at all.  Does anyone know how to fix this?  I've
 restarted
  my computer and reloaded CF Builder.  I have also reimported my color
 file
  and still nothing.
 
  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:339193
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


AWS and CF

2010-11-14 Thread Brook Davies

Hello Folks,

 

I'm investigating cloud computing to see if it is a viable option for our
company. So far it looks promising although there does seem to be lots of
reports of fluctuating performance (I would assume this because of 'noisy
neighbours..' , but otherwise it looks promising.

 

I have been testing the AWS library (http://awsconsole.riaforge.org/) , but
its from 2008 and uses an older version of the API (v1 rather than v2). I
tried upgrading it to support 2.0, but with no luck. Has anyone already done
this? Is there a better way?

 

Also, the Adobe private beta of CF9 which indicated it included some support
for AWS, was announced over a year ago. Is there any information about when
that support will be released or what will be included?

 

Thanks for your input!

 

Brook 

 




~|
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:339194
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: AWS and CF

2010-11-14 Thread Andrew Grosset

I use ElasticFox, an add on for firefox
http://aws.amazon.com/developertools/609?_encoding=UTF8jiveRedirect=1

Andrew 

~|
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:339195
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: AWS and CF

2010-11-14 Thread Gerald Guido

The only support I am aware of is that CF 9.0.1 can treat Amazon S3 as a
local file system ala CFFile and CFdirectory and some functions.

 There is  a post on it on Ray Camden's blog a while back.

http://www.coldfusionjedi.com/index.cfm/2010/7/15/CF901-Guide-to-Amazon-S3-support-in-ColdFusion-901

Search his site for 9.0.1 for more info

HTH
G!

On Sun, Nov 14, 2010 at 11:41 AM, Brook Davies cft...@logiforms.com wrote:


 Hello Folks,



 I'm investigating cloud computing to see if it is a viable option for our
 company. So far it looks promising although there does seem to be lots of
 reports of fluctuating performance (I would assume this because of 'noisy
 neighbours..' , but otherwise it looks promising.



 I have been testing the AWS library (http://awsconsole.riaforge.org/) ,
 but
 its from 2008 and uses an older version of the API (v1 rather than v2). I
 tried upgrading it to support 2.0, but with no luck. Has anyone already
 done
 this? Is there a better way?



 Also, the Adobe private beta of CF9 which indicated it included some
 support
 for AWS, was announced over a year ago. Is there any information about when
 that support will be released or what will be included?



 Thanks for your input!



 Brook






 

~|
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:339196
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: AWS and CF

2010-11-14 Thread Russ Michaels

Open BlueDragon has native support for AWS
http://www.openbluedragon.org/manual/?/amazon_s3

As does Railo
http://blog.getrailo.com/post.cfm/s3-with-railo

I don't know how they compare to ColdFusion's support as I haven't
personally used either, but might be worth comparing if it is a deal breaker
for you.


--
Russ Michaels

http://www.bluethunderinternet.com : B2B hosting, VPS's, Exchange, CF, Railo
www.cfmldeveloper.com  : CFML community, FREE ColdFusion/Railo
hosting
http://www.michaels.me.uk  :   My Blog  
skype me   :  russmichaels




~|
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:339197
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Working with cfqueryparam

2010-11-14 Thread David Moore

  null=#Trim(FORM.Contributed) EQ ''#

 I like this.

I find this easier to read:

null=#yesNoFormat(len(trim(form.contributed)))#

just because the nested quotes can be confusing.

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

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

~|
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:339198
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Working with cfqueryparam

2010-11-14 Thread David Moore

Dave,

I find this easier to read:
null=#yesNoFormat(len(trim(form.contributed)))#

I really like this in that is seems to be truer to the actual use of the 
variable as CF intended it to be used. 

To confirm what you are proposing, if form.contributed is NULL it will produce 
the following:

null=yes

Otherwise, if form.contribute has some information it will produce:

null=no

Should this be written in on every cfqueryparam as a failsafe or should other 
steps be taken so that is not 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:339199
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Should a getMemento method return the results of getters if they exist?

2010-11-14 Thread Dave Merrill

In the cfproperty-oriented world, where properties get dumped into the
variables scope along with your methods and anything else there, many
folks including me have written getMemento methods to return a struct
with the values of the object's declared properties, only.

Do you suppose methods like this should use the values returned by
getters where they exist? Or just the raw internal data?

If you're populating another instance of the object from this result,
I suppose it would depend on whether that object had similar getters,
and maybe setters too; you wouldn't want to get data already processed
by a getter, then process it again in its new home. OTOH, if the
receiving object is dumb, you might want the
formatted/defaulted/logi-processed version that a getter would return.
So maybe it's a context-specific thing.

My impression is that the memento itself is a dumb value object only,
no getters or setters, so it seems like getters should be used when
you get the data out of a smarter object that has them. Or should
there be a flag to enable getters? If so, what's its default?

Any thoughts?

Dave

~|
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:339200
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Should a getMemento method return the results of getters if they exist?

2010-11-14 Thread Phillip Vector

Should a getMemento method return the results of getters if they exist?

I believe so, but backwards.

Sorry.. Couldn't resist.

~|
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:339201
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Working with cfqueryparam

2010-11-14 Thread David Moore

I really appreciate everyone's input. This kind of documentation is very 
helpful for a lot of people. I have found CF-Talk to be the best CF resource 
available. Maybe some of the experts on this list can provide other examples of 
cfqueryparam uses that have been helpful, but not mentioned here. 

~|
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:339202
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Working with cfqueryparam

2010-11-14 Thread Roger Austin

On 11/14/2010 1:52 PM, David Moore wrote:
 I find this easier to read:
 null=#yesNoFormat(len(trim(form.contributed)))#

What about using null=#isDate(form.contributed)# ?
It looks like you are assuming a valid date or an empty
string. What if someone puts in foo into the form field?
Perhaps you are doing something else to validate the field
that I am not following.
-- 
LinkedIn: http://www.linkedin.com/pub/8/a4/60
Twitter:  http://twitter.com/RogerTheGeek
Blog: http://rogerthegeek.wordpress.com/
MissHunt: http://www.misshunt.com/ (Home of the Clean/Dirty Magnet)

~|
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:339203
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


returning an array from a query

2010-11-14 Thread mojtaba tabatabaie

hi  . I have written a cfc which has a function which has a query and I want 
the result of that query to be returned as an array and I have specified the 
return type of the function to Array . I hope I can then use that Array in my 
Flex application .  but I can't return the right value and CF gives me error .  
my cfc is as follow:

cfcomponent
cfprocessingdirective pageencoding=utf-8
cfset setEncoding(form,utf-8)
cfset setEncoding(url,utf-8)
cfcontent type=text/html ; charset=UTF-8
cffunction name=login access=remote returntype=Array
cfargument name=username type=string 
required=true
cfargument name=password type=string 
required=true
cfquery name=qCheck datasource=Library
select username,password from Users where 
username=cfqueryparam  value=#username# cfsqltype=cf_sql_varchar
AND password=cfqueryparam value=#password# 
cfsqltype=cf_sql_varchar 
cfreturn qCheck
/cffunction
/cfcontent
/cfcomponent

--
I'll be appreciated if you can help me with this . 
thanks . 

~|
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:339204
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


returning an array from a query

2010-11-14 Thread mojtaba tabatabaie

hi  . I have written a cfc which has a function which has a query and I want 
the result of that query to be returned as an array and I have specified the 
return type of the function to Array . I hope I can then use that Array in my 
Flex application .  but I can't return the right value and CF gives me error .  
my cfc is as follow:

cfcomponent
cfprocessingdirective pageencoding=utf-8
cfset setEncoding(form,utf-8)
cfset setEncoding(url,utf-8)
cfcontent type=text/html ; charset=UTF-8
cffunction name=login access=remote returntype=Array
cfargument name=username type=string 
required=true
cfargument name=password type=string 
required=true
cfquery name=qCheck datasource=Library
select username,password from Users where 
username=cfqueryparam  value=#username# cfsqltype=cf_sql_varchar
AND password=cfqueryparam value=#password# 
cfsqltype=cf_sql_varchar 
cfreturn qCheck
/cffunction
/cfcontent
/cfcomponent

--
I'll be appreciated if you can help me with this . 
thanks . 

~|
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:339205
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Working with cfqueryparam

2010-11-14 Thread David Moore

Roger,

What about using null=#isDate(form.contributed)# ?

Would you want to add the yesNoFormat before the isDate as in Dave's suggestion?

As to the second part, I am checking using ColdFusion's cfform methods within 
cfinput prior to submitting the information. Would your suggestion be a good 
way to provide more security or should I do more between the form input and the 
cfqueryparam?


~|
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:339206
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: returning an array from a query

2010-11-14 Thread Matt Quackenbush

You need to loop over the query result and build the array to return.
Something like so...


~|
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:339207
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: returning an array from a query

2010-11-14 Thread Russ Michaels

I don't know if you realise, but you can actually treat a query an an
associative array anyway, you do not need to do any conversion to do this.

The syntax is

Query['column'][row]

Might save you some work
--
Russ Michaels

http://www.bluethunderinternet.com : B2B hosting, VPS's, Exchange, CF, Railo
www.cfmldeveloper.com  : CFML community, FREE ColdFusion/Railo
hosting
http://www.michaels.me.uk  :   My Blog  
skype me   :  russmichaels




~|
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:339208
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: returning an array from a query

2010-11-14 Thread Matt Quackenbush

I don't use Flex, but wouldn't that still appear to Flex as an invalid data
type (e.g. not an array)?

But yes, in CF, most certainly use that syntax.  :-)


~|
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:339209
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF 9.01 S3:// not working

2010-11-14 Thread Brook Davies

Okay, I've been banging my head against this for a while. It looks so easy!
I am trying to simply list a directories contents using CF 9.01's new S3
integration. My application.cfc has:

-
this.s3.accessKeyid = 'yourmamassofat';
this.s3.awsSecretKey= 'howfastisshe?';
-

And I am trying a simple:

-
directoryList(s3://mybuck/myfolder/)
-

I get an error 

-
An error occurred when performing a file operation create on file
s3://mybucket/myfolder/.
The cause of this exception was: org.apache.commons.vfs.FileSystemException:
Unknown message with code S3 Error Message...
-

The bucket is newly created, using default permissions (which indicate that
the owner, me, has full access). Does anyone know whats wrong with this
picture?

Note, I get the same error if I use an invalid accesskey. I've triple
checked the key and it appears valid...

Brook



~|
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:339210
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9.01 S3:// not working

2010-11-14 Thread Andrew Scott

You can't use this and expect to reference it as application in your code.

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



 -Original Message-
 From: Brook Davies [mailto:br...@logiforms.com]
 Sent: Monday, 15 November 2010 8:03 AM
 To: cf-talk
 Subject: CF 9.01 S3:// not working
 
 
 Okay, I've been banging my head against this for a while. It looks so
easy!
 I am trying to simply list a directories contents using CF 9.01's new S3
 integration. My application.cfc has:
 
 -
 this.s3.accessKeyid   = 'yourmamassofat';
 this.s3.awsSecretKey  = 'howfastisshe?';
 -
 
 And I am trying a simple:
 
 -
 directoryList(s3://mybuck/myfolder/)
 -
 
 I get an error
 
 -
 An error occurred when performing a file operation create on file
 s3://mybucket/myfolder/.
 The cause of this exception was:
 org.apache.commons.vfs.FileSystemException:
 Unknown message with code S3 Error Message...
 -
 
 The bucket is newly created, using default permissions (which indicate
that
 the owner, me, has full access). Does anyone know whats wrong with this
 picture?
 
 Note, I get the same error if I use an invalid accesskey. I've triple
checked the
 key and it appears valid...
 
 Brook
 
 
 
 ~~
 ~~~|
 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:339210
 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
 Unsubscribe: http://www.houseoffusion.com/groups/cf-
 talk/unsubscribe.cfm


~|
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:339211
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9.01 S3:// not working

2010-11-14 Thread Brook Davies

Andrew,

What do you mean use this and reference it as application in your code? 
Maybe you have not read
http://www.adobe.com/devnet/coldfusion/articles/whatsnew_cf901.html
 
Or are you actually saying something constructive that I am
misunderstanding? 

Brook


-Original Message-
From: Andrew Scott [mailto:andr...@andyscott.id.au] 
Sent: November-14-10 1:17 PM
To: cf-talk
Subject: RE: CF 9.01 S3:// not working


You can't use this and expect to reference it as application in your code.

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



 -Original Message-
 From: Brook Davies [mailto:br...@logiforms.com]
 Sent: Monday, 15 November 2010 8:03 AM
 To: cf-talk
 Subject: CF 9.01 S3:// not working
 
 
 Okay, I've been banging my head against this for a while. It looks so
easy!
 I am trying to simply list a directories contents using CF 9.01's new S3
 integration. My application.cfc has:
 
 -
 this.s3.accessKeyid   = 'yourmamassofat';
 this.s3.awsSecretKey  = 'howfastisshe?';
 -
 
 And I am trying a simple:
 
 -
 directoryList(s3://mybuck/myfolder/)
 -
 
 I get an error
 
 -
 An error occurred when performing a file operation create on file
 s3://mybucket/myfolder/.
 The cause of this exception was:
 org.apache.commons.vfs.FileSystemException:
 Unknown message with code S3 Error Message...
 -
 
 The bucket is newly created, using default permissions (which indicate
that
 the owner, me, has full access). Does anyone know whats wrong with this
 picture?
 
 Note, I get the same error if I use an invalid accesskey. I've triple
checked the
 key and it appears valid...
 
 Brook
 
 
 
 ~~
 ~~~|
 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:339210
 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
 Unsubscribe: http://www.houseoffusion.com/groups/cf-
 talk/unsubscribe.cfm




~|
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:339212
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Homesite Comment Command

2010-11-14 Thread Terry Troxel

I don't know if this is OT or not.
I Homesite 5+ in CFML Basic the  !--- comment command gives you this: !---
---
Where can I change that to output: !--  -- as W3C doesn't validate with
the 3 dashes?

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:339213
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9.01 S3:// not working

2010-11-14 Thread Andrew Scott

Ok, I wasn't aware that the S3 was baked into the application object like
this.

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

 -Original Message-
 From: Brook Davies [mailto:cft...@logiforms.com]
 Sent: Monday, 15 November 2010 9:17 AM
 To: cf-talk
 Subject: RE: CF 9.01 S3:// not working
 
 
 Andrew,
 
 What do you mean use this and reference it as application in your
code?
 Maybe you have not read
 http://www.adobe.com/devnet/coldfusion/articles/whatsnew_cf901.html
 
 Or are you actually saying something constructive that I am
 misunderstanding?
 
 Brook
 


~|
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:339214
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command

2010-11-14 Thread Russ Michaels

Terry,

!--- This is a ColdFusion Comment ---
!-- This is a HTML comment --

If you put an HTML comment around CFML it will do nothing and the code will
still execute.
CFML comments do not appear in the source code so any HTML validation will
not see it, if you are running the validation on the CFML source then just
ignore the comments.

Russ

-Original Message-
From: Terry Troxel [mailto:terry.tro...@gmail.com] 
Sent: 14 November 2010 22:21
To: cf-talk
Subject: Homesite Comment Command


I don't know if this is OT or not.
I Homesite 5+ in CFML Basic the  !--- comment command gives you this: !---
---
Where can I change that to output: !--  -- as W3C doesn't validate with
the 3 dashes?

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:339215
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command

2010-11-14 Thread Terry Troxel

Russ thanks for answering.
I guess I wasn't specific enough.
Is there a keyboard shortcut command to do the html comment in Homesite?
I use Coldfusion in my Site Admin for my clients to design their pages and
then 
When they update it writes all the pages to plain html for SEO as well as
speed.
If there is a command it would save me a bunch of time programming instead
of
Deleting the extra dashes by hand.

Terry

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Sunday, November 14, 2010 2:36 PM
To: cf-talk
Subject: RE: Homesite Comment Command


Terry,

!--- This is a ColdFusion Comment ---
!-- This is a HTML comment --

If you put an HTML comment around CFML it will do nothing and the code will
still execute.
CFML comments do not appear in the source code so any HTML validation will
not see it, if you are running the validation on the CFML source then just
ignore the comments.

Russ

-Original Message-
From: Terry Troxel [mailto:terry.tro...@gmail.com] 
Sent: 14 November 2010 22:21
To: cf-talk
Subject: Homesite Comment Command


I don't know if this is OT or not.
I Homesite 5+ in CFML Basic the  !--- comment command gives you this: !---
---
Where can I change that to output: !--  -- as W3C doesn't validate with
the 3 dashes?

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:339216
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Homesite Comment Command

2010-11-14 Thread Kym Kovan

On 15/11/2010 10:54, Terry Troxel wrote:

 Russ thanks for answering.
 I guess I wasn't specific enough.
 Is there a keyboard shortcut command to do the html comment in Homesite?

ctrl-shift-M works here


-- 

Yours,

Kym Kovan
mbcomms.net.au


~|
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:339217
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9.01 S3:// not working

2010-11-14 Thread Andrew Grosset

In case its a permission issue on your bucket try setting the ACL for 
everyone to read - better still make a test bucket and set everything on that 
bucket to read,write and full control. I use the Amazon S3 REST Wrapper by Joe 
Danziger so can't advise directly on CF9.

Okay, I've been banging my head against this for a while. It looks so easy!
I am trying to simply list a directories contents using CF 9.01's new S3
integration. My application.cfc has:

-
this.s3.accessKeyid= 'yourmamassofat';
this.s3.awsSecretKey   = 'howfastisshe?';
-

And I am trying a simple:

-
directoryList(s3://mybuck/myfolder/)
-

I get an error 

-
An error occurred when performing a file operation create on file
s3://mybucket/myfolder/.
The cause of this exception was: org.apache.commons.vfs.FileSystemException:
Unknown message with code S3 Error Message...
-

The bucket is newly created, using default permissions (which indicate that
the owner, me, has full access). Does anyone know whats wrong with this
picture?

Note, I get the same error if I use an invalid accesskey. I've triple
checked the key and it appears valid...

Brook 

~|
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:339218
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Homesite Comment Command

2010-11-14 Thread Azadi Saryev

iirc, the 3-dash cf comment does not trip html validation. the 3rd dash 
is considered the first character of comment text.
i do not ever remember having trouble with cf comments in W3C validator.

Azadi

On 15/11/2010 07:54 , Terry Troxel wrote:
 Russ thanks for answering.
 I guess I wasn't specific enough.
 Is there a keyboard shortcut command to do the html comment in Homesite?
 I use Coldfusion in my Site Admin for my clients to design their pages and
 then
 When they update it writes all the pages to plain html for SEO as well as
 speed.
 If there is a command it would save me a bunch of time programming instead
 of
 Deleting the extra dashes by hand.

 Terry

 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk]
 Sent: Sunday, November 14, 2010 2:36 PM
 To: cf-talk
 Subject: RE: Homesite Comment Command


 Terry,

 !--- This is a ColdFusion Comment ---
 !-- This is a HTML comment --

 If you put an HTML comment around CFML it will do nothing and the code will
 still execute.
 CFML comments do not appear in the source code so any HTML validation will
 not see it, if you are running the validation on the CFML source then just
 ignore the comments.

 Russ

 -Original Message-
 From: Terry Troxel [mailto:terry.tro...@gmail.com]
 Sent: 14 November 2010 22:21
 To: cf-talk
 Subject: Homesite Comment Command


 I don't know if this is OT or not.
 I Homesite 5+ in CFML Basic the!--- comment command gives you this:!---
 ---
 Where can I change that to output:!--  --  as W3C doesn't validate with
 the 3 dashes?

 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:339219
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Homesite Comment Command

2010-11-14 Thread Kym Kovan

On 15/11/2010 11:22, Azadi Saryev wrote:

 iirc, the 3-dash cf comment does not trip html validation. the 3rd dash
 is considered the first character of comment text.
 i do not ever remember having trouble with cf comments in W3C validator.

If you are being strict the comment is actually, in quotes, !-- , 
note the space at the end. So the third dash is wrong in that context.


-- 

Yours,

Kym Kovan
mbcomms.net.au


~|
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:339220
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command

2010-11-14 Thread Terry Troxel

These are the errors I get with XHTML Transitional
Line 10, Column 27: invalid comment declaration: found name character
outside comment but inside comment declaration 
!--- this is a comment --- 
 Line 10, Column 1: comment declaration started here 
!--- this is a comment ---

Terry

-Original Message-
From: Azadi Saryev [mailto:azadi.sar...@gmail.com] 
Sent: Sunday, November 14, 2010 4:22 PM
To: cf-talk
Subject: Re: Homesite Comment Command


iirc, the 3-dash cf comment does not trip html validation. the 3rd dash 
is considered the first character of comment text.
i do not ever remember having trouble with cf comments in W3C validator.

Azadi

On 15/11/2010 07:54 , Terry Troxel wrote:
 Russ thanks for answering.
 I guess I wasn't specific enough.
 Is there a keyboard shortcut command to do the html comment in Homesite?
 I use Coldfusion in my Site Admin for my clients to design their pages and
 then
 When they update it writes all the pages to plain html for SEO as well as
 speed.
 If there is a command it would save me a bunch of time programming instead
 of
 Deleting the extra dashes by hand.

 Terry

 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk]
 Sent: Sunday, November 14, 2010 2:36 PM
 To: cf-talk
 Subject: RE: Homesite Comment Command


 Terry,

 !--- This is a ColdFusion Comment ---
 !-- This is a HTML comment --

 If you put an HTML comment around CFML it will do nothing and the code
will
 still execute.
 CFML comments do not appear in the source code so any HTML validation will
 not see it, if you are running the validation on the CFML source then just
 ignore the comments.

 Russ

 -Original Message-
 From: Terry Troxel [mailto:terry.tro...@gmail.com]
 Sent: 14 November 2010 22:21
 To: cf-talk
 Subject: Homesite Comment Command


 I don't know if this is OT or not.
 I Homesite 5+ in CFML Basic the!--- comment command gives you this:!---
 ---
 Where can I change that to output:!--  --  as W3C doesn't validate with
 the 3 dashes?

 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:339221
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: returning an array from a query [spamtrap bayes][spamtrap heur]

2010-11-14 Thread Paul Hastings

On 11/15/2010 2:10 AM, mojtaba tabatabaie wrote:
   cfset setEncoding(form,utf-8)
   cfset setEncoding(url,utf-8)

these aren't required in your CFC.


just return the query to flex  use something like this in your event handler:

private function streamsResultHandler(event:ResultEvent):void {
streams=event.result as ArrayCollection;
}

or are you using some kind of typed object in flex?

~|
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:339222
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9.01 S3:// not working

2010-11-14 Thread Raymond Camden

Don't you want to list the bucket, and not a folder underneath it?

Try just

 directoryList(s3://mybuck/)


On Sun, Nov 14, 2010 at 3:03 PM, Brook Davies br...@logiforms.com wrote:

 Okay, I've been banging my head against this for a while. It looks so easy!
 I am trying to simply list a directories contents using CF 9.01's new S3
 integration. My application.cfc has:

 -
 this.s3.accessKeyid     = 'yourmamassofat';
 this.s3.awsSecretKey    = 'howfastisshe?';
 -

 And I am trying a simple:

 -
 directoryList(s3://mybuck/myfolder/)
 -

 I get an error

 -
 An error occurred when performing a file operation create on file
 s3://mybucket/myfolder/.
 The cause of this exception was: org.apache.commons.vfs.FileSystemException:
 Unknown message with code S3 Error Message...
 -

 The bucket is newly created, using default permissions (which indicate that
 the owner, me, has full access). Does anyone know whats wrong with this
 picture?

 Note, I get the same error if I use an invalid accesskey. I've triple
 checked the key and it appears valid...

 Brook



 

~|
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:339223
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Homesite Comment Command

2010-11-14 Thread Dave Merrill

Haven't followed this whole thread, not sure what you're doing, but
the CFML comment sequence should never print through to the output at
all, ***when interpreted by a CFML engine***. If you're reading the
file somehow, then it's not being handled as CFML, and you'll have to
deal wiht it according to your circumstances. But as CFML, the
validator hsould never see it, because it doesn't render on the page.
It's a comment, not HTML.

Dave

On Sun, Nov 14, 2010 at 7:47 PM, Terry Troxel terry.tro...@gmail.com wrote:

 These are the errors I get with XHTML Transitional
 Line 10, Column 27: invalid comment declaration: found name character
 outside comment but inside comment declaration
 !--- this is a comment ---
  Line 10, Column 1: comment declaration started here
 !--- this is a comment ---

 Terry

 -Original Message-
 From: Azadi Saryev [mailto:azadi.sar...@gmail.com]
 Sent: Sunday, November 14, 2010 4:22 PM
 To: cf-talk
 Subject: Re: Homesite Comment Command


 iirc, the 3-dash cf comment does not trip html validation. the 3rd dash
 is considered the first character of comment text.
 i do not ever remember having trouble with cf comments in W3C validator.

 Azadi

 On 15/11/2010 07:54 , Terry Troxel wrote:
 Russ thanks for answering.
 I guess I wasn't specific enough.
 Is there a keyboard shortcut command to do the html comment in Homesite?
 I use Coldfusion in my Site Admin for my clients to design their pages and
 then
 When they update it writes all the pages to plain html for SEO as well as
 speed.
 If there is a command it would save me a bunch of time programming instead
 of
 Deleting the extra dashes by hand.

 Terry

 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk]
 Sent: Sunday, November 14, 2010 2:36 PM
 To: cf-talk
 Subject: RE: Homesite Comment Command


 Terry,

 !--- This is a ColdFusion Comment ---
 !-- This is a HTML comment --

 If you put an HTML comment around CFML it will do nothing and the code
 will
 still execute.
 CFML comments do not appear in the source code so any HTML validation will
 not see it, if you are running the validation on the CFML source then just
 ignore the comments.

 Russ

 -Original Message-
 From: Terry Troxel [mailto:terry.tro...@gmail.com]
 Sent: 14 November 2010 22:21
 To: cf-talk
 Subject: Homesite Comment Command


 I don't know if this is OT or not.
 I Homesite 5+ in CFML Basic the!--- comment command gives you this:!---
 ---
 Where can I change that to output:!--  --  as W3C doesn't validate with
 the 3 dashes?

 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:339224
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command (please read before replying)

2010-11-14 Thread Terry Troxel

Ok, let's see if I can clarify my request.

I am requesting a way, any way to possibly create a keyboard shortcut within
Homesite to let me create a HTML comment in my pages.
I do not know how to create this and am asking for help in that regard only.

I have had quite a few replies and thanks for those, but none of them are
addressing my request.

I have written my own CFM that allows me to give a small business person a
website they easily control. I give them a back end that is written in
Coldfusion that I customize to fill each sites needs. There is a command
that updates their pages, which rewrites every page on the front end of
their site to plain jane HTML which runs extremely fast and is very search
engine friendly. I have commented quite a bit of the code to make it easy
for me to add, update, or otherwise grow this contraption from time to time.
I only want to make my life a little easier by not having to do what I've
been doing forever and deleting the extra dashes. Period. If someone could
show me how to write a function in Homesite PLEASE reply. 

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:339225
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command

2010-11-14 Thread Terry Troxel

THANK YOU, Thank you.

Problem solved. You made my day Kym.

Terry

-Original Message-
From: Kym Kovan [mailto:dev-li...@mbcomms.net.au] 
Sent: Sunday, November 14, 2010 4:14 PM
To: cf-talk
Subject: Re: Homesite Comment Command


On 15/11/2010 10:54, Terry Troxel wrote:

 Russ thanks for answering.
 I guess I wasn't specific enough.
 Is there a keyboard shortcut command to do the html comment in Homesite?

ctrl-shift-M works here


-- 

Yours,

Kym Kovan
mbcomms.net.au




~|
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:339226
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Homesite Comment Command

2010-11-14 Thread Mark A. Kruger

Terry,

You can create your own short cuts using the SNIPPETS panel.

Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
Skype: markakruger
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com


-Original Message-
From: Terry Troxel [mailto:terry.tro...@gmail.com] 
Sent: Sunday, November 14, 2010 5:55 PM
To: cf-talk
Subject: RE: Homesite Comment Command


Russ thanks for answering.
I guess I wasn't specific enough.
Is there a keyboard shortcut command to do the html comment in Homesite?
I use Coldfusion in my Site Admin for my clients to design their pages and
then 
When they update it writes all the pages to plain html for SEO as well as
speed.
If there is a command it would save me a bunch of time programming instead
of
Deleting the extra dashes by hand.

Terry

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Sunday, November 14, 2010 2:36 PM
To: cf-talk
Subject: RE: Homesite Comment Command


Terry,

!--- This is a ColdFusion Comment ---
!-- This is a HTML comment --

If you put an HTML comment around CFML it will do nothing and the code will
still execute.
CFML comments do not appear in the source code so any HTML validation will
not see it, if you are running the validation on the CFML source then just
ignore the comments.

Russ

-Original Message-
From: Terry Troxel [mailto:terry.tro...@gmail.com] 
Sent: 14 November 2010 22:21
To: cf-talk
Subject: Homesite Comment Command


I don't know if this is OT or not.
I Homesite 5+ in CFML Basic the  !--- comment command gives you this: !---
---
Where can I change that to output: !--  -- as W3C doesn't validate with
the 3 dashes?

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:339227
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm