Exactly my findings. There are still enough desktop users with
non-compliant browsers that HTML/CSS3 are problematic. I'm currently
refactoring all my sites for new technologies, attempting to make them
both fully assessable for screen reader/text browsers and for mobile
browsers. I'm doing a
Anyone who wants to fix the problem of distracted programmers in the
office should try Pair Programming.
http://www.extremeprogramming.org/rules/pair.html
--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/
On 25 June 2011 02:10, Aaron Rouse aaron.ro...@gmail.com wrote:
I
I know this works well for some people but it would drive me
absolutely bug nuts.
On Sat, Jun 25, 2011 at 12:58 AM, James Holmes james.hol...@gmail.com wrote:
Anyone who wants to fix the problem of distracted programmers in the
office should try Pair Programming.
I worked on a small project at a previous job where we tried pair
programming and it had mixed results.
We didn't do the slide the keyboard and mouse back and forth technique.
Instead, we'd do shifts where one person developed on his machine for a
while, while the other provided
Hi,
we are having to build a complex query in a string using parameters passed
through the URL and then run it within a cfquery.
Here is a basic example:
cfset param1 = url.param1 /
cfset sqlString = 'select value from table1 where id = #param1#' /
cfquery name=myQuery
try reversing the quotes, using double quotes in a query shouldn't actually
work anyway.
cfset sqlString = select value from table1 where id = '#param1#' /
On Sat, Jun 25, 2011 at 1:12 PM, Richard White rich...@j7is.co.uk wrote:
Hi,
we are having to build a complex query in a string using
try reversing the quotes, using double quotes in a query shouldn't actually
work anyway.
Exact. But then the problem may arise with single quotes in the parameter.
Allowing single or double quotes in an id field in a database is looking for
trouble.
If quotes are not supposed to be used, may
Hi Claude,
thanks for your reply. we want to allow users to be able to enter either single
or double quotes in the fields
thanks
try reversing the quotes, using double quotes in a query shouldn't
actually
work anyway.
Exact. But then the problem may arise with single quotes in the
Don't built dynamic queries with user-supplied data, unless you like exposing
yourself to SQL injection.
cfquery name=myQuery datasource=myDatasource
SELECT value
FROM table1
WHERE id = cfqueryparam value=#url.param1# /
/cfquery
And url.param1 can contain as many single or double quotes as you
Why aren't you doing this?
cfquery...
Select value from table1 where id = cfqueryparam cfsqltype=cf_sql_int
value=#url.param1# /
/cfquery
What you have now is quite dangerous.
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
I'm doing a lot of detection and loading code and style
sheets based on what browser is being used, but it's a steady pain to
keep up with what works and what doesn't.
That's why you shouldn't do browser detection, you should do feature detection.
For HTML5, here's a guide to doing that:
Exactly.
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Peter Boughton [mailto:bought...@gmail.com]
Sent: Saturday, June 25, 2011 9:24 AM
To: cf-talk
Subject: Re: Double Quote issue
Don't built dynamic queries with
Thanks for the feedback, Maureen.
I know how you feel. I wish we could just
have one browser to rule them all. I don't
even want to think about how good that would be...
-Original Message-
From: Maureen [mailto:mamamaur...@gmail.com]
Sent: Saturday, June 25, 2011 2:56 AM
To: cf-talk
Richard you could always use the cfsavecontent to build the SQL, and then
use the variable in the cfquery.
But you should also be using cfqueryparam with anything from forms and url,
essentially anything that is or could be from user input.
Regards,
Andrew Scott
http://www.andyscott.id.au/
Thanks, Sean...
I agree with that perspective. HTML5 / CSS3 for mobile
and the regular for the desktop.
Something's got to change with the development of standards.
HTML5 not complete and full interoperable until 2022 !?!?!
We need some sort of continuously updated standard with
more nimble
We need some sort of continuously updated standard with
more nimble browser updating, as well.
That is *EXACTLY* what HTML5 is now - an evolving standard which you CAN use on
the desktop right now (if you do things correctly; detect features not
browsers).
thanks for the pointers, we understand the problem here is down to not using
the cfquery param
thanks
Richard you could always use the cfsavecontent to build the SQL, and then
use the variable in the cfquery.
But you should also be using cfqueryparam with anything from forms and url,
I don't quite see it that way, Peter.
I would like to see the continuously updated aspect
be the burden of the W3C, et al, and the browser
creators, instead the burden of the developers
to continuously jump through hoops to make
front-end sense of the tangled mess of browsers
and standards that
the issue here is that there are various filters being built up from different
functions which is why we are having to do it as a string and not directly
inside a cfquery tag.
is there anyway to put the cfqueryparam tag inside a string and have it output
that?
again a basic example:
cfset
In Claude's original question, it doesn't appear he's using CFCONTENT:
Yes I am.
Here is a summary of the code in application.cfm:
You can see that the requested file is never executed nor intended to.
The only purpose of the .cfm extension is to force the execution of the
My guess is that the compiler takes lots of extra time and resources, so it
does all its work before getting into the execution process.
May be, however it will also compile some files for nothing, ie: included
files actually not included at execution... which represents an extra
Until we see the code that delivers the PDF, you have to look at what is
causing the compile error. It has nothing to do with when one is compiled or
not, or what order it is compiled in. ColdFusion will always compile
application.cfm/application.cfc and then the template you are trying to
Instead of major milestone releases on the part of
standards groups and browser creators, I'd rather
them take on one enhancement at a time and implement
it across the spectrum of browsers. Instead of FF3
and FF4, IE7, IE8, and IE9... there's just FF and IE,
each with nightlies enhanced a
hasn't this all been said several times already ?
On Sat, Jun 25, 2011 at 5:59 PM, Dave Watts dwa...@figleaf.com wrote:
Until we see the code that delivers the PDF, you have to look at what is
causing the compile error. It has nothing to do with when one is compiled
or
not, or what
LOL, well unless u have stats it is nothing more than opinion, but common
sense tells you that distractions stop you form working effectively.
And the only way to avoid those distractions is to be away from them.
In my experience, there are more distractions in the office than at
home. I
hasn't this all been said several times already ?
It doesn't appear to have been said simply and clearly, no.
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
I think this would be easy but seems not. We have a main site at
www.oursite.com and then we have 2 subdomains. We'll call them:
second.oursite.com and third.oursite.com.
A person visits our main site at www.oursite.com and we set these two cookies:
cfcookie name=TestWWW
Here is a crazy idea - wouldn't what you are looking for be a runtime
error?
I would expect that to be a compile-time error, actually. But the code
analyzer might still find it.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a
Here is a crazy idea - wouldn't what you are looking for be a runtime
error?
I would expect that to be a compile-time error, actually. But the code
analyzer might still find it.
Aaaand now I've gotten to the bottom of the thread, and see this has
already been covered. D'oh!
Dave Watts,
One can always dream...
-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com]
Sent: Saturday, June 25, 2011 1:02 PM
To: cf-talk
Subject: Re: Need some perspective...
Instead of major milestone releases on the part of
standards groups and browser creators, I'd rather
them
Ok. Your example didn't show any filters, it just took it directly from the
URL and stuck it right into a cfquery.
I've heard of people writing their cfquery to files so they could generate
the proper cfqueryparams and then just cfinclude that file to run the query.
Obviously that's going to add
Richard wrote:
the issue here is that there are various filters being built up from
different functions which is why we are having to do it as a string
and not directly inside a cfquery tag.
The issue here is that you are trying to use cfquery in a way it wasn't
designed to be used, which
Ok, that was part of my problem. I had CF running on one account, but that
account didn't have access to ANT.
You may need a higher permission user account other than the system account,
in the services admin panel on Windows you can tell CF what user account to
run as. At least for testing
If you work in an open plan office full of ringing phones and people talking
and what not then I would agree, that is worse.
On Sat, Jun 25, 2011 at 6:04 PM, Dave Watts dwa...@figleaf.com wrote:
LOL, well unless u have stats it is nothing more than opinion, but common
sense tells you that
On 6/25/2011 1:04 PM, Dave Watts wrote:
In my experience, there are more distractions in the office than at
home. I think that's true for a lot of people. I'm much more
productive in my home office than I was at work.
I would agree, but I guess it can go either way. You need a good
place to
I don't quite see it that way, Peter.
...
It's been a long week...
And a long rambling post, which seems to be missing the points I was making. :P
The W3C will always be doing the major milestone nonsense, because they're a
big bureaucratic organisation that does stuff like that.
I'll forgive you - once. ;)
I'm still waiting to here back from Steven to see if this method worked for him.
On Sat, Jun 25, 2011 at 12:12 PM, Dave Watts dwa...@figleaf.com wrote:
Here is a crazy idea - wouldn't what you are looking for be a runtime
error?
I would expect that to be a
Peter,
1. It's not a long post.
2. It's not rambling.
I think Rick's post was spot-on accurate and I totally agree with every
point he makes.
Just sticking your head in the sand and saying oh well, that's the way it
is is a way of thinking that would leave us in the dark ages.
Rick clearly
Dave,
Would you like to explain exactly what your posting aims to add to this
discussion?
Jenny
Instead of major milestone releases on the part of
standards groups and browser creators, I'd rather
them take on one enhancement at a time and implement
it across the spectrum of browsers.
How can I make a TD like the code below to change colors onmouseover as it
does just fine, but instead of the alert href to a page when the TD is
clicked? And I need it to pass a cf variable to that page like an href call:
newpage.cfm?var=#var#
table id=test border='1' cellspacing='0'
Would you like to explain exactly what your posting aims to add to this
discussion?
Sure. I'll try not to be too condescending.
There are some things that we can control or influence. There are
other things that are beyond our control or influence. This falls into
the latter category. Not to
Make the text a link to newpage.cfm?var=#var# :-)
Onclick=document.location='newpage.cfm?var=#var#'
That isn't going to work consistently in all browsers for a TD.
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Terry
I may be mistaken, but I believe Peter meant his own post...
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original Message-
From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk]
Sent: Saturday, June 25, 2011 5:18 PM
To: cf-talk
Hello everyone,
I just finished resurrecting a Web site belonging to one of the
organizations we belong to. The site is running under CF9 Enterprise
Edition. Because the site is very page and topic intensive I like to group
related pages in subfolders under the root folder and in some
Enter the use of CFInclude. I was able to successfully load pages
placed in second-level subfolders (Subfolders place directly under the root
folder) without any trouble once the syntax was adjusted. For example
CFInclude template=../menu.cfm or CFInclude template=../footer.cfm.
This
Thanks Bobby, works perfect.
Terry
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
why not just include the files relative to the root exactly as your are
doing with the SSI ?
CFInclude template=/footer.cfm
Russ
On Sat, Jun 25, 2011 at 10:41 PM, Peter Donahue pdonah...@satx.rr.comwrote:
Hello everyone,
I just finished resurrecting a Web site belonging to one of the
LOL.
Now, perhaps you can look at having that bug extracted from your ass.
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
Isn't that only relative to the webroot if the default / cfmapping doesn't
exist?
I always forget which one wins since the first thing I usually do is delete
that default / CF mapping.
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com
-Original
However, SYSTEM doesn't have a shell, or many
of the environment variables
that user accounts generally have.
Dave - Interesting. I did not know that. Offhand, do you know of articles that
talk more about the differences between SYSTEM and regular user accounts? (If
not, no problem. I can
However, SYSTEM doesn't have a shell, or many
of the environment variables
that user accounts generally have.
Dave - Interesting. I did not know that. Offhand, do you know of articles
that talk more about the differences
between SYSTEM and regular user accounts? (If not, no problem. I can
On Sat, Jun 25, 2011 at 6:53 AM, Rick Faircloth
r...@whitestonemedia.com wrote:
Something's got to change with the development of standards.
HTML5 not complete and full interoperable until 2022 !?!?!
You need to read a bit deeper into the subject - as Peter suggests.
Standards organizations
Hello Russ and everyone,
We tried your suggestion. As long as the pages were in the same folder
as the includes everyone was happy but when pages in subfolders called
cfinclude template=includeme.cfm That's when we got the 500 Internal
Server Errors. Dave Watts gave me great suggestions
No one here has ever use a click-to-call provider? Can't believe little old
me is breaking new ground. :)
On Thu, Jun 23, 2011 at 9:56 PM, Robert Rhodes rrhode...@gmail.com wrote:
Hello All. I am looking for good Click-to-Call provider with a cf-friendly
web service to consume. Any
CF will attempt to compile it.
My assumption was it was not compiled if not executed, but from my very first
post I know it is not the case.
My question was is it possible to get around this.
I got about 50 answers to explain what I already knew, but none to my question.
So I conclude that
On Sat, Jun 25, 2011 at 1:40 AM, Scott Brady dsbr...@gmail.com wrote:
I worked on a small project at a previous job where we tried pair
programming and it had mixed results.
It can take some practice - and some developers are rather resistant
to it (control issues).
It was actually
Okay, thanks Dave.
It's a Windows NT book, but the security model of Windows
hasn't really changed significantly.
Hm... I might have to hit up a friend of mine that has a bunch of old windows
NT books then. Knew he would come in handy for something...
My assumption was it was not compiled if not executed, but from my very first
post I know it is not the case.
My question was is it possible to get around this.
I got about 50 answers to explain what I already knew, but none to my
question.
So I conclude that there is probably no way to
stop worrying about all this and relax a bit -
that's exactly what weekends were designed for
That's the best advice I've read all week! :o)
-Original Message-
From: Peter Boughton [mailto:bought...@gmail.com]
Sent: Saturday, June 25, 2011 3:08 PM
To: cf-talk
Subject: Re: Need some
I did Claude (But I stated a possible bug), because I still am struggling
because you don't share the code, to how you are including or loading the
PDF. In other words I think there is a solution but I would need to see the
code and the offending PDF to help further.
Regards,
Andrew Scott
It's much more important to focus on what features are implemented and
what you CAN use rather than throwing up your hands and acting like
all of it is out of reach.
I certainly don't claim to understand the standards process (which doesn't
seem like much of a process anyway :oP), but as fast
Now, fellows... let's be gentlemen, here...
-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk]
Sent: Saturday, June 25, 2011 6:02 PM
To: cf-talk
Subject: Re: Need some perspective...
LOL.
Now, perhaps you can look at having that bug extracted from your ass.
Thank you, Jenny. :o)
Take that, you guys!
-Original Message-
From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk]
Sent: Saturday, June 25, 2011 5:18 PM
To: cf-talk
Subject: RE: Need some perspective...
Peter,
1. It's not a long post.
2. It's not rambling.
I think Rick's
No.
Happy now?
--
WSS4CF - WS-Security framework for CF
http://wss4cf.riaforge.org/
On 26 June 2011 07:19, wrote:
My question was is it possible to get around this.
~|
Order the Adobe Coldfusion Anthology now!
Peter, I did check out the caniuse.com site and, while
it's a welcome resource for sorting out feature usage, it's
also an illustration of the increasing insanity of feature
development. I mean, just look at that page!
There has *got* to be a better way of progressing. Perhaps
we could just
On Sat, Jun 25, 2011 at 6:37 PM, Rick Faircloth
r...@whitestonemedia.com wrote:
I'm just complaining about the age-old browser incompatibilities and having
to add mobile development into that mix.
Well, the former is nothing new and, frankly, the latter is an easier
bunch to deal with because
because you don't share the code
I did sent all the code, you probably missed it.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
On Sat, Jun 25, 2011 at 6:57 PM, Rick Faircloth
r...@whitestonemedia.com wrote:
There has *got* to be a better way of progressing. Perhaps
we could just lock all the browser vendors into a room and
make them fight it out over what features will be developed
and in what order and not let them
Yes you did but I also asked for the PDF in question so that I could run
some tests as well, maybe you missed that:-)
Anyway I have a couple of questions.
1) Why are you using application/octet-stream instead of the PDF one? Are
you going to be using other file types here?
2) Why do you have
If this software requires a registration, like entering serial number or
activation code, most likely, it uses Windows registry to remember it. When it
starts up, it looks for this entry in registry, possibly in the profile of the
current user. When you run the program from CF under SYSTEM
Yeah, doing a lot of that too.
On Sat, Jun 25, 2011 at 6:35 AM, Peter Boughton bought...@gmail.com wrote:
I'm doing a lot of detection and loading code and style
sheets based on what browser is being used, but it's a steady pain to
keep up with what works and what doesn't.
That's why you
I'm liking this guy a lot:
http://stuffandnonsense.co.uk/blog/about/keep_calm_and_carry_on_with_html5/
On Sat, Jun 25, 2011 at 6:57 PM, Rick Faircloth
r...@whitestonemedia.com wrote:
There has *got* to be a better way of progressing. Perhaps
we could just lock all the browser vendors into a
Just the type of reply I have come to expect from you.
-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com]
Sent: 25 June 2011 22:26
To: cf-talk
Subject: Re: Need some perspective...
Would you like to explain exactly what your posting aims to add to this
discussion?
Birds of a feather ...
-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk]
Sent: 25 June 2011 23:02
To: cf-talk
Subject: Re: Need some perspective...
LOL.
Now, perhaps you can look at having that bug extracted from your ass.
Dave Watts, CTO, Fig Leaf
I think you may have to lower your expectations, Rick ;) lol
-Original Message-
From: Rick Faircloth [mailto:r...@whitestonemedia.com]
Sent: 26 June 2011 02:44
To: cf-talk
Subject: RE: Need some perspective...
Now, fellows... let's be gentlemen, here...
75 matches
Mail list logo