Re: [ACFUG Discuss] Moving from ColdFusion 9 standard to ColdFusion 11 standard

2014-12-24 Thread Chris
 on it 
(recently), but have been pressed for time. I’ll just say that if you do it, 
and things don’t work, I can help you recover from it, perhaps in just minutes, 
but I can’t easily explain it in email here.

You ask, “2. How do I find out if the security updates for 2012 were applied or 
not? The server admins who might have done it are out of office now.”. See:

http://www.carehart.org/blog/client/index.cfm/2012/6/18/what_hotfixes_have_been_applied
And yes, I think you’ll find that Edgeweb would help you with this if you were 
moving to their servers. If there was a level of help you needed, they would 
likely refer you to me (I have a relationship with them, helping their clients 
do server troubleshooting, as I do for anyone in the CF community. For more on 
that, see the consulting page at carehart.org, but I see you saying in closing 
that getting help is tough. Just know that it need not be on-site, and it need 
not take long/be expensive. I can often help solve in minutes what may take 
others hours on their own, as this is all I do all day each day. And I’m also 
teaching you as we go, so it’s not just a solution but making you more 
self-sufficient.)

Hope that helps.

/charlie  

From: Chris [mailto:h_chris...@yahoo.com] 
Sent: Tuesday, December 23, 2014 12:40 PM
To: Charlie Arehart; discussion@acfug.org
Subject: Re: [ACFUG Discuss] Moving from ColdFusion 9 standard to ColdFusion 11 
standard  Charlie,  Yes, this is very helpful. Thanks so much.  I need to 
upgrade the machine running CF9 to CF11.   1. Can this also cause web server 
configuration issues?   I will download CF11 with update 3 or later to ensure 
the secure profile does not break/hinder any existing web applications.  I am 
running CF 9.0.1.   2. How do I find out if the security updates for 2012 were 
applied or not? The server admins who might have done it are out of office now. 
 I will review the What's new documents for CF11 and try everything on a test 
server.  We are advised to go with Edgewebhosting but I do not know if they 
would help with upgrades like this.

You are a valuable resource and your blogs are very helpful. I will reach out 
to you, but the process of getting a consultant takes a while in my area.

Thanks again for all your advice and time.  

  

Re: [ACFUG Discuss] Using caching and threading to load a page quickly

2014-09-30 Thread Chris
Troy,

Thank you for your response and suggestions. I am sorry for the late response.

The WordPress's RSS feed is stable but due to excessive resource usage, the 
newswebsite has been suspended a few times after which we had to call the 
Hosting company to restore it. So, as you suggest, I need to get the feed, 
write to the machine running CF server which will be used if the RSS feed is 
unavailable, in case the newswebsite is suspended again.


I have changed the timeout on my cffeed value to 30. If the Newswebsite does 
not provide the RSS feed in 30 seconds, I know the newswebsite is getting 
overwhelmed or suspended.


I appreciate your assistance and time.




 From: troy t...@thirdwavedigital.com
To: discussion@acfug.org discussion@acfug.org; Chris h_chris...@yahoo.com 
Sent: Monday, September 29, 2014 9:56 AM
Subject: RE: [ACFUG Discuss] Using caching and threading to load a page quickly
 


Chris, 
 
I recently did a similar project (albeit not with Wordpress) where I imported a 
XML feed from another website into a ColdFusion powered site. What I found out, 
at least for the project I was doing, was that writing the file to my machine 
and using that for my output was significantly more manageable than trying to 
manage cache. This was especially true when having to debug something that came 
from the imported data. While I’m sure that Wordpress’s RSS feed is stable, the 
main thing is that you’re getting content from a source that you do not have 
direct control over and this can create some issues outside of what you’re 
already experiencing.
 
I think your idea is solid, I’d just simply think about writing the import to a 
file for use by your application. I do have one other small recommendation. If 
you are planning to update every two minutes, I’d recommend setting the timeout 
on your cffeed to something below 120 (ideally below 100) as it seems to me 
that you could be creating collision or recursion with the current value of 180.
 
Just my two cents.
 
Thank you,
 
Troy Jones
Technical Manager
Third Wave Digital
1841 Hardeman Ave.
Macon, GA 31201
t...@thirdwavedigital.com
www.thirdwavedigital.com
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Chris
Sent: Monday, September 29, 2014 1:35 AM
To: discussion@acfug.org
Subject: [ACFUG Discuss] Using caching and threading to load a page quickly
 
Hi All,
 
I have a main index page which is in ColdFusion which gets a RSS feed from 
another website(Newswebsite which is a WordPress 3.9.2 website running on 
shared hosting). The Newswebsite is on shared hosting so takes about 7 seconds 
to load(a little slow, I know, but the decision to go with a shared hosting was 
done to save on costs by the purchasing people).
 
Now, people don't want the main index page to take 7 seconds to load. I 
estimate using caching of the RSS feed so that updates are retrieved from the 
feed only every 2 minutes and having a thread so that the main index page 
loads(in 2 seconds or less) without waiting for the RSS feed can alleviate the 
issue. The thread which fetches the data from RSS feed can display the feeds on 
the main index page after the data is retrieved.
 
1. If the idea is on the right track, would something like the below work?
 
-
 
The full implementation is at http://collabedit.com/dgraj/history

!--- Caching the RSS feed from newssite so that it is checked every 2 minutes 
only---


!--- Start a thread and wait for it to read the RSS feed from newssite ---
 
!--- Wait for the thread for 7 seconds---
 
   
!--- Check if there are any entries from RSS feed of newswebsite and display 
the feed information on main index page if it was obtained in 7 seconds ---
  
 
 

 
2. Are there other better ways to tackle the issue?
 
I want the other parts of the main index page which is in ColdFusion to load 
quickly and not get delayed because getting data from the RSS feed of news 
website takes 7 seconds.
 
Any suggestions would be appreciated.
 
Thanks
 
P.S. I used ColdFusion code and Yahoo e-mail did not allow me to send it. I 
heard Yahoo Mail flags messages containing code as spam so does not allow such 
messages. So, just had to explain it in text and provide a link to Collabedit.

Re: [ACFUG Discuss] Using caching and threading to load a page quickly

2014-09-30 Thread Chris
Cameron,

Thank you for your response and suggestions. I am sorry for the delay in 
replying.
I will make the feed loading a scheduled task and have to call it in the 
Application.cfm(I know most people have already moved to Application.cfc) and 
if no response is used, use the previous feed obtained from the past successful 
fetch.

Would the following code http://collabedit.com/tmjwj function as expected in an 
environment with less users than actual production? 

If the newswebsite is suspended because it is using too many resources on 
shared hosting, the thread reading the feed will timeout in 30 seconds, so 
there will be no results. Will News feed not available be shown?

Or, since the variable #feedResult.entriesNews# had a value from the last 
successful read, those results will be displayed?

I appreciate your assistance and time.



 From: Cameron Childress camer...@gmail.com
To: discussion@acfug.org; Chris h_chris...@yahoo.com 
Sent: Monday, September 29, 2014 10:26 AM
Subject: Re: [ACFUG Discuss] Using caching and threading to load a page quickly
 


I'd load the RSS feed via a scheduled task and save it someplace like the 
application scope or a database table. Don't make your homepage do any of that 
work. 


-Cameron


On Mon, Sep 29, 2014 at 1:34 AM, Chris h_chris...@yahoo.com wrote:

Hi All,


I have a main index page which is in ColdFusion which gets a RSS feed from 
another website(Newswebsite which is a WordPress 3.9.2 website running on 
shared hosting). The Newswebsite is on shared hosting so takes about 7 seconds 
to load(a little slow, I know, but the decision to go with a shared hosting 
was done to save on costs by the purchasing people).


Now, people don't want the main index page to take 7 seconds to load. I 
estimate using caching of the RSS feed so that updates are retrieved from the 
feed only every 2 minutes and having a thread so that the main index page 
loads(in 2 seconds or less) without waiting for the RSS feed can alleviate the 
issue. The thread which fetches the data from RSS feed can display the feeds 
on the main index page after the data is retrieved.


1. If the idea is on the right track, would something like the below work?


-


The full implementation is at http://collabedit.com/dgraj/history

!--- Caching the RSS feed from newssite so that it is checked every 2 minutes 
only---


!--- Start a thread and wait for it to read the RSS feed from newssite ---



!--- Wait for the thread for 7 seconds---

 
   
!--- Check if there are any entries from RSS feed of newswebsite and display 
the feed information on main index page if it was obtained in 7 seconds ---   
   






2. Are there other better ways to tackle the issue?


I want the other parts of the main index page which is in ColdFusion to load 
quickly and not get delayed because getting data from the RSS feed of news 
website takes 7 seconds.


Any suggestions would be appreciated.


Thanks


P.S. I used ColdFusion code and Yahoo e-mail did not allow me to send it. I 
heard Yahoo Mail flags messages containing code as spam so does not allow such 
messages. So, just had to explain it in text and provide a link to Collabedit.



-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf

facebook | twitter | google+

Re: [ACFUG Discuss] Using caching and threading to load a page quickly

2014-09-30 Thread Chris
Charlie,

Thank you for your response and suggestions. I am sorry for the delayed reply.


Tracking the time is not needed for our situation. We are running CF9 standard 
edition, but I will check the caching functions of CF9.

Your idea is useful and the example at 
http://help.adobe.com/livedocs/coldfusion/8/htmldocs/help.html?content=Tags_r-s_10.html
 is helpful. I will try to post a working example tomorrow for my situation 
using it.

I appreciate your assistance and time.






 From: Charlie Arehart char...@carehart.org
To: discussion@acfug.org 
Sent: Monday, September 29, 2014 10:51 AM
Subject: RE: [ACFUG Discuss] Using caching and threading to load a page quickly
 


Some more thoughts…

You could also track the time at which you got it, and then on the page where 
it’s shown, you could add a flag of some sort if the date is older than the 2 
minutes, if knowing that may be important to your users.

Another thing is that rather than rely on CFcache to cache things, you can be 
more explicit (and help better manage the cache) by using CF9+’s new caching 
functions. So you could check the time, decide whether to retrieve from the 
cache or not, and if so then store it anew in the cache. There are then other 
caching functions that would let you look at what was cached, to manage things 
(which may help you address the concerns Troy had). Those can be used whether 
the cache was written to via cfcache or the newer caching functions.

Finally, whether you go with either the idea to store the result in a file 
(Troy’s idea) or a variable or table (Cam’s idea) or the cache, there’s still 
something else you may want to consider, Chris, if you’re not familiar with it. 
You could either store the RSS feed or go ahead and write the formatted HTML 
into wherever you’d be persisting things, using CFSAVECONTENT. Just would allow 
you then to refer to that result quickly in your page where you’d “show” it 
finally. Some may debate if that’s confusing our “view” and your “model”. I’ll 
leave others to debate that if they want.  Just wanted you to know it was an 
option if it may help.

/charlie
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Cameron Childress
Sent: Monday, September 29, 2014 10:27 AM
To: discussion@acfug.org; Chris
Subject: Re: [ACFUG Discuss] Using caching and threading to load a page quickly
 
I'd load the RSS feed via a scheduled task and save it someplace like the 
application scope or a database table. Don't make your homepage do any of that 
work. 
 
-Cameron

[ACFUG Discuss] Using caching and threading to load a page quickly

2014-09-28 Thread Chris
Hi All,

I have a main index page which is in ColdFusion which gets a RSS feed from 
another website(Newswebsite which is a WordPress 3.9.2 website running on 
shared hosting). The Newswebsite is on shared hosting so takes about 7 seconds 
to load(a little slow, I know, but the decision to go with a shared hosting was 
done to save on costs by the purchasing people).

Now, people don't want the main index page to take 7 seconds to load. I 
estimate using caching of the RSS feed so that updates are retrieved from the 
feed only every 2 minutes and having a thread so that the main index page 
loads(in 2 seconds or less) without waiting for the RSS feed can alleviate the 
issue. The threadwhich fetches the data from RSS feed can display the feeds on 
the main index page after the data is retrieved.

1. If the idea is on the right track, would something like the below work?

-

The full implementation is at http://collabedit.com/dgraj/history

!--- Caching the RSS feed from newssite so that it is checked every 2 minutes 
only---


!--- Start a thread and wait for it to read the RSS feed from newssite ---


!--- Wait for the thread for 7 seconds---

 
   
!--- Check if there are any entries from RSS feed of newswebsite and display 
the feed information on main index page if it was obtained in 7 seconds ---
  




2. Are there other better ways to tackle the issue?

I want the other parts of the main index page which is in ColdFusion to load 
quickly and not get delayed because getting data from the RSS feed of news 
website takes 7 seconds.

Any suggestions would be appreciated.

Thanks

P.S. I used ColdFusion code and Yahoo e-mail did not allow me to send it. I 
heard Yahoo Mail flags messages containing code as spam so does not allow such 
messages. So, just had to explain it in text and provide a link to Collabedit.


[ACFUG Discuss] Creating effect of html tags in a Rich Text Format(RTF)

2014-06-19 Thread Chris
I have a Rich Text Format(RTF) document which is generated by 


--

cfquery name=allPages datasource=website_2014
    SELECT ID 
    FROM websitepages 
    WHERE areaID='100'
/cfquery

cfcontent type = application/msword
cfoutput    
cfloop query=individualPages startrow=1 endrow=#allPages.recordCount#
    
    cfquery name=getData datasource=website_2014
        SELECT pageContent 
        FROM sitepages 
        WHERE pageID='#allPages.ID#'
        Order by linkName
    /cfquery
     
     #getData.pageContent#

/cfloop
/cfoutput


--

The RTF document contains text like

strongThis is a test message/strongbr/
a href=http://www.somedomain.com; Test domain and lot of other HTML tags/a

I need to convert this to

This is a test message(with bold formatting in Microsoft-Word) 

(Line break for br/ tag) 

Test domain (which when clicked will lead to http://www.somedomain.com)

I understand I can remove the HTML tags using regular expressions, but how can 
I recreate their effect(bold, hyperlink) in the RTF document.

Any suggestions would be appreciated.


Thanks

Re: [ACFUG Discuss] Unable to invoke CFC error when the Flex part tries to call a CFC

2013-09-09 Thread Chris
Thanks Charlie:

I used Charles and from the Response tab of the tool, AMF 
Message-Body-Content-faultDetail, which has the message The cause of this 
exception was: java.io.FileNotFoundException: 
C:\inetpub\wwwroot\clients\ourdomainname\www\projectname\www\connectors\debug.html
 (The process cannot access the file because it is being used by another 
process).

So, the Flex component calls the Coldfusion part(CFC or Coldfusion component), 
the function in CFC fails so as per the try catch mechanism in the function 
tries to write in 'debug.html' file about why it failed, but is not able to as 
that file is used by another process.

The application(uses Flex for front end, Coldfusion as middle tier and MySQL as 
the backend database) is expected to be used by 200 people at a time. So, each 
of them have a Flex session and for tasks they do like save data, load a form, 
generate report, the CFC is called which retrieves data from the MySQL and 
sends it to the Flex part where the user can view the data in the Flex user 
interface components. In the development environment, I log-in as 5 users from 
5 different computers but do not get this error. On the production server, if 5 
people try to use the application simultaneously, the error shows up.


I need to drill more to find the cause.





 From: Charlie Arehart char...@carehart.org
To: discussion@acfug.org 
Sent: Tuesday, September 3, 2013 9:38 PM
Subject: RE: [ACFUG Discuss] Unable to invoke CFC error when the Flex part 
tries to call a CFC
 


Glad to help. 

And FWIW, Charles is not the only one that can analyze flex/flash remoting/AMF 
calls, as I mention on my list. But your problem may or may not be about that 
so much as perhaps something else in the formation of the request being sent to 
the server, and it may not be about AMF. Just sayin’. But Charles may tell all. 

Let us know what you find out.

/charlie


From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Chris
Sent: Tuesday, September 03, 2013 5:32 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Unable to invoke CFC error when the Flex part 
tries to call a CFC
 
Thanks Charlie:

I need to know lot more. I have not used Charles which is a tool most Flex 
developers are fluent with. 

Your blog and list of tools are a goldmine for people like me.

I will try Charles and see if it can point me to areas I need to focus on.
 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




[ACFUG Discuss] Unable to invoke CFC error when the Flex part tries to call a CFC

2013-09-03 Thread Chris
The application consists of a Flex part(for front end), Coldfusion as the 
middle tier communicating with the MySQL backend. The Flex forms call functions 
in the CFC(Coldfusion component) using Flash remoting services. 

The error message is 
Unable to invoke CFC An error operation occurred when performing a file 
operation write on 
C:\inetpub\wwwroot\clients\ourdomainname\www\projectname\www\connectors\debug.html

I realize when the Flex part tries to call the CFC(Coldfusion component), there 
is a failure to communicate. So, the try/catch mechanism in the CFC tries to 
write the error message in 
debug.html file which also fails.

The error does not occur in the development environment. At the production 
environment, when it occurs, if the system is not used for five minutes, it 
goes away.
The application is not using any threads and there are no synchronization 
constructs locking a critical section. Just the Flex part, calling a CFC(which 
pulls in data from MySQL database tables) to generate 
a report or fill the form fields.

Our server administrators do not have time to investigate this error and I do 
not have access to the debug.html file which could have more information about 
the issue.

What could be causing this error? How can I drill down to the cause?


Thanks


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-09-03 Thread Chris
Thanks Doug:

I will try Brackets and Sublime with CF plugin.





 From: Douglas Knudsen douglasknud...@gmail.com
To: discussion@acfug.org 
Sent: Friday, August 23, 2013 10:23 PM
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


FB got lots more love and attention during its infant years, of course it was 
abandoned as a toddler.  CFB, not so much, though its not abandoned, only 
hanging out with step-parents.  You know Sublime has a CF plugin too for 
playing the syntax highlighting game.  Brackets does as well, 
http://www.raymondcamden.com/index.cfm/2013/6/14/Looking-for-ColdFusion-support-in-Brackets.
  Though I thought I saw Adam has left Brackets for Edge Animate or some such, 
might be telling if so.  

DK


Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


On Fri, Aug 23, 2013 at 3:53 PM, Chris h_chris...@yahoo.com wrote:

Thanks Troy:

I wonder if Flash Builder is robust why is CF builder not nearly as much. 







 From: troy t...@thirdwavedigital.com
To: discussion@acfug.org discussion@acfug.org 
Sent: Friday, August 16, 2013 9:35 AM
Subject: RE: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


That’s been my experience with it for the most part as well, Cameron. I used 
CF Builder 2 for some time at my last job and just found that there were too 
many “foibles” to want to invest in it when moving to my current job. I am 
back to using the free IDE that I started with many years ago that has a few 
problems, but it’s free.
 
That said, I’d love to see the product become more reliable and more 
reasonably priced as I’d consider using it again with those caveats.
 
Thank you,
 
Troy Jones
Technical Manager
Third Wave Digital
1841 Hardeman Ave.
Macon, GA 31201
t...@thirdwavedigital.com
www.thirdwavedigital.com
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Cameron Childress
Sent: Friday, August 16, 2013 7:42 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 
On Thu, Aug 15, 2013 at 8:27 PM, Chris wrote:
My ColdFusion Builder 2 has decided to be finicky again. From the heap monitor 
the memory used is 250M of 358M. 
 
Apologies if this was already suggested, but Eclipse in general can be a 
little bit hangy if you have a whole bunch of projects open. The more files 
you have open the more Eclipse has to crawl through when it's rebuilding your 
workspace. I'd check to make sure any projects you aren't currently using are 
closed. Also, I'd recommend against mapping to a giant central location on 
your drive to avoid having to use projects the way Eclipse intended. I think 
there is an option to close unrelated projects from the right click menu in 
Eclipse to cleanly close everything else.
 
Not sure this is your problem, but Building Workspace is what happens when 
it's crawling through everything. Sleeping probbaly means it's not actually 
crawling, but who knows.
 
Again, this is why I stopped using CFBuilder. I am 100% sure I could have 
followed advice of folks like Charlie and gotten CFBuilder to hum along 
without any trouble, but I personally don't feel like using an IDE should be 
that much work. Any technology I have to constantly fight just to use it goes 
into my trash bin pretty quickly now-a-days.
 
-Cameron 
 
-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook | twitter | google+
 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 



- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-09-03 Thread Chris
Thanks Charlie:

This is very useful. I should switch to the CF Express edition and see if those 
freezes stop.





 From: Charlie Arehart char...@carehart.org
To: discussion@acfug.org 
Sent: Saturday, August 24, 2013 3:43 PM
Subject: RE: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


Well, start by looking at the list of what features ARE only in the paid 
edition:

http://cfdocyard.blogspot.com/2011/05/coldfusion-builder-express-edition-free.html

How many of those do you (I mean, “you all”, rhetorically) use?

One may go down the list and say “well, only a few of the 14 listed paid-only 
features seem interesting to me”.

OK, but so many people using CFB never setup a server connection (or don’t get 
it working right), whether it’s a remote server or even just their local 
development server. Perhaps half the real benefits of CFB (over other editors) 
are related to its getting info from the CF server, whether about code insight 
to access CFC methods and db tables/cols, as well as files that are accessible 
only using admin mappings, and so on. 

Then many other features are only really helpful if they can have access to all 
files on the server, not just necessarily those in a specific project, like the 
code hyperlinking (where you ctrl-hover over a file and it opens, which only 
works for files in the current directory or web-relative paths if you don’t 
have a server connection), the refactoring and quick-fix features, searching 
files on the server, the log viewing (viewing logs on the server within the 
IDE, using the Tail View), and more. 

Then there’s also the step debugger (but I know some will never use one, or 
many struggle to get it to work, because again it requires connection to the 
server, even if that’s “local”).

There are more, but you asked for “some”. Since you asked, Scott, are any of 
those things that you feel you have missed, or that others you see using it may 
have? :-)
 
/charlie
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Scott Dowling
Sent: Friday, August 23, 2013 11:28 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 
Charlie,
 
Mind pointing out some of the over looked features in the pay version?


 
Scott Dowling
(615) 260-9549
 
 
On Fri, Aug 23, 2013 at 10:42 PM, Charlie Arehart char...@carehart.org wrote:
I didn’t see anyone mention it: Troy, did you know CFBuilder has a free 
edition? It’s called CFBuilder Express. While it withholds things from the paid 
version, I find that many people never ever use a lot of those things so won’t 
miss them. That said, it’s a shame that so many do miss those features. They’re 
what make CFB standout as a true IDE as compared to other editors. 

/charlie
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of troy
Sent: Friday, August 16, 2013 9:36 AM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 
That’s been my experience with it for the most part as well, Cameron. I used CF 
Builder 2 for some time at my last job and just found that there were too many 
“foibles” to want to invest in it when moving to my current job. I am back to 
using the free IDE that I started with many years ago that has a few problems, 
but it’s free.
 
That said, I’d love to see the product become more reliable and more reasonably 
priced as I’d consider using it again with those caveats.
 
Thank you,
 
Troy Jones
 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 
 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Unable to invoke CFC error when the Flex part tries to call a CFC

2013-09-03 Thread Chris
Thanks Cameron:

The folder exists and CF has write permissions for it. Else, the error would be 
occurring all the time and we could not use the system at all. Right now, it 
occurs after the system is used for a while(after 10-15 minutes and sometimes 
after 30-45 minutes), then if people stop using it for 5 minutes or so, the 
error disappears.

Our serveradmin might know if a proxy like Charles is allowed by the hosting 
company, but I do not.





 From: Cameron Childress camer...@gmail.com
To: discussion@acfug.org 
Sent: Tuesday, September 3, 2013 12:59 PM
Subject: Re: [ACFUG Discuss] Unable to invoke CFC error when the Flex part 
tries to call a CFC
 


On Tue, Sep 3, 2013 at 12:44 PM, Chris  wrote:

The error message is 
Unable to invoke CFC An error operation occurred when performing a file 
operation write on 
C:\inetpub\wwwroot\clients\ourdomainname\www\projectname\www\connectors\debug.html

What could be causing this error? How can I drill down to the cause?

My first guess would be either CF does not have write permissions for that 
folder or it does not exist. Are you using Charles or some other proxy to 
observe the full error? That may give you more detail.


-Cameron
 -- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf

facebook | twitter | google+


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Unable to invoke CFC error when the Flex part tries to call a CFC

2013-09-03 Thread Chris
Thanks Charlie:

I don't know the time at which IIS app pool is set to recycle, but the CF 
session timeout is 16 hours(sessiontimeout=#CreateTimeSpan(0,16,0,0)# 
applicationtimeout=#CreateTimeSpan(0,16,0,0)#)


I will have to ask our server admin(who in turn has to ask the server admins of 
the hosting company) to check the IIS app pool time. 






 From: Charlie Arehart char...@carehart.org
To: discussion@acfug.org 
Sent: Tuesday, September 3, 2013 2:21 PM
Subject: RE: [ACFUG Discuss] Unable to invoke CFC error when the Flex part 
tries to call a CFC
 


Also, what’s the significance of the “5 minutes”? Is that perhaps your CF (or 
application’s) session timeout? Is it the time that IIS’s app pool is set to 
recycle? Either may be a clue to help you dig further. 

/charlie
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Cameron Childress
Sent: Tuesday, September 03, 2013 12:59 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Unable to invoke CFC error when the Flex part 
tries to call a CFC
 
On Tue, Sep 3, 2013 at 12:44 PM, Chris  wrote:
The error message is 
Unable to invoke CFC An error operation occurred when performing a file 
operation write on 
C:\inetpub\wwwroot\clients\ourdomainname\www\projectname\www\connectors\debug.html

What could be causing this error? How can I drill down to the cause?
 
My first guess would be either CF does not have write permissions for that 
folder or it does not exist. Are you using Charles or some other proxy to 
observe the full error? That may give you more detail.
 
-Cameron
 
-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook | twitter | google+
 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Unable to invoke CFC error when the Flex part tries to call a CFC

2013-09-03 Thread Chris
Thanks Charlie:

I need to know lot more. I have not used Charles which is a tool most Flex 
developers are fluent with. 

Your blog and list of tools are a goldmine for people like me.

I will try Charles and see if it can point me to areas I need to focus on.







 From: Charlie Arehart char...@carehart.org
To: discussion@acfug.org 
Sent: Tuesday, September 3, 2013 3:23 PM
Subject: RE: [ACFUG Discuss] Unable to invoke CFC error when the Flex part 
tries to call a CFC
 


I’ll save Cameron (or others) from a reply. :-) Charles is not something they 
can “disallow”. :-) It’s not a server proxy, but rather a client one. You can 
use it (and tools like it, including some built into browsers) to track the 
requests made from a given web page, whether to components like images, js, and 
css or those made via Ajax or Flash Remoting, as Flex may do.

I have a blog entry with more on the concept and such tools:

http://www.carehart.org/blog/client/index.cfm/2012/3/20/builtin_browser_proxy_sniffer_tools

And as I mention there, I have a list of such tools here:

http://www.cf411.com/proxy
And I also point to a classic article on why they are so useful. I’d argue that 
every web developer or troubleshooter should know how to use at least one of 
them, even if only that built-into their favored browser.

Whether it will help for this particular problem of yours, Chris, is another 
question altogether. :-) But it could help give clues.

/charlie
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Chris
Sent: Tuesday, September 03, 2013 2:28 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Unable to invoke CFC error when the Flex part 
tries to call a CFC
 
Thanks Cameron:

The folder exists and CF has write permissions for it. Else, the error would be 
occurring all the time and we could not use the system at all. Right now, it 
occurs after the system is used for a while(after 10-15 minutes and sometimes 
after 30-45 minutes), then if people stop using it for 5 minutes or so, the 
error disappears.

Our serveradmin might know if a proxy like Charles is allowed by the hosting 
company, but I do not.
 
 



From:Cameron Childress camer...@gmail.com
To: discussion@acfug.org 
Sent: Tuesday, September 3, 2013 12:59 PM
Subject: Re: [ACFUG Discuss] Unable to invoke CFC error when the Flex part 
tries to call a CFC
 
On Tue, Sep 3, 2013 at 12:44 PM, Chris  wrote:
The error message is 
Unable to invoke CFC An error operation occurred when performing a file 
operation write on 
C:\inetpub\wwwroot\clients\ourdomainname\www\projectname\www\connectors\debug.html

What could be causing this error? How can I drill down to the cause?
 
My first guess would be either CF does not have write permissions for that 
folder or it does not exist. Are you using Charles or some other proxy to 
observe the full error? That may give you more detail.
 
-Cameron
 
-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook | twitter | google+
 
 

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Unable to invoke CFC error when the Flex part tries to call a CFC

2013-09-03 Thread Chris
Thanks Cameron:

I guess I missed the vital classes while learning Flex development. I went 
through the Flex in a Week training by Adobe, Essential Actionscript 3.0, Flex 
Bible 2008 edition, but clearly it is not enough if I am unaware of useful 
tools like Charles. I need to get some better books to become more proficient 
in CF and Flex.





 From: Cameron Childress camer...@gmail.com
To: discussion@acfug.org 
Sent: Tuesday, September 3, 2013 3:24 PM
Subject: Re: [ACFUG Discuss] Unable to invoke CFC error when the Flex part 
tries to call a CFC
 


On Tue, Sep 3, 2013 at 2:27 PM, Chris wrote:

Our serveradmin might know if a proxy like Charles is allowed by the hosting 
company, but I do not.

Charles runs entirely client side. Your admin does not have to give you 
permission.

http://www.charlesproxy.com/


It will decode the Flex Remoting data and tell you about all the back and forth 
communications. I see (saw) this as a critical tool in any Flex developers 
toolbelt. I cannot imagine working on any Flex app without it.

Give it a shot and see if it helps you get to the bottom of this.

-Cameron 
-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf

facebook | twitter | google+


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-23 Thread Chris
Thanks Cameron:

CF Builder freezes a lot. Flash Builder does not, though, both are Eclipse 
IDEs. I use them mainly because of code hinting, syntax highlighting and 
ability to detect errors as I type. There is only one project in CF Builder so 
I am wondering why does it have to crawl.

I appreciate your advice.





 From: Cameron Childress camer...@gmail.com
To: discussion@acfug.org 
Sent: Friday, August 16, 2013 7:42 AM
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


On Thu, Aug 15, 2013 at 8:27 PM, Chris wrote:

My ColdFusion Builder 2 has decided to be finicky again. From the heap monitor 
the memory used is 250M of 358M. 

Apologies if this was already suggested, but Eclipse in general can be a little 
bit hangy if you have a whole bunch of projects open. The more files you have 
open the more Eclipse has to crawl through when it's rebuilding your workspace. 
I'd check to make sure any projects you aren't currently using are closed. 
Also, I'd recommend against mapping to a giant central location on your drive 
to avoid having to use projects the way Eclipse intended. I think there is an 
option to close unrelated projects from the right click menu in Eclipse to 
cleanly close everything else.

Not sure this is your problem, but Building Workspace is what happens when 
it's crawling through everything. Sleeping probbaly means it's not actually 
crawling, but who knows.

Again, this is why I stopped using CFBuilder. I am 100% sure I could have 
followed advice of folks like Charlie and gotten CFBuilder to hum along without 
any trouble, but I personally don't feel like using an IDE should be that much 
work. Any technology I have to constantly fight just to use it goes into my 
trash bin pretty quickly now-a-days.

-Cameron 
-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf

facebook | twitter | google+


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-23 Thread Chris
Thanks Troy:

I wonder if Flash Builder is robust why is CF builder not nearly as much. 





 From: troy t...@thirdwavedigital.com
To: discussion@acfug.org discussion@acfug.org 
Sent: Friday, August 16, 2013 9:35 AM
Subject: RE: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


 
That’s been my experience with it for the most part as well, Cameron. I used CF 
Builder 2 for some time at my last job and just found that there were too many 
“foibles” to want to invest in it when moving to my current job. I am back to 
using the free IDE that I started with many years ago that has a few problems, 
but it’s free.
 
That said, I’d love to see the product become more reliable and more reasonably 
priced as I’d consider using it again with those caveats.
 
Thank you,
 
Troy Jones
Technical Manager
Third Wave Digital
1841 Hardeman Ave.
Macon, GA 31201
t...@thirdwavedigital.com
www.thirdwavedigital.com
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Cameron Childress
Sent: Friday, August 16, 2013 7:42 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 
On Thu, Aug 15, 2013 at 8:27 PM, Chris wrote:
My ColdFusion Builder 2 has decided to be finicky again. From the heap monitor 
the memory used is 250M of 358M. 
 
Apologies if this was already suggested, but Eclipse in general can be a little 
bit hangy if you have a whole bunch of projects open. The more files you have 
open the more Eclipse has to crawl through when it's rebuilding your workspace. 
I'd check to make sure any projects you aren't currently using are closed. 
Also, I'd recommend against mapping to a giant central location on your drive 
to avoid having to use projects the way Eclipse intended. I think there is an 
option to close unrelated projects from the right click menu in Eclipse to 
cleanly close everything else.
 
Not sure this is your problem, but Building Workspace is what happens when 
it's crawling through everything. Sleeping probbaly means it's not actually 
crawling, but who knows.
 
Again, this is why I stopped using CFBuilder. I am 100% sure I could have 
followed advice of folks like Charlie and gotten CFBuilder to hum along without 
any trouble, but I personally don't feel like using an IDE should be that much 
work. Any technology I have to constantly fight just to use it goes into my 
trash bin pretty quickly now-a-days.
 
-Cameron 
 
-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook | twitter | google+
 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-15 Thread Chris
My ColdFusion Builder 2 has decided to be finicky again. From the heap monitor 
the memory used is 250M of 358M. 

In the progress view( windowshow viewothergeneralprogress), I see a message 
like Building Workspace(Sleeping), then another line which is Refresh 
Content(Sleeping) 

What could it mean?

Below is the error message, I get, when I try to close it using Task Manager


Description:
  A problem caused this program to stop interacting with Windows.

Problem signature:
  Problem Event Name:    AppHangB1
  Application Name:    CFBuilder.exe
  Application Version:    0.0.0.0
  Application Timestamp:    4d87abff
  Hang Signature:    f9d8
  Hang Type:    0
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    1033
  Additional Hang Signature 1:    f9d82b147b6ad3097a0d9c822ca02a2a
  Additional Hang Signature 2:    de0a
  Additional Hang Signature 3:    de0a40479120ea8170f842d4122846d6
  Additional Hang Signature 4:    f9d8
  Additional Hang Signature 5:    f9d82b147b6ad3097a0d9c822ca02a2a
  Additional Hang Signature 6:    de0a
  Additional Hang Signature 7:    de0a40479120ea8170f842d4122846d6




Am I missing any hotfixes for CFB2 or something else? I am running Coldfusion 9.

Thanks





 From: Charlie Arehart char...@carehart.org
To: discussion@acfug.org 
Sent: Friday, August 9, 2013 3:25 PM
Subject: RE: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


Thanks for your kind regards, Chris. And isn’t it funny how troubling software 
can sometimes be like a petulant child: just when you starting watch it, it 
tends not to act up. :-) 

But patience, grasshopper. Yep, let’s see how it goes over time. Also, turn on 
the progress view (windowpreferencesgeneralprogress), to view background 
communications between CFB and CF (if you have connected any projects to a 
server). That too can be insightful, and perhaps your issues are only under 
certain forms of communications between the two.

As for other plugins, I would not immediately suspect that myself, no. I mean, 
aren’t those the ones that are built-into CFB? Everyone would be using them, 
and I promise not everybody has problems with CFB being resource hungry. As 
always, there is some explanation. You just need to find it. Hope the above 
(and below) will help.
 
/charlie
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Chris
Sent: Friday, August 09, 2013 12:51 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 
Charlie,

Thanks for your advice.

I turned on the heap monitor and it has not crashed since then. Heap size is 
139M of total: 248M max: 495M mark:none . On doing garbage collection it 
drops to 64M of 248M 
If CF builder freezes again due to excess memory usage, I will increase the 
heap size.

But, under Window-preferences-general-Startup and shutdown I see all plugins 
in that window are activated at start-up

Coldfusion SQL Plugin
Appcode generation plug-in
...
...

Aptana scripting
Automatic updates scheduler

Could the fact that so many plug-ins are activated be causing CF builder to 
freeze? Also, I use Flash Builder 4.5(but that does not freeze often) lot of 
times along with CF builder. I understand some people have commented that 
Eclipse based IDEs are resource hungry even though my system was 8GB RAM

I appreciate your prompt response and time. 
 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-13 Thread Chris
Thanks Charlie:

I have turned it on. I appreciate your responses and time.





 From: Charlie Arehart char...@carehart.org
To: discussion@acfug.org 
Sent: Saturday, August 10, 2013 11:06 PM
Subject: RE: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


Sorry, I was in a hurry when I wrote. I meant windowshow 
viewothergeneralprogress.

Anyway, even without a connection to the sever,  the progress view may be 
useful to understand background processing in CFB (and Eclipse).
 
/charlie
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Chris
Sent: Friday, August 09, 2013 6:25 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 
Thanks Charlie:

Yes, some times tools can be like a difficult child.

I don't see the progress view in windowpreferencesgeneralprogress. CFB is 
not connected to a server. I maintain an application in CF, Flex and MySQL. CF 
is the middle tier and Flex part uses the CFC to interact with the MySQL using 
Flash remoting.

I appreciate your assistance and time.
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-09 Thread Chris
Charlie,

Thanks for your advice.

I turned on the heap monitor and it has not crashed since then. Heap size is 
139M of total: 248M max: 495M mark:none . On doing garbage collection it 
drops to 64M of 248M 
If CF builder freezes again due to excess memory usage, I will increase the 
heap size.

But, under Window-preferences-general-Startup and shutdown I see all plugins 
in that window are activated at start-up

Coldfusion SQL Plugin
Appcode generation plug-in
...
...

Aptana scripting
Automatic updates scheduler

Could the fact that so many plug-ins are activated be causing CF builder to 
freeze? Also, I use Flash Builder 4.5(but that does not freeze often) lot of 
times along with CF builder. I understand some people have commented that 
Eclipse based IDEs are resource hungry even though my system was 8GB RAM

I appreciate your prompt response and time. 





 From: Charlie Arehart char...@carehart.org
To: discussion@acfug.org 
Sent: Wednesday, August 7, 2013 4:14 PM
Subject: RE: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


Chris, there could be any number of explanations, but one is that you may be 
running out of memory (within the heap of CFB). 

You can try to find out if that’s possibly an issue by turning on the “heap 
monitor” within cfb (an available feature under windowpreferencesgeneral), to 
see if perhaps you are running high on use of heap. And if so, you can do a 
Garbage Collection to see if the use of heap drops much. If not, that could be 
the problem. 

One thing to note: even if it is not showing high use of memory now, it may be 
using more after a period of time, when things go wrong. So keep an eye on it.

If that’s the issue, you can increase the heap use, via the XMX element in the 
java args, in the cfbuilder.ini in the CFBuilder directory, as discussed more 
at:

http://cfmumbojumbo.com/cf/index.cfm/coding/increase-cfbuilder-performance/

Let us know if that helps.
 
/charlie
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Chris
Sent: Wednesday, August 07, 2013 3:29 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 
This has happened few times in a week. ColdFusion Builder freezes before I can 
save my changes. I have to forcibly close it due to which I lose my changes.

Below is the error message.


Description:
  A problem caused this program to stop interacting with Windows.

Problem signature:
  Problem Event Name:    AppHangB1
  Application Name:    CFBuilder.exe
  Application Version:    0.0.0.0
  Application Timestamp:    4d87abff
  Hang Signature:    f995
  Hang Type:    0
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    1033
  Additional Hang Signature 1:    f9958bdcfa28433dc7455ec412522419
  Additional Hang Signature 2:    1ddc
  Additional Hang Signature 3:    1ddc116d15dad9215547ede071e06e9c
  Additional Hang Signature 4:    f995
  Additional Hang Signature 5:    f9958bdcfa28433dc7455ec412522419
  Additional Hang Signature 6:    1ddc
  Additional Hang Signature 7:    1ddc116d15dad9215547ede071e06e9c


I am using ColdFusion Builder 2, Version: 2.0.1, Build: 282422 on a Windows 7 
Professional(64bit). My system has the required Windows updates.

What could be causing this and how can I fix it?

Thanks  

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-09 Thread Chris
Cameron,

Thanks, I will try Sublime text. 




 From: Cameron Childress camer...@gmail.com
To: discussion@acfug.org 
Sent: Wednesday, August 7, 2013 4:24 PM
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


On Wed, Aug 7, 2013 at 3:29 PM, Chris wrote:

This has happened few times in a week. ColdFusion Builder freezes before I can 
save my changes. I have to forcibly close it due to which I lose my changes.


What could be causing this and how can I fix it?

Chris-

Try what's Charlie described and see if it helps. If it doesn't...

I've found that any Eclipse based IDE is super memory hungry. Flex Builder was 
the same. If you can't get CFBuilder working to your satisfaction, you might 
also take a look at Sublime Text 2, which I started using exclusively about a 
year ago. It uses way less memory, is very snappy, and has CFML extensions 
available.

http://www.sublimetext.com/


I'd gotten to the point that I had to give CFBuilder/Eclipse about a third of 
my whole machine's memory for it to run and it still paused all the time for 
garbage collection. Sublime Text is crazy awesome compared to CFBuilder in that 
regard.


-Cameron
 -- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf

facebook | twitter | google+


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-09 Thread Chris
Troy,

Thank you, my CFB2 has not frozen for about two days. Also, CFB2 was a clean 
install not as a plug-in for Eclipse.

I appreciate the link.





 From: troy t...@thirdwavedigital.com
To: discussion@acfug.org discussion@acfug.org 
Sent: Wednesday, August 7, 2013 4:41 PM
Subject: RE: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


 
Chris,
 
I ran into a similar issue with CFB2 when I was using it. Have a look at this 
and see if it helps you:
 
http://forums.adobe.com/thread/847461
 
 
 
Thank you,
 
Troy Jones
Technical Manager
Third Wave Digital
1841 Hardeman Ave.
Macon, GA 31201
t...@thirdwavedigital.com
www.thirdwavedigital.com
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Cameron Childress
Sent: Wednesday, August 07, 2013 4:24 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 
On Wed, Aug 7, 2013 at 3:29 PM, Chris wrote:
This has happened few times in a week. ColdFusion Builder freezes before I can 
save my changes. I have to forcibly close it due to which I lose my changes.
What could be causing this and how can I fix it?
 
Chris-
 
Try what's Charlie described and see if it helps. If it doesn't...
 
I've found that any Eclipse based IDE is super memory hungry. Flex Builder was 
the same. If you can't get CFBuilder working to your satisfaction, you might 
also take a look at Sublime Text 2, which I started using exclusively about a 
year ago. It uses way less memory, is very snappy, and has CFML extensions 
available.
 
http://www.sublimetext.com/
 
I'd gotten to the point that I had to give CFBuilder/Eclipse about a third of 
my whole machine's memory for it to run and it still paused all the time for 
garbage collection. Sublime Text is crazy awesome compared to CFBuilder in that 
regard.
 
-Cameron
 
-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook | twitter | google+
 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-09 Thread Chris
Thanks Steve,

I will try that. The code hinting and syntax checking features of CFB2 are hard 
to find in other IDEs.





 From: Steve Duys steve...@gmail.com
To: discussion@acfug.org discussion@acfug.org 
Cc: discussion@acfug.org discussion@acfug.org 
Sent: Thursday, August 8, 2013 7:52 AM
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


I wanted to echo Cameron's email.. I experienced similar. I wanted to also 
share another alternative that I have switched to: intellij IDEA. 
Multi-language support, but understands CF. Has a fast extended find and the 
ability to export search results. Also understands source control out of the 
box. It is commercial with a price tag, but well worth it. Trial dl at: 
www.jetbrains.com/idea


-Steve

Sent from my iPhone

On Aug 7, 2013, at 4:24 PM, Cameron Childress camer...@gmail.com wrote:


On Wed, Aug 7, 2013 at 3:29 PM, Chris wrote:

This has happened few times in a week. ColdFusion Builder freezes before I can 
save my changes. I have to forcibly close it due to which I lose my changes.


What could be causing this and how can I fix it?


Chris-


Try what's Charlie described and see if it helps. If it doesn't...


I've found that any Eclipse based IDE is super memory hungry. Flex Builder was 
the same. If you can't get CFBuilder working to your satisfaction, you might 
also take a look at Sublime Text 2, which I started using exclusively about a 
year ago. It uses way less memory, is very snappy, and has CFML extensions 
available.


http://www.sublimetext.com/



I'd gotten to the point that I had to give CFBuilder/Eclipse about a third of 
my whole machine's memory for it to run and it still paused all the time for 
garbage collection. Sublime Text is crazy awesome compared to CFBuilder in 
that regard.



-Cameron
 -- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf

facebook | twitter | google+





-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-09 Thread Chris
Thanks Cameron,

I will keep that in mind, if I go with Intellij





 From: Cameron Childress camer...@gmail.com
To: discussion@acfug.org 
Sent: Thursday, August 8, 2013 8:40 AM
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


Steve (and Chis, the OP)-

I also tried and liked the Intellij IDEA CFML plugin for awhile. I ended up 
choosing Sublime Text, but Intellij is a great tool. Still, I would read the 
below thread before evaluating Intellij's CFML plugin. It seems that JetBrains 
has stopped making updates to the CFML plugin and are open sourcing it back 
into the community. It remains to be seen whether anyone will pick that project 
up and continue to maintain it in the long term.

https://groups.google.com/forum/#!topic/cfml-plugin-for-intellij-idea/CGSwIAehKN4


-Cameron



On Thu, Aug 8, 2013 at 7:52 AM, Steve Duys steve...@gmail.com wrote:

I wanted to echo Cameron's email.. I experienced similar. I wanted to also 
share another alternative that I have switched to: intellij IDEA. 
Multi-language support, but understands CF. Has a fast extended find and the 
ability to export search results. Also understands source control out of the 
box. It is commercial with a price tag, but well worth it. Trial dl at: 
www.jetbrains.com/idea




-Steve

Sent from my iPhone

On Aug 7, 2013, at 4:24 PM, Cameron Childress camer...@gmail.com wrote:


On Wed, Aug 7, 2013 at 3:29 PM, Chris wrote:

This has happened few times in a week. ColdFusion Builder freezes before I 
can save my changes. I have to forcibly close it due to which I lose my 
changes.


What could be causing this and how can I fix it?


Chris-


Try what's Charlie described and see if it helps. If it doesn't...


I've found that any Eclipse based IDE is super memory hungry. Flex Builder 
was the same. If you can't get CFBuilder working to your satisfaction, you 
might also take a look at Sublime Text 2, which I started using exclusively 
about a year ago. It uses way less memory, is very snappy, and has CFML 
extensions available.


http://www.sublimetext.com/



I'd gotten to the point that I had to give CFBuilder/Eclipse about a third of 
my whole machine's memory for it to run and it still paused all the time for 
garbage collection. Sublime Text is crazy awesome compared to CFBuilder in 
that regard.



-Cameron
 -- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf

facebook | twitter | google+





-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf

facebook | twitter | google+


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-09 Thread Chris
Thanks Charlie:

Yes, some times tools can be like a difficult child.

I don't see the progress view in windowpreferencesgeneralprogress. CFB is 
not connected to a server. I maintain an application in CF, Flex and MySQL. CF 
is the middle tier and Flex part uses the CFC to interact with the MySQL using 
Flash remoting.

I appreciate your assistance and time.





 From: Charlie Arehart char...@carehart.org
To: discussion@acfug.org 
Sent: Friday, August 9, 2013 3:25 PM
Subject: RE: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 


Thanks for your kind regards, Chris. And isn’t it funny how troubling software 
can sometimes be like a petulant child: just when you starting watch it, it 
tends not to act up. :-) 

But patience, grasshopper. Yep, let’s see how it goes over time. Also, turn on 
the progress view (windowpreferencesgeneralprogress), to view background 
communications between CFB and CF (if you have connected any projects to a 
server). That too can be insightful, and perhaps your issues are only under 
certain forms of communications between the two.

As for other plugins, I would not immediately suspect that myself, no. I mean, 
aren’t those the ones that are built-into CFB? Everyone would be using them, 
and I promise not everybody has problems with CFB being resource hungry. As 
always, there is some explanation. You just need to find it. Hope the above 
(and below) will help.
 
/charlie
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Chris
Sent: Friday, August 09, 2013 12:51 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] ColdFusion Builder freezes abruptly
 
Charlie,

Thanks for your advice.

I turned on the heap monitor and it has not crashed since then. Heap size is 
139M of total: 248M max: 495M mark:none . On doing garbage collection it 
drops to 64M of 248M 
If CF builder freezes again due to excess memory usage, I will increase the 
heap size.

But, under Window-preferences-general-Startup and shutdown I see all plugins 
in that window are activated at start-up

Coldfusion SQL Plugin
Appcode generation plug-in
...
...

Aptana scripting
Automatic updates scheduler

Could the fact that so many plug-ins are activated be causing CF builder to 
freeze? Also, I use Flash Builder 4.5(but that does not freeze often) lot of 
times along with CF builder. I understand some people have commented that 
Eclipse based IDEs are resource hungry even though my system was 8GB RAM

I appreciate your prompt response and time. 
 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




[ACFUG Discuss] ColdFusion Builder freezes abruptly

2013-08-07 Thread Chris
This has happened few times in a week. ColdFusion Builder freezes before I can 
save my changes. I have to forcibly close it due to which I lose my changes.

Below is the error message.


Description:
  A problem caused this program to stop interacting with Windows.

Problem signature:
  Problem Event Name:    AppHangB1
  Application Name:    CFBuilder.exe
  Application Version:    0.0.0.0
  Application Timestamp:    4d87abff
  Hang Signature:    f995
  Hang Type:    0
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    1033
  Additional Hang Signature 1:    f9958bdcfa28433dc7455ec412522419
  Additional Hang Signature 2:    1ddc
  Additional Hang Signature 3:    1ddc116d15dad9215547ede071e06e9c
  Additional Hang Signature 4:    f995
  Additional Hang Signature 5:    f9958bdcfa28433dc7455ec412522419
  Additional Hang Signature 6:    1ddc
  Additional Hang Signature 7:    1ddc116d15dad9215547ede071e06e9c




I am using ColdFusion Builder 2, Version: 2.0.1, Build: 282422 on a Windows 7 
Professional(64bit). My system has the required Windows updates.

What could be causing this and how can I fix it?

Thanks 


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




[ACFUG Discuss] Choosing a person with adequate CF skills

2013-03-12 Thread Chris
I am with a public university and asked to interview applicants with 
Coldfusion(CF) and Flex skills for an opening. The position requires someone 
who has worked 3-4 years in CF and Flex. 

I was moved into this position and I picked CF/Flex after I started so do not 
have a first hand experience of a CF/Flex interview, though a Web search 
reveals dozens of websites with questions.  


I have worked with Coldfusion 8 and 9 and I know I can ask questions about 
following topics.


1. Check for CF basic understanding, ask about functions which are rarely used 
to test depth of knowledge in CF. 

2. Ask about CFC, Bean, Gateway to test OOP understanding in CF

3. How the facade pattern is used in CF?

4. Recent CF projects of candidate. Question the design, implementation 
decisions and possible performance improvements in the projects

5. Ask them to develop a Bean on whiteboard.

6. Contributions to an open source CF project


Since the opening expects someone with a Bachelor's in Computer Science, I can 
ask the typical questions(algorithms, data structures, design patterns, OOP, 
contract by design, agile programming concepts, Operating System and Networking 
concepts, information security, bit fiddling in C, RTTI idiom in C++ assuming 
candidate lists C,C++ on his resume).


I realize a Web search can reveal lot more questions, but since I have not 
interviewed someone for a CF background before, I want to know if items 1-6 
listed above are sufficient or do they need more additions? 
Are they too simple that most people who have worked 12-18 months in CF would 
know?


I do not want to make the interview unduly hard or easy.


Any suggestions would be appreciated.


Thanks


P.S. I went through the usual books Career cup, Programming Interviews exposed 
and their websites to learn how interviews are done in most places today.



-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Choosing a person with adequate CF skills

2013-03-12 Thread Chris
Thanks Dawn:

The question to implement CFDUMP is useful. I can ask more on these lines. I 
may not be allowed to give them a computer and access to Google using the 
interview. 


Honestly - I don't care if they know the latest lingo, know a list of 
design patterns or when/where to create Abstracts as long as they can 
take a development task and solve it.  It's the last bit that gets 
actual work done. 


While it is right that the work needs to be completed, but software needs to be 
maintainable, reusable, flexible, scalable... so someone with good grasp of 
design patterns, algorithms, data structures would be a better fit than someone 
who does not. Just my view. Apparently, from the books(Career cup, Programming 
Interviews exposed) lot of tech interviews focus on those aspects.

The need to get someone with a degree is in the requirement so I cannot 
get it changed. I hear you that there are developers are Jamie Zawinski 
and many more in the early nineties who with a high school diploma 
earned enough in stocks to retire well.

I appreciate your thoughts and time.




 From: Dawn Hoagland dawnhoagl...@gmail.com
To: discussion@acfug.org 
Sent: Tuesday, March 12, 2013 1:49 PM
Subject: Re: [ACFUG Discuss] Choosing a person with adequate CF skills
 

Honestly - the absolute best way I've found is to sit them down with at a 
computer with some basic development tasks and let them have 2-4 hours to work 
through them.  The low end folks may just walk out.  Go ahead and give access 
to Google because it is a good development tool :)

One of the best examples I've seen for CF (and actually did as part of an 
interview process several years ago) was replicating the CFDUMP function from 
scratch and test by passing in complex variables (query results, arrays, arrays 
of arrays, etc).  If they can nail a recursive function in CF out of the gate 
with interview pressure you've got a darn good start and know they can 
problem solve.  I would do this over a written test (which I've always 
detested).

Honestly - I don't care if they know the latest lingo, know a list of design 
patterns or when/where to create Abstracts as long as they can take a 
development task and solve it.  It's the last bit that gets actual work done.

While I realize you are at a University - there are some darn fine developers 
out there without degrees so unless it's seriously political - don't throw away 
a resume just because they don't have one.  And I'm not saying that because I 
fall into that category (it hasn't harmed my career), but as an employer, you 
may miss out on the best developer for the job.



On Tue, Mar 12, 2013 at 12:32 PM, Chris h_chris...@yahoo.com wrote:

I am with a public university and asked to interview applicants with 
Coldfusion(CF) and Flex skills for an opening. The position requires someone 
who has worked 3-4 years in CF and Flex. 


I was moved into this position and I picked CF/Flex after I started so do not 
have a first hand experience of a CF/Flex interview, though a Web search 
reveals dozens of websites with questions.  



I have worked with Coldfusion 8 and 9 and I know I can ask questions about 
following topics.



1. Check for CF basic understanding, ask about functions which are rarely used 
to test depth of knowledge in CF. 

2. Ask about CFC, Bean, Gateway to test OOP understanding in CF

3. How the facade pattern is used in CF?

4. Recent CF projects of candidate. Question the design, implementation 
decisions and possible performance improvements in the projects

5. Ask them to develop a Bean on whiteboard.

6. Contributions to an open source CF project



Since the opening expects someone with a Bachelor's in Computer Science, I can 
ask the typical questions(algorithms, data structures, design patterns, OOP, 
contract by design, agile programming concepts, Operating System and 
Networking concepts, information security, bit fiddling in C, RTTI idiom in 
C++ assuming candidate lists C,C++ on his resume).



I realize a Web search can reveal lot more questions, but since I have not 
interviewed someone for a CF background before, I want to know if items 1-6 
listed above are sufficient or do they need more additions? 
Are they too simple that most people who have worked 12-18 months in CF would 
know?



I do not want to make the interview unduly hard or easy.



Any suggestions would be appreciated.



Thanks



P.S. I went through the usual books Career cup, Programming Interviews exposed 
and their websites to learn how interviews are done in most places today.

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 


-- 
Dawn

Re: [ACFUG Discuss] Choosing a person with adequate CF skills

2013-03-12 Thread Chris
 you tell 
me the difference between a class and an object? and I gave you the following 
answer: Well, um, [drums fingers on table] a class is like...you know...how 
something IS, like...you know...how like, all of them are made up and 
stuff...but...um...[drums fingers again] an object is like just one of them, 
like...just a single one, you know...like...[taps knuckles on chair arm]...you 
know what I'm saying? then the answer might change from maybe to no. 

However, if I said, Well, a class is the how an object-oriented design defines 
a real-world concept in code, and then an object is a single instance of that 
class that one can then do work on. the answer might start looking closer to 
yes. 

If you look at both answers closely it will become clear they ultimately say 
the same, or a very similar, thing. However, one shows much better 
communication and a much greater ability to express one's self than the other. 

Additionally, if you and I are sitting in the conference room with several 
senior members of your team, and someone cracks a joke. Let's say I mentioned 
something about when I was first learning to code and how I relied on a bunch 
of senior folks to help me along or something, and one of your team says, 
Well, if you can run, you walk, and if you can't walk you find someone to 
carry you... Now, if I come back with huh? that's one thing, but if I 
respond with something like, Shiny! then you might start thinking, 
Hey...this guy might fit in around here! (By the way, if you didn't get that 
joke, it's a Firefly reference, and fairly obscure at that).

So, my long-winded response is really just to say, I think you're focusing too 
much on the details and not enough on what's truly important about a candidate. 
Or, maybe you're not and you just wanted some advice about the first few 
technical aspects of the interview, and if so, ignore ALL my rambling.

I like your idea about having the candidate do some actual thinking on your 
whiteboard. I'd hesitate to make it actual code, it would be more useful to see 
pseudocode or block diagrams so you can see more of the person's thought 
process rather than if they know syntax without a reference close by. 

I love the idea of having the candidate discuss recent projects and the 
failures or successes each may have had (as long as they can, some stuff is 
going to be privileged/confidential or covered in an NDA or something).

I'd steer clear of operating system and networking concepts (unless you're 
planning on having someone write you a networking app in a web language, why 
would a candidate really need to know this?), or agile programming concepts 
(agile covers a huge range of development methodologies and nobody's version 
of any one of them is the same as anyone else's, it's a red herring question 
that probably won't tell you much). 

Anyway, hopefully some of this helps, good luck in finding the right person for 
that chair.

~JV



On Tue, Mar 12, 2013 at 1:32 PM, Chris h_chris...@yahoo.com wrote:

I am with a public university and asked to interview applicants with 
Coldfusion(CF) and Flex skills for an opening. The position requires someone 
who has worked 3-4 years in CF and Flex. 


I was moved into this position and I picked CF/Flex after I started so do not 
have a first hand experience of a CF/Flex interview, though a Web search 
reveals dozens of websites with questions.  



I have worked with Coldfusion 8 and 9 and I know I can ask questions about 
following topics.



1. Check for CF basic understanding, ask about functions which are rarely used 
to test depth of knowledge in CF. 

2. Ask about CFC, Bean, Gateway to test OOP understanding in CF

3. How the facade pattern is used in CF?

4. Recent CF projects of candidate. Question the design, implementation 
decisions and possible performance improvements in the projects

5. Ask them to develop a Bean on whiteboard.

6. Contributions to an open source CF project



Since the opening expects someone with a Bachelor's in Computer Science, I can 
ask the typical questions(algorithms, data structures, design patterns, OOP, 
contract by design, agile programming concepts, Operating System and 
Networking concepts, information security, bit fiddling in C, RTTI idiom in 
C++ assuming candidate lists C,C++ on his resume).



I realize a Web search can reveal lot more questions, but since I have not 
interviewed someone for a CF background before, I want to know if items 1-6 
listed above are sufficient or do they need more additions? 
Are they too simple that most people who have worked 12-18 months in CF would 
know?



I do not want to make the interview unduly hard or easy.



Any suggestions would be appreciated.



Thanks



P.S. I went through the usual books Career cup, Programming Interviews exposed 
and their websites to learn how interviews are done in most places today.

- 
To unsubscribe from this list, manage

Re: [ACFUG Discuss] Choosing a person with adequate CF skills

2013-03-12 Thread Chris
Thanks Frank,

The idea of giving some code and have candidate trace errors, improve it is a 
useful test.


I appreciate your suggestions and time.


 From: Frank Moorman stretch...@franksdomain.net
To: discussion@acfug.org 
Sent: Tuesday, March 12, 2013 3:17 PM
Subject: Re: [ACFUG Discuss] Choosing a person with adequate CF skills
 

I agree with Dawn, but I was totally blown away with Jason's response. His 
answer is definitely the best I have seen on this topic, and we all know this 
topic comes up regularly.

But other than kudos, I would like to add my two cents.

First, most of the web based testing and skills evaluation is
  useless. Similar to one of Jason's issues, web base testing
  determines if a developer know arcane knowledge that is rarely
  used. For some reason almost every web test I have taken has had a
  question on CFPOP. CFPOP is used for reading
  email, in all honesty how many times is someone going to use this,
  and even if they did have the need, a reference book (or the
  internet) is usually close by.

Second...  There is one problem to having someone write actual
  code for you... Many developers are not willing to code for free
  and the more elaborate it is, the less likely they would be
  willing.  The best evaluation I have ever taken was fairly
  simple.  It was a page and a half of code. (medium font size with
  room to comment.) I was asked to find the deliberate errors in the
  code and to make comments about what I would do to improve the
  code.

Someone that is familiar with the language should be able find
  errors in a page of code easily. Don't tell them how many mistakes
  exist and see what they come up with. My test included a function
  within a component without proper var scoping. It had an SQL
  statement without cfqueryparam (also SELECT * which is
  something that professionals try to avoid.) It had other things
  like an equal sign in a CFIF. It also lacked proper
  scoping on some variables.  Not all of these would cause a
  complete failure, but it will allow you to determine the people
  that know what they are doing from the people that read a book
  once. Also, remember, a good person may overlook one or two
  things, most of us use editors with full syntax highlighting and
  may miss an error because we our out of the normal environment.
  (When I took it, I actually found an error that they did not
  realize existed.) 

With the coding errors, pay attention to how the would improve the
  code, someone with bright ideas will not only learn from your
  existing team, but may teach them a few new tricks as well. Above
  all, the best developers are not a dictionary, they are someone
  that is always willing to learn.

Third, have another developer talk to them... Like Jason's
  response this will tell if they have the right personality for
  your team, and another developer will usually be able to tell the
  difference between someone that understands coding, and someone
  that speaks bs.  


On 03/12/2013 02:34 PM, Kevin Bachman wrote:

This may be the most accurate and real-world description of candidate selection 
I have ever read.  I agree whole-heartedly.
 
[Printing and filing away for future reference.]
 
Thanks for this!
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Jason Vanhoy
Sent: Tuesday, March 12, 2013 2:12 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Choosing a person with adequate CF skills
 
My first question would be are you hiring for an entry level, mid-level, or 
senior position?
 
If you're hiring a senior position, none of the questions you outline is going 
to be worth a hill of beans for choosing the right candidate in my opinion.
 
I come at this problem from the point of view of having been on many hundreds 
of interviews, having interviewed people a significant number of times as 
well, and making hiring decisions based on those interviews a number of times 
both successfully and unsuccessfully.

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Choosing a person with adequate CF skills

2013-03-12 Thread Chris
Thanks Jason,

One thing I would like to mention is focusing on algorithms, data structures, 
concurrency is useful since we all need people who use the right tool for the 
task in hand. I feel, to some extent, a CS degree gives you an advantage in 
that. Yes, I realize there are gazillion folks who do not have a CS degree and 
are doing well, but in a university environment they expect that.

I appreciate your suggestions, wishes and time.




 From: Jason Vanhoy jpvan...@gmail.com
To: discussion@acfug.org 
Sent: Tuesday, March 12, 2013 3:33 PM
Subject: Re: [ACFUG Discuss] Choosing a person with adequate CF skills
 

To answer the question directly, I would say that the most use from those more 
nuts  bolts-oriented interviews is gained during interviews for entry-level 
folks. Folks who are the most likely to be in denial about their own abilities, 
and folks most likely to have serious deficiencies in their skill set.

To answer it in a more lengthy fashion I'd say that your point that [you] 
estimate most companies do that(focus on language competence, algorithms, 
data-structures, Computer Science concepts like concurrency etc) is 
absoloutely true, and, in fact, the very thing I find problematic about 
interviewing in general. I think focusing on that type of interview is likely 
to get you an employee who is well-versed in interviewing, rather than someone 
who's a good fit for your team and a skilled, problem-solving developer. 

You go on to state that if someone has worked in CF for 3-4 years, he/she can 
get things done lot quickly in CF than someone who is a skilled developer in 
C/C++, but new to CF is generally only true for the first 2-4 weeks. After 
that the developer who was skilled in another language/platform is probably not 
even having to look at syntax documentation any more. So, if we all agree that 
the first month to 90 days of an employee's time on your team is the time 
period where they're relatively unproductive and a cost rather than an 
asset then it becomes an irrelevant distinction. Of course, if we don't agree 
on that timespan between hiring and actual productivity, your mileage will vary.

I like Frank's point a lot about writing actual code versus looking at code on 
a page. I've used that technique a number of times to weed out candidates for 
entry-level or mid-level positions who were...let's call it optimistic about 
their skill set. 

Ultimately you've got to do whatever you feel is best for your team, and what 
you can feel confident about within the parameters your superiors have given 
you. For example, the CS degree requirement, which I didn't mention earlier (I 
assumed it came from on high), but one I feel is egregiously short-sighted as 
Dawn alluded to. My approach may not work well for you in the structured, 
vetted, everything-provable-on-paper environment at a University, but hopefully 
there was some insight there that helps in some way. 

At the very least, what I'd most like to see you take away from the discussion 
is that exposing a candidate to your whole team, or at least senior members of 
it, and getting their gut-feeling reactions afterwards is pretty important. The 
last thing you want to do is spend several thousand dollars hiring someone, 
then spend several MORE thousand on their salary and benefits and access cards 
and so forth, only to find out that that person grates on the very last nerve 
of five other employees and, while being able to quote the Gang of Four chapter 
and verse, lowers your overall productivity by virtue of incompatibility. 

At any rate, good luck to you!

~Jason





On Tue, Mar 12, 2013 at 3:02 PM, Chris h_chris...@yahoo.com wrote:

Thanks Jason.

Position would be a bit mid-level since it expects 3-4 years in 
Flex/Coldfusion. Do you feel the questions are pointless now or are they too 
easy for mid-level position?

1, 2, 3 you listed are something most applicants might have today since each 
opening in the technology field attracts lot of well qualified candidates in 
today's market.

I went through the books by Careercup, programming interviews exposed to get a 
feel of how developer interviews are done today and I estimate most companies 
do that(focus on language competence, algorithms, data-structures, Computer 
Science concepts like concurrency etc). 

The idea of language competence comes from if someone has worked in CF for 3-4 
years, he/she can get things done lot quickly in CF than someone who is a 
skilled developer in C/C++, but
 new to CF. I imagine this is why lot of start-ups want people with N years 
of experience in the language/tool/database they are using.

I appreciate your comments and suggestions.




 From: Jason Vanhoy jpvan...@gmail.com
To: discussion@acfug.org 
Sent: Tuesday, March 12, 2013 2:11 PM

Subject: Re: [ACFUG Discuss] Choosing a person with adequate CF skills
 


My first question would be are you hiring

Re: [ACFUG Discuss] Choosing a person with adequate CF skills

2013-03-12 Thread Chris
 developer, do they have experience developing software in 
SOME language, do they understand BASIC concepts and can they apply those 
concepts.
 
2) Can the candidate express themselves well, professionally and competently? 
That is, do they speak clearly, do they explain things well enough but not TOO 
well? Do they understand the differences between site-specific knowledge and 
global knowledge? Do they grasp the language I use and understand what I'm 
saying, or, barring that, eloquently ask for clarifications that are logical 
and understandable?
 
3) Does the candidate's personality mesh well with the team they're going to be 
working with and will they likely enjoy being on the team? Will the team likely 
enjoy them being there? 
 
The great truth, at least in my experience, is that any competent developer can 
fairly quickly get up to speed on a new language or platform. However, to quote 
a good friend of mine (pardon the language) you can't fix asshole. 
 
I'll give you an example: It's been probably a decade since I did any 
significant ColdFusion work. I would seriously have to have a syntax book 
beside me for a week if I started writing it today. I've got a ton of Flex 
experience, though, and very recent experience using it. Would I be a good 
candidate for your position? Well, the answer is maybe. 
 
If I came into the interview and you asked me some question like, Can you tell 
me the difference between a class and an object? and I gave you the following 
answer: Well, um, [drums fingers on table] a class is like...you know...how 
something IS, like...you know...how like, all of them are made up and 
stuff...but...um...[drums fingers again] an object is like just one of them, 
like...just a single one, you know...like...[taps knuckles on chair arm]...you 
know what I'm saying? then the answer might change from maybe to no. 
 
However, if I said, Well, a class is the how an object-oriented design defines 
a real-world concept in code, and then an object is a single instance of that 
class that one can then do work on. the answer might start looking closer to 
yes. 
 
If you look at both answers closely it will become clear they ultimately say 
the same, or a very similar, thing. However, one shows much better 
communication and a much greater ability to express one's self than the other. 
 
Additionally, if you and I are sitting in the conference room with several 
senior members of your team, and someone cracks a joke. Let's say I mentioned 
something about when I was first learning to code and how I relied on a bunch 
of senior folks to help me along or something, and one of your team says, 
Well, if you can run, you walk, and if you can't walk you find someone to 
carry you... Now, if I come back with huh? that's one thing, but if I 
respond with something like, Shiny! then you might start thinking, 
Hey...this guy might fit in around here! (By the way, if you didn't get that 
joke, it's a Firefly reference, and fairly obscure at that).
 
So, my long-winded response is really just to say, I think you're focusing too 
much on the details and not enough on what's truly important about a candidate. 
Or, maybe you're not and you just wanted some advice about the first few 
technical aspects of the interview, and if so, ignore ALL my rambling.
 
I like your idea about having the candidate do some actual thinking on your 
whiteboard. I'd hesitate to make it actual code, it would be more useful to see 
pseudocode or block diagrams so you can see more of the person's thought 
process rather than if they know syntax without a reference close by. 
 
I love the idea of having the candidate discuss recent projects and the 
failures or successes each may have had (as long as they can, some stuff is 
going to be privileged/confidential or covered in an NDA or something).
 
I'd steer clear of operating system and networking concepts (unless you're 
planning on having someone write you a networking app in a web language, why 
would a candidate really need to know this?), or agile programming concepts 
(agile covers a huge range of development methodologies and nobody's version 
of any one of them is the same as anyone else's, it's a red herring question 
that probably won't tell you much). 
 
Anyway, hopefully some of this helps, good luck in finding the right person for 
that chair.
 
~JV
 
On Tue, Mar 12, 2013 at 1:32 PM, Chris h_chris...@yahoo.com wrote:
I am with a public university and asked to interview applicants with 
Coldfusion(CF) and Flex skills for an opening. The position requires someone 
who has worked 3-4 years in CF and Flex. 
 
I was moved into this position and I picked CF/Flex after I started so do not 
have a first hand experience of a CF/Flex interview, though a Web search 
reveals dozens of websites with questions.  
 
I have worked with Coldfusion 8 and 9 and I know I can ask questions about 
following topics.
 
1. Check for CF basic understanding, ask about functions which

Re: [ACFUG Discuss] Converting HTML formatted text to regular text in Coldfusion 9

2012-09-19 Thread Chris
Teddy,


Thanks for the reply.


I used  ColdFusion to remove off the HTML formatting  using  
reReplaceNoCase(data, regex, , all) where regex  = (.|)*? and it worked 
fine. 

I appreciate your advice and time.




 From: Teddy R. Payne teddyrpa...@gmail.com
To: discussion@acfug.org 
Sent: Tuesday, September 18, 2012 2:13 PM
Subject: Re: [ACFUG Discuss] Converting HTML formatted text to regular text in 
Coldfusion 9
 

Chris,
Do you need to store the style formatting for Test Record?

If Test Record needs to look differently across different mediums (Flex, 
PDF), have the style formatting defined in Flex and the PDF and just store the 
actual data inside of the database.

If you need to capture the formatting on the text for display elsewhere, you 
may want to use ColdFusion to strip off the formatting depending on your need.

You could have some methods in either Flex or CF to perform some custom calls 
like FormatRecord(plaintext or html) and then you return either the 
stripped out data or return the original formatting that was entered.

I am not sure there is a single CF function that will just return the data in 
between the all of the formatting, but you could probably just use REReplace() 
to use regular expressions to get to the core test record data.

Cheers,
Teddy


On Tue, Sep 18, 2012 at 1:48 PM, Chris h_chris...@yahoo.com wrote:


An application consists of Flex as front end, Coldfusion 9 as middle tier and 
MySQL 5 as the back end. 

A MySQL table contains some fields which contain HTML formatting. So, if a 
field has value string Test Record it is stored as 
TEXTFORMAT LEADING=2P ALIGN=LEFTFONT FACE=Arial SIZE=12 
COLOR=#0B333C LETTERSPACING=0 KERNING=0Test RecordFONT 
SIZE=8/FONT/FONT/P/TEXTFORMAT
in the MySQL table

Now, this field's value is being printed in a PDF document as

cfdocument format=pdf filename=#report_filename_format# 
orientation=landscape
overwrite=yes
marginbottom=0 marginleft=0 marginright=0 margintop=0
pagetype=legal


tr
td width=20% style=background-color:##CC; font-weight:bold; 
text-transform:uppercase; vertical-align:top;
Value
/td
td width=80%#printrecord.field_value#/td
/tr

Since, the field value is stored with HTML formatting, the space taken is more 
and there is no
control about the printed text's font type and font size.

1. Is there any function in Coldfusion 9 which can convert the field's value 
to a regular text(without the HTML formatting) so that if Test Record would 
print the same regardless of whether it was stored as font size 10 or font 
size 30? 

2. I am thinking of one way is to get the record being printed in a Flex 
application, use field.text property of a TextArea control(in Flex) 
to convert to regular text, then
 pass the converted value to Coldfusion for printing in the PDF document. Are 
there other better options?

Any suggestions would be appreciated.  



- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




[ACFUG Discuss] Converting HTML formatted text to regular text in Coldfusion 9

2012-09-18 Thread Chris

An application consists of Flex as front end, Coldfusion 9 as middle tier and 
MySQL 5 as the back end. 

A MySQL table contains some fields which contain HTML formatting. So, if a 
field has value string Test Record it is stored as 
TEXTFORMAT LEADING=2P ALIGN=LEFTFONT FACE=Arial SIZE=12 
COLOR=#0B333C LETTERSPACING=0 KERNING=0Test RecordFONT 
SIZE=8/FONT/FONT/P/TEXTFORMAT
in the MySQL table

Now, this field's value is being printed in a PDF document as

cfdocument format=pdf filename=#report_filename_format# 
orientation=landscape
overwrite=yes
marginbottom=0 marginleft=0 marginright=0 margintop=0
pagetype=legal


tr
td width=20% style=background-color:##CC; font-weight:bold; 
text-transform:uppercase; vertical-align:top;
Value
/td
td width=80%#printrecord.field_value#/td
/tr

Since, the field value is stored with HTML formatting, the space taken is more 
and there is no
control about the printed text's font type and font size.

1. Is there any function in Coldfusion 9 which can convert the field's value to 
a regular text(without the HTML formatting) so that if Test Record would 
print the same regardless of whether it was stored as font size 10 or font size 
30? 

2. I am thinking of one way is to get the record being printed in a Flex 
application, use field.text property of a TextArea control(in Flex) 
to convert to regular text, then pass the converted value to Coldfusion for 
printing in the PDF document. Are there other better options?

Any suggestions would be appreciated.  


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Communicating with a data source moved to on another server

2012-09-09 Thread Chris
Thanks Troy:


Yes, the Coldfusion component is hosted on a remote server and I want it to 
access the datasource, hosted on our local server. 


Option 1 is not possible since the server administrator does not want the 
database to be hosted by remote server. It is his decision and I have no say in 
it.


How do you do what you suggested in option 2? I am new to this, can you please 
elaborate? I tried searching, but likely I am not using the right search terms 
which can lead to an example.


I appreciate your advice and time.





 From: Troy Jones t...@dynapp.com
To: discussion@acfug.org discussion@acfug.org 
Sent: Saturday, September 8, 2012 9:42 PM
Subject: RE: [ACFUG Discuss] Communicating with a data source moved to on 
another server
 

 
Chris,
 
I think what you’re asking is that you want a cfc that is hosted on a remote 
server to access your datasource, hosted on your server? If so,  I do not know 
of a way to do that although it may be possible and I’m just not aware of it. 
I’d recommend one of two things:
 
1). Move your local datasource and database to the remote server and all will 
be good as before.
 
2). If this is not possible, then create a datasource on the remote server and 
point the connection to your server’s MySQL database. 
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Chris
Sent: Saturday, September 08, 2012 3:55 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] Communicating with a data source moved to on another 
server
 
Initially, we had on the same box, a MySQL server, a Coldfusion server so when 
a MySQL database named mydatabase was referenced in the Coldfusion component 
file, the application worked. 
The application is a Flex front end, Coldfusion middle tier and MySQL back end. 
The Flex component communicates with Coldfusion using remoting services.

Now, the Coldfusion is provided by a off-site hosting provider to avoid costs 
of a Coldfusion license. However, the datasource named mydatabase
cannot be accessed by the Coldfusion component since it is on the on-site 
server. The error message is Unable to invoke CFC operation failed on the 
orf2344_cfvars data source

What needs to be done so that the Coldfusion component can access the 
datasource named mydatabase? Our server administrator who changed the servers 
does not
have time to look into this so I need to find out what could have gone wrong 
and inform him how to fix it.
 
Any suggestions would be appreciated.
 
Thanks
   
 


 
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2197 / Virus Database: 2437/5256 - Release Date: 09/08/12

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




Re: [ACFUG Discuss] Communicating with a data source moved to on another server

2012-09-09 Thread Chris
Thanks John:


Can you please advice how I can implement option 2? I am new to this. My 
development machine has MySQL, Coldfusion and IIS running on the same box so I 
am not familiar with doing this.


Now, is using stunnel something I need to do or our server administrator? If 
the server admin, needs to implement it, it will be pushed back since he is 
swamped.


Thanks




 From: John Mason ma...@fusionlink.com
To: discussion@acfug.org 
Sent: Sunday, September 9, 2012 12:02 PM
Subject: Re: [ACFUG Discuss] Communicating with a data source moved to on 
another server
 

If you do option2, make sure that the datasource connection between the two 
servers is secure in some manner. Probably one of the easiest things to do is 
to use stunnel (http://www.stunnel.org/index.html) and create a simple SSL 
wrapper for the calls. Takes about 5mins to set up.

John
ma...@fusionlink.com



On 9/8/12 9:42 PM, Troy Jones wrote:

 
Chris,
 
I think what you’re asking is that you want a cfc that is hosted on a remote 
server to access your datasource, hosted on your server? If so,  I do not know 
of a way to do that although it may be possible and I’m just not aware of it. 
I’d recommend one of two things:
 
1). Move your local datasource and database to the remote server and all will 
be good as before.
 
2). If this is not possible, then create a datasource on the remote server and 
point the connection to your server’s MySQL database. 
 
From:ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Chris
Sent: Saturday, September 08, 2012 3:55 PM
To: discussion@acfug.org
Subject: [ACFUG Discuss] Communicating with a data source moved to on another 
server
 
Initially, we had on the same box, a MySQL server, a Coldfusion server so when 
a MySQL database named mydatabase was referenced in the Coldfusion component 
file, the application worked. 
The application is a Flex front end, Coldfusion middle
tier and MySQL back end. The Flex component communicates
with Coldfusion using remoting services.

Now, the Coldfusion is provided by a off-site hosting
provider to avoid costs of a Coldfusion license.
However, the datasource named mydatabase
cannot be accessed by the Coldfusion component since it
is on the on-site server. The error message is Unable
to invoke CFC operation failed on the orf2344_cfvars
data source

What needs to be done so that the Coldfusion component
can access the datasource named mydatabase? Our server
administrator who changed the servers does not
have time to look into this so I need to find out what
could have gone wrong and inform him how to fix it.
 
Any suggestions would be appreciated.
 
Thanks
   
 


 
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2197 / Virus Database: 2437/5256 - Release
  Date: 09/08/12

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 

- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




[ACFUG Discuss] Communicating with a data source moved to on another server

2012-09-08 Thread Chris
Initially, we had on the same box, a MySQL server, a Coldfusion server so when 
a MySQL database named mydatabase was referenced in the Coldfusion component 
file, the application worked. 
The application is a Flex front end, Coldfusion middle tier and MySQL back end. 
The Flex component communicates 
with Coldfusion using remoting services.

Now, the Coldfusion is provided by a off-site hosting provider to avoid costs 
of a Coldfusion license. However, the datasource named mydatabase
cannot be accessed by the Coldfusion component since it is on the on-site 
server. The error message is Unable to invoke CFC operation failed on the 
orf2344_cfvars data source

What needs to be done so that the Coldfusion component can access the 
datasource named mydatabase? Our server administrator who changed the servers 
does not
have time to look into this so I need to find out what could have gone wrong 
and inform him how to fix it.

Any suggestions would be appreciated.

Thanks


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] CF9 Performance

2011-02-01 Thread Chris Amaro
I second this 100%. The enterprise dashboard which allows you to view instances 
at a glance is also a huge benefit, as well as taking a snapshot and watching 
running requests refreshing every second. It has helped me track down straggler 
jobs, tasks and queries that need to be re-factored and updated to current code 
requirements.

Worth every penny.

Chris
--


From: Ajas Mohammed ajash...@gmail.commailto:ajash...@gmail.com
Reply-To: ACFUG discussion@acfug.orgmailto:discussion@acfug.org
Date: Mon, 31 Jan 2011 22:16:39 -0600
To: ACFUG discussion@acfug.orgmailto:discussion@acfug.org
Subject: Re: [ACFUG Discuss] CF9 Performance

Frank, here are my thoughts as far as performance optimization is concerned. I 
have solved my company's dreaded performance problems, thanks to FusionReactor 
and good advice from this group and more specifically Charlie Arehart. Thank 
you all. :-)

1. Get FusionReactor. Trust me, you will never use ColdFusion without 
FusionReactor next time. I guarantee it.For 300 dollars you will not go wrong.

2. FusionReactor will let you monitor all requests i.e. running or completed. 
So you can look at what requests took lot of time.

3. Even better, if a page is running slow, you can go and view exactly on which 
line number the code is stuck executing. Brilliant feature to solve performance 
problems. I love it.

4. You can view system metrics to see your servers health like memory, cpu 
usage, currently running request count all in one screen.

5. You can kill a request. Worst case scenario. There are exceptions but still 
there is an option.

I can just go on like that. No kidding about that. Its an awesome tool for 
CFers.

Now to the other important point. You didnt mention much about your 
configuration. How much memory you have available? things like that. If you can 
tell us that, we can help you better.

Now you do say, its because of images in pdf. So let me ask you this, are you 
using local images or images from a url. If you are not using local images, 
then look at localurl = yes attribute that was added to cfdocument in CF 8/9.

I would also look at the image you are using and check for the famous issue 
posted by Rupesh Kumar
http://www.rupeshk.org/blog/index.php/2007/12/images-and-cfdocument-performance/

http://www.rupeshk.org/blog/index.php/2007/12/images-and-cfdocument-performance/Finally,
 have you looked at any of the logs in ColdFusion to see anything obvious?

Let me know if you have questions.

HTH

Ajas Mohammed /
http://ajashadi.blogspot.com
We cannot become what we need to be, remaining what we are.
No matter what, find a way. Because thats what winners do.
You can't improve what you don't measure.
Quality is never an accident; it is always the result of high intention, 
sincere effort, intelligent direction and skillful execution; it represents the 
wise choice of many alternatives.


On Mon, Jan 31, 2011 at 8:12 PM, Frank Moorman 
stretch...@franksdomain.netmailto:stretch...@franksdomain.net wrote:
All,

The last month I have encountered a few performance issues. About 3 times a 
week I am getting a The Request has exceeded the maximum time limit. It is 
happening on different pages and different tags. I know I can probably increase 
the global timeout value, but I would rather fix any real issue instead.

Here is the question... We are on a small budget, I can get the owner to spring 
some cash, if it is really necessary. What would be my best option to find out 
the root cause of the issues? We are using CF9 Standard. I know the performance 
monitor in enterprise is decent, but for the $6000 upgrade cost, he won't be 
happy if it does not get me to the right results. (he'll deal with it, but I 
wouldn't like spending that much if I don't get my answer.)

Is fusion reactor a better choice than the CF9 Enterprise upgrade?

Does anyone else know other good choices?

Right now my *guess* is that our large picture based pdf files are being 
created at the same time limiting overall resources slowing down the other 
pages. It would be nice to see what the resources are on the machine at the 
time of the error. To add to the complexity, IIS and MySQL are all running on 
the same server. (It is a small enough site, I have never seen more the 300MB 
of RAM allocated to MySQL.)

Thanks,
Frank


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-







-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted

Re: [ACFUG Discuss] newbie question: formatting a date variable

2010-10-04 Thread Chris H
Thanks Cody,

That worked. But, after that was done the users wanted the month to be spelled 
out so that if date_var had value Jan 5, 2010, they wanted January 5, 2010.

I googled for the Live docs and changed the mask as  #DateFormat(date_var, 
-DD-)# which did it.

Thanks for your advice and time. 





From: Cody Wehunt c...@wehunt.net
To: discussion@acfug.org discussion@acfug.org
Cc: discussion@acfug.org discussion@acfug.org
Sent: Sun, October 3, 2010 11:47:12 PM
Subject: Re: [ACFUG Discuss] newbie question: formatting a date variable


The date mask is wrong for what you describe you are wanting.  But try the line 
below and let us know what you get, errors or output.

 #DateFormat(date_var, MM-DD-)#

Sent from my iPhone

On Oct 3, 2010, at 11:37 PM, Chris H h_chris...@yahoo.com wrote:


I want to format the value of date which is in a variable(date_var) in 
MM-DD- format and print it in a document. So, if date_var has value Jan 5, 
2010 I want that to be printed as 01-05-2010


 td
 DateFormat(#date_var#, ' DD,') does not work
 /td


does not work.  

How can I do that? 

Any suggestions would be appreciated. 


- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink 
- 


  


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



[ACFUG Discuss] newbie question: formatting a date variable

2010-10-03 Thread Chris H
I want to format the value of date which is in a variable(date_var) in 
MM-DD- format and print it in a document. So, if date_var has value Jan 5, 
2010 I want that to be printed as 01-05-2010


 td
 DateFormat(#date_var#, ' DD,') does not work
 /td


does not work.  

How can I do that? 

Any suggestions would be appreciated. 



  


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] newbie question: storing an array variable into a variable whose data type is not specified

2010-09-11 Thread Chris H
Thanks Jay, Axunderwood for the prompt responses and useful suggestions.

I bound the flex grid to a coldfusion query and it is working fine now. 

I only feel bad, that I could not get it done quicker on Thursday itself.

Thanks for your advice, examples and time. 





From: viswanathan.jayara...@atl.frb.org viswanathan.jayara...@atl.frb.org
To: discussion@acfug.org
Sent: Thu, September 9, 2010 2:01:56 PM
Subject: Re: [ACFUG Discuss] newbie question: storing an array variable into a 
variable whose data type is not specified

Actually, 

   [Bindable]
  private var people_info:ArrayCollection;
shoudl be outside of function myfunction


Jay Jayaraman
Central Billing Services
Financial Management and Planning
(404) 498-8453 (W)
(404) 273-7131 (C) 



From:viswanathan.jayara...@atl.frb.org 
To:discussion@acfug.org 
Date:09/09/2010 01:58 PM 
Subject:Re: [ACFUG Discuss] newbie question: storing an array variable 
into a variable whose data type is not specified 

Sent by:ad...@acfug.org 

 


This is how you will do it

 mx:DataGrid dataProvider={people_info}  .
   .
  /mx:dataGrid

In the actionscript, you will do

  [Bindable]
  private var people_info:ArrayCollection;
  people_info =  eventObj.result.people_info as ArrayCollection;

as the result from your cfc contains three elements
 people_Info
 statMsg
 status


Jay Jayaraman
Central Billing Services
Financial Management and Planning
(404) 498-8453 (W)
(404) 273-7131 (C)



From:Chris H h_chris...@yahoo.com
To:discussion@acfug.org
Date:09/09/2010 01:09 PM
Subject:Re: [ACFUG Discuss] newbie question: storing an array variable 
into a variable whose data type is not specified
Sent by:ad...@acfug.org
 




Thanks Steve, Jay, Clark and Axunderwood for the prompt responses and useful 
suggestions.

1.  I have changed the return type of function to struct and other changes in 
the function as below according to the suggestions

cffunction name=myfunction access=remote returntype=struct
  cfargument name=form_data type=struct

cfset varresult = StructNew() /
cfset varperson =  /   !--- Why is this needed? I did not understand this 
part. I realize the concept is to initialize variables with blank values before 
using them ---

cfset result['dept_name'] = some dept
cfset result['dept_num'] = some dept number
.
...

 cfscript 
ArrayAppend(peoplearray, #printPeople.empID#);
ArrayAppend(peoplearray, #printPeople.departmentname#);
ArrayAppend(peoplearray, #printPeople.departmentID#);
ArrayAppend(peoplearray, #printPeople.empTitle#);
/cfscript

.cfset result['people_info'] = peoplearray  

  cfset result['statMsg'] = 'Information successfully collected.'
  cfset result['status'] = true

   cfreturn result

/cffunction

Rest of part is same as I posted earlier

2. How would I reference the return values in the caller function which is a 
Flex component?

private function myfunction(eventObj:ResultEvent):void{

 var people_obj:Object = new Object();

  people_obj.dept_name = eventObj.result.dept_name;
  people_obj.dept_num = eventObj.result.dept_num;
 
 // would the below code work? 
 
people_obj.peoplearray = eventObj.result.peoplearray 

  }

// How can I access the department name, department ID and employee ID, title 
of 
 the third person whose name is John from the above people_obj // object?

// Or, do I need an arraycollection variable 

  [Bindable]
  private var people_info:ArrayCollection;
  people_info =  eventObj.result.peoplearray 

Then, I could load the arraycollection variable people_info into a DataGrid 
element where the elements would be displayed in order? 


Can someone please advise?

Thanks 

  


 

From: Steve Ross nowhid...@gmail.com
To: discussion@acfug.org
Sent: Thu, September 9, 2010 9:55:29 AM
Subject: Re: [ACFUG Discuss] newbie question: storing an array variable into a 
variable whose data type is not specified

yep, what you are actually doing is creating a named struct (hash) when you do 
this:

cfset result['people_info'] = peoplearray /

changing the return type will give you exactly what you want (unless you want 
an 
array), and if you do then you can create an array of structs... 


On Thu, Sep 9, 2010 at 9:51 AM, Chris H h_chris...@yahoo.com wrote:
Hi All,

I am a newbie to Coldfusion. My development background is mainly in C/C++ so 
please excuse me if my below question is naive.  

I have a function as below

cffunction name=myfunction access=remote returntype=any
  cfargument name=form_data type=struct

[ACFUG Discuss] newbie question: storing an array variable into a variable whose data type is not specified

2010-09-09 Thread Chris H
Hi All,

I am a newbie to Coldfusion. My development background is mainly in C/C++ so 
please excuse me if my below question is naive. 

I have a function as below

cffunction name=myfunction access=remote returntype=any
cfargument name=form_data type=struct

!---  The variable to be returned by the function is result  ---

cfset result['dept_name'] = some dept
cfset result['dept_num'] = some dept number

!---  I run a query where I want to find some information about people having  
name John and there can be N number of people with the name of John ---


cfquery dbtype=query name=printPeople
SELECT *
FROM people
WHERE peopleName = John
/cfquery

cfset peoplearray=ArrayNew(1)

  cfset myCounter = 0 /
 cfloop query=printPeople

   cfset myCounter = myCounter + 1 /


  cfscript 
  ArrayAppend(peoplearray, #printPeople.empID#);
  /cfscript

  cfscript 
  ArrayAppend(peoplearray, #printPeople.departmentname#);
  /cfscript


  cfscript 
  ArrayAppend(peoplearray, #printPeople.departmentID#);
  /cfscript


  cfscript 
  ArrayAppend(peoplearray, #printPeople.empTitle#);
  /cfscript

  /cfloop



cfset result['people_info'] = peoplearray !--- Can this be 
done? ---

cfset result['statMsg'] = 'Information successfully 
collected.'
cfset result['status'] = true

 cfreturn result

/cffunction


The part cfset result['people_info'] = peoplearray
attempts to store an array variable into a variable whose data type is not 
specified.

Can this be done?

If not, what should I do? Should I define the datatype of result variable as 
a 
structure, change the return type
in function signature as a structure from any as a structure variable
can hold string, integer and array variables?

Any suggestions would be appreciated.



  


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: [ACFUG Discuss] newbie question: storing an array variable into a variable whose data type is not specified

2010-09-09 Thread Chris H
Thanks Steve, Jay, Clark and Axunderwood for the prompt responses and useful 
suggestions.


1.  I have changed the return typeof function to struct and other changes in 
the function as below according to the suggestions

cffunction name=myfunction access=remote returntype=struct
cfargument name=form_data type=struct

cfset var result = StructNew()  /
cfset var person =   /   !--- Why is this needed? I did not understand 
this 
part. I realize the concept is to initialize variables with blank values before 
using them ---

cfset result['dept_name'] = some dept
cfset result['dept_num'] = some dept number
.
...

   cfscript 
  ArrayAppend(peoplearray, #printPeople.empID#);
  ArrayAppend(peoplearray, #printPeople.departmentname#);
  ArrayAppend(peoplearray, #printPeople.departmentID#);
  ArrayAppend(peoplearray, #printPeople.empTitle#);
  /cfscript

.cfset result['people_info'] = peoplearray  

cfset result['statMsg'] = 'Information successfully 
collected.'
cfset result['status'] = true

 cfreturn result

/cffunction

Rest of part is same as I posted earlier

2. How would I reference the return values in the caller function which is a 
Flex component?

private function myfunction(eventObj:ResultEvent):void{

   var people_obj:Object = new Object();

people_obj.dept_name = eventObj.result.dept_name;
people_obj.dept_num = eventObj.result.dept_num;
   
   // would the below code work? 
   
   people_obj.peoplearray = eventObj.result.peoplearray 

}

// How can I access the department name, department ID and employee ID, title 
of  the third person whose name is John from the above  people_obj // object?

// Or, do I need an arraycollection variable 

[Bindable]
private var people_info:ArrayCollection;
people_info =  eventObj.result.peoplearray 

Then, I could load the arraycollection variable people_info into a DataGrid 
element where the elements would be displayed in order? 


Can someone please advise?

Thanks







From: Steve Ross nowhid...@gmail.com
To: discussion@acfug.org
Sent: Thu, September 9, 2010 9:55:29 AM
Subject: Re: [ACFUG Discuss] newbie question: storing an array variable into a 
variable whose data type is not specified

yep, what you are actually doing is creating a named struct (hash) when you do 
this:

cfset result['people_info'] = peoplearray /

changing the return type will give you exactly what you want (unless you want 
an 
array), and if you do then you can create an array of structs...


On Thu, Sep 9, 2010 at 9:51 AM, Chris H h_chris...@yahoo.com wrote:

Hi All,

I am a newbie to Coldfusion. My development background is mainly in C/C++ so 
please excuse me if my below question is naive.  


I have a function as below

cffunction name=myfunction access=remote returntype=any
cfargument name=form_data type=struct

!---  The variable to be returned by the function is result  ---

cfset result['dept_name'] = some dept
cfset result['dept_num'] = some dept number

!---  I run a query where I want to find some information about people having 
 

name John and there can be N number of people with the name of John ---


cfquery dbtype=query  name=printPeople
SELECT *
FROM people
WHERE peopleName = John
/cfquery

cfset peoplearray=ArrayNew(1)

  cfset myCounter = 0 /
 cfloop query=printPeople

   cfset myCounter = myCounter + 1 /


  cfscript 
  ArrayAppend(peoplearray, #printPeople.empID#);
  /cfscript

  cfscript 
  ArrayAppend(peoplearray, #printPeople.departmentname#);
  /cfscript


  cfscript 
  ArrayAppend(peoplearray, #printPeople.departmentID#);
   /cfscript


  cfscript 
  ArrayAppend(peoplearray, #printPeople.empTitle#);
  /cfscript

  /cfloop



cfset result['people_info'] = peoplearray !--- Can this be 
done? ---

cfset result['statMsg'] = 'Information successfully 
collected.'
cfset result['status'] =  true

 cfreturn result

/cffunction


The part cfset result['people_info'] = peoplearray
attempts to store an array variable into a variable whose data type is not 
specified.

Can this be done?

If not, what should I do? Should I define the datatype of result variable as 
a 
structure, change the return type
in function signature as a structure from any as a structure variable
can hold string, integer and array variables?

Any suggestions would be appreciated.


- 
To unsubscribe from this list, manage

Re: [ACFUG Discuss] CF8 - Dev server pegs the CPU every few hours an hangs

2010-07-29 Thread Chris Amaro

We experienced this problem last summer with html grids that were using jquery 
to call a refresh on a div. Didn't have exact numbers but if roughly 25 
browsers have the page pulled up and left overnight, the CF8 box would start 
locking up. First indicator was always that the JPS service would fail (we use 
PDFMerge and CFPrint to send orders to our fulfillment warehouse for pic 
tickets (merge 3 to 4 documents into one PDF and then send it to a network 
printer) - 500+ on a good day). I'd end up having to restart CF8 as there's no 
clean way to restart JPS that I'm aware of - however also destroying the 
sessions that had the grid up overnight reduced memory allocation.

Chris

On Jul 29, 2010, at 8:56 AM, Ajas Mohammed wrote:

Rudi,

Did you figure out the problem? Just checking to see how things are going.


Ajas Mohammed /
http://ajashadi.blogspot.comhttp://ajashadi.blogspot.com/
We cannot become what we need to be, remaining what we are.
No matter what, find a way. Because thats what winners do.
You can't improve what you don't measure.
Quality is never an accident; it is always the result of high intention, 
sincere effort, intelligent direction and skillful execution; it represents the 
wise choice of many alternatives.


On Mon, Jul 26, 2010 at 10:58 AM, Ajas Mohammed 
ajash...@gmail.commailto:ajash...@gmail.com wrote:
Oh, and I forgot to ask, do you happen to use client variables by any chance? 
If yes, then I would look at that as well especially client purge and count of 
records in CDATA CGlobal.

Ajas Mohammed /
http://ajashadi.blogspot.comhttp://ajashadi.blogspot.com/
We cannot become what we need to be, remaining what we are.
No matter what, find a way. Because thats what winners do.
You can't improve what you don't measure.
Quality is never an accident; it is always the result of high intention, 
sincere effort, intelligent direction and skillful execution; it represents the 
wise choice of many alternatives.


On Mon, Jul 26, 2010 at 10:55 AM, Ajas Mohammed 
ajash...@gmail.commailto:ajash...@gmail.com wrote:
Hi,

Can you check the coldfusion-out.log and coldfusion-err.log files found in and 
tell what is the size of both the files? Not sure if err file is still 
available in CF 8 or not. Also look at other logs to see what was going on.

I dont know if you have Fusion Reactor or Fusion Debug or you monitor using CF 
8 monitor. You can see what page or pages are running at that time. See if its 
running requests or too many requests. One or the other will get the server 
down in some cases.

Just some suggestions.

Ajas Mohammed /
http://ajashadi.blogspot.comhttp://ajashadi.blogspot.com/
We cannot become what we need to be, remaining what we are.
No matter what, find a way. Because thats what winners do.
You can't improve what you don't measure.
Quality is never an accident; it is always the result of high intention, 
sincere effort, intelligent direction and skillful execution; it represents the 
wise choice of many alternatives.


On Mon, Jul 26, 2010 at 10:42 AM, Rudi Shumpert 
shump...@gmail.commailto:shump...@gmail.com wrote:
Folks,

I'm having an issue with CF8-Standard on a win2003 server that had been running 
fine for more than a year, all of a sudden just dying.  The cpu gets to 100% 
and just stays there until I force a restart of the CF services.

The server is patched up and it gets minimal traffic as it is a dev server 
behind a firewall.

Any ideas on things I should be looking for?  I'm stuck at this point.

-Rudi










-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




RE: [ACFUG Discuss] MAC formatted file name questions

2010-04-07 Thread Chris Amaro
I think I overlooked this originally...It appears that 
Parkground:officedepot:chaipeking:cab is the file name and it has no 
extension - and it appears that they are using a PDF form to upload the file.

: are illegal in windows shares...but older OS clients used it. Can you do a 
replace on the file name before you process it with cffile?

--
Chris R. Amaro
CCS Companies, Inc.
205.263.2515 (t)
chris.am...@ccscompanies.com

From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Jeff Howard
Sent: Wednesday, April 07, 2010 2:16 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] MAC formatted file name questions

Message

E:\fileuploads\2010-04\parkground:officedepot:chaipeking:cab in NOLA.pdf (The 
filename, directory name, or volume label syntax is incorrect)


On Wed, Apr 7, 2010 at 2:54 PM, Chris Amaro 
chris.am...@ccscompanies.commailto:chris.am...@ccscompanies.com wrote:
Jeff,

I maintain a CF8/CF9 app infrastructure that serves a mixed windows/mac/ubuntu 
environment and have not come across this situation.

What specific error is being thrown?

Chris


From: ad...@acfug.orgmailto:ad...@acfug.org 
[mailto:ad...@acfug.orgmailto:ad...@acfug.org] On Behalf Of Jeff Howard
Sent: Wednesday, April 07, 2010 1:43 PM
To: discussion@acfug.orgmailto:discussion@acfug.org
Subject: [ACFUG Discuss] MAC formatted file name questions

Hey everyone,

I have an application which allows users to upload supporting files for check 
requests.  I have a user that is on a MAC uploading a file that looks like 
this, E:\fileuploads\2010-04\parkground:officedepot:chaipeking:cab in NOLA.pdf. 
 This is causing the system to throw an error and not upload the file.  I 
haven't really worked on a MAC and was not really familiar with any issues 
related to this.

Does anyone have any tips in dealing with MAC files?  Any UDFs to aid in 
dealing with them?

Thanks,
Jeff

-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLinkhttp://www.fusionlink.com/
-




-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by http://www.fusionlink.com

-




RE: re[2]: [ACFUG Discuss] MAC formatted file name questions

2010-04-07 Thread Chris Amaro
You beat me to it ;)

--


From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Mischa Uppelschoten
Sent: Wednesday, April 07, 2010 2:40 PM
To: Web Site; discussion@acfug.org
Subject: re[2]: [ACFUG Discuss] MAC formatted file name questions

A colon is an illegal character for Windows filenames, but it appears it is 
used as a pathname separator in classic Mac OS. 
(http://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words)

It should be possible to intercept the http post and correct the submitted 
filename before accepting the file with a CFFILE action=upload...

/m


: Message E:\fileuploads\2010-04\parkground:officedepot:chaipeking:cab in
:  NOLA.pdf (The filename, directory name, or volume label syntax is incorrect)

:
: On Wed, Apr 7, 2010 at 2:54 PM, Chris Amaro 
chris.am...@ccscompanies.commailto:chris.am...@ccscompanies.com
:  wrote:
:
:
:
: Jeff,
:
: I maintain a CF8/CF9 app infrastructure that serves a mixed windows/mac/ubuntu
:  environment and have not come across this situation.
:
: What specific error is being thrown?
:
: Chris
:
:
:
: From: ad...@acfug.orgmailto:ad...@acfug.org 
[mailto:ad...@acfug.org]mailto:ad...@acfug.org On Behalf Of Jeff Howard
:  Sent: Wednesday, April 07, 2010 1:43 PM
: To: discussion@acfug.orgmailto:discussion@acfug.org
: Subject: [ACFUG Discuss] MAC formatted file name questions
:
:
:
:
:
: Hey everyone,
:
:
:
: I have an application which allows users to upload supporting files for check
:  requests.  I have a user that is on a MAC uploading a file that looks like
:  this, E:\fileuploads\2010-04\parkground:officedepot:chaipeking:cab in
:  NOLA.pdf.  This is causing the system to throw an error and not upload the
:  file.  I havent really worked on a MAC and was not really familiar with any
:  issues related to this.
:
:
:
: Does anyone have any tips in dealing with MAC files?  Any UDFs to aid in
:  dealing with them?
:
:
:
: Thanks,
: Jeff
: -
:
: To unsubscribe from this list, manage your profile @
: http://www.acfug.org?fa=login.edituserform

: For more info, see http://www.acfug.org/mailinglists
:  Archive @ http://www.mail-archive.com/discussion%40acfug.org/
: List hosted by FusionLink
:  -




Mischa Uppelschoten
VP of Technology
The Banker's Exchange, LLC.
4200 Highlands Parkway SE
Suite A
Smyrna, GA 30082-5198

Phone:(404) 605-0100 ext. 10
Fax:(404) 355-7930
Web:www.BankersX.comhttp://www.BankersX.com
Follow this link for Instant Web Chat:
http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN
--- Original Message ---

From: Jeff Howard jeh...@gmail.commailto:jeh...@gmail.com
To: discussion@acfug.orgmailto:discussion@acfug.org
Date: Wed, 7 Apr 2010 15:15:50 -0400
Subject: Re: [ACFUG Discuss] MAC formatted file name questions

Message

E:\fileuploads\2010-04\parkground:officedepot:chaipeking:cab in NOLA.pdf (The 
filename, directory name, or volume label syntax is incorrect)


On Wed, Apr 7, 2010 at 2:54 PM, Chris Amaro 
chris.am...@ccscompanies.commailto:chris.am...@ccscompanies.com wrote:
Jeff,

I maintain a CF8/CF9 app infrastructure that serves a mixed windows/mac/ubuntu 
environment and have not come across this situation.

What specific error is being thrown?

Chris


From: ad...@acfug.orgmailto:ad...@acfug.org 
[mailto:ad...@acfug.orgmailto:ad...@acfug.org] On Behalf Of Jeff Howard
Sent: Wednesday, April 07, 2010 1:43 PM
To: discussion@acfug.orgmailto:discussion@acfug.org
Subject: [ACFUG Discuss] MAC formatted file name questions

Hey everyone,

I have an application which allows users to upload supporting files for check 
requests.  I have a user that is on a MAC uploading a file that looks like 
this, E:\fileuploads\2010-04\parkground:officedepot:chaipeking:cab in NOLA.pdf. 
 This is causing the system to throw an error and not upload the file.  I 
haven't really worked on a MAC and was not really familiar with any issues 
related to this.

Does anyone have any tips in dealing with MAC files?  Any UDFs to aid in 
dealing with them?

Thanks,
Jeff

-
To unsubscribe from this list, manage your profile @
http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by FusionLinkhttp://www.fusionlink.com/
-

- To unsubscribe 
from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform For more info, see 
http://www.acfug.org/mailinglists Archive @ 
http://www.mail-archive.com/discussion%40acfug.org/ List hosted by 
http://www.fusionlink.com

RE: [ACFUG Discuss] SOT: Do you know any local designers?

2007-01-12 Thread Chris C. Cooper
I can co-sign on Garcan, I've used them on an interface design and they did
an excellent job. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Howard Fore
Sent: Friday, January 12, 2007 8:53 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] SOT: Do you know any local designers?

Try Gillian and Aaron Norrie at Garcan Design. I've worked with both
of them in the past and have nothing but good things to say about
them. They're local, drop Gillian a line at [EMAIL PROTECTED]


On 1/9/07, jonese [EMAIL PROTECTED] wrote:
 anyone else?


-- 
Howard Fore, [EMAIL PROTECTED]
Gliddy glub gloopy / Nibby nabby noopy / La la la lo lo / Sabba sibby
sabba / Nooby abba nabba / Le le lo lo / Tooby ooby walla / Nooby abba
naba / Early morning singing song - Good Morning Starshine


-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





RE: [ACFUG Discuss] XML CF

2007-01-02 Thread Chris C. Cooper
What is a practical use for XML? What kind of situation would call for using
it?

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Powell
Sent: Monday, January 01, 2007 8:54 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] XML  CF

 

Also, I would suggest Jeff Peters' book on the CF XML Object:

 

http://www.cafepress.com/protonarts.50984013

 

ap

 

 

On Jan 1, 2007, at 8:31 PM, Andrew Powell wrote:





1. Read the XML file with CFFILE

2. Parse the xml string with xmlParse()

--optional, but recommended-- narrow your XML document down to an array of
of your data elements using xmlSearch() and the xPath to your data

3. loop over data and do what you will with it (conditionals to check, etc.)

4. write it back to the server or whatever storage space you are using
(database, etc.)

 

As far as writing back the whole XML doc, that may be a matter of not using
xmlSearch() and working with the whole document instead. I'm not sure if
xmlSearch() returns its array by reference or by value. Someone else may be
able to clear this up. In the livedocs someone says that searches on the
same XML doc are NOT thread-safe within a shared scope. This leads me to
think that the array returned by xmlSearch() is returned is a reference to
the original xml doc. If that is the case, then you can just manipulate that
data in the array that xmlsearch() returns and then write the original xml
back to a string with changes intact. I would not write it to an array of
structs or a query if you're going to write back as XML to the server or
database. Just manipulate the original XML doc and save the processing of
conversion.

 

To write it back to the server, you just toString(myXMLObj) within your
CFFILE action=write tag.

 

 

 

 

On Jan 1, 2007, at 8:12 PM, [EMAIL PROTECTED] wrote:





I've not really worked with XML and CF. I've gotten some basics down, and
have looked, but am iffy on my logic.

-You read the XML file

-Read the length of the data from the XmlChildren array

-Loop over the parsed XML to put things into a query

-Output data or whatever

-Now to get a specific 'record', you do the same above, except putting an if
statement in your loop to add things your query (or select the specific item
in the query)

-To add/ modify/ delete things, you do whatever to the query, convert it to
XML (or modify the XML object itself) and then rewrite the XML file

This sounds cludgy to me, I've got to be missing something. What if you have
a large dataset (which I won't in this case)?

Thanks,

mcg

(Yes it's New Year's Day, but working on mom's website, and the USC - MICH
game isn't terribly interesting)

 

 

-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-

 

 




-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



RE: [ACFUG Discuss] XML CF

2007-01-02 Thread Chris C. Cooper
Thanks for this, I'll spend some time reading..

 

 

 

 

 http://www.cooperebusiness.com/ 
-

Chris C. Cooper

Cooper e.Business Solutions

Atlanta, Georgia 
404.691.4816

 

Cooper e.business Solutions - http://www.cooperebusiness.com
http://www.cooperebusiness.com/ 

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Arehart
Sent: Tuesday, January 02, 2007 10:37 AM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] XML  CF

 

MCG, your initial explorations with XML and CF are not unusual. You've
gotten some good tips here so far. I'd like to offer a couple more--and not
just for Mary-Catherine but for anyone learning to deal with XML in CF. It's
one of those topics where--especially if you're new to XML in general--I'd
argue one would NOT be well-served by just looking at/copying code snippets.
You really need to get it first or you'll end up chasing your tail.
Further, there are often many ways to do something (even more than what' s
been proposed here).

 

The best resource I ever found, and which really sparked an Aha! moment for
me when I first read it a few years ago, is Nate Weiss's 30-page article:

 

http://www.adobe.com/devnet/coldfusion/articles/xmlxslt.pdf

 

It's a real page-turner. Seriously. :-) Don't let the 30 pages scare you
off. You'll come out of it after an hour or so with tremendous appreciation
for what XML processing in CFML is about, including tips and techniques that
you might have struggled with to learn on your own. It was actually a
chapter in the original CFMX version of the WACK book which he was permitted
to release online. A wonderful resource, and as timely now as when it was
first released.

 

To address the why would I want to bother that Chris raised, in addition
to Teddy's point about Flex, another is that Spry and indeed many Ajax
solutions also leverage XML. Also, often one is given a file to read,
whether for data interchange as Andy indicated or for reading a file already
on your computer, since so many tools (including CF) now use XML files for
configuration.

 

/Charlie
http://www.carehart.org/blog/  

 

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, January 02, 2007 10:04 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] XML  CF


I will be using CF to get things in and out, just not sure of the best
logic.  I'm been looking at the docs plus some other sites out there and
copying code snippets.  Hoping it will set up some of the page flow for
later on.  Come on, trying to learn stuff here. :) 

mcg 






Steven Ross [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED] 

01/02/2007 09:23 AM 


Please respond to
discussion@acfug.org


To

discussion@acfug.org 


cc

 


Subject

Re: [ACFUG Discuss] XML  CF

 


 

 




If you are faking something for demo data use WDDX, it will be a whole
lot easier to use in CF.

On 1/2/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 Like I said, for faking things for demo purposes (figured it would be
quick
 and dirty) and mom's little website (not much data).  :)

 mcg






 Teddy Payne [EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]

 01/02/2007 09:02 AM

 Please respond to
  discussion@acfug.org


 To discussion@acfug.org

 cc

 Subject
  Re: [ACFUG Discuss] XML  CF





 XML is typicaly there for storage of information in a homogenous way.
  John's suggestion of WDDX makes short hand of CFML constructs and is
 adaptable to JS and XML format.

 XML is used for configuration files, datasources and webservices just as a
 couple of examples.

 A lot of Flex examples use XML as a way to have a datasource for demo code
 without needing a remote call.

 If the test is for demo only, XML datasources work nicely.

 Teddy


 On 1/2/07, [EMAIL PROTECTED] 
 [EMAIL PROTECTED] wrote:

  For this project, a) I'm learning it, b) figured it would be easier to
deal
 with than creating a database and dealing with the ISP.  But for another
 project, I'm looking at using it for faking that a prototype is working
for
 demo purposes - namely because the database is REALLY complex.

  mcg








 Chris C. Cooper [EMAIL PROTECTED] 
  Sent by: [EMAIL PROTECTED]

 01/02/2007 08:40 AM


 Please respond to
  discussion@acfug.org




 To discussion@acfug.org

 cc

 Subject RE: [ACFUG Discuss] XML  CF








  What is a practical use for XML? What kind of situation would call for
 using it?



  


  From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Andrew
Powell
  Sent: Monday, January 01, 2007 8:54 PM
  To: discussion@acfug.org
  Subject: Re: [ACFUG Discuss] XML  CF

  Also, I would suggest Jeff Peters' book on the CF XML Object:

  http://www.cafepress.com/protonarts.50984013

  ap


  On Jan 1, 2007, at 8:31 PM, Andrew Powell wrote:


  1. Read the XML file with CFFILE
  2. Parse the xml string with xmlParse()
  --optional, but recommended-- narrow your

RE: [ACFUG Discuss] Petshop

2006-11-29 Thread Chris C. Cooper
This may be of some help.

 

http://br.sys-con.com/read/176194.htm

 

 

 

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom McNeer
Sent: Wednesday, November 29, 2006 2:50 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Petshop

 

Hi Seth,

As I remember, PetShop is/was one of Macromedia's sample applications. I
don't remember anyone using it to show the use of multiple frameworks,
although they may have.

But what you may be referring to is Sean Corfield's Cat Club sample, which
he did as part of his frameworks presentation last year. 

Go to his blog http://www.corfield.org/blog/index.cfm  and click on
Frameworks Sample Code in the Software pod at the upper right of the page.
There's also a PDF of his frameworks presentation there, too, if you're
interested. I'm not sure if the sample code has been updated since about
June -- I don't think it has. And Model-Glue and Mach-II have undergone some
changes since then. But it should certainly give you a good basis for
comparison. 


-- 
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560 
- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink http://www.fusionlink.com  
- 




-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



[ACFUG Discuss] SQL trace

2006-10-12 Thread Chris C. Cooper








Im working on a shared Server and dont have
access to the Coldfusion Administrator. 



Whenever I have a problem with my SQL code I just get a
blank page in the browser. Is there some way I can get the error message back
from the SQL Server displayed in the browser?



Im using SQL server 2005 ,CF7. and SQL Server Mgmt.
Studio and looked to see if there was any logs and dont see anything. So
Im kind of working in the dark. 



Also Im doing a lot of forms with a lot of fields, is
there a way to use the new wizards in Studio to speed this up? I usually create
the form and get the users signoff on the form then go and code CRUD functions.
This takes a very long time and is very tedious. The code generators Ive
see seem llike CFCPowertools seem to over complicate this. Does anyone have a better
process? 










-

Chris C. Cooper

Cooper e.Business Solutions

Atlanta, Georgia 
404.691.4816



Cooper e.business Solutions  http://www.cooperebusiness.com











-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by FusionLink

-




[ACFUG Discuss] Form Validation

2006-09-27 Thread Chris C. Cooper








Any reason why my CF form validation only work some times?
If I change Validateat to On Blur it seems to work. I does work sometimes for
some reason so I dont think its a mapping issue. 





cfinput name=user_student_id 

 type=text


 id=
user_student_id  

 required=yes


 message=Please
Enter a Student ID

 value=#getuser.user_student_id#

 /










-

Chris C. Cooper

Cooper e.Business Solutions

Atlanta, Georgia 
404.691.4816



Cooper e.business Solutions  http://www.cooperebusiness.com











-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by FusionLink

-




RE: [ACFUG Discuss] Form Validation

2006-09-27 Thread Chris C. Cooper










When do you want to
validate and what type of cfform are you using?

When the
user hits the submit button. 



This is
the cfform..



cfform
id=form1 name=form1 method=post
action="">



I have another
page of this form and the validation works fine. 



You want to validate prior to the form submitting or after a submit event?

Most forms work well with a submit validation, but highly recommended with any
validation you choose that you then in turn validate yet again on the action
page of the form. 

Teddy



On 9/27/06, Chris C.
Cooper [EMAIL PROTECTED]
wrote:





Any
reason why my CF form validation only work some times? If I change Validateat
to On Blur it seems to work. I does work sometimes for some reason so I don't
think it's a mapping issue. 





cfinput
name=user_student_id 


type=text 


id= user_student_id  


required=yes 


message=Please Enter a Student ID


value=#getuser.user_student_id#


/










-----

Chris C. Cooper

Cooper e.Business Solutions

Atlanta , Georgia 
404.691.4816



Cooper e.business Solutions  http://www.cooperebusiness.com








- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink

- 






-- 
cf_payne /

Blog: http://cfpayne.wordpress.com/
Atlanta CFUG: http://www.acfug.org nNryjj









-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by FusionLink

-




RE: [ACFUG Discuss] Form Validation

2006-09-27 Thread Chris C. Cooper








The field is inside of a CFIF, does that
make a difference?







cfif isdefined('url.edit')

 

  

 cfinput
name=user_student_id 

 type=text


 id=user_student_id


 required=yes

 message=Please
Enter a Student ID

 value=#getuser.user_student_id#

 

 /

 

 

 cfelse

 

 cfinput
name=user_student_id 

 required=yes


 message=Please
Enter a Student ID

 type=text


 id=user_student_id


 /

 /cfif














-

Chris C. Cooper

Cooper e.Business Solutions

Atlanta, Georgia 
404.691.4816



Cooper e.business Solutions  http://www.cooperebusiness.com













From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
C. Cooper
Sent: Wednesday, September 27,
2006 10:27 AM
To: discussion@acfug.org
Subject: RE: [ACFUG Discuss] Form
Validation







When do you want to
validate and what type of cfform are you using?

When the
user hits the submit button. 



This is
the cfform..



cfform
id=form1 name=form1 method=post
action="">



I have
another page of this form and the validation works fine. 



You want to validate prior to the form submitting or after a submit event?

Most forms work well with a submit validation, but highly recommended with any
validation you choose that you then in turn validate yet again on the action
page of the form. 

Teddy



On 9/27/06, Chris C.
Cooper [EMAIL PROTECTED]
wrote:





Any
reason why my CF form validation only work some times? If I change Validateat
to On Blur it seems to work. I does work sometimes for some reason so I don't
think it's a mapping issue. 





cfinput
name=user_student_id 


type=text 


id= user_student_id  


required=yes 


message=Please Enter a Student ID


value=#getuser.user_student_id#


/










-----

Chris C. Cooper

Cooper e.Business Solutions

Atlanta , Georgia 
404.691.4816



Cooper e.business Solutions  http://www.cooperebusiness.com








- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink

- 






-- 
cf_payne /

Blog: http://cfpayne.wordpress.com/
Atlanta CFUG: http://www.acfug.org nNryjj






-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by FusionLink

-


-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by FusionLink

-




RE: [ACFUG Discuss] Form Validation

2006-09-27 Thread Chris C. Cooper








This makes sense but still not working. I
tried using the validate and that has no effect. It just passes over all the
required fields and goes right to the action page. 







I tried this…



cfinput
name=user_student_id 

     required
=yes

     message=Please
Enter a Student ID

     type=text


     id=user_student_id


    /



This…



cfinput
name=user_student_id validate=noblanks

     message=Please
Enter a Student ID

     type=text


     id=user_student_id


    /



And this…



cfinput
name=user_student_id validate=noblanks,required

     message=Please
Enter a Student ID

     type=text


     id=user_student_id


    /






-

Chris C. Cooper

Cooper e.Business Solutions

Atlanta, Georgia 
404.691.4816



Cooper e.business Solutions – http://www.cooperebusiness.com













From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Teddy
Payne
Sent: Wednesday, September 27,
2006 10:51 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Form
Validation





Well then, you won't
really need to specify validation locations on your individual form
controls. Let the cfform do the client side first and then you can
manipulate the server side on your action page.

The issue you may be having is having the required attribute with the validate
attribute in the same cfinput. Validate and requried as two different
validations really. 

A simple approach that may life easier would be:

cfinput type=text name=foo id=foo
validate=noblanks,required message=Foo is required you
bar! 

This would be executed when you press a submit button in your cfform. You
can have multiple validation types in one attribute.

The available validation types are located at http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=0279.htm

Makes sense?

Teddy







On 9/27/06, Chris C.
Cooper [EMAIL PROTECTED]
wrote:







When do you want to validate and what type of cfform
are you using?

When the user hits the
submit button. 



This is the cfform..



cfform
id=form1 name=form1 method=post
action="">



I have another page of
this form and the validation works fine. 





You want to validate prior to the form submitting or after a submit event?

Most forms work well with a submit validation, but highly recommended with any
validation you choose that you then in turn validate yet again on the action
page of the form. 

Teddy



On
9/27/06, Chris C. Cooper [EMAIL PROTECTED]
wrote:





Any
reason why my CF form validation only work some times? If I change Validateat
to On Blur it seems to work. I does work sometimes for some reason so I don't
think it's a mapping issue. 





cfinput
name=user_student_id 


type=text 


id= user_student_id  


required=yes 


message=Please Enter a Student ID


value=#getuser.user_student_id#


/










-----

Chris C. Cooper

Cooper e.Business Solutions

Atlanta , Georgia 
404.691.4816



Cooper e.business Solutions – http://www.cooperebusiness.com








- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink

- 












-- 
cf_payne /

Blog: http://cfpayne.wordpress.com/







Atlanta
CFUG: http://www.acfug.org nNryjj








- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by FusionLink

- 








-- 
cf_payne /

Blog: http://cfpayne.wordpress.com/
Atlanta CFUG: http://www.acfug.org nN沸yزXfjꮇ檚|ñ









-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by FusionLink

-




RE: [ACFUG Discuss] Form Validation

2006-09-27 Thread Chris C. Cooper








CF7














-

Chris C. Cooper

Cooper e.Business Solutions

Atlanta, Georgia 
404.691.4816



Cooper e.business Solutions – http://www.cooperebusiness.com













From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Teddy
Payne
Sent: Wednesday, September 27,
2006 11:57 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Form
Validation





Which version of
ColdFusion are you using? I am not sure that you specified. 

Teddy



On 9/27/06, Chris C.
Cooper 
[EMAIL PROTECTED] wrote:





This makes sense but still not working. I tried using the
validate and that has no effect. It just passes over all the required fields
and goes right to the action page. 







I tried this…



cfinput name=user_student_id 


required =yes


message=Please Enter a Student ID


type=text 


id=user_student_id 


/



This…



cfinput name=user_student_id
validate=noblanks


message=Please Enter a Student ID


type=text 


id=user_student_id 


/



And this…



cfinput name=user_student_id
validate=noblanks,required


message=Please Enter a Student ID


type=text 


id=user_student_id 


/






-

Chris C. Cooper

Cooper e.Business Solutions

Atlanta , Georgia 
404.691.4816



Cooper e.business Solutions – http://www.cooperebusiness.com













From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Teddy Payne
Sent: Wednesday, September 27,
2006 10:51 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Form
Validation







Well then, you won't really need to specify validation
locations on your individual form controls. Let the cfform do the client
side first and then you can manipulate the server side on your action page.

The issue you may be having is having the required attribute with the validate
attribute in the same cfinput. Validate and requried as two different validations
really. 

A simple approach that may life easier would be:

cfinput type=text name=foo id=foo
validate=noblanks,required message=Foo is required you
bar! 

This would be executed when you press a submit button in your cfform. You
can have multiple validation types in one attribute.

The available validation types are located at http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=0279.htm

Makes sense?

Teddy






On
9/27/06, Chris C. Cooper [EMAIL PROTECTED]
wrote:







When do you want to validate and what type of cfform
are you using?

When the user hits the
submit button. 



This is the cfform..



cfform
id=form1 name=form1 method=post
action="">



I have another page of
this form and the validation works fine. 





You want to validate prior to the form submitting or after a submit event?

Most forms work well with a submit validation, but highly recommended with any validation
you choose that you then in turn validate yet again on the action page of the
form. 

Teddy



On
9/27/06, Chris C. Cooper [EMAIL PROTECTED]
wrote:





Any
reason why my CF form validation only work some times? If I change Validateat
to On Blur it seems to work. I does work sometimes for some reason so I don't
think it's a mapping issue. 





cfinput
name=user_student_id 


type=text 


id= user_student_id  


required=yes 


message=Please Enter a Student ID


value=#getuser.user_student_id#


/










-----

Chris C. Cooper

Cooper e.Business Solutions

Atlanta , Georgia 
404.691.4816



Cooper e.business Solutions – http://www.cooperebusiness.com








- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink

- 










-- 
cf_payne /

Blog: http://cfpayne.wordpress.com/



Atlanta CFUG: http://www.acfug.org nNryjj








- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform


For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink

- 














-- 
cf_payne /

Blog: http://cfpayne.wordpress.com/







Atlanta
CFUG: http://www.acfug.org nN沸yزXfjꮇ檚|ñ








- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by FusionLink

- 








-- 
cf_payne 

RE: [ACFUG Discuss] Sum/CFSET

2006-09-22 Thread Chris C. Cooper

The problem I had with this is if I did this...
SELECT sum(column_name,column_name2, column_name3) as sum_value FROM Table
GroupBy column_name

It wanted the additional column names to be in the group by





-
Chris C. Cooper
Cooper e.Business Solutions
Atlanta, Georgia 
404.691.4816

Cooper e.business Solutions - http://www.cooperebusiness.com


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean H. Saxe
Sent: Thursday, September 21, 2006 11:26 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Sum/CFSET

SUM requires a group by clause.

SELECT sum(column_name) as sum_value FROM Table GroupBy column_name

-dhs


Dean H. Saxe, CISSP,  CEH
[EMAIL PROTECTED]
[T]he people can always be brought to the bidding of the leaders.  
This is easy. All you have to do is to tell them they are being  
attacked, and denounce the pacifists for lack of patriotism and  
exposing the country to danger. It works the same in every country.
 --Hermann Goering, Hitler's Reich-Marshall at the Nuremberg Trials


On Sep 21, 2006, at 10:46 PM, Douglas Knudsen wrote:

 use the SQL Luke!

 Try SELECT value1 + value2 + value3 as daSum FROM yourtable


 DK

 On 9/21/06, Chris C. Cooper  [EMAIL PROTECTED] wrote:
 I've got a table with some fields I'm writing numeric values to  
 from a form. I have the Columns in the database (SQL 2005) as  
 Numeric fields.



 I've tried to sum the totals in SQL using SUM(value1, value2,  
 value3, value4, value5) as total, but I kept getting errors about  
 having to add all the columns as part of the aggregate function ,  
 so I left that alone.


 When I go to add the values in CF cfset total = #value1# +  
 #value2# .  It tells me can't add , referring to the null values  
 in some of the fields stored in the database.


 I was thinking about using a lot of if statements for each field  
 but this seems wrong and will probably take a performance hit on  
 the page.


 What do I need to do?


 TIA







 image001.jpg

 -

 Chris C. Cooper

 Cooper e.Business Solutions

 Atlanta , Georgia
 404.691.4816


 Cooper e.business Solutions - http://www.cooperebusiness.com



 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -



 -- 
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?
 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink
 -



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=gin.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-






-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





[ACFUG Discuss] Sum/CFSET

2006-09-21 Thread Chris C. Cooper








Ive got a table with some fields Im writing
numeric values to from a form. I have the Columns in the database (SQL 2005) as
Numeric fields. 





Ive tried to sum the totals in SQL using SUM(value1,
value2, value3, value4, value5) as total, but I kept getting errors about
having to add all the columns as part of the aggregate function , so I left
that alone. 



When I go to add the values in CF cfset total = #value1#
+ #value2#  It tells me cant add , referring
to the null values in some of the fields stored in the database. 



I was thinking about using a lot of if statements for each
field but this seems wrong and will probably take a performance hit on the
page. 



What do I need to do?



TIA














-

Chris C. Cooper

Cooper e.Business Solutions

Atlanta, Georgia 
404.691.4816



Cooper e.business Solutions  http://www.cooperebusiness.com











-

To unsubscribe from this list, manage your profile @ 

http://www.acfug.org?fa=login.edituserform



For more info, see http://www.acfug.org/mailinglists

Archive @ http://www.mail-archive.com/discussion%40acfug.org/

List hosted by FusionLink

-