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 frameworks rewrite the code to use it and customers do the same.
Sandboxing in CF has improved very slowly over the years and the CF9 changes
do at least allow you to isolate some Java methods, which is something I
have been suggesting for years, but I think CF probably needs to take a
whole new approach to security.
Obviously the Railo method of separate contexts with their own admin is the
best solution, but they could augment this further to also sandbox any JAVA
calls so that there can be no I/O activity outside the context root at all
unless expressly permitted.

Russ

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


On Sat, Nov 13, 2010 at 4:19 AM, Russ Michaels r...@michaels.me.uk wrote:
 This new function

It's not a function :)

I read your email and thought What new function? Why can't Russ be more
specific? :)

So now CFML has a 'new' keyword that works just like 'new' in other
languages:

a = new SomeType(42); // equivalent to a = createObject( 'component',
'SomeType' ).init( 42 );
--
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:339303
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-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 still felt strange to me that instance
values, internal state, constants, etc, and methods were all dumped
into the variables scope, and indistinguishable from them, except by
diving through the properties array of the whole extends tree. Without
doing that, even the object itself can't know what the data fields
are, even internally, like for instance to iterate over them and ask
each one if it's valid. To some extent, getMemento is related to, and
my reaction to the need for, this kind of sometimes-necessary
introspection.

- If you google coldfusion getMemento, you'll find multiple
implementations. Perhaps these folks are all wrong-headed, but that
reinforced my sense that this was a useful tool.

- My first actual use case is to implement isDirty(). There are many
ways to go about this, and I'm curious what your best practice is.
  What I was thinking was to populate the bean, then call
setNotDirty(), which would call getMemento and save the result in an
internal field. When isDirty() was called, you'd iterate over the
fields in the object, comparing them to the saved values. This doesn't
break encapsulation, or put raw un-object data out there for the whole
world to see; it's internal.
  In this case, the answer to my actual question is that if you're
going to compare the raw data rather the results of getters,
getMemento should return the raw data; that's my initial inclination,
without having built it. If you're going to compare getter results,
getMemento needs to return them too.

- The second use case I was thinking of is serialization, where the
answer to my question seems to depend on where the data's going. If it
ends up on another server in an object just like this one, you'd
probably want getMemento to return the raw data, so it didn't run
through getter processing both before serialization and when getters
were called on the remote object. If it's headed for HTML rendering
through a js templating engine, unless you want to duplicate the
getter logic there, you probably want the getter values, with any
formatting and other logic they have. Obviously, getMemento() isn't
the same as serialize(), but it's arguable that serialize could call
it in the generic default case.

Maybe I'm just being OO-green to ask this question, but that's roughly
what was on my mind.


@Mike, I don't understand why you say you'd have to call getters to
get anything other than the default values. The value of
variables.myField will have changed if the object's setters were
called with data that's different from the defaults; it's not
necessary to call a getter to see that change. The difference is that
getters may have their own logic, to format the raw data, combine it
with other fields, etc, so the value in the variables scope may not be
the same as what the getter returns.

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:339304
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-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-talk
Subject: Re: Where to put your code


On Mon, Nov 15, 2010 at 2:13 PM, Paul Alkema
paulalkemadesi...@gmail.com wrote:
 Does anyone out there have any written coding standards or coding
 documentation that they would be willing to share? I would be interested
in
 seeing what other development teams use as far as coding standards.

Here's what my team developed / used back when I was at Macromedia:

http://livedocs.adobe.com/wtg/public/
-- 
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:339305
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339306
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-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 paulalkemadesi...@gmail.com wrote:

 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-talk
 Subject: Re: Where to put your code


 On Mon, Nov 15, 2010 at 2:13 PM, Paul Alkema
 paulalkemadesi...@gmail.com wrote:
 Does anyone out there have any written coding standards or coding
 documentation that they would be willing to share? I would be interested
 in
 seeing what other development teams use as far as coding standards.

 Here's what my team developed / used back when I was at Macromedia:

 http://livedocs.adobe.com/wtg/public/
 --
 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:339307
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7f51.htmlautosuggest
= list or bind expression


On Wed, Nov 17, 2010 at 8:13 AM, fun and learning
funandlrnn...@gmail.comwrote:


 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/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339308
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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:

cfdirectory action=list directory=C:/Websites/176663mf4/images/rad_images/ 
filter=#PartNumber#.jpg name=myFileList

cfif myFileList.RowCount gt 0
do something
cfelse
do something else 
/cfif

The site is hosted on a shared server, i took the above path (hoping its my 
absolute path) from the error it threw. I'm trying to get the hosting company 
to supply me with the path. Does the above code look correct? Could it be my 
directory path?

Thanks!

Aaron



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


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


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/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339311
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-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-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339312
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-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) for
our ticket tracking system, or SugarCRM (PHP) for our ... CRM. There's
great products out there already so why reinvent the wheel.

Andy

On 17 November 2010 15:53, Michael Grant mgr...@modus.bz wrote:


 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-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339313
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 
cfinput with autosuggest attribute.

Azadi

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


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 azadi.sar...@gmail.comwrote:


 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
 cfinput with autosuggest attribute.

 Azadi

 

~|
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:339315
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-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 agree that it seems silly to do this though. I would think that if a
company is selling a product it seems like they should be using the product
themselves and not try to mask that they are or are not using the product. I
do know they have a lot of flex integration on the site.

:)


-Original Message-
From: Michael Grant [mailto:mgr...@modus.bz] 
Sent: Wednesday, November 17, 2010 10:54 AM
To: cf-talk
Subject: Re: Where to put your code



 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-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339316
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 greyk...@gmail.com wrote:


 I'm pretty sure cfselect doesn't have a built-in autosuggest.

 On Wed, Nov 17, 2010 at 10:08 AM, Azadi Saryev azadi.sar...@gmail.com
 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 you are on cf8+: use
  cfinput with autosuggest attribute.
 
  Azadi
 
 

 

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


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 advertising can't be either/or.  It must be .

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


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


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


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 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 advertising can't be either/or.  It must be .

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


 

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


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:

cfset cfActiveWebrootDirectory =
application.activeWebrootDirectory

cfoutput

script type=text/javascript

$(document).ready(function() {
var jsActiveWebrootDirectory =
'#cfActiveWebrootDirectory#';
});

/script

/cfoutput

and the following in the js file, 01-processEmailProperty.js:

url: '' + jsActiveWebrootDirectory +
'/modules/emailProperty/00-propertyEmailProcessing.cfc?method=mEmailProperty
returnFormat=json'

The line url line immediately above is part of the js file that is
referenced in the .cfm
mentioned at the top of this message as an external js file like this:

script type=text/javascript
src=modules/emailProperty/01-processEmailProperty.js/script

Why would the var, jsActiveWebrootDirectory, always be undefined in the
file containing the url line above when the 01-processEmailProperty.js
function is called?


Does the question make sense?
I can reword it if it's not clear...

Rick



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


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
funandlrnn...@gmail.comwrote:


 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/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339322
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339323
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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

2010-11-17 Thread Michael Grant

Define your var outside of the function.

script type=text/javascript

var jsActiveWebrootDirectory;

$(document).ready(function() {

  jsActiveWebrootDirectory = '#cfActiveWebrootDirectory#';

 });


/script


On Wed, Nov 17, 2010 at 2:20 PM, Rick Faircloth r...@whitestonemedia.comwrote:


 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:

cfset cfActiveWebrootDirectory =
 application.activeWebrootDirectory

cfoutput

script type=text/javascript

$(document).ready(function() {
var jsActiveWebrootDirectory =
 '#cfActiveWebrootDirectory#';
});

/script

/cfoutput

 and the following in the js file, 01-processEmailProperty.js:

 url: '' + jsActiveWebrootDirectory +

 '/modules/emailProperty/00-propertyEmailProcessing.cfc?method=mEmailProperty
 returnFormat=json'

 The line url line immediately above is part of the js file that is
 referenced in the .cfm
 mentioned at the top of this message as an external js file like this:

 script type=text/javascript
 src=modules/emailProperty/01-processEmailProperty.js/script

 Why would the var, jsActiveWebrootDirectory, always be undefined in the
 file containing the url line above when the 01-processEmailProperty.js
 function is called?


 Does the question make sense?
 I can reword it if it's not clear...

 Rick



 

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


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.

script type=text/javascript

var jsActiveWebrootDirectory;

$(document).ready(function() {

  jsActiveWebrootDirectory = '#cfActiveWebrootDirectory#';

 });


/script


On Wed, Nov 17, 2010 at 2:20 PM, Rick Faircloth
r...@whitestonemedia.comwrote:


 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:

cfset cfActiveWebrootDirectory =
 application.activeWebrootDirectory

cfoutput

script type=text/javascript

$(document).ready(function() {
var jsActiveWebrootDirectory =
 '#cfActiveWebrootDirectory#';
});

/script

/cfoutput

 and the following in the js file, 01-processEmailProperty.js:

 url: '' + jsActiveWebrootDirectory +


'/modules/emailProperty/00-propertyEmailProcessing.cfc?method=mEmailProperty
 returnFormat=json'

 The line url line immediately above is part of the js file that is
 referenced in the .cfm
 mentioned at the top of this message as an external js file like this:

 script type=text/javascript
 src=modules/emailProperty/01-processEmailProperty.js/script

 Why would the var, jsActiveWebrootDirectory, always be undefined in
the
 file containing the url line above when the 01-processEmailProperty.js
 function is called?


 Does the question make sense?
 I can reword it if it's not clear...

 Rick



 



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


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 mgr...@modus.bz wrote:


 Define your var outside of the function.

 script type=text/javascript

 var jsActiveWebrootDirectory;

 $(document).ready(function() {

  jsActiveWebrootDirectory = '#cfActiveWebrootDirectory#';

  });


 /script


 On Wed, Nov 17, 2010 at 2:20 PM, Rick Faircloth r...@whitestonemedia.com
 wrote:

 
  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:
 
 cfset cfActiveWebrootDirectory =
  application.activeWebrootDirectory
 
 cfoutput
 
 script type=text/javascript
 
 $(document).ready(function() {
 var jsActiveWebrootDirectory =
  '#cfActiveWebrootDirectory#';
 });
 
 /script
 
 /cfoutput
 
  and the following in the js file, 01-processEmailProperty.js:
 
  url: '' + jsActiveWebrootDirectory +
 
 
 '/modules/emailProperty/00-propertyEmailProcessing.cfc?method=mEmailProperty
  returnFormat=json'
 
  The line url line immediately above is part of the js file that is
  referenced in the .cfm
  mentioned at the top of this message as an external js file like this:
 
  script type=text/javascript
  src=modules/emailProperty/01-processEmailProperty.js/script
 
  Why would the var, jsActiveWebrootDirectory, always be undefined in
 the
  file containing the url line above when the 01-processEmailProperty.js
  function is called?
 
 
  Does the question make sense?
  I can reword it if it's not clear...
 
  Rick
 
 
 
 

 

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


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


  

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


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


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 greyk...@gmail.com wrote:


 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 mgr...@modus.bz wrote:

 
  Define your var outside of the function.
 
  script type=text/javascript
 
  var jsActiveWebrootDirectory;
 
  $(document).ready(function() {
 
   jsActiveWebrootDirectory = '#cfActiveWebrootDirectory#';
 
   });
 
 
  /script
 
 
  On Wed, Nov 17, 2010 at 2:20 PM, Rick Faircloth 
 r...@whitestonemedia.com
  wrote:
 
  
   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:
  
  cfset cfActiveWebrootDirectory =
   application.activeWebrootDirectory
  
  cfoutput
  
  script type=text/javascript
  
  $(document).ready(function() {
  var jsActiveWebrootDirectory =
   '#cfActiveWebrootDirectory#';
  });
  
  /script
  
  /cfoutput
  
   and the following in the js file, 01-processEmailProperty.js:
  
   url: '' + jsActiveWebrootDirectory +
  
  
 
 '/modules/emailProperty/00-propertyEmailProcessing.cfc?method=mEmailProperty
   returnFormat=json'
  
   The line url line immediately above is part of the js file that is
   referenced in the .cfm
   mentioned at the top of this message as an external js file like this:
  
   script type=text/javascript
   src=modules/emailProperty/01-processEmailProperty.js/script
  
   Why would the var, jsActiveWebrootDirectory, always be undefined in
  the
   file containing the url line above when the
 01-processEmailProperty.js
   function is called?
  
  
   Does the question make sense?
   I can reword it if it's not clear...
  
   Rick
  
  
  
  
 
 

 

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


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 greyk...@gmail.com wrote:


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


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=qrchd=t:60,40chs=250x100chl=coldfusion%20rocks
 
http://chart.apis.google.com/chart?cht=qrchd=t:60,40chs=250x100chl=coldfusion%20rocks



Robert Harrison wrote:
 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 advertising can't be either/or.  It must be .

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


 

~|
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:339331
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-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 andy.al...@gmail.com 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 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) for
 our ticket tracking system, or SugarCRM (PHP) for our ... CRM. There's
 great products out there already so why reinvent the wheel.

 Andy

 On 17 November 2010 15:53, Michael Grant mgr...@modus.bz wrote:
 
 
  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-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339332
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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, 2010 at 2:33 PM, Michael Grant mgr...@modus.bz wrote:


 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 greyk...@gmail.com wrote:

 
  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 mgr...@modus.bz wrote:
 
  
   Define your var outside of the function.
  
   script type=text/javascript
  
   var jsActiveWebrootDirectory;
  
   $(document).ready(function() {
  
jsActiveWebrootDirectory = '#cfActiveWebrootDirectory#';
  
});
  
  
   /script
  
  
   On Wed, Nov 17, 2010 at 2:20 PM, Rick Faircloth 
  r...@whitestonemedia.com
   wrote:
  
   
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:
   
   cfset cfActiveWebrootDirectory =
application.activeWebrootDirectory
   
   cfoutput
   
   script type=text/javascript
   
   $(document).ready(function() {
   var jsActiveWebrootDirectory =
'#cfActiveWebrootDirectory#';
   });
   
   /script
   
   /cfoutput
   
and the following in the js file, 01-processEmailProperty.js:
   
url: '' + jsActiveWebrootDirectory +
   
   
  
 
 '/modules/emailProperty/00-propertyEmailProcessing.cfc?method=mEmailProperty
returnFormat=json'
   
The line url line immediately above is part of the js file that is
referenced in the .cfm
mentioned at the top of this message as an external js file like
 this:
   
script type=text/javascript
src=modules/emailProperty/01-processEmailProperty.js/script
   
Why would the var, jsActiveWebrootDirectory, always be undefined
 in
   the
file containing the url line above when the
  01-processEmailProperty.js
function is called?
   
   
Does the question make sense?
I can reword it if it's not clear...
   
Rick
   
   
   
   
  
  
 
 

 

~|
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:339333
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-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/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 11/15/2010 4:13 PM, Paul Alkema wrote:
 Thanks for your feedback. You make some good points.

 Does anyone out there have any written coding standards or coding
 documentation that they would be willing to share? I would be interested in
 seeing what other development teams use as far as coding standards.


 

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


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

Jeff

On Wed, Nov 17, 2010 at 3:12 PM, Mike Crank wmcr...@ecastcorp.com wrote:


 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=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339335
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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.

Just wondering if anyone can recommend any of them, or others?

Thanks!  We're most interested in Best Practices, Java Memory Sizing and 
Garbage Collection Tuning, so the Kippdata looks good, but wanted to see if 
others had any experience or input about 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:339336
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-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, Michael Grant mgr...@modus.bz wrote:

 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 andy.al...@gmail.com 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 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) for
 our ticket tracking system, or SugarCRM (PHP) for our ... CRM. There's
 great products out there already so why reinvent the wheel.

 Andy

 On 17 November 2010 15:53, Michael Grant mgr...@modus.bz wrote:
 
 
  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-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339337
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 greyk...@gmail.com wrote:


 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, 2010 at 2:33 PM, Michael Grant mgr...@modus.bz wrote:

 
  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 greyk...@gmail.com wrote:
 
  
   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 mgr...@modus.bz
 wrote:
  
   
Define your var outside of the function.
   
script type=text/javascript
   
var jsActiveWebrootDirectory;
   
$(document).ready(function() {
   
 jsActiveWebrootDirectory = '#cfActiveWebrootDirectory#';
   
 });
   
   
/script
   
   
On Wed, Nov 17, 2010 at 2:20 PM, Rick Faircloth 
   r...@whitestonemedia.com
wrote:
   

 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:

cfset cfActiveWebrootDirectory =
 application.activeWebrootDirectory

cfoutput

script type=text/javascript

$(document).ready(function() {
var jsActiveWebrootDirectory =
 '#cfActiveWebrootDirectory#';
});

/script

/cfoutput

 and the following in the js file, 01-processEmailProperty.js:

 url: '' + jsActiveWebrootDirectory +


   
  
 
 '/modules/emailProperty/00-propertyEmailProcessing.cfc?method=mEmailProperty
 returnFormat=json'

 The line url line immediately above is part of the js file that
 is
 referenced in the .cfm
 mentioned at the top of this message as an external js file like
  this:

 script type=text/javascript
 src=modules/emailProperty/01-processEmailProperty.js/script

 Why would the var, jsActiveWebrootDirectory, always be
 undefined
  in
the
 file containing the url line above when the
   01-processEmailProperty.js
 function is called?


 Does the question make sense?
 I can reword it if it's not clear...

 Rick




   
   
  
  
 
 

 

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


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/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339339
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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

2010-11-17 Thread Tony Bentley

You should be doing the following:

head

set all of your global vars first...

script
  //global vars
/script

load all scripts after.

script type=text/javascript src=jquery-1.4.2.min.js/script
script type=text/javascript src=jquery.ui/jquery.ui.core.min.js/script

then run the jquery onload event...

script
  $(document).ready(function(){//functions on page load go here});
/script
/head

Which will set everything without needing to load the document first. 

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


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
cascadefreehee...@gmail.comwrote:


 You should be doing the following:

 head

 set all of your global vars first...

 script
  //global vars
 /script

 load all scripts after.

 script type=text/javascript src=jquery-1.4.2.min.js/script
 script type=text/javascript
 src=jquery.ui/jquery.ui.core.min.js/script

 then run the jquery onload event...

 script
  $(document).ready(function(){//functions on page load go here});
 /script
 /head

 Which will set everything without needing to load the document first.

 

~|
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:339341
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-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 on building and
selling their tools?

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


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


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... in other words, it could still change the
 behavior of code!)

I like JavaDoc.  =)

Something just strikes me as weird when I see hint=a lot of stuff,
maybe even hyperlinks and you know,
 * bullets
 * and
 * whatnot, all sorta mixed in there.  I like the idea of going with
something that works with the semantics of the ultimate program, the
programmer.  Maybe other people don't mind that kind of thing though.

Yes, JavaDoc rocks, IMHO.  =)

:Den

-- 
Man is a wingless animal with two feet and flat nails.
Plato

~|
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:339344
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-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 two mutually exclusive?  =)p

:Denny

-- 
Man never legislates, but destinies and accidents, happening in all
sorts of ways, legislate in all sorts of ways.
Plato

~|
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:339345
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-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 real sense that there is a finite amount of
resources. I'd much rather have Adobe hire more CF product developers
and testers, etc, than pay developers to rewrite their site.

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


URGENT REQUIREMENTS FOR MY DIRECT CLIENT

2010-11-17 Thread Sam Francis

Hi There,

 

Hope you are doing great,

 

Please do have a look at my below client requirements and let me know if you
have any candidates available and are ready to take up new projects ASAP.
Send me your candidates profile to s...@ksourceinc.com; 

 

Role 1: ColdFusion Developer

Location: San Diego, CA

Duration: 1 Year

Rate: Open

 

Immediate Interviews and Placements!!!

 

 

All submissions must include resumes and the following consultant
information:

 

Full Name:

Phone:

Rate:

Email: 

Location:

Relocation:

Legal Status:

Date Available:

Last 4 Digits of the SSN:

Date of Birth:

Education:

Passing Year:

Reference 1:

Reference 2:

 

 

Thanks  Regards,  

SAM

KSOURCE  INC

Phone: 248-458-1322 x 204 | 972-607-9839 x 204 | Fax: 248 498 6173 

9555 Lebanon Rd, Unit # 103, Frisco TX- 75035

 mailto:s...@ksourceinc.com s...@ksourceinc.com; 
IM:  mailto:sam_ksou...@yahoo.com sam_ksou...@yahoo.com;  

 http://www.ksourceinc.com/ www.ksourceinc.com;


Note: Under Bill s.1618 Title III passed by the 105th U.S. Congress this
mail cannot be considered Spam as long as we include contact information and
a remove link for removal from our mailing list. To be removed from our
mailing list reply with remove and include your original email
address/addresses in the subject heading. Include complete
address/addresses and/or domain to be removed. We will immediately update it
accordingly. We apologize for the inconvenience if any caused.

 




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