Re: Where to put your code

2010-11-17 Thread Dave Watts
>> Adobe is a big company, with a bunch of products. Adobe's web site >> predates the Macromedia merger. Should they rewrite their site with CF >> to make it more "prominent", or should they focus on building and >> selling their tools? > > Are the two mutually exclusive?  =)p Yes, in the very re

Re: Where to put your code

2010-11-17 Thread denstar
On Wed, Nov 17, 2010 at 8:58 PM, Dave Watts wrote: ... > Adobe is a big company, with a bunch of products. Adobe's web site > predates the Macromedia merger. Should they rewrite their site with CF > to make it more "prominent", or should they focus on building and > selling their tools? Are the t

Re: cfscript based components formatting

2010-11-17 Thread denstar
On Mon, Nov 15, 2010 at 7:18 PM, Sean Corfield wrote: ... > (it doesn't affect my position that comments should never change the > semantics of code - although, as noted by Ray, the example given only > affects metadata so it would only affect the semantics of a program > that tested that metadata

Re: ColdFusion/Flex RemoteObjects

2010-11-17 Thread Dave Watts
> RemoteObjects will not return. Just get a busy cursor. Running CF8/Flex 3.3. > Any help is appreciated. This could be almost anything. What happens if you add TraceTarget to your app and debug it? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Lea

Re: Where to put your code

2010-11-17 Thread Dave Watts
> I meant the prominence of the product itself on the adobe site, not the > implementation of the technology. Adobe is a big company, with a bunch of products. Adobe's web site predates the Macromedia merger. Should they rewrite their site with CF to make it more "prominent", or should they focus

Re: Problem with undefined js variable set via cf...

2010-11-17 Thread Michael Grant
Tony's right of course. Though I think the OP understands my response was to illustrate the concept. On Wed, Nov 17, 2010 at 6:39 PM, Tony Bentley wrote: > > You should be doing the following: > > > > set all of your global vars first... > > > //global vars > > > load all scripts after.

Re: Problem with undefined js variable set via cf...

2010-11-17 Thread Tony Bentley
You should be doing the following: set all of your global vars first... //global vars load all scripts after. then run the jquery onload event... $(document).ready(function(){//functions on page load go here}); Which will set everything without needing to load the document

Re: CF QR Code Generator

2010-11-17 Thread Leigh
> How about google charts?  Yep. If you prefer to interface with ZXing at a higher level, that is a good option. -Leigh ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/

Re: Problem with undefined js variable set via cf...

2010-11-17 Thread Michael Grant
Ah. Gotcha. Not that it really matters but the $(document).ready part is actually JQuery, a JS framework. The actual JS syntax is much more bulky for discovering the ready state of the DOM. On Wed, Nov 17, 2010 at 3:45 PM, morgan l wrote: > > As you can probably tell, I don't do much js work. I

Re: Where to put your code

2010-11-17 Thread Andy Allan
Ah OK - gotcha well like it or not, things such as Creative Suite directly affect Adobe's stock price so it always gets top billing. And then of course there's Livecycle, which speaks for itself. I wouldn't worry about CF not being on the Adobe.com homepage On 17 November 2010 18:43, Michae

Apache Tomcat Training?

2010-11-17 Thread Marie Taylore
Hi, Has anyone taken Apache Tomcat training from the any of the vendors listed at: http://wiki.apache.org/tomcat/SupportAndTraining (scroll down to "Training" section) It include vendors: Kippdata, DevelopIntelligence, SpringSource, MuleSoft, NobleProg, OpenLogic and Savoir-faire Linux. Jus

Re: ColdFusion/Flex RemoteObjects

2010-11-17 Thread Jeffrey Battershall
Mike, More info is required here. Is Flash remoting support enabled in CF Admin? Are the CFC methods exposed remotely? Is the Flex app running in the same domain as CF? Why are you using Flex 3.3 instead of Flex 3.5? Have you tried using a Network sniffer like Charles? Are you capturing any

Re: Where to put your code

2010-11-17 Thread Cutter (ColdFusion)
Some of it is a little dated... http://blog.cutterscrossing.com/index.cfm/General-Coding-Guidelines Steve "Cutter" Blades Adobe Community Professional - ColdFusion Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of "Learning Ext JS" http://www.packtpub.com/l

Re: Problem with undefined js variable set via cf...

2010-11-17 Thread morgan l
As you can probably tell, I don't do much js work. I get the global declaration part, but I've never used nor understood the $(document).ready(function() part. I suppose I was thinking the ready function wasn't firing, so the previously undeclared variable would be now be null. On Wed, Nov 17,

Re: Where to put your code

2010-11-17 Thread Michael Grant
I meant the prominence of the product itself on the adobe site, not the implementation of the technology. On Wed, Nov 17, 2010 at 11:08 AM, Andy Allan wrote: > > It's not that at all ... I believe Day is now powering all the ADC > content etc (which makes perfect sense) and I know that the Part

Re: CF QR Code Generator

2010-11-17 Thread rex
How about google charts? http://code.google.com/apis/chart/docs/gallery/qr_codes.html Here's a sample: http://chart.apis.google.com/chart?cht=qr&chd=t:60,40&chs=250x100&chl=coldfusion%20rocks Robert

Re: Problem with undefined js variable set via cf...

2010-11-17 Thread Michael Grant
What about it strikes you as odd? When you define a variable inside a function it's only available to that function. On Wed, Nov 17, 2010 at 3:33 PM, morgan l wrote: > > I guess not. Still strikes me as odd, but if it works, that's great. > > > ~~~

Re: Problem with undefined js variable set via cf...

2010-11-17 Thread Michael Grant
No, because you are defining it outside of the function, making it global. Then setting it to cfActiveWebrootDirectory when the DOM reports it's in a ready state. On Wed, Nov 17, 2010 at 3:30 PM, morgan l wrote: > > Won't that just make it null instead of undefined when the "url:" line of > the

Re: Problem with undefined js variable set via cf...

2010-11-17 Thread morgan l
I guess not. Still strikes me as odd, but if it works, that's great. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusi

Re: CF QR Code Generator

2010-11-17 Thread Leigh
> requires some JAva and Java Loader BTW: JavaLoader is not technically required. I used it because it was more convenient. If you prefer, you could just throw the jars into the CF classpath and use createObject() as usual. Cheers -Leigh ~~

Re: Problem with undefined js variable set via cf...

2010-11-17 Thread morgan l
Won't that just make it null instead of undefined when the "url:" line of the included .js file runs? Not that I have a better answer. On Wed, Nov 17, 2010 at 2:20 PM, Michael Grant wrote: > > Define your var outside of the function. > > > > var jsActiveWebrootDirectory; > > $(document).ready(

RE: Problem with undefined js variable set via cf...

2010-11-17 Thread Rick Faircloth
Gracias! Thanks, Michael! Perfecto! Rick -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Wednesday, November 17, 2010 3:20 PM To: cf-talk Subject: Re: Problem with undefined js variable set via cf... Define your var outside of the function. var jsActiveWebroot

Re: Problem with undefined js variable set via cf...

2010-11-17 Thread Michael Grant
Define your var outside of the function. var jsActiveWebrootDirectory; $(document).ready(function() { jsActiveWebrootDirectory = '#cfActiveWebrootDirectory#'; }); On Wed, Nov 17, 2010 at 2:20 PM, Rick Faircloth wrote: > > I'm trying to set a js var using cf in the head of a

ColdFusion/Flex RemoteObjects

2010-11-17 Thread Mike Crank
RemoteObjects will not return. Just get a busy cursor. Running CF8/Flex 3.3. Any help is appreciated. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusio

Re: cfselect and autosuggest

2010-11-17 Thread Michael Grant
Are you sure you mean cfselect? To autosuggest you would need to start typing something so you'd need something like a combo box vs a select box. Do you mean cfinput? On Wed, Nov 17, 2010 at 9:13 AM, fun and learning wrote: > > Is there a way to implement autosuggest within cfselect using coldfu

Problem with undefined js variable set via cf...

2010-11-17 Thread Rick Faircloth
I'm trying to set a js var using cf in the head of a file, then use that js var in an externally called js file... If I'm using this in the head of a .cfm page to set a js var with cf: $(document).ready(function() {

Re: CF QR Code Generator

2010-11-17 Thread Alan Rother
cfSearching has a great example, requires some JAva and Java Loader http://cfsearching.blogspot.com/2010/04/coldfusion-zxing-read-write-qrcode.html =] On Wed, Nov 17, 2010 at 11:29 AM, Robert Harrison < rob...@austin-williams.com> wrote: > > Just curious, has anyone seen any CFCs or CF code sn

Re: CF QR Code Generator

2010-11-17 Thread Leigh
Coincidentally, the topic just came up on stackoverflow.com. In short, one option is use ZXing. I am sure there are others. http://stackoverflow.com/questions/4181065/creating-qr-code-with-coldfusion -Leigh ~| Order th

CF QR Code Generator

2010-11-17 Thread Robert Harrison
Just curious, has anyone seen any CFCs or CF code snippets for generating a QR code? Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great adverti

Re: cfselect and autosuggest

2010-11-17 Thread funand learning
Yes cfselect does not have autosuggest attribute. On Wed, Nov 17, 2010 at 11:15 AM, morgan l wrote: > > I'm pretty sure cfselect doesn't have a built-in autosuggest. > > On Wed, Nov 17, 2010 at 10:08 AM, Azadi Saryev >wrote: > > > > > On 17/11/2010 22:13 , fun and learning wrote: > > > without

RE: Where to put your code

2010-11-17 Thread Paul Alkema
What makes you think this? It looks to me like most files have a .html extension. I'm sure these html files are dynamic though, perhaps they're rendering ColdFusion in the html pages. http://www.codemonkeysteve.com/blog/2010/03/coldfusion-parsing-coldfusion-in -a-htm-extension-on-iis6/ I do agre

Re: cfselect and autosuggest

2010-11-17 Thread morgan l
I'm pretty sure cfselect doesn't have a built-in autosuggest. On Wed, Nov 17, 2010 at 10:08 AM, Azadi Saryev wrote: > > On 17/11/2010 22:13 , fun and learning wrote: > > without using javascript or javascript libraries > without *using* js - no. > > wihtout *writing any js yourself* - yes, if yo

Re: cfselect and autosuggest

2010-11-17 Thread Azadi Saryev
On 17/11/2010 22:13 , fun and learning wrote: > without using javascript or javascript libraries without *using* js - no. wihtout *writing any js yourself* - yes, if you are on cf8+: use with autosuggest attribute. Azadi ~| O

Re: Where to put your code

2010-11-17 Thread Andy Allan
It's not that at all ... I believe Day is now powering all the ADC content etc (which makes perfect sense) and I know that the Partner area is moving over to be driven by Salesforce. And there's other jsp content mixed in there too. It's really no difference from us using Trac (powered by Python)

Re: Where to put your code

2010-11-17 Thread Michael Grant
> > although a lot of what is adobe.com seems to be moving away from CF > I noticed this the other day. Seems like Adobe isn't all that proud of CF. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldf

Re: cfdirectory -- Element ROWCOUNT is undefined in MYFILELIST.

2010-11-17 Thread Aaron M Renfroe
That was it Thanks!!! On Wed, Nov 17, 2010 at 10:15 AM, <> wrote: > > Hi, > > Try recordCount instead of rowCount. > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/143027

Re: cfdirectory -- Element ROWCOUNT is undefined in MYFILELIST.

2010-11-17 Thread Claude Schnéegans
Hi, Try recordCount instead of rowCount. ~| 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/messag

cfdirectory -- Element ROWCOUNT is undefined in MYFILELIST.

2010-11-17 Thread Aaron Renfroe
Hello Everyone! I'm trying to use the cfdirectory to see if a image file exists on my remote server. Here is my code: do something do something else

Re: cfselect and autosuggest

2010-11-17 Thread John M Bliss
Try http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7f51.html autosuggest = "list or bind expression" On Wed, Nov 17, 2010 at 8:13 AM, fun and learning wrot

Re: Where to put your code

2010-11-17 Thread Andy Allan
The key phrase from Sean is "when I was at Macromedia". You'll need to chap at the Adobe web team door to get an updated version (although a lot of what is adobe.com seems to be moving away from CF). Andy On 17 November 2010 14:18, Paul Alkema wrote: > > Hey Sean, > Thanks, this doc looks grea

cfselect and autosuggest

2010-11-17 Thread fun and learning
Is there a way to implement autosuggest within cfselect using coldfusion without using javascript or javascript libraries? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272

RE: Where to put your code

2010-11-17 Thread Paul Alkema
Hey Sean, Thanks, this doc looks great. It would be nice if we could get an updated version of this doc someday but for now this is a great point of reference. ;) Paul -Original Message- From: Sean Corfield [mailto:seancorfi...@gmail.com] Sent: Monday, November 15, 2010 7:44 PM To: cf-t

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

2010-11-17 Thread Dave Merrill
With all due respect to all you far more OO-seasoned gentlemen than I, this isn't the response I expected. Here's what I was thinking: - On a gut level, though I appreciate the value of an object that hides its internals completely and provides no access to them other than through its methods, it

RE: CF Blog software

2010-11-17 Thread Russ Michaels
Someone beat you to the punch Sean, sorry :-) The original comment made it sound like a new feature as in NEW (not old) rather than the word new. Although as I said it will be gr8 if it gets round the need for CreateObject(java) but even so then sadly this won't be useful until all the framework