Re: Adobe drops Flsh for mobile devices

2011-11-11 Thread Russ Michaels

What I always find most annoying about this topic when it comes up is
the basis on what such claims are made, usually the person saying
ColdFusion is dead/dying has absolutely no evidence or research to
back this up, it is just their own opinion.

In order to have basis for such a claim you would need to be working
in a business that deals with ColdFusion in such a way that you are
aware of the number of people using ColdFusion and new customers
enquiring about ColdFusion. Just being a developer and using cf-talk
doesn't really fall into that category.
As I run a cfcommunity and work for a cf hosting co I do see how many
new users/customers come and go from those 2 perspectives, so I can
give some real world feedback on that and what I can say is that
things are pretty quiet on both fronts, not much new user activity, so
things are pretty stagnant.
We have also noticed recently that quite a few hosts are dropping
support for CF  as we have been getting a lot of their cast off's.
We have also noticed an increased number of customers migrating to
PHP, which mainly seems to be down to  they have been told by someone
else that CF is dead or because they wanted to use Wordpress.

Sure the community seems a bit dead these days, but this in itself
does not speak for ColdFusion.
It could simply mean there are not many new developers coming into the
world of CF or those that are have not joined CF-TALK or do not want
to because they don't like communities. Many folks don't join lists
like this because they don't want to get attacked by trolls and flame
baiter's  and shot down by so called GURU's for the way they code.
If I was a newbie to CF and joined this list, i'd probably
un-subscribe a week later and I bet a lot of the old members have gone
for the same reasons.

As for there being no resources for newbies, here are a few I know off
the top of my head.

1. livedocs.adobe.com
Plenty of good stuff right here in the docs for newbies
2. www.easycfm.com
3. The Adobe CF forums
4. www.cfmldeveloper.com
5. www.sitepoint.com - e.g http://www.sitepoint.com/cold-fusion-tutorial/

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


RE: Adobe drops Flsh for mobile devices

2011-11-11 Thread Will Swain

You are very passive aggressive dude.

Which is a shame, as by taking that tack, and not actually responding to
Dave's points, you reinforce the troll image. 

-Original Message-
From: Irvin Gomez [mailto:ir...@pixel69.com] 
Sent: 11 November 2011 06:04
To: cf-talk
Subject: Re: Adobe drops Flsh for mobile devices


 
 I would never call you a trool. Because I have a spell-checker.

Childish.


 Perhaps I'm being ungenerous, but that kind of response from you 
 indicates to me that you don't take this seriously enough to engage 
 your brain cells and actually read what was written.

More childish attack.

Which, you know,
 kind of makes you look like a trool after all, if you know what I  
mean.

Even more childish.


Anyway, to give you the benefit of the doubt, here's an  executive 
summary of what I wrote, paragraph by paragraph.
 
 1. CFLib belongs to Ray.
 

That doesn't mean he can't get help from the *assumed* CF community. He is
alone because the small community does not have new blood. New blood carries
the torch and keeps things moving. The 'old-timers' are too busy discussing
OOP concepts -which is their right. The problem is that the lack on new
blood will eventually kill CF - and that's the simple point I make.


 2. Why are new tutorials needed, since CF's basic functionality hasn't 
 changed significantly?
 

A cursory glance at how things stand today will show any objective observer
that a lot of those resources are obsolete, in need of re-vamping (lots of
new features have been introduced) or were deleted a long time ago.

 3. There are plenty of beginner and intermediate questions on the list.


But how many lists are there? And how many questions in this list? In fact,
it could be argued that this list is perfect example of a stagnant
community. 
 

 4. People blog about their interests, not solely for promotional 
 reasons.


Once again, I'm not holding the small CF community responsible for anything.
Strawman argument. 


 5. CF is a successful product.


That doesn't mean it is not dying slowly. Strawman argument.

 
 6. The CF community is not composed solely of Adobe employees.


You love your straw man, don't you?

 
 7. Your behavior looks like trolling, even if you're not a troll.
 

More childish stuff.


 8. If you want more evangelism, be an evangelist.


Strawman argument. I never said I wanted more 'evangelism. 

 
 So, out of those, there's one paragraph that mentions trolling, and 
 states you may well not be a troll. Given your apparent level of 
 reading comprehension, you might want to read these things more slowly 
 and carefully.
 

More childish, dishonest attack - but it seems the norm with you.


  In any case, why 10 years?
 Because people have been posting this crap here for ten years already.
 They were posting it when CF was called Allaire Cold Fusion.


The way things are going, the ten years may not be necessary. But only time
will tell. Hope you're right, though. I hope Coldfusion remains a valid
option for many years to come. 




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


RE: Adobe drops Flsh for mobile devices

2011-11-11 Thread Roger Austin

Someone is wrong on the Internet!
Let's move on and let this thread die (until next year.)
--
LinkedIn: http://www.linkedin.com/pub/roger-austin/8/a4/60
Twitter:  http://twitter.com/RogerTheGeek
Google+:  https://plus.google.com/117357905892731200369


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


RE: Adobe drops Flsh for mobile devices

2011-11-11 Thread Edward Chanter

Hear! Hear!

This topic was boring 10 years ago and it's just as boring today.


 -Original Message-
 Someone is wrong on the Internet!
 Let's move on and let this thread die (until next year.)


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


cfajax error

2011-11-11 Thread Greg Morphis

I was tasked in moving an old app on a CF8 server to a CF7 server. The app
has some cfajax code that I'm not familiar with. I'm hoping someone here
has seen the error..
This is most of an email I sent internally to the person who created in a
few years back but thought I'd also ask a larger crowd

The error message is a javascript popup and all it shows is:

*The page at localhost:8300 says: *
SyntaxError: Unexpected token 


This happens whenever you hit Save on the time_off page (when requesting
Time Off).
I've added some alerts in the code:

DWRUtil.useLoadingMessage(Checking for duplicate request...);

//alert(oForm.employee_id.value);
//alert(oForm.time_off_start_date.value);
//alert(oForm.time_off_end_date.value);

DWREngine._execute(_ajaxConfig._cfscriptLocation, null,
'getEmployeeTimeOff', oForm.employee_id.value,
oForm.time_off_start_date.value, oForm.time_off_end_date.value, true,
handleTimeOffDuplicateCheck);

//alert(getEmployeeTimeOff);

And all of the alerts go off, including the getEmployeeTimeOff alert.
I put an alert at the top of the handleTimeOffDuplicateCheck and it doesn't
run.
So it's not even making it to that function.

I thought maybe it's in that CF function getEmployeeTimeOff
so I changed it to static values..

SELECT tt.date_taken,
Format(tt.date_taken,'mm/dd/') as text_date_taken,
month(tt.date_taken) as date_taken_month,
tt.time_off_id,
toff.descr as time_off_descr
FROM time_taken tt
INNER JOIN time_off toff ON toff.time_off_id = tt.time_off_id
WHERE tt.employee_id = 'e0012345'
AND tt.deletedon is null
AND tt.date_taken = 11/11/2011
AND tt.date_taken = 11/11/2011
ORDER BY tt.date_taken

which runs in Access and returns 0 rows..
But when I try to add Time Off, same Syntax  error.

Then I put quotes around the dates knowing this is wrong and should give a
DB error.. and it does! Javascript error about types.
So it makes it to the CF function, that I assume THAT even works, and then
something happens coming back but where?
The alert in the Javascript function that should run on return, doesn't
run.. but if you throw in an error in the query, it errors..

In Chrome, I do see a couple JavaScript errors:
When choosing the person in the drop down it errors:
Uncaught TypeError: Cannot set property 'checked' of undefined

Which doesn't seem to affect anything.. it's still returns the employee.
The element it's referring to would only be there if you're an admin.

The error that bothers me is when you hit Save, it errors with:

Refused to set unsafe header Referer

but it makes it to CF fine, just not back.. I googled that yesterday and
nothing stood out.



I'm at my wits end and I don't know where else to look in the code. Was
something anything that had to be installed on the system? Anything you
guys can recommend, suggest, remember.. would be helpful.


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


Re: cfajax error

2011-11-11 Thread Dave Watts

 I was tasked in moving an old app on a CF8 server to a CF7 server. The app
 has some cfajax code that I'm not familiar with. I'm hoping someone here
 has seen the error..

If it's actually making an AJAX call, use something like Firebug to
view the returned value, and you might see your error immediately. My
guess is that the function is returning invalid data of some sort,
which is why it's running successfully but the code that calls the
function is failing.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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


Re: cfajax error

2011-11-11 Thread Greg Morphis

Hmm the only error Firebug shows is the same oForm.auto_approve is
indefined..
it shows a POST to the ajaxfunctions.cfc and it's OK
I looked at the response and I see what looks like what you'd see with CF
debugging turned on, I see the query buried in the response and that looks
okay.. Maybe I'm doing something wrong in Firebug though, I haven't used it
much.

On Fri, Nov 11, 2011 at 9:01 AM, Dave Watts dwa...@figleaf.com wrote:


  I was tasked in moving an old app on a CF8 server to a CF7 server. The
 app
  has some cfajax code that I'm not familiar with. I'm hoping someone here
  has seen the error..

 If it's actually making an AJAX call, use something like Firebug to
 view the returned value, and you might see your error immediately. My
 guess is that the function is returning invalid data of some sort,
 which is why it's running successfully but the code that calls the
 function is failing.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 

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


Re: cfajax error

2011-11-11 Thread Dave Watts

 I looked at the response and I see what looks like what you'd see with CF
 debugging turned on, I see the query buried in the response and that looks
 okay.. Maybe I'm doing something wrong in Firebug though, I haven't used it
 much.

That's probably the problem right there. If you have CF's server-side
debugging enabled for AJAX responses, that'll cause the client-side
parser not to be able to read them properly.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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


Re: cfajax error

2011-11-11 Thread Greg Morphis

That would explain why it worked in Prod and gave a different error too..
holy crap, it's making sense..
Now, is there a way to turn off debugging for ajax response but leaving it
on for other things?

On Fri, Nov 11, 2011 at 10:12 AM, Dave Watts dwa...@figleaf.com wrote:


  I looked at the response and I see what looks like what you'd see with CF
  debugging turned on, I see the query buried in the response and that
 looks
  okay.. Maybe I'm doing something wrong in Firebug though, I haven't used
 it
  much.

 That's probably the problem right there. If you have CF's server-side
 debugging enabled for AJAX responses, that'll cause the client-side
 parser not to be able to read them properly.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 

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


Re: cfajax error

2011-11-11 Thread Dave Watts

 Now, is there a way to turn off debugging for ajax response but leaving it
 on for other things?

Sure, you can do this on a per-page basis with CFSETTING.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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


Re: cfajax error

2011-11-11 Thread Claude Schnéegans

 Hmm the only error Firebug shows is the same oForm.auto_approve is
indefined..

The problem with Ajax is when there is an error in the template called by the 
function.
This causes an error in the application because it cannot find what is expected 
in the text returned by the template. Instead, the CF error output is returned.
What you need to see is the error displayed by the CF server, not the error 
that this display caused.

The solution is to debug the template by simulating the Ajax call and calling 
it directly by hand.

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


Re: cfajax error

2011-11-11 Thread Greg Morphis

Ahh... I thought there might be some setting in the cfadmin to change that..
Cool, now I'm getting the same error as on production.. now to start
looking through logs.. thanks!

On Fri, Nov 11, 2011 at 10:27 AM, Dave Watts dwa...@figleaf.com wrote:


  Now, is there a way to turn off debugging for ajax response but leaving
 it
  on for other things?

 Sure, you can do this on a per-page basis with CFSETTING.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 

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


Re: cfajax error

2011-11-11 Thread Russ Michaels

put a cfsetting tag at the top of your ajax pages to override debug
out to NO, this will allow you to have debugging enabled on the server
without breaking your ajax calls.
--

Russ Michaels

www.bluethunderinternet.com  : Business hosting services  solutions
www.cfmldeveloper.com    : ColdFusion developer community
www.michaels.me.uk   : my blog
www.cfsearch.com : ColdFusion search engine

sky

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


RE: Adobe drops Flsh for mobile devices

2011-11-11 Thread Rick Faircloth

The problem here is that many on this list, demonstrate
what I'll term list psychopathy...

Many of the smartest people on the list don't understand the
difference between the need to be correct and the need to
empathize, which is a key aspect of psychopathy.

Sometimes people just need to vent and not be corrected,
and to have someone not necessarily say, I agree, but
I understand where you're coming from.  Agree as much as
you can, then let the rest go.

It was a hard lesson for me to learn, but people are not
programs, who attitudes can be debugged by making the
correct key strokes, or in this case, even perfectly correct
sociopathic arguments.

Rick

-Original Message-
From: Will Swain [mailto:w...@hothorse.com] 
Sent: Friday, November 11, 2011 8:12 AM
To: cf-talk
Subject: RE: Adobe drops Flsh for mobile devices


You are very passive aggressive dude.

Which is a shame, as by taking that tack, and not actually responding to
Dave's points, you reinforce the troll image. 

-Original Message-
From: Irvin Gomez [mailto:ir...@pixel69.com] 
Sent: 11 November 2011 06:04
To: cf-talk
Subject: Re: Adobe drops Flsh for mobile devices


 
 I would never call you a trool. Because I have a spell-checker.

Childish.


 Perhaps I'm being ungenerous, but that kind of response from you 
 indicates to me that you don't take this seriously enough to engage 
 your brain cells and actually read what was written.

More childish attack.

Which, you know,
 kind of makes you look like a trool after all, if you know what I  
mean.

Even more childish.


Anyway, to give you the benefit of the doubt, here's an  executive 
summary of what I wrote, paragraph by paragraph.
 
 1. CFLib belongs to Ray.
 

That doesn't mean he can't get help from the *assumed* CF community. He is
alone because the small community does not have new blood. New blood carries
the torch and keeps things moving. The 'old-timers' are too busy discussing
OOP concepts -which is their right. The problem is that the lack on new
blood will eventually kill CF - and that's the simple point I make.


 2. Why are new tutorials needed, since CF's basic functionality hasn't 
 changed significantly?
 

A cursory glance at how things stand today will show any objective observer
that a lot of those resources are obsolete, in need of re-vamping (lots of
new features have been introduced) or were deleted a long time ago.

 3. There are plenty of beginner and intermediate questions on the list.


But how many lists are there? And how many questions in this list? In fact,
it could be argued that this list is perfect example of a stagnant
community. 
 

 4. People blog about their interests, not solely for promotional 
 reasons.


Once again, I'm not holding the small CF community responsible for anything.
Strawman argument. 


 5. CF is a successful product.


That doesn't mean it is not dying slowly. Strawman argument.

 
 6. The CF community is not composed solely of Adobe employees.


You love your straw man, don't you?

 
 7. Your behavior looks like trolling, even if you're not a troll.
 

More childish stuff.


 8. If you want more evangelism, be an evangelist.


Strawman argument. I never said I wanted more 'evangelism. 

 
 So, out of those, there's one paragraph that mentions trolling, and 
 states you may well not be a troll. Given your apparent level of 
 reading comprehension, you might want to read these things more slowly 
 and carefully.
 

More childish, dishonest attack - but it seems the norm with you.


  In any case, why 10 years?
 Because people have been posting this crap here for ten years already.
 They were posting it when CF was called Allaire Cold Fusion.


The way things are going, the ten years may not be necessary. But only time
will tell. Hope you're right, though. I hope Coldfusion remains a valid
option for many years to come. 






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


Re: cfajax error

2011-11-11 Thread Greg Morphis

I did that, and even have the reverse on the pages where I want to see the
debugging..
but all I get is Syntax error in INSERT INTO statement..
I hate Access!

On Fri, Nov 11, 2011 at 10:41 AM, Russ Michaels r...@michaels.me.uk wrote:


 put a cfsetting tag at the top of your ajax pages to override debug
 out to NO, this will allow you to have debugging enabled on the server
 without breaking your ajax calls.
 --

 Russ Michaels

 www.bluethunderinternet.com  : Business hosting services  solutions
 www.cfmldeveloper.com: ColdFusion developer community
 www.michaels.me.uk   : my blog
 www.cfsearch.com : ColdFusion search engine

 sky

 

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


Re: Adobe drops Flsh for mobile devices

2011-11-11 Thread Dave Watts

 Sometimes people just need to vent and not be corrected,
 and to have someone not necessarily say, I agree, but
 I understand where you're coming from.  Agree as much as
 you can, then let the rest go.

There is a time and a place for everything, I guess, but perhaps a
technical list is not the appropriate place to expect that you can
vent without being corrected when you're wrong.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite

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


RE: cfajax error

2011-11-11 Thread Rick Faircloth

What about setting up some alerts with your AJAX variables
or using console.log in firebug for the variables to make sure they are
all what your are expecting?

I find I have to use multiple techniques to debug apps before
tracking down a problem.

hth,

Rick

-Original Message-
From: Greg Morphis [mailto:gmorp...@gmail.com] 
Sent: Friday, November 11, 2011 11:01 AM
To: cf-talk
Subject: Re: cfajax error


Hmm the only error Firebug shows is the same oForm.auto_approve is
indefined..
it shows a POST to the ajaxfunctions.cfc and it's OK
I looked at the response and I see what looks like what you'd see with CF
debugging turned on, I see the query buried in the response and that looks
okay.. Maybe I'm doing something wrong in Firebug though, I haven't used it
much.

On Fri, Nov 11, 2011 at 9:01 AM, Dave Watts dwa...@figleaf.com wrote:


  I was tasked in moving an old app on a CF8 server to a CF7 server. The
 app
  has some cfajax code that I'm not familiar with. I'm hoping someone here
  has seen the error..

 If it's actually making an AJAX call, use something like Firebug to
 view the returned value, and you might see your error immediately. My
 guess is that the function is returning invalid data of some sort,
 which is why it's running successfully but the code that calls the
 function is failing.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 



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


Re: cfajax error

2011-11-11 Thread Russ Michaels

got a url so we can take a look ?


On Fri, Nov 11, 2011 at 5:10 PM, Rick Faircloth
r...@whitestonemedia.com wrote:

 What about setting up some alerts with your AJAX variables
 or using console.log in firebug for the variables to make sure they are
 all what your are expecting?

 I find I have to use multiple techniques to debug apps before
 tracking down a problem.

 hth,

 Rick

 -Original Message-
 From: Greg Morphis [mailto:gmorp...@gmail.com]
 Sent: Friday, November 11, 2011 11:01 AM
 To: cf-talk
 Subject: Re: cfajax error


 Hmm the only error Firebug shows is the same oForm.auto_approve is
 indefined..
 it shows a POST to the ajaxfunctions.cfc and it's OK
 I looked at the response and I see what looks like what you'd see with CF
 debugging turned on, I see the query buried in the response and that looks
 okay.. Maybe I'm doing something wrong in Firebug though, I haven't used it
 much.

 On Fri, Nov 11, 2011 at 9:01 AM, Dave Watts dwa...@figleaf.com wrote:


  I was tasked in moving an old app on a CF8 server to a CF7 server. The
 app
  has some cfajax code that I'm not familiar with. I'm hoping someone here
  has seen the error..

 If it's actually making an AJAX call, use something like Firebug to
 view the returned value, and you might see your error immediately. My
 guess is that the function is returning invalid data of some sort,
 which is why it's running successfully but the code that calls the
 function is failing.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.





 

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


RE: Adobe drops Flsh for mobile devices

2011-11-11 Thread Rick Faircloth

True, but I see almost no empathy when people
are expressing broader issue concerns rather than
issues of a technical nature.  Therein lies the
clue to the correct response.

Sometimes the technician, sometimes the counselor.


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Friday, November 11, 2011 12:10 PM
To: cf-talk
Subject: Re: Adobe drops Flsh for mobile devices


 Sometimes people just need to vent and not be corrected,
 and to have someone not necessarily say, I agree, but
 I understand where you're coming from.  Agree as much as
 you can, then let the rest go.

There is a time and a place for everything, I guess, but perhaps a
technical list is not the appropriate place to expect that you can
vent without being corrected when you're wrong.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite



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


Re: cfajax error

2011-11-11 Thread Greg Morphis

I'm good.. I just need help understanding how to do dates in MSAccess...

!--- cfquery datasource=#Request.AppGlobal.ds# ---

cfoutput
INSERT INTO time_taken
(
time_off_id,
employee_id,
date_taken,
notes,
cfif form.auto_approve
approvedon,
approvedby,
/cfif
actionuser,
actiondate,
year
)
VALUES
(
'#form.time_off_id#',
'#form.employee_id#',
#dateformat(foodate,'mm/dd/')#,
'#form.notes#',
cfif form.auto_approve
now(),
'#session.user.employee_id#',
/cfif
'#session.user.employee_id#',
now(),
#year(foodate)#
)
br //cfoutput

!--- /cfquery ---
INSERT INTO time_taken ( time_off_id, employee_id, date_taken, notes,
actionuser, actiondate, year ) VALUES ( 'VV', 'e0012345', 11/11/2011, '',
'e0012345', now(), 2011 )


Error Executing Database Query. Syntax error in INSERT INTO statement.  The
error occurred in
*C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\Production\TWST\time_off_save.cfm:
line 53*

51 :
'#session.user.employee_id#',
52 :now(),*53 : 
#year(foodate)#*
54 :)
55 :/cfquery

--
SQLINSERT INTO time_taken ( time_off_id, employee_id, date_taken,
notes, actionuser, actiondate, year ) VALUES ( 'VV', 'e0012345',
11/11/2011, '', 'e0018207', now(), 2011 ) DATASOURCE  blurred_text
VENDORERRORCODE  3092 SQLSTATE  nbsp; Resources:

   - Check the ColdFusion documehttp://www.macromedia.com/go/proddoc_getdoc




For the love of whatever is up there.. please help if you can.. I tried
removing every cfqueryparam and STILL a freaking error.. but I can
manually add the date with the query that is generated.




On Fri, Nov 11, 2011 at 11:21 AM, Russ Michaels r...@michaels.me.uk wrote:


 got a url so we can take a look ?


 On Fri, Nov 11, 2011 at 5:10 PM, Rick Faircloth
 r...@whitestonemedia.com wrote:
 
  What about setting up some alerts with your AJAX variables
  or using console.log in firebug for the variables to make sure they are
  all what your are expecting?
 
  I find I have to use multiple techniques to debug apps before
  tracking down a problem.
 
  hth,
 
  Rick
 
  -Original Message-
  From: Greg Morphis [mailto:gmorp...@gmail.com]
  Sent: Friday, November 11, 2011 11:01 AM
  To: cf-talk
  Subject: Re: cfajax error
 
 
  Hmm the only error Firebug shows is the same oForm.auto_approve is
  indefined..
  it shows a POST to the ajaxfunctions.cfc and it's OK
  I looked at the response and I see what looks like what you'd see with CF
  debugging turned on, I see the query buried in the response and that
 looks
  okay.. Maybe I'm doing something wrong in Firebug though, I haven't used
 it
  much.
 
  On Fri, Nov 11, 2011 at 9:01 AM, Dave Watts dwa...@figleaf.com wrote:
 
 
   I was tasked in moving an old app on a CF8 server to a CF7 server. The
  app
   has some cfajax code that I'm not familiar with. I'm hoping someone
 here
   has seen the error..
 
  If it's actually making an AJAX call, use something like Firebug to
  view the returned value, and you might see your error immediately. My
  guess is that the function is returning invalid data of some sort,
  which is why it's running successfully but the code that calls the
  function is failing.
 
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  http://training.figleaf.com/
 
  Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
  GSA Schedule, and provides the highest caliber vendor-authorized
  instruction at our training centers, online, or onsite.
 
 
 
 
 
 

 

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


Re: cfajax error

2011-11-11 Thread Greg Morphis

And time_taken looks like this
time_off_id   Text
employee_id  Text
date_takenDate/Time
notes   Text
approvedon   Date/Time
approvedby   Text
actionuserText
actiondate   Date/Time
year   Number

On Fri, Nov 11, 2011 at 11:52 AM, Greg Morphis gmorp...@gmail.com wrote:

 I'm good.. I just need help understanding how to do dates in MSAccess...

 !--- cfquery datasource=#Request.AppGlobal.ds# ---

 cfoutput
 INSERT INTO time_taken
 (
 time_off_id,
 employee_id,
 date_taken,
 notes,
 cfif form.auto_approve
 approvedon,
 approvedby,
 /cfif
 actionuser,
 actiondate,
 year
 )
 VALUES
 (
 '#form.time_off_id#',
 '#form.employee_id#',
 #dateformat(foodate,'mm/dd/')#,
 '#form.notes#',
 cfif form.auto_approve
 now(),
 '#session.user.employee_id#',
 /cfif
 '#session.user.employee_id#',
 now(),
 #year(foodate)#
 )
 br //cfoutput

 !--- /cfquery ---
 INSERT INTO time_taken ( time_off_id, employee_id, date_taken, notes,
 actionuser, actiondate, year ) VALUES ( 'VV', 'e0012345', 11/11/2011, '',
 'e0012345', now(), 2011 )


 Error Executing Database Query. Syntax error in INSERT INTO statement.  The
 error occurred in 
 *C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\Production\TWST\time_off_save.cfm:
 line 53*

 51 :  
 '#session.user.employee_id#',
 52 :  now(),*53 : 
 #year(foodate)#*
 54 :  )
 55 :  /cfquery

 --
 SQLINSERT INTO time_taken ( time_off_id, employee_id, date_taken,
 notes, actionuser, actiondate, year ) VALUES ( 'VV', 'e0012345',
 11/11/2011, '', 'e0018207', now(), 2011 ) DATASOURCE  blurred_text
 VENDORERRORCODE  3092 SQLSTATE  nbsp; Resources:

- Check the ColdFusion documehttp://www.macromedia.com/go/proddoc_getdoc




 For the love of whatever is up there.. please help if you can.. I tried
 removing every cfqueryparam and STILL a freaking error.. but I can
 manually add the date with the query that is generated.




 On Fri, Nov 11, 2011 at 11:21 AM, Russ Michaels r...@michaels.me.ukwrote:


 got a url so we can take a look ?


 On Fri, Nov 11, 2011 at 5:10 PM, Rick Faircloth
 r...@whitestonemedia.com wrote:
 
  What about setting up some alerts with your AJAX variables
  or using console.log in firebug for the variables to make sure they are
  all what your are expecting?
 
  I find I have to use multiple techniques to debug apps before
  tracking down a problem.
 
  hth,
 
  Rick
 
  -Original Message-
  From: Greg Morphis [mailto:gmorp...@gmail.com]
  Sent: Friday, November 11, 2011 11:01 AM
  To: cf-talk
  Subject: Re: cfajax error
 
 
  Hmm the only error Firebug shows is the same oForm.auto_approve is
  indefined..
  it shows a POST to the ajaxfunctions.cfc and it's OK
  I looked at the response and I see what looks like what you'd see with
 CF
  debugging turned on, I see the query buried in the response and that
 looks
  okay.. Maybe I'm doing something wrong in Firebug though, I haven't
 used it
  much.
 
  On Fri, Nov 11, 2011 at 9:01 AM, Dave Watts dwa...@figleaf.com wrote:
 
 
   I was tasked in moving an old app on a CF8 server to a CF7 server.
 The
  app
   has some cfajax code that I'm not familiar with. I'm hoping someone
 here
   has seen the error..
 
  If it's actually making an AJAX call, use something like Firebug to
  view the returned value, and you might see your error immediately. My
  guess is that the function is returning invalid data of some sort,
  which is why it's running successfully but the code that calls the
  function is failing.
 
  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  http://training.figleaf.com/
 
  Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
  GSA Schedule, and provides the highest caliber vendor-authorized
  instruction at our training centers, online, or onsite.
 
 
 
 
 
 

 

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


Re: Adobe drops Flsh for mobile devices

2011-11-11 Thread Dave Watts

 True, but I see almost no empathy when people are expressing broader issue 
 concerns rather than
 issues of a technical nature.  Therein lies the clue to the correct response.

You want empathy? Go to a shrink or talk to your bartender.

On a free mailing list, the correct response is the one you get, not
the one you want. And these broader issue concerns typically don't
have any positive resolution, have been brought up countless times,
etc, etc. Saying CF is dying on a CF technical list isn't really an
appropriate statement for the list. And of course, it always turns out
that CF is dying because you don't like what Adobe is doing with it,
which is beyond the control of everyone on the list - whether you
agree with it or not. You know, I think it would actually be OK if
someone asked how to help CF, but that's never what these concerns
are about. It's all about your dislike for Adobe's marketing plan, or
pricing, or whatever. Well, this is not the place for that.

 Sometimes the technician, sometimes the counselor.

No one pays me to be a counselor. On here, no one pays me to be a
technician either, so I reserve the right to answer questions as I see
fit.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite

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


Re: cfajax error

2011-11-11 Thread Claude Schnéegans

 dateformat(foodate,'mm/dd/')

Here is your problem: use CeateODBCDateFormat instead:
#CeateODBCDateFormat(foodate)#

Also #CeateODBCDateFormat(now())#

Furthermore, this will work provided foodate always contains a valid date.
If it is empty, it will cause an error.
In this case, you have to check if foodate is a date, return CreateODBCDate if 
yes, and null if not.

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


Re: cfajax error

2011-11-11 Thread Dave Watts

 INSERT INTO time_taken ( time_off_id, employee_id, date_taken, notes,
 actionuser, actiondate, year ) VALUES ( 'VV', 'e0012345', 11/11/2011, '',
 'e0012345', now(), 2011 )

The field date_taken is a Date/Time field, right? You're inserting an
empty string, not a Date/Time value.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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


Re: cfajax error

2011-11-11 Thread Greg Morphis

No, date_taken is 11/11/2011

I'll try the createodbcdateformat()..
I've never had to use that with Oracle so it's something else to try

On Fri, Nov 11, 2011 at 12:11 PM, Dave Watts dwa...@figleaf.com wrote:


  INSERT INTO time_taken ( time_off_id, employee_id, date_taken, notes,
  actionuser, actiondate, year ) VALUES ( 'VV', 'e0012345', 11/11/2011, '',
  'e0012345', now(), 2011 )

 The field date_taken is a Date/Time field, right? You're inserting an
 empty string, not a Date/Time value.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 

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


Re: cfajax error

2011-11-11 Thread Greg Morphis

Same error.. WTH?
foodate is today.. 11/11/2011


Error Executing Database Query. Syntax error in INSERT INTO statement.   The
error occurred in
*C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\Production\TWST\time_off_save.cfm:
line 53*

51 :
'#session.user.employee_id#',
52 :#createodbcdate(now())#,
*53 :   #year(foodate)#*
54 :)
55 :/cfquery

--
SQLINSERT INTO time_taken ( time_off_id, employee_id, date_taken,
notes, actionuser, actiondate, year ) VALUES ( 'VV', 'e0012345', {d
'2011-11-11'}, '', 'e0012345', {d '2011-11-11'}, 2011 ) DATASOURCE
  blurred_text
On Fri, Nov 11, 2011 at 12:13 PM, Greg Morphis gmorp...@gmail.com wrote:

 No, date_taken is 11/11/2011

 I'll try the createodbcdateformat()..
 I've never had to use that with Oracle so it's something else to try


 On Fri, Nov 11, 2011 at 12:11 PM, Dave Watts dwa...@figleaf.com wrote:


  INSERT INTO time_taken ( time_off_id, employee_id, date_taken, notes,
  actionuser, actiondate, year ) VALUES ( 'VV', 'e0012345', 11/11/2011,
 '',
  'e0012345', now(), 2011 )

 The field date_taken is a Date/Time field, right? You're inserting an
 empty string, not a Date/Time value.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 

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


Re: cfajax error

2011-11-11 Thread Dave Watts

 No, date_taken is 11/11/2011

Sorry, I didn't even see the first item in the VALUES list.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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


Re: Adobe drops Flsh for mobile devices

2011-11-11 Thread Paul Hastings

On 11/12/2011 1:05 AM, Dave Watts wrote:
 No one pays me to be a counselor. On here, no one pays me to be a
 technician either, so I reserve the right to answer questions as I see
 fit.

though now that has me wondering if dave could be paid to wear a black beret 
set 
at a rakish angle?


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


Re: Adobe drops Flsh for mobile devices

2011-11-11 Thread Dave Watts

 though now that has me wondering if dave could be paid to wear a black beret 
 set
 at a rakish angle?

As a consultant, I can be paid to do almost anything. Almost.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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


Printing barcodes

2011-11-11 Thread Keith McGee

I am creating 4 x 4 labels pdf files, storing them on the server, printing them 
to a zebra label printer, then deleting the files. I'm using a window font; Bar 
code 39 a, bar code 39 a hr, up to f. The program is creating the labels fine 
with the bar code.

when I print them with cfprint copies=1 printer=#userprinter# 
source=#staples_label_name# type=pdf the label prints with out the bar 
code.

But if I open the pdf and print it manual the bar code prints.

Any Ideas? 

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


Re: Printing barcodes

2011-11-11 Thread Keith McGee

This is how I'm adding the bar code font size=+1 face=Bar Code 39 f HR 
#LICENSE_PARAMETER#/font 

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


Re: cfajax error

2011-11-11 Thread Steve Milburn

Have you tried to quote the last item in the values list (the year)?
Depending on how that is defined in the database, it may require quotes.

Instead of:
#year(foodate)#

Try:
'#year(foodate)#'

HTH
Steve

On Fri, Nov 11, 2011 at 1:22 PM, Greg Morphis gmorp...@gmail.com wrote:


 Same error.. WTH?
 foodate is today.. 11/11/2011


 Error Executing Database Query. Syntax error in INSERT INTO statement.
 The
 error occurred in

 *C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\Production\TWST\time_off_save.cfm:
 line 53*

 51 :
  '#session.user.employee_id#',
 52 :
  #createodbcdate(now())#,
 *53 :   #year(foodate)#*
 54 :)
 55 :/cfquery

 --
 SQLINSERT INTO time_taken ( time_off_id, employee_id, date_taken,
 notes, actionuser, actiondate, year ) VALUES ( 'VV', 'e0012345', {d
 '2011-11-11'}, '', 'e0012345', {d '2011-11-11'}, 2011 ) DATASOURCE
  blurred_text
 On Fri, Nov 11, 2011 at 12:13 PM, Greg Morphis gmorp...@gmail.com wrote:



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


Re: Adobe drops Flsh for mobile devices

2011-11-11 Thread Judah McAuley

On Thu, Nov 10, 2011 at 10:37 PM, Dave Watts dwa...@figleaf.com wrote:

 Perhaps he's alone because he didn't ask anyone to help him. Did you
 volunteer to help him? I think Judah did in this very thread, so maybe
 the queue will move a bit faster.

That was actually .jonah (easy to get us confused) but I'll volunteer
as well and ping Ray offlist. Just to further confuse everyone :)

Cheers,
Judah

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


Re: cfajax error

2011-11-11 Thread Greg Morphis

So apparently the problem is within the Microsoft Access with Unicode
driver..
However we don't have the ODBC service installed on production.
I googled manually installing it and it mentioned some SequeLink folder in
the db directory..
There's no DB folder or a SequeLink folder..
How can I download these files and set up this service?




On Fri, Nov 11, 2011 at 12:25 PM, Dave Watts dwa...@figleaf.com wrote:


  No, date_taken is 11/11/2011

 Sorry, I didn't even see the first item in the VALUES list.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 

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


Re: Printing barcodes

2011-11-11 Thread Keith McGee

Found the solution

http://kb2.adobe.com/cps/405/kb405588.html


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


RE: Printing barcodes

2011-11-11 Thread Bobby Hartsfield

Thanks for pointing out your own solution. I hope to play around with
barcodes soon.

.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com


-Original Message-
From: Keith McGee [mailto:kpmc...@frontiernet.net] 
Sent: Friday, November 11, 2011 2:15 PM
To: cf-talk
Subject: Re: Printing barcodes


Found the solution

http://kb2.adobe.com/cps/405/kb405588.html




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


Re: Printing barcodes

2011-11-11 Thread andy

Keith
Would you mind sharing the code to create the pdf?  I am working on the same 
problem and haven't got a workable solution yet.

Andy
--Original Message--
From: Keith McGee
To: cf-talk
ReplyTo: cf-talk@houseoffusion.com
Subject: Re: Printing barcodes [spamtrap bayes][spamtrap heur]
Sent: Nov 11, 2011 2:15 PM


Found the solution

http://kb2.adobe.com/cps/405/kb405588.html




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


Manual install ODBC services ColdFusion MX7

2011-11-11 Thread Greg Morphis

I'm trying to follow this page:

http://kb2.adobe.com/cps/191/tn_19135.html

However the directory doesn't exist on our production server..
I copied it from our dev directory to prod..
The page mentions running a CF template:

!--- set this to the location of your cfusion directory ---
cfset cfusionHome=C:\CFusionMX7
!--- install sequelink ---
cftry
cfexecute  name=#cfusionHome#\db\SequeLink Setup\Setup.exe
arguments='!TargetDir=#cfusionHome# !DoDNS=true'/cfexecute
cfregistryaction=setbranch
=HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Install Data\ColdFusion MX
 entry=SqlLinktype=String
value=#cfusionHome#\db\slserver54
cfcatch type=Any
cfoutput
font color=redError Occurred:/font
#cfcatch.message#br#cfcatch.detail#p
/cfoutput
/cfcatch
/cftry

Is there a way I can manually run the setup in a command line to get the
same results?

Double clicking on setup.exe yields an Install Shield that never goes away

Thanks in advance


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


Re: Manual install ODBC services ColdFusion MX7

2011-11-11 Thread Dave Watts

 I'm trying to follow this page:

 http://kb2.adobe.com/cps/191/tn_19135.html

 However the directory doesn't exist on our production server..
 I copied it from our dev directory to prod..

Which directory, exactly, doesn't exist on your production server?

 The page mentions running a CF template:

 !--- set this to the location of your cfusion directory ---
 cfset cfusionHome=C:\CFusionMX7
 !--- install sequelink ---
 cftry
 cfexecute      name=#cfusionHome#\db\SequeLink Setup\Setup.exe
 arguments='!TargetDir=#cfusionHome# !DoDNS=true'/cfexecute
 cfregistry    action=set    branch
 =HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Install Data\ColdFusion MX
  entry=SqlLink    type=String
 value=#cfusionHome#\db\slserver54
 cfcatch type=Any
 cfoutput
 font color=redError Occurred:/font
 #cfcatch.message#br#cfcatch.detail#p
 /cfoutput
 /cfcatch
 /cftry

 Is there a way I can manually run the setup in a command line to get the
 same results?

 Double clicking on setup.exe yields an Install Shield that never goes away

Sure. Navigate to the directory in question, then type 'setup.exe
!TargetDir=your_cf_directory_goes_here !DoDNS=true'. At least,
that's what it looks like it should be to me.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, 

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


Re: Manual install ODBC services ColdFusion MX7

2011-11-11 Thread Greg Morphis

it installed but installed incorrectly..
The bin folder is in slserver54 but the service points to slserver52..
I modified the registry to point to slserver54 but get an error when trying
to launch the service..
something like 'could not start the service, no error was returned, if you
continue to experience this contact your system administrator'

I'm copying the db folder from CF8 and will try again, I don't know what
else to do.




On Fri, Nov 11, 2011 at 2:33 PM, Dave Watts dwa...@figleaf.com wrote:


  I'm trying to follow this page:
 
  http://kb2.adobe.com/cps/191/tn_19135.html
 
  However the directory doesn't exist on our production server..
  I copied it from our dev directory to prod..

 Which directory, exactly, doesn't exist on your production server?

  The page mentions running a CF template:
 
  !--- set this to the location of your cfusion directory ---
  cfset cfusionHome=C:\CFusionMX7
  !--- install sequelink ---
  cftry
  cfexecute  name=#cfusionHome#\db\SequeLink Setup\Setup.exe
  arguments='!TargetDir=#cfusionHome# !DoDNS=true'/cfexecute
  cfregistryaction=setbranch
  =HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Install Data\ColdFusion MX
   entry=SqlLinktype=String
  value=#cfusionHome#\db\slserver54
  cfcatch type=Any
  cfoutput
  font color=redError Occurred:/font
  #cfcatch.message#br#cfcatch.detail#p
  /cfoutput
  /cfcatch
  /cftry
 
  Is there a way I can manually run the setup in a command line to get the
  same results?
 
  Double clicking on setup.exe yields an Install Shield that never goes
 away

 Sure. Navigate to the directory in question, then type 'setup.exe
 !TargetDir=your_cf_directory_goes_here !DoDNS=true'. At least,
 that's what it looks like it should be to me.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online,

 

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


Re: Manual install ODBC services ColdFusion MX7

2011-11-11 Thread Greg Morphis

Screw Access.. I'm creating the tables in Oracle and exporting the data..
I'll deal with fixing the queries..

Thanks for all of your help guys!

On Fri, Nov 11, 2011 at 2:42 PM, Greg Morphis gmorp...@gmail.com wrote:

 it installed but installed incorrectly..
 The bin folder is in slserver54 but the service points to slserver52..
 I modified the registry to point to slserver54 but get an error when
 trying to launch the service..
 something like 'could not start the service, no error was returned, if you
 continue to experience this contact your system administrator'

 I'm copying the db folder from CF8 and will try again, I don't know what
 else to do.




 On Fri, Nov 11, 2011 at 2:33 PM, Dave Watts dwa...@figleaf.com wrote:


  I'm trying to follow this page:
 
  http://kb2.adobe.com/cps/191/tn_19135.html
 
  However the directory doesn't exist on our production server..
  I copied it from our dev directory to prod..

 Which directory, exactly, doesn't exist on your production server?

  The page mentions running a CF template:
 
  !--- set this to the location of your cfusion directory ---
  cfset cfusionHome=C:\CFusionMX7
  !--- install sequelink ---
  cftry
  cfexecute  name=#cfusionHome#\db\SequeLink Setup\Setup.exe
  arguments='!TargetDir=#cfusionHome# !DoDNS=true'/cfexecute
  cfregistryaction=setbranch
  =HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Install Data\ColdFusion MX
   entry=SqlLinktype=String
  value=#cfusionHome#\db\slserver54
  cfcatch type=Any
  cfoutput
  font color=redError Occurred:/font
  #cfcatch.message#br#cfcatch.detail#p
  /cfoutput
  /cfcatch
  /cftry
 
  Is there a way I can manually run the setup in a command line to get the
  same results?
 
  Double clicking on setup.exe yields an Install Shield that never goes
 away

 Sure. Navigate to the directory in question, then type 'setup.exe
 !TargetDir=your_cf_directory_goes_here !DoDNS=true'. At least,
 that's what it looks like it should be to me.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online,

 

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


Re: Manual install ODBC services ColdFusion MX7

2011-11-11 Thread Leigh

Not to discourage you from switching, but was there a reason you could not just 
use the access unicode driver? 

 
-Leig

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


RE: Adobe drops Flsh for mobile devices

2011-11-11 Thread Rick Faircloth

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Friday, November 11, 2011 1:06 PM
To: cf-talk
Subject: Re: Adobe drops Flsh for mobile devices


 True, but I see almost no empathy when people are expressing broader issue
concerns rather than
 issues of a technical nature.  Therein lies the clue to the correct
response.

You want empathy? Go to a shrink or talk to your bartender.

On a free mailing list, the correct response is the one you get, not
the one you want. And these broader issue concerns typically don't
have any positive resolution, have been brought up countless times,
etc, etc. Saying CF is dying on a CF technical list isn't really an
appropriate statement for the list. And of course, it always turns out
that CF is dying because you don't like what Adobe is doing with it,
which is beyond the control of everyone on the list - whether you
agree with it or not. You know, I think it would actually be OK if
someone asked how to help CF, but that's never what these concerns
are about. It's all about your dislike for Adobe's marketing plan, or
pricing, or whatever. Well, this is not the place for that.

 Sometimes the technician, sometimes the counselor.

No one pays me to be a counselor. On here, no one pays me to be a
technician either, so I reserve the right to answer questions as I see
fit.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite



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


RE: Adobe drops Flsh for mobile devices

2011-11-11 Thread Rick Faircloth

The 'correct' answer is the one you get... wrong.

It's almost never the one you get, whether technically
or psychologically.

It's easy just to be a hard-ass all the time. I know from
personal experience. It's more difficult to show empathy
when it's needed, rather than try to rebut someone's
personal perspective, which cannot usually be proven wrong.

People who mature learn to tell the difference
and act appropriately.


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Friday, November 11, 2011 1:06 PM
To: cf-talk
Subject: Re: Adobe drops Flsh for mobile devices


 True, but I see almost no empathy when people are expressing broader issue
concerns rather than
 issues of a technical nature.  Therein lies the clue to the correct
response.

You want empathy? Go to a shrink or talk to your bartender.

On a free mailing list, the correct response is the one you get, not
the one you want. And these broader issue concerns typically don't
have any positive resolution, have been brought up countless times,
etc, etc. Saying CF is dying on a CF technical list isn't really an
appropriate statement for the list. And of course, it always turns out
that CF is dying because you don't like what Adobe is doing with it,
which is beyond the control of everyone on the list - whether you
agree with it or not. You know, I think it would actually be OK if
someone asked how to help CF, but that's never what these concerns
are about. It's all about your dislike for Adobe's marketing plan, or
pricing, or whatever. Well, this is not the place for that.

 Sometimes the technician, sometimes the counselor.

No one pays me to be a counselor. On here, no one pays me to be a
technician either, so I reserve the right to answer questions as I see
fit.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite



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


RE: Adobe drops Flsh for mobile devices

2011-11-11 Thread Rick Faircloth

No, I think you are probably just unable or unwilling
to allow people to vent.  You probably don't do it personally
very often and despise people who do.

Steve Jobs was that way, and his employees are better
off now that he's dead. They admired his work, but hated
him personally.  He'd rather run over a person with his
car than show empathy towards another human being. He was
a great technician, but a terrible human being.

He believed that the only correct response was the one
he gave, and he always reserved the right to answer questions
the way he saw fit, whether it was destroying another human
being or not.

Too bad he never grew up to see more important issues in life,
as has Bill Gates, who now spends a lot of time and money
trying to make the world a better place and enable the people
in it to live a better life.

One can be a technician and a counselor at the same time; it
just takes more maturity than most people can develop in a
lifetime.


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Friday, November 11, 2011 1:06 PM
To: cf-talk
Subject: Re: Adobe drops Flsh for mobile devices


 True, but I see almost no empathy when people are expressing broader issue
concerns rather than
 issues of a technical nature.  Therein lies the clue to the correct
response.

You want empathy? Go to a shrink or talk to your bartender.

On a free mailing list, the correct response is the one you get, not
the one you want. And these broader issue concerns typically don't
have any positive resolution, have been brought up countless times,
etc, etc. Saying CF is dying on a CF technical list isn't really an
appropriate statement for the list. And of course, it always turns out
that CF is dying because you don't like what Adobe is doing with it,
which is beyond the control of everyone on the list - whether you
agree with it or not. You know, I think it would actually be OK if
someone asked how to help CF, but that's never what these concerns
are about. It's all about your dislike for Adobe's marketing plan, or
pricing, or whatever. Well, this is not the place for that.

 Sometimes the technician, sometimes the counselor.

No one pays me to be a counselor. On here, no one pays me to be a
technician either, so I reserve the right to answer questions as I see
fit.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite



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


Re: Adobe drops Flsh for mobile devices

2011-11-11 Thread Russ Michaels

its hard to show empathy when people are rude and insult you simply
because they don't like the answer or the fact that you don't agree
with them. These people should try getting married then they will
quickly learn that sometimes oyu must bite the bullet and admit your
wrong even if you think your right :-)
I think Dave has earned the right to be a hard-ass occasionally given
the amount of help he gives others on here.

On Fri, Nov 11, 2011 at 10:23 PM, Rick Faircloth
r...@whitestonemedia.com wrote:

 The 'correct' answer is the one you get... wrong.

 It's almost never the one you get, whether technically
 or psychologically.

 It's easy just to be a hard-ass all the time. I know from
 personal experience. It's more difficult to show empathy
 when it's needed, rather than try to rebut someone's
 personal perspective, which cannot usually be proven wrong.

 People who mature learn to tell the difference
 and act appropriately.


 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Friday, November 11, 2011 1:06 PM
 To: cf-talk
 Subject: Re: Adobe drops Flsh for mobile devices


 True, but I see almost no empathy when people are expressing broader issue
 concerns rather than
 issues of a technical nature.  Therein lies the clue to the correct
 response.

 You want empathy? Go to a shrink or talk to your bartender.

 On a free mailing list, the correct response is the one you get, not
 the one you want. And these broader issue concerns typically don't
 have any positive resolution, have been brought up countless times,
 etc, etc. Saying CF is dying on a CF technical list isn't really an
 appropriate statement for the list. And of course, it always turns out
 that CF is dying because you don't like what Adobe is doing with it,
 which is beyond the control of everyone on the list - whether you
 agree with it or not. You know, I think it would actually be OK if
 someone asked how to help CF, but that's never what these concerns
 are about. It's all about your dislike for Adobe's marketing plan, or
 pricing, or whatever. Well, this is not the place for that.

 Sometimes the technician, sometimes the counselor.

 No one pays me to be a counselor. On here, no one pays me to be a
 technician either, so I reserve the right to answer questions as I see
 fit.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite



 

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


Re: cfajax error

2011-11-11 Thread Russ Michaels

you can use the ODBC socket option instead, if you google then you
should be able to find some examples.
However I think the easiest and best solution would be to use the
Access Upside wizard to convert to SQL Server, Microsoft also provide
some free migration and upgrade tools to do the job as well.

http://www.microsoft.com/download/en/details.aspx?displaylang=enid=26709


On Fri, Nov 11, 2011 at 6:59 PM, Greg Morphis gmorp...@gmail.com wrote:

 So apparently the problem is within the Microsoft Access with Unicode
 driver..
 However we don't have the ODBC service installed on production.
 I googled manually installing it and it mentioned some SequeLink folder in
 the db directory..
 There's no DB folder or a SequeLink folder..
 How can I download these files and set up this service?




 On Fri, Nov 11, 2011 at 12:25 PM, Dave Watts dwa...@figleaf.com wrote:


  No, date_taken is 11/11/2011

 Sorry, I didn't even see the first item in the VALUES list.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.



 

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


Re: Manual install ODBC services ColdFusion MX7

2011-11-11 Thread Greg Morphis

Yeah, see my other post.. I can't get a simple insert to work from CF

On Fri, Nov 11, 2011 at 4:00 PM, Leigh cfsearch...@yahoo.com wrote:


 Not to discourage you from switching, but was there a reason you could not
 just use the access unicode driver?


 -Leig

 

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


Re: Manual install ODBC services ColdFusion MX7

2011-11-11 Thread Leigh

 but all I get is Syntax error in INSERT INTO statement..

Usually that means the query is using a reserved word.  The reserved words seem 
to be different between the odbc and unicode drivers. IIRC, password is one 
example. It works under odbc, but fails under the unicode driver. I have seen 
that one a lot on the adobe forums.  


What are the actual column names in the insert?

 
-Le

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


Re: Manual install ODBC services ColdFusion MX7

2011-11-11 Thread Leigh

 What are the actual column names in the insert?

Never mind. I skimmed and missed it.  There might be others, but I am guessing 
the Year column is the culprit.  Try escaping it with square brackets  ie 
[Year]

-Le

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


RE: Adobe drops Flsh for mobile devices

2011-11-11 Thread Rick Faircloth

No one has the right to be a hard-ass, I don't
care how much they've helped.  That kind of attitude
towards people only convinces passive participants
from becoming active ones...especially beginners.
Hard-ass responses on lists will contribute faster
to the death of a programming language faster than
poor marketing.

Not even Jobs had the right to be a hard-ass. He
just couldn't find a way to mature sufficiently to
find a way to lead towards his vision without
destroying people along the way.  But he, and others,
like it that way because it's easier than being
discerning.

And Dave, and others like him... if you notice a question
that requires empathy, why not just avoid answering it in
the future.  That's the best response you could give
in those situations.  If you're not going to help,
just stay quiet.

Just as you can answer in any way you like, those can
also post any perspective they like, even CF is dead!
(or dying, or whatever.)

You guys make such a mountain out of a mole hill.

Grow up...


-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Friday, November 11, 2011 5:37 PM
To: cf-talk
Subject: Re: Adobe drops Flsh for mobile devices


its hard to show empathy when people are rude and insult you simply
because they don't like the answer or the fact that you don't agree
with them. These people should try getting married then they will
quickly learn that sometimes oyu must bite the bullet and admit your
wrong even if you think your right :-)
I think Dave has earned the right to be a hard-ass occasionally given
the amount of help he gives others on here.

On Fri, Nov 11, 2011 at 10:23 PM, Rick Faircloth
r...@whitestonemedia.com wrote:

 The 'correct' answer is the one you get... wrong.

 It's almost never the one you get, whether technically
 or psychologically.

 It's easy just to be a hard-ass all the time. I know from
 personal experience. It's more difficult to show empathy
 when it's needed, rather than try to rebut someone's
 personal perspective, which cannot usually be proven wrong.

 People who mature learn to tell the difference
 and act appropriately.


 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Friday, November 11, 2011 1:06 PM
 To: cf-talk
 Subject: Re: Adobe drops Flsh for mobile devices


 True, but I see almost no empathy when people are expressing broader
issue
 concerns rather than
 issues of a technical nature.  Therein lies the clue to the correct
 response.

 You want empathy? Go to a shrink or talk to your bartender.

 On a free mailing list, the correct response is the one you get, not
 the one you want. And these broader issue concerns typically don't
 have any positive resolution, have been brought up countless times,
 etc, etc. Saying CF is dying on a CF technical list isn't really an
 appropriate statement for the list. And of course, it always turns out
 that CF is dying because you don't like what Adobe is doing with it,
 which is beyond the control of everyone on the list - whether you
 agree with it or not. You know, I think it would actually be OK if
 someone asked how to help CF, but that's never what these concerns
 are about. It's all about your dislike for Adobe's marketing plan, or
 pricing, or whatever. Well, this is not the place for that.

 Sometimes the technician, sometimes the counselor.

 No one pays me to be a counselor. On here, no one pays me to be a
 technician either, so I reserve the right to answer questions as I see
 fit.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite



 



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


Re: Adobe drops Flsh for mobile devices

2011-11-11 Thread Wil Genovese

ENOUGH ALREADY







Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well. 

On Nov 11, 2011, at 5:34 PM, Rick Faircloth wrote:

 
 No one has the right to be a hard-ass, I don't
 care how much they've helped.  That kind of attitude
 towards people only convinces passive participants
 from becoming active ones...especially beginners.
 Hard-ass responses on lists will contribute faster
 to the death of a programming language faster than
 poor marketing.
 
 Not even Jobs had the right to be a hard-ass. He
 just couldn't find a way to mature sufficiently to
 find a way to lead towards his vision without
 destroying people along the way.  But he, and others,
 like it that way because it's easier than being
 discerning.
 
 And Dave, and others like him... if you notice a question
 that requires empathy, why not just avoid answering it in
 the future.  That's the best response you could give
 in those situations.  If you're not going to help,
 just stay quiet.
 
 Just as you can answer in any way you like, those can
 also post any perspective they like, even CF is dead!
 (or dying, or whatever.)
 
 You guys make such a mountain out of a mole hill.
 
 Grow up...
 
 
 -Original Message-
 From: Russ Michaels [mailto:r...@michaels.me.uk] 
 Sent: Friday, November 11, 2011 5:37 PM
 To: cf-talk
 Subject: Re: Adobe drops Flsh for mobile devices
 
 
 its hard to show empathy when people are rude and insult you simply
 because they don't like the answer or the fact that you don't agree
 with them. These people should try getting married then they will
 quickly learn that sometimes oyu must bite the bullet and admit your
 wrong even if you think your right :-)
 I think Dave has earned the right to be a hard-ass occasionally given
 the amount of help he gives others on here.
 
 On Fri, Nov 11, 2011 at 10:23 PM, Rick Faircloth
 r...@whitestonemedia.com wrote:
 
 The 'correct' answer is the one you get... wrong.
 
 It's almost never the one you get, whether technically
 or psychologically.
 
 It's easy just to be a hard-ass all the time. I know from
 personal experience. It's more difficult to show empathy
 when it's needed, rather than try to rebut someone's
 personal perspective, which cannot usually be proven wrong.
 
 People who mature learn to tell the difference
 and act appropriately.
 
 
 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Friday, November 11, 2011 1:06 PM
 To: cf-talk
 Subject: Re: Adobe drops Flsh for mobile devices
 
 
 True, but I see almost no empathy when people are expressing broader
 issue
 concerns rather than
 issues of a technical nature.  Therein lies the clue to the correct
 response.
 
 You want empathy? Go to a shrink or talk to your bartender.
 
 On a free mailing list, the correct response is the one you get, not
 the one you want. And these broader issue concerns typically don't
 have any positive resolution, have been brought up countless times,
 etc, etc. Saying CF is dying on a CF technical list isn't really an
 appropriate statement for the list. And of course, it always turns out
 that CF is dying because you don't like what Adobe is doing with it,
 which is beyond the control of everyone on the list - whether you
 agree with it or not. You know, I think it would actually be OK if
 someone asked how to help CF, but that's never what these concerns
 are about. It's all about your dislike for Adobe's marketing plan, or
 pricing, or whatever. Well, this is not the place for that.
 
 Sometimes the technician, sometimes the counselor.
 
 No one pays me to be a counselor. On here, no one pays me to be a
 technician either, so I reserve the right to answer questions as I see
 fit.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite
 
 
 
 
 
 
 
 

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


Re: Adobe drops Flsh for mobile devices

2011-11-11 Thread Judah McAuley

I don't know, Wil, I think that the topic of tone and tenor of
responses to mailing lists (empathy vs correctness in Rick's
terminology) is an excellent discussion for a community to have.

In general, I agree with Rick that empathy is a very positive trait to
bring to the table (in all aspects of life) and that sometimes being
correct or right can end up with you being viewed as a jerk.

However, in this particular case, I disagree that anyone was not
treating Irvin with empathy. Several people, myself included, agreed
with the empathetic part...that we wish Adobe would spend more time
and money promoting CF.  Where the disagreement was was in the area of
whether CF is dying, what that means, how it should be viewed. At
first this was done with respect, by and large, which is surprising
since this topic comes up with regularity. Then Irvin came back with
bones to pick and decided that Dave was putting up straw man arguments
(which was untrue) and perhaps that I didn't like him (which was true
by the end of the conversation but I tried not to let that affect my
answers).

I think that empathy is important and the empathetic reaction to CF
is dying! is the one that was given here: It is not dying in a sudden
and unreasonable fashion, don't panic. Take the skills that you've
learned here and learn other languages. This will not only enhance
your ability to find work in the future, it will make you a better CF
programmer today and a more well rounded person in general.

If the sort of empathy that Rick is looking for is more of the I need
to rant about something and have everyone just kinda nod and let it
go, then I'd suggest cf-community as a better suited venue.

I do think that looking at civility, empathy and tenor of responses on
a list is a good subject to muse upon though.

Cheers,
Judah

On Fri, Nov 11, 2011 at 3:36 PM, Wil Genovese jugg...@trunkful.com wrote:

 ENOUGH ALREADY




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


RE: cfajax error

2011-11-11 Thread Rick Faircloth

Seems like, many years ago when I worked with Access,
I had to use something like #dateFormat(parseDateTime(myDate), 'mmm d,
')#
or maybe just #dateFormat(parseDate(myDate), 'mmm d, ')# to get Access
to accept even properly formatted dates.

I can't find any of the old code just now, but maybe this will help.
I'll see if I have any old code in a site or perhaps some test code
that I used before.

I feel certain that the parsing was part of what made it work.

Sorry I can't be more specific!

hth,

Rick

-Original Message-
From: Steve Milburn [mailto:scmilb...@gmail.com] 
Sent: Friday, November 11, 2011 1:57 PM
To: cf-talk
Subject: Re: cfajax error


Have you tried to quote the last item in the values list (the year)?
Depending on how that is defined in the database, it may require quotes.

Instead of:
#year(foodate)#

Try:
'#year(foodate)#'

HTH
Steve

On Fri, Nov 11, 2011 at 1:22 PM, Greg Morphis gmorp...@gmail.com wrote:


 Same error.. WTH?
 foodate is today.. 11/11/2011


 Error Executing Database Query. Syntax error in INSERT INTO statement.
 The
 error occurred in


*C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\Production\TWST\time_off_s
ave.cfm:
 line 53*

 51 :
  '#session.user.employee_id#',
 52 :
  #createodbcdate(now())#,
 *53 :   #year(foodate)#*
 54 :)
 55 :/cfquery

 --
 SQLINSERT INTO time_taken ( time_off_id, employee_id, date_taken,
 notes, actionuser, actiondate, year ) VALUES ( 'VV', 'e0012345', {d
 '2011-11-11'}, '', 'e0012345', {d '2011-11-11'}, 2011 ) DATASOURCE
  blurred_text
 On Fri, Nov 11, 2011 at 12:13 PM, Greg Morphis gmorp...@gmail.com wrote:





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


Re: cfajax error

2011-11-11 Thread Leigh

Rick - The odbc date format should be fine. I am pretty sure the column named 
Year is the problem. It is a reserved word. 

-Leigh

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


RE: cfajax error

2011-11-11 Thread Rick Faircloth

Yes... seems those reserved words were a problem
to always watch out for in Access.


-Original Message-
From: Leigh [mailto:cfsearch...@yahoo.com] 
Sent: Friday, November 11, 2011 9:11 PM
To: cf-talk
Subject: Re: cfajax error


Rick - The odbc date format should be fine. I am pretty sure the column
named Year is the problem. It is a reserved word. 

-Leigh



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


How to respond to a job thread?

2011-11-11 Thread Chris Vinson

Pardon my ignorance.  I'd like to respond to a CF developer looking for 
contract work in the CF-Jobs list.  But I was not a mailing list subscriber at 
the time of the post.  How can I contact that person? 

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


Re: Adobe drops Flsh for mobile devices

2011-11-11 Thread James Holmes

Sure - on CF Community.

This is a technical mailing list, not Oprah.

--
Shu Ha Ri: Agile and .NET blog
http://www.bifrost.com.au/


On 12 November 2011 08:16, Judah McAuley ju...@wiredotter.com wrote:


 I don't know, Wil, I think that the topic of tone and tenor of
 responses to mailing lists (empathy vs correctness in Rick's
 terminology) is an excellent discussion for a community to have.


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