Re: Measuring bandwidth used per user

2010-02-03 Thread derek felsher

 I need to measure bandwidth used because this is how I
 charge. Uploading is fine to measure, but is it possible
 to measure how many times an attachment was successfully
 accessed (either opened in browser or downloaded)?

I would advise parsing the web server logs for this information for two
reasons:

1) It will be more accurate and give you exact byte counts for the files
that were accessed.

2) It will not tie up ColdFusion threads as using CFCONTENT would to serve
them up.  If you have several people downloading large files at once over
relatively slow connections there is a chance that all of the available CF
threads could be ties up and the site would appear to become unresponsive to
others.


-Justin

Cool,

Justin is this possible from client side, I do not own the  server. (Some 
sample code will save me days of homework.)

Is this also possible for measuring bandwidth from a cfmail execution.(Faced 
with same predicament).

If you could provide the code , I'll give 5points of my revenue. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330376
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfgrid flash href

2010-02-03 Thread morchella

hey guys.
i know cfgrid flash doesn't support href in cfgridcolumn
but there has to be a way?

cfgrid name=hoverArea query=gHa selectmode=edit format=flash
height=210 width=800 rowheaders=no
onchange=getUrl('_edit_hoverArea.cfm?ha_1Id=' +
hoverArea.dataProvider[hoverArea.selectedIndex]['ha_Id']); 

make the entire row a link.
but i only want a link in the id column, since the other columns are
for editing data.

has any one done this.
i have googled till i can google no more..
so i come here =]

cf8

thanks!
-m

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330377
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF 9 Multi server IIS and Virtual Applications

2010-02-03 Thread Robert Everland

I have found out how to create a multi server using applications on one web 
root. My question to the group is about suggested methodologies in regards to 
the multi server. We have an application that causes issues with all of our 
other web apps, we will definitely be segregating that one in its own instance, 
but how should I handle the other applications? Should I let them run in the 
main instance of Jrun/CF or create another application and run the rest of our 
applications in that instance. 

To give a bit of background we have all of our applications under one IIS 
Website that we protect with SSL. While it would be nice to create a separate 
site for each application it just isn't feasible at this time due to cost of 
SSL for each one of the apps. So if I were to segregate the applications I 
would have to go to each one and do the HTTP handler of it (which isn't that 
big of a deal since I will only have to do it once). I also can't make a 
seperate CF instance for each application as it would take way too much memory. 
I am hoping to just segregate the problem applications so we have less issues 
for the future.


Bob 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330378
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfmapitem

2010-02-03 Thread Raymond Camden

Um... so yes, CF9 has this bug. It is definitely a bug. Um. Don't
ask why it worked on my version, because I can't answer. Good news is
that it WILL be fixed. Unfortunately you are stuck for now. It isn't
too hard to use Google maps by hand though.

On Tue, Feb 2, 2010 at 9:43 PM, Azadi Saryev az...@sabai-dee.com wrote:

 that's rather weird. i get the same error as well in cf9 on winXP.
 seems like a bug...
 Ray - how come you do not get this error? did we miss an update or hf
 for cf9?

 Azadi Saryev



 On 03/02/2010 07:46, Tim Do wrote:
 cfmap centerlongitude=-117.8529534 centerlatitude=45 /

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330379
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: IE8 is killing my website

2010-02-03 Thread Marc Funaro

This seems to only be a problem on Windows XP. Myself nor my clients have
problems with IE8 on Vista or Windows 7.

I believe our problem involves XP, Vista, and 7, though I'll need to go back 
through some of the debug output that some of the problem users have sent.


Are your users on a network on an Active Directory domain with a domain
policy? If the Server hasn't been updated with the new IE8 policies, then it
defaults to the IE7 policies which are different than IE8.

No idea - these are all public visitors at various locations.


In the Internet options, particularly the Privacy tab, the Medium setting
restricts 1st party cookies that save information that can be used to
contact you without consent. This setting is default in IE8.

What do they classify as information that can be used to contact you without 
consent -- is there a specific list of things that the cookies are analyzed to 
contain, to meet that criteria?


If you're using an older version of CF server than 8, it may be time to
think about upgrading. I have not had any issues with IE8 on any Windows
platform with 1st party cookies.

We are on CF8.


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330380
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF 6 on IIS7

2010-02-03 Thread Eric Roberts

I am having an issue getting CF6 to install on IIs 7 on a vista laptop.  IIS
is working fine.  I try to finish the installation where it goes to the
admin pageand I get a 404...I look and the cfide directory is non exixtant.
So I fake it and create the directory structure and put a cf file in there
and I get a 403 error, so obviously something didn't install right.  It's
been a long time since I have dealt with 6, so anyone have any ideas on what
I need to do to get this going?  Thanks in adance!!

Eric


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330381
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Measuring bandwidth used per user

2010-02-03 Thread Justin Scott

 Justin is this possible from client side, I do not own
 the server.

If you wanted to parse the web server logs you would need access to the
files on the server and they could be read and parsed using CFFILE.  Get
with your hosting company to see if they can get you access to that
information.

 Is this also possible for measuring bandwidth from a cfmail
 execution.(Faced with same predicament).

Unfortunately not, but you could use CFDIRECTORY to get the file size of the
file you're sending before you call the CFMAIL tag and log it somewhere for
tracking purposes.  CFMAIL sends the message via SMTP so it wouldn't be in
the web server logs.


-Justin



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330382
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CF 6 on IIS7

2010-02-03 Thread Robert Landsmeer

Hi there Eric,

Out of the box CF6 won't work with IIS7, and wsconfig won't help as it
will refuse to work on iis7. But with some manual configuring you can
get it to work. You will need to install the IIS Metabase, and manually
configure the connectors in IIS. 

Google has some nice howto's hidden here and there to get it working. 
Here is one I found: 

http://www.codecurry.com/2010/01/coldfusion-manual-configuration-issues.
html

I recently did one of these installations so should be able to help if
you run into a specific problem

 
Hope it helps,
Robert 
-Original Message-
From: Eric Roberts [mailto:ow...@threeravensconsulting.com] 
Sent: woensdag 3 februari 2010 16:44
To: cf-talk
Subject: CF 6 on IIS7


I am having an issue getting CF6 to install on IIs 7 on a vista laptop.
IIS
is working fine.  I try to finish the installation where it goes to the
admin pageand I get a 404...I look and the cfide directory is non
exixtant.
So I fake it and create the directory structure and put a cf file in
there
and I get a 403 error, so obviously something didn't install right.
It's
been a long time since I have dealt with 6, so anyone have any ideas on
what
I need to do to get this going?  Thanks in adance!!

Eric



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330383
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: cfmapitem

2010-02-03 Thread brad

 From: Raymond Camden rcam...@gmail.com
 Um... so yes, CF9 has this bug. It is definitely a bug. Um. Don't
 ask why it worked on my version, because I can't answer. 

Teacher says you have to share whatever you have with the rest of the
class!  :)

~Brad


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330384
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Dealing With Spiders/Bots/Crawlers

2010-02-03 Thread Bob Hendren

I'm at an odd crossroads here. Up until now, I've kept my application 
off-limits to search engines. I've used a couple of techniques found on Ben 
Nadel's blog for giving them short sessions and such. Been working well.

With respect to human users, I've been VERY diligent about using 
URLSessionFormat to keep session variables across page requests with cookies 
disabled. Also been working well.

So here's my quandary - I now want open up my application to allow search 
engines to index. However, I've got session variables embedded everywhere in my 
URLs due to URLSessionFormat()! So what's going to occur is this: the robots 
will grab all of these URLs, index them, then pass them as hijacked sessions 
through their results and I won't be able to track new visitors!

I just ran across a recent mention by Michael Dinowitz of a technique for 
setting CFID and CFToken to 1 whenever it's a bot, mentioned here:

http://www.anujgakhar.com/2010/01/26/what-is-the-best-way-to-deal-with-spidersbotscrawlers/

Bottom line: how can I make the URLs NOT pass the session management variables 
when it's a search engine?



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330385
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: C:\ColdFusion8\Mail\Spool

2010-02-03 Thread John M Bliss

[bump]

Does anyone happen to know whether this problem is fixed/ameliorated by
upgrading from CF8 to CF9?


On Tue, Dec 8, 2009 at 4:51 PM, David david.lak...@gmail.com wrote:


 On Tue, Dec 8, 2009 at 8:16 AM, John M Bliss bliss.j...@gmail.com wrote:
 
  So this AM, my production server had not sent me my usual batch of emails
  (via cfmail).  I went to Server Settings  Mail, checked Verify mail
 server
  connection, clicked Submit Changes, and received Connection Verification
  Successful.  I stopped and restarted my SMTP server and then noticed that
  email I was expecting to receive was sitting in
 C:\ColdFusion8\Mail\Spool.
  I stopped and restarted the CF server (CF 8 with CHF 4) and now all of
 the
  mail is being delivered.
 
  Is this a fluke?  Known issue?  Anything I can do to prevent it from
  recurring?
 
  Thanks!


 There's actually a way to restart just the spool component, which may
 be all you need to get it spooling again
 http://stackoverflow.com/questions/94948/restarting-coldfusion-mail-queue

 I added a file to my cf admin/custom folder, and added to
 custommenu.xml, to restart the mail service:

 div style=margin: 3em;
 cfoutputa href=#CGI.SCRIPT_NAME#?restartMailService=trueRestart
 mail spool service/a/cfoutput

 cfif structKeyExists(URL, restartMailService) AND
 URL.restartMailService IS true
cfset sFactory =
 CreateObject(java,coldfusion.server.ServiceFactory)
cfset MailSpoolService = sFactory.mailSpoolService
cfset MailSpoolService.stop()
h2Mail spool service stopped./h2
cfflush
cfset MailSpoolService.start()
h2Mail spool service restarted!/h2
/cfif
 /div

 - D

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330386
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Dealing with Spiders/Bots/Crawlers

2010-02-03 Thread Bob Hendren

I'm at an odd crossroads here. Up until now, I've kept my application 
off-limits to search engines. I've used a couple of techniques found on Ben 
Nadel's blog for giving them short sessions and such. Been working well.

With respect to human users, I've been VERY diligent about using 
URLSessionFormat to keep session variables across page requests with cookies 
disabled. Also been working well.

So here's my quandary - I now want open up my application to allow search 
engines to index. However, I've got session variables embedded everywhere in my 
URLs due to URLSessionFormat()! So what's going to occur is this: the robots 
will grab all of these URLs, index them, then pass them as hijacked sessions 
through their results and I won't be able to track new visitors!

I just ran across a recent mention by Michael Dinowitz of a technique for 
setting CFID and CFToken to 1 whenever it's a bot, mentioned here:

http://www.anujgakhar.com/2010/01/26/what-is-the-best-way-to-deal-with-spidersbotscrawlers/

Bottom line: how can I make the URLs NOT pass the session management variables 
when it's a search engine?



Bob Hendren
President/CEO
ListingWare, Inc.
http://www.listingware.com
800-867-4707
bhend...@listingware.com

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330387
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Dealing With Spiders/Bots/Crawlers

2010-02-03 Thread brad

This may be a stupid question, but are cookies really not an option for
your site users?  I would only be passing session ids around the URL as
a last resort.  I mean, it _is_ 2010 and cookies are kind of the
standard for maintaining session.  (Note: they preclude the necessity of
putting session info in all your URLs)

There are other pitfalls with placing the session IDs in every URL other
than bot traffic:
http://kb2.adobe.com/cps/172/tn_17255.html

~Brad


 Original Message 
Subject: Dealing With Spiders/Bots/Crawlers
From: Bob Hendren bhend...@listingware.com
Date: Wed, February 03, 2010 10:32 am
To: cf-talk cf-talk@houseoffusion.com

Bottom line: how can I make the URLs NOT pass the session management
variables when it's a search engine?




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330388
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Dealing With Spiders/Bots/Crawlers

2010-02-03 Thread Bob Hendren

First, sorry for dual post earlier.

Second, not a stupid question about cookies, but just trying to deal with the 
possibility that a user has cookies turned off.  I'm using URLSessionFormat on 
all of my links to pass their session info around so the system isn't 
constantly treating them like a new user.

By the way, I say MY application because I wrote it, but it's a service we 
provide as a plugin to other websites.  So, we have to try and make things as 
open as possible for all of my users' users.

This may be a stupid question, but are cookies really not an option for
your site users?  I would only be passing session ids around the URL as
a last resort.  I mean, it _is_ 2010 and cookies are kind of the
standard for maintaining session.  (Note: they preclude the necessity of
putting session info in all your URLs)

There are other pitfalls with placing the session IDs in every URL other
than bot traffic:
http://kb2.adobe.com/cps/172/tn_17255.html

~Brad


Bottom line: how can I make the URLs NOT pass the session management
variables when it's a search engine? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330389
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Dealing with Spiders/Bots/Crawlers

2010-02-03 Thread Mike Chabot

Be careful about setting all tokens to 1 if your Web site contains
sensitive information and if you are putting this info on a URL
string. What will happen is that every user that comes through via a
search engine will be considered the same user according to
ColdFusion, which is rather bad. If Bob comes in with a token=1, logs
in as himself, then Mary comes in with a token=1, the server will
think it is Bob and that he is already logged in, so Mary will have
access to everything that Bob has access to. If Bob has filled in a
shopping cart, then Mary will see Bob's shopping cart. I would think
major search engines are smart enough to strip away the user tokens
from URLs, but if a search engine isn't smart enough then you run into
problems.

The best solution to the problem probably depends on the particulars
of the site and what you are using session variables for. Often sites
can get away with not having sessions on the public part of the Web
site and setting them only after the user logs in, which a search
engine would never do.

The answer to your specific question depends on being able to
accurately identify bots, which is a challenge by itself. Michael
Dinowitz has expertise in this area. Maybe you can stick with the five
largest searching engines? Maybe a commercial product like BrowserHawk
would help? If you can identify the bot, then you can append a
variable that contains the token like mypage.cfm#optional_token# where
optional token might be an empty string or it might be a session
identifier.

Good luck,
Mike Chabot

On Wed, Feb 3, 2010 at 10:39 AM, Bob Hendren bhend...@listingware.com wrote:

 I'm at an odd crossroads here. Up until now, I've kept my application 
 off-limits to search engines. I've used a couple of techniques found on Ben 
 Nadel's blog for giving them short sessions and such. Been working well.

 With respect to human users, I've been VERY diligent about using 
 URLSessionFormat to keep session variables across page requests with cookies 
 disabled. Also been working well.

 So here's my quandary - I now want open up my application to allow search 
 engines to index. However, I've got session variables embedded everywhere in 
 my URLs due to URLSessionFormat()! So what's going to occur is this: the 
 robots will grab all of these URLs, index them, then pass them as hijacked 
 sessions through their results and I won't be able to track new visitors!

 I just ran across a recent mention by Michael Dinowitz of a technique for 
 setting CFID and CFToken to 1 whenever it's a bot, mentioned here:

 http://www.anujgakhar.com/2010/01/26/what-is-the-best-way-to-deal-with-spidersbotscrawlers/

 Bottom line: how can I make the URLs NOT pass the session management 
 variables when it's a search engine?


 
 Bob Hendren
 President/CEO
 ListingWare, Inc.
 http://www.listingware.com
 800-867-4707
 bhend...@listingware.com

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330390
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Dealing With Spiders/Bots/Crawlers

2010-02-03 Thread brad

 just trying to deal with the possibility that a user has cookies turned off. 

I see.  Well I've pretty much said my opinion on the cookie thing, but
to reiterate, people not using cookies are such a minute percentage of
the web.  Unfortunately, I can't find any recent numbers anywhere, but
I'm thinking it's probably less than 3%.  I've always gotten the
impression that the whole URLSessionFormat thing was useful 15 years ago
when cookies weren't that wide-spread, but is a rarely used function
nowadays.

I think you will eventually have to come to a decision where you choose
between catering to 3% or your traffic or choosing the most secure
method.  I'll let you make that decision, but I'll leave you with this
article about how Google Apps is ceasing support for IE 6 because the
security risk is too great and they would rather tick off 10% of the
Internet who refuse to come out of the dark ages than continue dealing
with the security holes.

http://www.expertreviews.co.uk/general/275533/google-drops-internet-explorer-support-in-apps

~Brad


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330391
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF 9 Multi server IIS and Virtual Applications

2010-02-03 Thread Dave Watts

 I have found out how to create a multi server using applications on one web 
 root. My question to the group is about suggested
 methodologies in regards to the multi server. We have an application that 
 causes issues with all of our other web apps, we will
 definitely be segregating that one in its own instance, but how should I 
 handle the other applications? Should I let them run in the
 main instance of Jrun/CF or create another application and run the rest of 
 our applications in that instance.

 To give a bit of background we have all of our applications under one IIS 
 Website that we protect with SSL. While it would be nice
 to create a separate site for each application it just isn't feasible at this 
 time due to cost of SSL for each one of the apps. So if I
 were to segregate the applications I would have to go to each one and do the 
 HTTP handler of it (which isn't that big of a deal
 since I will only have to do it once). I also can't make a seperate CF 
 instance for each application as it would take way too much
 memory. I am hoping to just segregate the problem applications so we have 
 less issues for the future.

CF applications don't need to correspond to IIS virtual servers on a
one-to-one basis. You can define context roots to let multiple CF apps
correspond to a single IIS server.

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.

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330392
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


coldfusion interview questions

2010-02-03 Thread fun and learning

Hi,

Can anyone suggest if there any ebook available related to coldfusion interview 
questions or any other sources...

Thanks, 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330393
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: difference between cfproperty and variables defined with This scope

2010-02-03 Thread fun and learning

 CF 9 changed this significantly. With CF 9, using CFPROPERTY actually
 creates a public variable in addition to creating documentation. In
 addition to that, it also creates accessors and mutators (setters
 and getters). It doesn't actually generate visible code in your CFC,
 but those methods will be available for you to call without you
 actually writing them.

To clarify a bit further, CF9 added an accesssors=(yes|no) attribute
to the creation of a CFC. If your CFC is defined as Persistent (using
the new ORM functionality) this defaults to Yes and those setFoo and
getFoo functions will be created implicitly. If you do not set the
persistent flag, the value of accessors defaults to No.

Then on individual cfproperty tags you can also specify whether to
create an accessor and/or mutator for that particular property.

I'm not sure what would happen if you set accessors=no on your cfc
and then declared the cfproperty tags with implicit accessor/mutator
turned on. I'm guessing that it would ignore the attributes in the
cfproperty tags and the variables/functions would not be created.

Cheers,
Judah

Thanks a lot for the explanation 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330394
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: coldfusion interview questions

2010-02-03 Thread Justin Scott

 Can anyone suggest if there any ebook available related
 to coldfusion interview questions or any other sources...

It's not ColdFusion-specific by any means, but Joel Spolsky's book Smart
and Gets Things Done is a great guide for hiring programmers in general.
For ColdFusion-specific jobs we usually have candidates answer some general
questions about how they would approach a few typical scenarios that we
encounter with our clients.  We also ask them what certain tags and
functions do and how they impact processing of the final page.  One of our
questions even has a bug in it that we're looking to see if they can spot.
Overall, it's more important that the candidate be reasonably intelligent
and be able to solve complex problems, or at least put forth an effort to do
so.  We've had candidates that listen to some of the scenarios and just
shrug them off with an I don't know without giving it any thought at all.
That alone weeds out the majority of people in my experience.  If they're
smart they can learn ColdFusion and its syntax pretty quickly.  Learning HOW
to tackle and solve problems is a much bigger issue though, in my opinion.


-Justin



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330395
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgrid flash href

2010-02-03 Thread Svetlin Roussev

You can do optionitem and bind it with the href.

On Wed, Feb 3, 2010 at 7:10 AM, morchella morchella.delici...@gmail.comwrote:


 hey guys.
 i know cfgrid flash doesn't support href in cfgridcolumn
 but there has to be a way?

 cfgrid name=hoverArea query=gHa selectmode=edit format=flash
 height=210 width=800 rowheaders=no
 onchange=getUrl('_edit_hoverArea.cfm?ha_1Id=' +
 hoverArea.dataProvider[hoverArea.selectedIndex]['ha_Id']); 

 make the entire row a link.
 but i only want a link in the id column, since the other columns are
 for editing data.

 has any one done this.
 i have googled till i can google no more..
 so i come here =]

 cf8

 thanks!
 -m

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330396
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: difference between cfproperty and variables defined with This scope

2010-02-03 Thread Aaron Neff

Hi fun and learning,

In short, variables created via the cfproperty|property-generated setters (in 
CF9) are private-to-the-CFC.

I recommend reading these docs:

cfproperty|property: 
http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7e0b.html

Implicit Get and Set Functions: 
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0999c-7ff5.html#WS1E722CDD-3AA0-4e17-86DB-EF6D12FC6750

Also, please note:
- Component properties you assign with the set method are in the Variables 
scope that is private to the CFC. You can get or reset the properties only by 
calling get or set methods.
- The default attribute has no effect on the property and does not set an 
initial property value
- A direct assignment statement, such as myCFC.MyProp=27 creates a standard 
This scope variable in the CFC, even if you specify the property in a 
cfproperty tag. The This scope variable is independent of the properties that 
you access using the set and get methods. In fact, you can have a This scope 
variable with the same name as a property that you access using the set and get 
methods.

I wanted to mention those notes, just to clarify that (even in CF9) using 
cfproperty|property alone does not create an initial variable. In CF9, a 
private (variables-scope), not public (this-scope), variable can be created 
using the auto-generated setter (created by cfproperty|property, if 
accessors=true on the component).

Thanks!,
-Aaron Neff

===

 Hi All,
 
 Can anyone please tell me the difference between cfproperty tag and 
 variables defined using this scope. Both are used to define CFC 
 properties? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330397
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: difference between cfproperty and variables defined with This scope

2010-02-03 Thread Aaron Neff

Sry, that should've read: In short, variables created via the 
cfproperty|property-generated setters (in CF9) are private-to-the-CFC. And 
variables in the this scope are public-to-the-CFC.

 In short, variables created via the cfproperty|property-generated 
 setters (in CF9) are private-to-the-CFC. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330398
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


PDF Form Filling alternate in MS-Word???

2010-02-03 Thread Arsalan Tariq Keen

Dear Experts,

I want to know is there any way I can auto-fill my word documents with specific 
data at specific locations using ColdFusion. I have done this using PDF Forms, 
where I used to add texfields and then later populate them using CF. Is there 
anyway to achieve this using CF + MS-Word


Regards,
Arsalan

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330399
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4