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, No

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

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

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

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 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 u

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: > > 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;

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 Line 10, Column 1: comment declaration started here Terry -Original Message- From: Azadi Saryev [mailto:azadi.sar.

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

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 spe

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 bangin

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

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

RE: Homesite Comment Command

2010-11-14 Thread Russ Michaels
Terry, 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 Mess

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:// no

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 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-

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- Fro

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 workin

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= 'howfas

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

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, R

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:

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 prior to submitting the information. Would your suggestion be a good way

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

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

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? Pe

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 uses that have been helpful, but not mentioned here. ~

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/14

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

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:

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/ > >Fi

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 breake

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-90

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=UTF8&jiveRedirect=1 Andrew ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?

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 hav

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

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 ever

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 Messa