CF10 Lockdown Block Unused File Types

2013-05-16 Thread Brian McCairn

Hi all

Wondered if anyone could help interpret the lockdown guide. 

I'm installing CF10 on a Win 2008 r2 server and am at section 4.1.7 where it 
says I should block unused file types. I can't see where it says how this 
should be done, does anyone know if this is referring to IIS or is there some 
new CF10 feature I don't know about?

Thanks

Brian 

~|
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:355730
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Nesting Issue?

2013-02-08 Thread Brian McCairn

Are the cfmailparam parameters right? I haven't seen a content parameter 
before. 

~|
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:354414
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Script Issue

2012-12-20 Thread Brian McCairn

I might have missed it scanning through but have you got a form field called 
resultblock? 

~|
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:353557
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: 500 - Internal server error

2012-07-01 Thread Brian McCairn

Not sure about CF10 but on Railo I think you have to set Error Reporting to 
Detailed in IIS7 to get the error. 


~|
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:351777
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Session info lost on BlackBerry

2012-02-02 Thread Brian McCairn

Is it connected to http://kb2.adobe.com/cps/181/tn_18171.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:349753
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFLOCK QUESTION

2011-08-22 Thread Brian McCairn

Does session.userid need a lock? Session variables are unique to each user and 
I guess are write once read many times. 

~|
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:346923
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: index.cfm being hacked

2010-11-16 Thread Brian McCairn

Had a similar problem with another host, they said...

The compromise you have reported is due to to an exploit of the windows 
FileSystem Object in .NET, and a poorly written upload script on another 
website that allows for executable website content to be run. 

...

Unfortunately, due to the architecture and needs of a shared server 
environment, we cannot disable this object in ASP nor can we change the 
individual server users used for website activity. We recommend not enabling 
write access on any browsable website folder. If you do require write 
permissions for an access database or other data file we recommend disabling 
browsing access to that directory, and also creating index pages that are the 
highest priority on your directory index listings from the control panel to 
avoid this problem in the future. 

~|
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:339275
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Railo CFVideoPlayer

2010-08-24 Thread Brian McCairn

Hi, just wondered if anyone had come across this.  I downloaded Railo Express 
last night to give cfvideoplayer a try and have got a bit of a problem with the 
play list feature. However I seem to order the videos in the code the play list 
just comes up in some random order that seems to change every time you load the 
page. 

This is what I'm doing:

cfvideoplayer autostart=YES width=750 height=460  allowfullscreen=true 
playlist=right showpause=false

cfvideoplayerparam video=_flash/Chapter 1.flv title=Chapter 1
cfvideoplayerparam video=_flash/Chapter 2.flv title=Chapter 2
cfvideoplayerparam video=_flash/Chapter 3.flv title=Chapter 3
cfvideoplayerparam video=_flash/Chapter 4.flv title=Chapter 4
cfvideoplayerparam video=_flash/Chapter 5.flv title=Chapter 5
cfvideoplayerparam video=_flash/Chapter 6.flv title=Chapter 6
cfvideoplayerparam video=_flash/Chapter 7.flv title=Chapter 7
cfvideoplayerparam video=_flash/Chapter 8.flv title=Chapter 8
cfvideoplayerparam video=_flash/Chapter 9.flv title=Chapter 9
cfvideoplayerparam video=_flash/Chapter 10.flv title=Chapter 10

/cfvideoplayer

Anyone know how to make them list in the order coded? BTW I've tried taking 
spaces out of the titles and filenames with no luck. 

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


Re: jQuery alternative to cfwindow?

2010-06-18 Thread Brian McCairn

http://cfwindow.riaforge.org/ 

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


Re: listgetat problem...

2010-05-16 Thread Brian McCairn

replace commas with another arbitrary separator?

cfset lstText = 'this is one, this is another one, this should be second 
item' / 

cfoutput#listLen(replacenocase(lsttext,',','||'), '||')#/cfoutput 

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


Re: Can this be done?

2010-04-18 Thread Brian McCairn

does isImageFile() do this? 

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


CFFeed read problem for http://data.gov.uk/rss.xml . Just me?

2010-01-21 Thread Brian McCairn

Just trying to run the following:

cffeed source = http://data.gov.uk/rss.xml; 
properties = myProps 
query = myQuery

Errors every time from CF8 with one of 2 errors (usually 1, but sometimes 2), 
either:

1. String index out of range: -1 

2.  Unable to parse the feed: Either source specified is invalid or feed is 
malformed.
Error: Invalid XML: Error on line 1: Content is not allowed in prolog. 

From CF9 developer's version it usually works fine but does occasionally error 
with one of the two errors above.

I can browse to it fine. What's wrong with my CF8?


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


Re: Getting last inserted record from database

2009-10-26 Thread Brian McCairn

select the max id straight after the insert and wrap it all in cftransaction 
tags 

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


Re: Need some Distinct help

2009-10-22 Thread Brian McCairn

do you need those other columns?

does

cfquery name=unique_info dbtype=query 
SELECT distinct audit_org_type FROM list_audit_orgs 
/cfquery 

work? 

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


Re: Browser not recognizing CFM tags

2009-10-13 Thread Brian McCairn

If you look in Services is ColdFusion 8 Application Server started?

Assuming windows what do you get when you open the Administrator page from the 
Start menu.


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


Re: CFC Question

2009-09-24 Thread Brian McCairn

component=filename maybe 

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


Re: CFC Question

2009-09-24 Thread Brian McCairn

cfcomponent tags round the cffunction? 

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


Re: CFC Question

2009-09-24 Thread Brian McCairn

what do you get if you browse to webroot/cfc/filename.cfc?wsdl 

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


Re: Coldfusion Autosuggest

2009-09-22 Thread Brian McCairn

Would the following strategy help?

Maxrows the query to 10 and see if it works then, if it does then yes it sounds 
like a value is causing a problem, if it doesn't then it must be something else.

If 10 records does work try the first 100, then the first 1000 etc. Shouldn't 
take too long to pin down the problematic value by retrieving subsets of the 
data. 

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


Re: CFTRANSACTION with MS Access Database

2009-07-28 Thread Brian McCairn

looks like /cfcatch is missing 

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


Leaving FCKEditor enaled

2009-07-09 Thread Brian McCairn

Just for the sake of argument, if you were crazy enough to leave FCKEditor 
enabled to allow image uploads, do you think the following would leave you 
secure?

Change allowed file types in connectors/cfm config.cfm to:

//Allowed Resource Types
Config.ConfigAllowedTypes = Image ;



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


Re: New CF8 vulnerability

2009-07-03 Thread Brian McCairn

what if you want to do file upload with fckeditor? 

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


Re: Flex DataGrid with CF dataprovider and Undo/Redo

2009-05-18 Thread Brian McCairn

Thanks Dave

Just wanted to mention that your suggestion led me to 
http://www.horwith.com/index.cfm/2009/5/7/ColdFusion-Architecture-For-RIAs-Part-4
 and I'm looking into this now.

Brian 

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


Flex DataGrid with CF dataprovider and Undo/Redo

2009-05-14 Thread Brian McCairn

Hi

Flex is new to me but I'm having fun setting up a datagrid with a CF 
dataprovider.

It works well so far and I have the CRUD functionality I need, however if 
possible I'd like to add a system of undo/redo on the grid.

I was thinking of maybe intercepting each query in the cfc and serialising a 
WDDX packet recording the pre-edit state of a cell and storing it in a database 
table so that I can rewind each change.

Or is there some built in Flex functionality I don't know about?

Any ideas? 

Thanks

Brian 

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


Spry accordion in a layoutarea

2008-07-01 Thread Brian McCairn
Why can I do this...

cfajaximport tags=cflayout-border

!--Link the CSS style  sheet that styles the accordion--
link href=assets/SpryAccordion.css rel=stylesheet type=text/css /
!--Link the Spry Accordion JavaScript library--
script src=assets/SpryAccordion.js type=text/javascript/script

cflayout style=height:285px; type=vbox  
cflayoutarea style=height:285px; name=mylyt
cfinclude template=accordionPage.cfm
/cflayoutarea
/cflayout

but not this...

cfajaximport tags=cflayout-border

!--Link the CSS style  sheet that styles the accordion--
link href=assets/SpryAccordion.css rel=stylesheet type=text/css /
!--Link the Spry Accordion JavaScript library--
script src=assets/SpryAccordion.js type=text/javascript/script

cflayout style=height:285px; type=vbox  
cflayoutarea style=height:285px; name=mylyt 
source=accordionPage.cfm

/cflayoutarea
/cflayout

this causes an Error processing Javascript in markup for element in mylyt:

This means I can't use ColdFusion.navigate() to load a page with a Spry 
accordion into a div or layoutarea.

? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308429
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: coldfusion.navigate question

2008-06-26 Thread Brian McCairn
How about...

a 
href=javaScript:ColdFusion.navigate('pod1_updated.cfm','pod1');ColdFusion.navigate('pod2_updated.cfm','pod2)Click
 Here For Poddy Funkiness/a  


? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308179
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: simple loop

2008-04-10 Thread Brian McCairn
CFIF check.recordcount instead of CFIF get.recordcount eq 1? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303091
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


image upload with FCKEditor in ColdFusion 8 updater 1

2008-04-07 Thread Brian McCairn
According to the release notes I need to set FCKConfig.ImageBrowser = true ; 
and FCKConfig.ImageUpload = true ; in fckconfig.js but when I select the image 
insert icon the dialog box that comes up only has a URL box which you can type 
in to. This works as far as it goes but there is no option to upload a new 
image or browse to an existing one.

Anyone got this working with updater 1 yet who can tell me my stupid mistake?

Thanks 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302833
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: image upload with FCKEditor in ColdFusion 8 updater 1

2008-04-07 Thread Brian McCairn
deleting my temporary internet files seems to have sorted it 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302837
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfselect bind loading indicator?

2008-02-19 Thread Brian McCairn
Is there a way to indicate via a loading icon or something when a cfselect is 
updating its binding?

When you make a selection on the first cfselect, if there's a slight delay in 
the second cfselect updating its options, it can be a bit off-putting. It would 
be nice if there was some indication that the second cfselect is updating.

Thanks

Brian 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299325
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: structures

2008-02-02 Thread Brian McCairn
 Hi James,
 
 good idea!!!
 
 i cfdumped it and it did output only 1 value e.g. '44' - the contents 
 they are supposed to be so im not sure why it is saying that it is a 
 complex data type
 
 thanks James 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297996
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Snake graphs, a longshot

2007-12-04 Thread Brian McCairn
Pretty much to the pixel dangit and they want the appearance the same - this
is a hidden extra to some work that we are doing; kind of 'oh by the way,
this graph image needs updating and we don't know how it was made'. I doubt
we can afford the license and this should have been done yesterday already.
I love clients sometimes! If I knew what software created it it should be a
doddle and we could charge them for it. Like I said, a longshot!

I'll look into Flex though thankyou.

Dominic



 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294139
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Snake graphs, a longshot

2007-12-04 Thread Brian McCairn
Just a guess, but reminds me of something I saw an old colleague do a long time 
ago in Mathematica. 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294140
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: looping through each row

2007-11-24 Thread Brian McCairn
if it's windows the following should loop through the rows...

cfloop list=#cfhttp.fileContent# delimiters=#chr(10)# index=thisRow 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293767
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Problems with CFMAIL

2007-11-15 Thread Brian McCairn
Can you email to other domains? Eg can you set up a hotmail account and send to 
there?

I've had the same problem when trying to send to a particular domain. I called 
the hosting company of the domain in question and eventually found out that my 
emails were blocked because the reverse dns for the domain I was sending from 
was not set up. 

If you can send to most other domains then this might be the problem. 

I believe AOL.com is one of the domains that block email from domains where 
reverse dns is not set uup. 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293381
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: In a bind

2007-11-15 Thread Brian McCairn
OK - guess the default onChange event for the binding was not doing what I 
wanted. Have changed the binding as per below to use the click event and that 
seems to give the behaviour I was after. 

cfwindow x=0 y=250 width=200 height=150 
name=mywindow2 title=My Second Window 
initshow=false draggable=false resizable=false 
source=confirmbookingrequest.cfm?lengthofstay={myform:[EMAIL 
PROTECTED] / 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293410
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


In a bind

2007-11-15 Thread Brian McCairn
Hi

I've tried to bind a cfwindow to radio buttons in a form, but the bind seems to 
miss the first click on the radio button. Subsequent clicks seem to register 
but they are out of synch with the selection, so when I click on 'mini' I get 7 
and when I click on 'week' I get 3. The code is below. 
Confirmbookingrequest.cfm currently just displays lengthofstay.

cfform name=myform 
table
tr
tdLength of Stay:/td
tdMinicfinput  type=Radio name=lengthofstay value=3 
required=Yes message=Please select length of stay Weekcfinput 
type=Radio name=lengthofstay value=7 required=Yes message=Please 
select length of stay
/td
/tr
tr
td/td
tdcfinput name=subbtn type=button value=Check 
Availability onClick=javascript:ColdFusion.Window.show('mywindow2');/td
/tr

/table
/cfform
cfwindow x=0 y=250 width=200 height=150 
name=mywindow2 title=My Second Window 
initshow=false draggable=false resizable=false 

source=confirmbookingrequest.cfm?lengthofstay={myform:lengthofstay} / 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293385
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Filtering users by IP

2007-11-15 Thread Brian McCairn
Given the usual cautions about filtering on ipaddress, something like this 
might help...

!--- Set list of ip addresses, I guess you'd probably retrieve from a database 
somewhere ---
cfset iplist=192.168.1.1,192.168.1.2,192.168.1.3,192.168.1.4,192.168.1.5

cfif not listcontains(iplist,cgi.remote_addr)
cfabortor whatever
/cfif 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293412
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: In a bind

2007-11-15 Thread Brian McCairn
When you click on a radio button clicking anywhere else on the browser seems to 
trigger ther bind to work. What have I done wrong? 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293405
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: In a bind

2007-11-15 Thread Brian McCairn
Thanks Ben, click event did the trick. Maybe that should be the default bind 
event for radio buttons.

Regards

Brian 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293413
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cffile upload issue

2007-11-15 Thread Brian McCairn
Where you say 

CFIF IsDefined(form.upload.x)

I think should just be

CFIF IsDefined(form.upload) 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293404
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFDiv bind problem

2007-11-14 Thread Brian McCairn
Rob

I do something similar, but not sure if it's what you're after.

cfinput name=mobile type=Text onChange=if 
(document.myform.mobile.value.length  
4){ColdFusion.navigate('mobileCheck.cfm?x='+document.myform.mobile.value,'filterWindow',mycallBack,myerrorhandler)};

So a CFWindow to the side of the form is updated with a list of possible 
matches for what is typed into the mobile field. If you see the match you want 
then you click on a link in the cfwindow and the form is populated.

Regards

Brian 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293274
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFDiv bind problem

2007-11-14 Thread Brian McCairn
Rob

I do something similar, but not sure if it's what you're after.

cfinput name=mobile type=Text onChange=if 
(document.myform.mobile.value.length  
4){ColdFusion.navigate('mobileCheck.cfm?x='+document.myform.mobile.value,'filterWindow',mycallBack,myerrorhandler)};

So a CFWindow to the side of the form is updated with a list of possible 
matches for what is typed into the mobile field. If you see the match you want 
then you click on a link in the cfwindow and the form is populated.

Regards

Brian 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293275
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Having problem with grouping in query while selecting text fields

2007-11-12 Thread Brian McCairn
Given a table like this

1,10,John,note1
2,10,Jack,note2
3,10,Jean,note3
4,20,David,note4
5,20,Duncan,note5
6,30,Sean,note6

what output would you hope to get from you SQL? 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293158
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Reading .TXT files as CF files

2007-11-06 Thread Brian McCairn
for me it was just a marketing idea thing, for instance pages on a fan site for 
Liverpool Football club could have the file extension .lfc, or a Manchester 
United site could have the file extension .rubbish 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292743
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


binding problem

2007-11-06 Thread Brian McCairn
I get the following error when trying to run one of Ben Forta's cfselect 
binding examples:

Attribute validation error for the CFSELECT tag.  
The value of the QUERY attribute is invalid. The 'Query' attribute must be 
defined if the 'Value', 'Display', or 'Group' attributes are defined.  
  
The error occurred in F:\inetpub\wwwroot\testbind\artform.cfm: line 10
 
8 :  value=mediaid  
9 :  display=mediatype
10 :  bindonload=true //td
11 : /tr
12 : tr

 
The display page is artform.cfm

cfform
 
 table
tr
   tdSelect Media Type:/td
   tdcfselect name=mediaid
 bind=cfc:art.getMedia()
 value=mediaid  
 display=mediatype
 bindonload=true //td
/tr
tr
   tdSelect Art:/td
   tdcfselect name=artid
 value=artid
 display=artname
 bind=cfc:art.getArt({mediaid}) //td
/tr
 /table
 
 /cfform  

the cfc in the same directory is

cfcomponent output=false

   cfset THIS.dsn=cfartgallery

   !--- Get array of media types ---
   cffunction name=getMedia access=remote returnType=query
  !--- Define variables ---
  cfset var data=

  !--- Get data ---
  cfquery name=data datasource=#THIS.dsn#
  SELECT mediaid, mediatype
  FROM media
  ORDER BY mediatype
  /cfquery

  !--- And return it ---
  cfreturn data
   /cffunction

   !--- Get art by media type ---
   cffunction name=getArt access=remote returnType=query
  cfargument name=mediaid type=numeric required=true

  !--- Define variables ---
  cfset var data=

  !--- Get data ---
  cfquery name=data datasource=#THIS.dsn#
  SELECT artid, artname
  FROM art
  WHERE mediaid = #ARGUMENTS.mediaid#
  ORDER BY artname
  /cfquery

  !--- And return it ---
  cfreturn data
   /cffunction

/cfcomponent

can anyone tell me what I'm doing wrong?
 


~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292745
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: binding problem

2007-11-06 Thread Brian McCairn
yep, sorry, I still had Beta installed - upgraded to release and it's fine 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292763
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: adding time

2007-11-05 Thread Brian McCairn
when you execute a function like this 

#DateAdd('h', 1, finishdate)# 

you are not changing the value of finishdate  .

That's why finishdate isn't changing and, as mentioned above, you need to set a 
new variable, or reassign the old one, like this

cfset newFinishDate = DateAdd('h', 1, finishdate)

Now newFinishDate will be an hour later than finishDate and finishDate is 
unchanged 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292646
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Reading .TXT files as CF files

2007-11-05 Thread Brian McCairn
Tried this with CF8, stopped and started the ColdFusion 8 Application service 
but I'm getting:

Server Error 


Either the Macromedia application server(s) are unreachable or none of them has 
a mapping to process this request. 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292714
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFmenu submenu icons

2007-10-29 Thread Brian McCairn
Does anyone know how/if you can change the icon indicating a cfmenu has a 
submenu. The default seems to be a small grey arrow. Even being able to change 
the colour/size of the arrow would be useful.

Cheers 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292221
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Inserting a record into CFGRID

2007-10-29 Thread Brian McCairn
Not sure, but does it need Format=Applet? 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292224
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Inserting a record into CFGRID

2007-10-29 Thread Brian McCairn
Not sure but does format need to be Applet
- Original Message - 
From: Anthony Doherty [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, October 29, 2007 11:44 AM
Subject: Inserting a record into CFGRID


 Im trying to insert a record into my employees table in coldfusion but i 
 have the update working fine and the delete is also working fine, however 
 i have added the tags insert and insertbutton but they wont display on my 
 grid.

 I have posted my grids code below if someone could help that would be 
 great

 Thanks


 cfgrid format=html name=employeeGrid pagesize=11
 stripeRows=true stripeRowColor=brown
 bind=cfc:employeeService.getData({cfgridpage},{cfgridpagesize},
 {cfgridsortcolumn},{cfgridsortdirection})
  selectmode=edit insert=yes insertbutton=add delete=yes 
 deletebutton=remove record
 onchange=cfc:employeeService.editData({cfgridaction},{cfgridrow},{cfgridchanged})

 cfgridcolumn name=ID display=true header=Employee ID/
 cfgridcolumn name=FORENAME display=true header=First Name/
 cfgridcolumn name=SURNAME display=true header=Last Name/
 cfgridcolumn name=ROLE display=true header=Role select=yes 
 values=Manager, Development, Engineer/


 /cfgrid

 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292223
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Configuring CF Datasources

2007-10-29 Thread Brian McCairn
I think years ago (CF4) you could just set up a system DSN in the ODBCAD32, but 
these days I think you need both. What I do (CF8) is set up the system DSN 
first using ODBCAD32, then set the same dsn in the CF Administrator 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292231
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFmenu submenu icons

2007-10-29 Thread Brian McCairn
Thanks Gary - that's done it for me 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292238
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4