Could someone please advise me what is the best way to show/hide a set of table
columns generated from a query, buy toggling a button? Many thanks.
~|
Want to reach the ColdFusion community with something they want? Let them
jQuery can do it pretty easily:
http://www.devcurry.com/2009/07/hide-table-column-with-single-line-of.html
On Wed, Nov 25, 2009 at 3:42 AM, Kamru Miah k.m...@csl.gov.uk wrote:
Could someone please advise me what is the best way to show/hide a set of
table columns generated from a query,
INNER JOIN @question q2 ON 1 = 1
{Psst ... Cross join} ;-)
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
/cfcexplorer.cfc
Checking the CFADMIN, file path is defined:
C:\inetpub\wwwroot\CFIDE
Checking the files, the path is correct.
Ideas? Not sure what to try next...
__ Information from ESET NOD32 Antivirus, version of virus signature
database 4635 (20091125) __
The message was checked
queryPosition=Below
option value=0Select a Group/option
/cfselect
__ Information from ESET NOD32 Antivirus, version of virus signature
database 4635 (20091125) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
(20091125) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http
(20091125) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http
So, this problem has been sitting in my kitchen. The math has been
proved and a good solution using database table joins provided, but I
just *knew* this could be solved with looping.
Of course it could be hard coded:
cfoutput
cfloop from=0 to=1 index=a1
cfloop from=0 to=1 index=a2
is correct.
Ideas? Not sure what to try next...
__ Information from ESET NOD32 Antivirus, version of virus
signature database 4635 (20091125) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
Noscript add on? Can you view, or do, anything on the web? ;)
Noscript is a slick add-on I can't live without now. You'd be amazed at how
many tracking scripts site attempt to use. Noscript blocks them all as well as
the baddies.
I have a page (prod1.cfm) with a two column table.
The left column contains a javascript menu.
The right table contains: cfdiv id=product_display
bind=url:prod2.cfm?ID={ID}
How can I use the javascript menu to pass the ID key to the cfdiv in order
to have prod2.cfm display the data related to
Noscript add on? Can you view, or do, anything on the web? ;)
I disable scripting all the time, except for sites I trust. Developers
should certainly do what they can, but users should be less trusting
as well.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software
At 10:57 AM 25/11/2009, Ian Skinner wrote:
So, this problem has been sitting in my kitchen. The math has been
proved and a good solution using database table joins provided, but I
just *knew* this could be solved with looping.
Of course it could be hard coded:
cfoutput
cfloop from=0 to=1
Terry,
I did this exact same scenario. Here are my basic steps:
1.) Create a cfajaxproxy bind event like
cfajaxproxy bind=javascript:getDetails({m...@change})
2.) Then create a JavaScript function called getDetails and inside include
the following:
var menuIndex =
That was supposed to be appropriate number or name. Also, make sure you
have an ID on your menu select box,
Phil
On Wed, Nov 25, 2009 at 11:13 AM, Phillip Duba phild...@gmail.com wrote:
Terry,
I did this exact same scenario. Here are my basic steps:
1.) Create a cfajaxproxy bind event
At 10:57 AM 25/11/2009, Ian Skinner wrote:
cffunction name=it output=yes
cfargument name=depth type=numeric required=yes
cfargument name=answerKey type=string required=no default=
cfset var i = 0
cfif depth-- GT 0
cfloop from=0 to=1 index=i
#it(depth,answerKey ' '
Thanks for the jQuery suggestion - I think that will work.
However, is there built-in function within CF8/Ajax library that may do the
same job?
jQuery can do it pretty easily:
http://www.devcurry.com/2009/07/hide-table-column-with-single-line-of.
html
};ColdFusion.Event.registerOnLoad(_cf_bind_init_1259166700159);\n
ColdFusion is not defined
ColdFusion.Ajax.importTag('CFDIV');\n
ColdFusion is not defined
};ColdFusion.Event.registerOnLoad(_cf_bind_init_1259166700161);\n
__ Information from ESET NOD32 Antivirus, version of virus signature
database 4636 (20091125
employees7.0Boston6.0EducationCounsel8.0Event/Seminar5.0Gold
Dome12.0Government Relations Lists2.0Media1.0MISC11.0Poole9.0Test Groups
__ Information from ESET NOD32 Antivirus, version of virus signature
database 4636 (20091125) __
The message was checked by ESET NOD32 Antivirus
Heh, I was wondering if someone would suggest that. I don't know why I
think the 1 = 1 syntax looks cooler. I think it's because that is
something you never get to write in actual code without it being wrong
so I get to feel a little naughty doing it! :)
~Brad
Original Message
Heh, good job Ian. Now, we need someone to step up and solve it with
recursion. :)
After that, someone can show us the line of jQuery code used to
accomplish it. I'm sure there's a plug-in out there... :)
~Brad
Original Message
Subject: Re: Working out yes/no possibilities
working, correct?
So why aren't the selects being populated? There's something else wrong
here, but I can't grok what it is...
__ Information from ESET NOD32 Antivirus, version of virus signature
database 4636 (20091125) __
The message was checked by ESET NOD32 Antivirus.
http
b...@bradwood.com wrote:
Heh, good job Ian. Now, we need someone to step up and solve it with
recursion. :)
I thought I was using recursion?
cfloop from=0 to=1 index=i
#it(depth,answerKey ' ' yesNoFormat(i))# !--- recursive call to this
function ---
/cfloop
Or do I have the wrong idea
Opps, I'm sorry Ian. That was, in fact, a recursive solution. That's
what I get for shooting off an E-mail while walking out the door and not
looking at your code close enough. :)
~Brad
Original Message
Subject: Re: Working out yes/no possibilities
From: Ian Skinner
Well, it's been a long time since I've participated on this list...I'm
still using CF 6.1 MX. Haven't been doing full-time web dev for the past 6
yrs or so but now I'm trying to do it full-time again. Spent a couple of
months learning ASP.NET but am not impressed. Lots of cool demos and
If you've got enough clients to justify it, you could get a CF8 VPS. I
believe prices range from $35/mo to $75/mo (depending on various factors).
Even if it cost you $75 a month, and you had 5 clients, you'd break even if
you charged each $15/month. And for all intents and purposes, it's your
I've had great luck with GearHost http://www.gearhost.com
On Wed, Nov 25, 2009 at 1:29 PM, Charlie Griefer
charlie.grie...@gmail.comwrote:
If you've got enough clients to justify it, you could get a CF8 VPS. I
believe prices range from $35/mo to $75/mo (depending on various factors).
Add this to the page with the CFDIV on it. This may correct the issue.
cfajaximport tags = CFDIV /
--Dave
blog.dkferguson.com
www.cfhour.com
~|
Want to reach the ColdFusion community with something they want? Let them know
I'm trying to create a ratings system that shows 1/2 values. Quick
question, what would be the easiest way to round a value to the nearest .5
of a number? I'm trying to avoid multiple if/elses.
i.e. 3.21 would round to 3
i.e. 3.31 would round to 3.5
i.e. 3.61 would round to 3.5
i.e. 3.91 would
Get yourself and VPS at www.KickAssVPS.com and host all you want
on the VPS. I got mine for $100 per month, including CF8. I traded off
some of the things I didn't want on the VPS for a lower price than stated.
No downtime and great support now for about 2 years.
Rick
-Original
Assuming 'n' is your number, use #round(n * 2) / 2#
For example:
3.21 * 2 == 6.42
round(6.42) == 6
6 / 2 == 3
3.31 * 2 = 6.62
round(6.62) == 7
7 / 2 == 3.35
cheers,
barneyb
On Wed, Nov 25, 2009 at 11:13 AM, Che Vilnonis ch...@asitv.com wrote:
I'm trying to create a ratings system that
Che Vilnonis wrote:
Multiply number by 2, round it, divide it by 2.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
Go talk to the folks at Vivio Tech: http://www.viviotech.net
They offer Adobe CF, Open BD and Railo on Linux or Windows. Jordan
Michaels is on the Open Blue Dragon committee and helps out with the
Railo community a great deal, including creating installers that they
provide free to the
Barney Boisvert wrote:
7 / 2 == 3.35
No it doesn't! I suspect your typing thumbs, or is it your ring finger,
is making you look like a bad mathematician! ;-)
~|
Want to reach the ColdFusion community with something they
Sweet! Many years ago, in high school Algebra class, I would have been able
to figure that out. It's amazing what we forget.
-Original Message-
From: Barney Boisvert [mailto:bboisv...@gmail.com]
Sent: Wednesday, November 25, 2009 2:23 PM
To: cf-talk
Subject: Re: Round to the nearest .5
http://www.crystaltech.com/ has been awesome!
-Original Message-
From: Michael J. Sprague [mailto:mikespra...@gmail.com]
Sent: Wednesday, November 25, 2009 11:39 AM
To: cf-talk
Subject: Re: Looking for a CF 8 host
I've had great luck with GearHost http://www.gearhost.com
On Wed,
cfoutput
#Round(3.21/0.5) *0.5#
#Round(3.31/0.5) *0.5#
#Round(3.61/0.5) *0.5#
#Round(3.91/0.5) *0.5#
#Round(4.24/0.5) *0.5#
#Round(4.49/0.5) *0.5#
#Round(4.50/0.5) *0.5#
/cfoutput
produces:
3
3.5
3.5
4
4
4.5
4.5
Cheers,
Allen
Che Vilnonis wrote:
I'm trying to create a ratings system that
Oops, you're right, Ian. That should be 7 / 2 == 3.5 (remove the
second three), of course. I wonder who had coffee this morning and
therefore can't control his fine motor skills. At least with a
computer your assertions are actually checked, so typos get caught.
:)
cheers,
barneyb
On
That is beautiful in form and simplicity. Bravo.
On Wed, Nov 25, 2009 at 11:27 AM, Ian Skinner h...@ilsweb.com wrote:
Multiply number by 2, round it, divide it by 2.
~|
Want to reach the ColdFusion community with something
On Wed, Nov 25, 2009 at 9:49 AM, Kamru Miah k.m...@csl.gov.uk wrote:
However, is there built-in function within CF8/Ajax library that may do the
same job?
Nope.
~|
Want to reach the ColdFusion community with something they
Hi all,
I'm trying to instantiate an object either in the psuedo-contructor or
init of my cfc as a variable so I can use it within all my method inside
that cfc. For some reason when I call a method from that object I get a
Method not found error. I'm not sure if this is the best way of going
I believe you would want :
variables.errorMsg =
createObject(component, com.util.errorMessages).init();
On Wed, Nov 25, 2009 at 3:36 PM, Chung Chow cyc...@annex.net wrote:
Hi all,
I'm trying to instantiate an object either in the psuedo-contructor or
init of my cfc as a variable so I can
(line 283)
ColdFusion is not defined
};ColdFusion.Event.registerOnLoad(_cf_bind_init_1259181589338);\n
__ Information from ESET NOD32 Antivirus, version of virus signature
database 4636 (20091125) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
+1 for CrystalTech!
Thanks,
Eric Cobb
http://www.cfgears.com
Joshua Rowe wrote:
http://www.crystaltech.com/ has been awesome!
-Original Message-
From: Michael J. Sprague [mailto:mikespra...@gmail.com]
Sent: Wednesday, November 25, 2009 11:39 AM
To: cf-talk
Subject: Re:
Gah, sorry. The sample is wrong. The psuedo constructor would look
like this and in the cffunction would be called by the variables scope.
variables.errorMsg.addErrorMsg()
Sorry. was copy/pasting.
cfcomponent displayname=feeds output=false ...
cfscript
variables.errorMsg =
hi guys, found this article really helpful...
http://net.tutsplus.com/tutorials/other/top-20-mysql-best-practices/
thought i should share! mike
~|
Want to reach the ColdFusion community with something they want? Let them know
i am having a really good experience with www.hostek.com - superb service 24/7.
mike
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
Yeh Charlie. I sent a following email changing it. lol I was copy
pasting the sample out of the cffunctions. lol Thanks. But that doesn't
work either. :/
-Original Message-
From: Charlie Stell [mailto:charlie.st...@gmail.com]
Sent: Wednesday, November 25, 2009 12:54 PM
To:
You should not be var'ing your constructor variables.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
Id check the following:
That your referring to the CFC in the same way you are defining them. (since
you say it works when defining with teh functions, I think this is most likely)
The method-access on the other CFCs.
That the init function of external CFCs are returning this.
You could also
Id check the following: That your referring to the CFC in the same way you
are defining them. (since you say it works when defining with teh functions,
I think this is most likely)
See if there is any difference made by instantiating them within the init
function. The method-access on the other
Yup, checked all that. If I define them as variables. they don't work.
Move them into the cffuction area and var them and they work fine. The
method are access=public. Constructor returns THIS. I would instantiate
them in a application scope but I don't want to do that JUST yet. BTW,
what is
I'm not sure if this is the best way of going
about it so if anyone has a better idea, I'd like to hear about it. :)
You may like to take a look at 'dependecy injection' techniques
http://learn.objectorientedcoldfusion.org/wiki/Dependency_Injection
2009/11/26 Chung Chow cyc...@annex.net
Try the following -
Add a function to your cfc that will return variables.X - X being whatever
instantiated cfc you cant call the function of.
Dump the results of new function - this should help you debug.
~|
Want to reach
Seems like a CFIDE type of problem.
Try the net tab of FireBug, I think -- one of those tabs shows the
js files firefox is trying to load -- and then ctrl+click on the files
listed and be sure none of them are returning 404 or unexpected
non-javascript content.
--
If we don't know life, how
Hi Kevin. I've read that whole site a couple of days ago. Good stuff.
But apart from making these utilities load in an application scope, I
was trying to find a better way accesing them object-wide I guess. I'm
worried aboout having to load all these utilities objects in a
application variable.
May I ask the inevitable question; have you thought about CF9?
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/11/26 Larry Soo l...@bc4x4.com:
Anyway...that means I also need to find a CF 8 host.
Hey there,
I was wondering if anyone has had any experiences with this situation:
I have a Windows Server 2003 server. I need to install CF8 (Standard
installation) on it, but I know for a fact that in the next little
while, that machine will undergo a machine name change.
Does CF8 care
This means the CF Ajax JavaScript files aren't loading. Check the
/CFIDE/scripts alias for the webserver for that site.
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/11/26 Les Mizzell lesm...@bellsouth.net:
Dave Ferguson wrote:
Add this to the page
Hey All,
I just bumped into an interesting/annoying potential difference between
Adobe CF 8 and OpenBD.
When I run the following code in a CFFUNCTION:
!--- define the structure---
cfset var retStruct = StructNew()
cfset structInsert(retStruct, success, 1)
cfset structInsert(retStruct,
I said:
Adobe CF 8: each ARGUMENT key is uppercase (along with values)
should have said:
Adobe CF 8: each ARGUMENT key is uppercase (values are lowercase)
Cheers
--
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax:
Love it or hate it, ColdFusion has, for as long as I can remember (v. 3?),
UPPERCASED variable names and struct keys. Since this is a known thing, you
can work around it by using either Lcase() or Ucase() where appropriate.
~|
I thought that using the bracket notation would keep case?
something[ThisThenLooksLikeThis]
vs something.THISTHENLOOKSLIKETHIS
I could be mixed up tho.
--
If you think in terms of a year, plant a seed; if in terms of ten
years, plant trees; if in terms of 100 years, teach the people.
I may be wrong, but that could be on linux implementations...I don't recall
any case sensitivity on Windows.
Eric
--
From: denstar valliants...@gmail.com
Sent: Wednesday, November 25, 2009 9:14 PM
To: cf-talk cf-talk@houseoffusion.com
Subject:
The struct key name case should be retained with the following syntax:
cfset retStruct[success] = 1
2009/11/26 Bryan Stevenson br...@electricedgesystems.com
Hey All,
I just bumped into an interesting/annoying potential difference between
Adobe CF 8 and OpenBD.
When I run the following
If you create all of your application wide objects once on application
startup then it's unlikely you will reach any limit. I would imagine that a
small application would have less than 10 application scoped objects,
whereas a very large application may need 50 or so, just to pick a few
numbers
66 matches
Mail list logo