Re: Coldfusion, Instances, and Flex Remoting

2006-11-11 Thread Dave Lyons
xml huh, how come you arent using remoting? email me off list if you want and I'll make you a lil video about setting a break and checking debug maybe try these http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19299

Re: Coldfusion, Instances, and Flex Remoting

2006-11-11 Thread Rick Root
Dave Lyons wrote: xml huh, how come you arent using remoting? You're confused, I *AM* using remoting. I was referring to the xml configuration file for the flex services in the WEB-INF directory structure. email me off list if you want and I'll make you a lil video about setting a break

Re: Coldfusion, Instances, and Flex Remoting

2006-11-11 Thread Dave Lyons
i guess i was confused lol, its 4am so thats my excuse!! and you found out what i thought youd find out bout not being in the web root. Dave Lyons wrote: xml huh, how come you arent using remoting? You're confused, I *AM* using remoting. I was referring to the xml configuration

OT:sending mail to cf-talk - Base64 encoded mail is prohibited.

2006-11-11 Thread Casey Dougall
I'm not trying to do anything funky with this reply I was trying to send but it keeps coming back rejected. am I the only one having this problem? Casey ~~~ Base64 encoded mail is prohibited. 21 level 3 - blocked. Return-Path: [EMAIL

RE: Code Question

2006-11-11 Thread Bobby Hartsfield
It makes all the difference actually and would never make it to an HTML comment. Everything after that !--- will be a CF comment and cause the error since it doesn’t have a closing '---' All opening tags before the !--- -- will not have ending tags if they fall after the malformed comment.

Re: Code Question

2006-11-11 Thread Robertson-Ravo, Neil (RX)
Would have to have a test, but to be honest I haven't hand coded a comment in years... That's what Eclipse is for they make it easy with a click of a button :) Would it actually fail/error? This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN,

RE: Code Question

2006-11-11 Thread Bobby Hartsfield
Would it actually fail/error? Sure it would. Example... cfif something !--- malformed comment -- Do something here. /cfif Everything after the opening cfif is a comment and the error should be that there is no closing /cfif for the cfif... Just try it... -Original Message- From:

Re: Code Question

2006-11-11 Thread Jason T. Slack
Hi, Would have to have a test, but to be honest I haven't hand coded a comment in years... That's what Eclipse is for they make it easy with a click of a button :) Would it actually fail/error? It fails for me, correcting the comment stops the errors. -Jason On Nov 11, 2006, at

Re: Code Question

2006-11-11 Thread Robertson-Ravo, Neil (RX)
Wow, just shows you how lazy an IDE can make me .. i have never coded a comment in years like I noted, always use the handy insert comment buttons... This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,

More DSN Troubles

2006-11-11 Thread Jason T. Slack
I have an application.cfc that looks like: !--- Application.cfm --- cfcomponent output=false cfset THIS.name = webPOS cffunction name=onApplicationStart returnType=boolean output=false !--- When did the application start? --- cfset APPLICATION.appStarted = now()

Re: More DSN Troubles

2006-11-11 Thread Robertson-Ravo, Neil (RX)
I can only see you setting application.dsn, you are however setting application.datasource. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains

Re: More DSN Troubles

2006-11-11 Thread Robertson-Ravo, Neil (RX)
Sorry, damn Blackberry messing up text Damn Suretype... I meant to say you are not setting application.dsn, but you are setting application.datasource. A simple cfdump var=#application# will show you your vars. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,

Re: More DSN Troubles

2006-11-11 Thread Doug Brown
WEll Jason, you are setting your Dsn twice in your application. first you are setting it in the application scope and then you are setting it in the request scope. You only need to set your datasource once and choose between the application or request scope. IE: cfset application.datasource =

Re: More DSN Troubles

2006-11-11 Thread Jason T. Slack
Opps, good catch, Yes this and restarting CF fixed that issue. Thanks again, -Jason On Nov 11, 2006, at 10:04 AM, Robertson-Ravo, Neil (RX) wrote: Sorry, damn Blackberry messing up text Damn Suretype... I meant to say you are not setting application.dsn, but you are setting

Re: More DSN Troubles

2006-11-11 Thread Robertson-Ravo, Neil (RX)
That too, but the problem here looks to be the fact he is asking for application.dsn but never setting it. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It

cfimport bug?

2006-11-11 Thread Chris Blackwell
I've been messing around with cfimport today and i've come accross a strange behaviour. I created a custom tag /mytagdir/test.cfm - cfoutput#getbasetaglist()#/cfoutput And then called it in two slightly different ways cfimport taglib=/mytagdir/ prefix=mytag mytag:test br / cfimport

Re: OT:sending mail to cf-talk - Base64 encoded mail is prohibited.

2006-11-11 Thread Jochem van Dieten
Casey Dougall wrote: I'm not trying to do anything funky with this reply I was trying to send but it keeps coming back rejected. am I the only one having this problem? Why would you want to send Base64 encoded e-mail? Jochem

Re: OT:sending mail to cf-talk - Base64 encoded mail is prohibited.

2006-11-11 Thread Casey Dougall
I'm not, just replying to a message like normal. It was the live.com thread. Casey On 11/11/06, Jochem van Dieten [EMAIL PROTECTED] wrote: Casey Dougall wrote: I'm not trying to do anything funky with this reply I was trying to send but it keeps coming back rejected. am I the only one

Re: Cool things about cf

2006-11-11 Thread DRE
Grief these tutorials take forever to write! If anybody wants to see what I've written and or give me some feedback, it will be welcome. http://increasetheknowledge.com/t-c9d22c37a5e3e708dc3971ac6_Coldfusion_out_of_the_box.html Please respond directly to me at [EMAIL PROTECTED] Also, please

Data from MySQL

2006-11-11 Thread Jason Slack
So I am doing good on my 2nd day with CF. How does one get data from MySQL? I can write the query and get a resultset back, but how do I get inside the resultset? Like say I query a table called Locations and gets Locationname in return. How do I use Locationname values in my app? I want the

RE: Data from MySQL

2006-11-11 Thread Matt Quackenbush
http://livedocs.macromedia.com/coldfusion/7/index.html LiveDocs is your friend. Arguably your best friend. :-) -Original Message- From: Jason Slack [mailto:[EMAIL PROTECTED] Sent: Saturday, November 11, 2006 3:13 PM To: CF-Talk Subject: Data from MySQL So I am doing good on my 2nd

Re: RE: Data from MySQL

2006-11-11 Thread Jason Slack
I have been searching on LiveDocs for an hour and not finding what I need. I guess I dont know how to formulate my query into words that get me the right answer. -Jason On 11/11/06, Matt Quackenbush [EMAIL PROTECTED] wrote: http://livedocs.macromedia.com/coldfusion/7/index.html LiveDocs is

RE: RE: Data from MySQL

2006-11-11 Thread Matt Quackenbush
Look at the data output tags (http://livedocs.macromedia.com/coldfusion/7/htmldocs/0199.htm#2459638), and more specifically the cfoutput tag (http://livedocs.macromedia.com/coldfusion/7/htmldocs/0309.htm#1101659). Everything you are asking is stuff that should be found in a matter of

RE: Data from MySQL

2006-11-11 Thread Dave Watts
How does one get data from MySQL? I can write the query and get a resultset back, but how do I get inside the resultset? Like say I query a table called Locations and gets Locationname in return. How do I use Locationname values in my app? I want the value from the record that is

RE: RE: Data from MySQL

2006-11-11 Thread Snake
You just output the query cfoutput query=queryname /cfoutput And inside the cfoutput you reference your columns Firstname : #firstname# Lastname : #lastname# Etc - Russ -Original Message- From: Jason Slack [mailto:[EMAIL PROTECTED] Sent: 11 November 2006 21:36 To: CF-Talk Subject:

Re: RE: Data from MySQL

2006-11-11 Thread Doug Brown
And along the lines of what Matt has said, I think you said previously that you had a copy of Forta's book on Coldfusion. If I am wrong, pick one up. Since you are new to Coldfusion, I would suggest sitting down and reading the book from front to back, and then going back to the excercises. There

Re: Does Coldfusion obey Windows Hosts

2006-11-11 Thread Joshua Cyr
Remember that CF caches DNS information. if for some reason it wasn't working before CF will just remember that. Restart the CF service to clear it. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of

Re: Cool things about cf

2006-11-11 Thread Doug Brown
Category SubCategory Sub SubCategory Name Quantity Birds Large Vegetarian Ibis 3 Birds Large Vegetarian Flamingo 8 Birds Large Meatatarian Heron 2 Birds Large Meatatarian Vulture 2 Birds Small Vegetarian HummingBird 20 Birds Small Vegetarian Sparow 1

Group-level security theory

2006-11-11 Thread Pete Ruckelshaus
Hi all, I'm building a content management application targeted at small-businesses. Currently, I am using group-level security (individual users are assigned to groups, groups are granted or declined rights at the page level). Unfortunately, this method requires that I hard code the groups that

Looping dates returning odd value

2006-11-11 Thread Mike | NZSolutions Ltd
Hi guys, I have a calendar of daily rates (see below). I am using cfloop to loop from the checkin to the checkout date. The calendar displays fine but the value of 'idx' appears as... 39049 39050 39051 ... ?? It should appear as the date of that particular day? Can anyone see what is causing

Extensions

2006-11-11 Thread Jason T. Slack
Hello All, First let me say that I am thankful for the help you all have provided so far. It is helping me hit the ground running and getting up to speed as quickly as possible. Thanks! I have another question: Extensions. The normal extension is .cfm, but then there are .cfc files. Are

Re: Data from MySQL

2006-11-11 Thread Jason T. Slack
Hi Doug, Thanks for the suggestions, I am enjoying the book so far. It is a great read. I am actually sitting down now to go through the 30 minute tutorial. -Jason On Nov 11, 2006, at 6:05 PM, Doug Brown wrote: And along the lines of what Matt has said, I think you said previously that

Re: Data from MySQL

2006-11-11 Thread Jason T. Slack
Dave, I'll go through it this evening. Maybe it will help with the initial questions that I am having. -Jason I suggest you read the section of the documentation entitled Getting Started Building ColdFusion MX Applications. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig

RE: Extensions

2006-11-11 Thread Snake
If you use the wsconfig tool to create your connectors, it will add ALL required mappings to your site, there are several others. You cannot browse directly to a cfc file, as it it will try to launch the cfc explorer. Russ -Original Message- From: Jason T. Slack [mailto:[EMAIL

Re: Looping dates returning odd value

2006-11-11 Thread Doug Brown
Not sure if this is the problem, but you seem to have a nesting problem with your cfloop at least that is what I am seeing. Does not seem to be closing properly. cfloop from=#getBooking.dCheckin#to=#getBooking.dCheckout# index=idx cfoutput td valign=top class=daydiv

Re: Looping dates returning odd value

2006-11-11 Thread Paul Hastings
Mike | NZSolutions Ltd wrote: I have a calendar of daily rates (see below). I am using cfloop to loop from the checkin to the checkout date. The calendar displays fine but the value of 'idx' appears as... 39049 39050 39051 ... ?? It should appear as the date of that particular day?

Search Questions

2006-11-11 Thread Les Mizzell
It's been awhile since I've set up a search engine for a site. The last site I did a search for was a mixed static/dynamic content, which caused a lot of head-scratching. I finally *faked* it by setting a reference table that pretty much included page_content and page_link columns and just

Re: Cool things about cf

2006-11-11 Thread Denny Valliant
Yup, I agree with the easy Java. There /is/ a lot of cool java stuff out there. Writing cf-java is super easy, compared to java java, and CF has the nifty parts without the PITA parts, for the most part. d-: The built in error trapping/handling is pretty slick, too. It's super flexible, which

Re: Looping dates returning odd value

2006-11-11 Thread Mike Little
paul, you are a legend. isNumericDate returns true for each value. am using LSDateFormat to display dates. thanks heaps. mike Mike | NZSolutions Ltd wrote: that is the date of that particular day. cf dates are decimal days since 31-Dec-1899 (like excel db2). if you want to display the date

Re: Extensions

2006-11-11 Thread Matt Williams
cfc files are ColdFusion Components and are pure CF. They can be called, but not like a regular .cfm file. You have to invoke (or instantiate) a cfc first (several ways to do this). Then you can call the various functions that would be defined by the programmer inside the CF Component. Matt On

Re: Extensions

2006-11-11 Thread Jon Clausen
Jason, You can post directly to a function from within a CFC if you specify 'access=remote' in the function tag (then set your form to post to mycfc.cfc?method=postMyData), but for many reasons, in most cases, it's better to call the function from within your .cfm. Something like this:

Re: Search Questions

2006-11-11 Thread Denny Valliant
On 11/11/06, Les Mizzell [EMAIL PROTECTED] wrote: ... What's the most optimal way of handling this search? How do the rest of you handle searches for mixed static/dynamic content? I've used htdig, but since you're on a shared server, that's probably out. Is something like google an option? Or

Re: Group-level security theory

2006-11-11 Thread Barney Boisvert
The typical name for that arrangement is role based security, and it's typical counterpart is permission based security. To align the terminology, let me restate what you said. With role based security, your application has a set of defined roles that users are assigned to. These roles are then

Re: ColdFusion Time Out Error....HELP!!!!!

2006-11-11 Thread Russell Christiansen
What would cause a database to hiccup? Do you have any ideas? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a

Re: Cool things about cf

2006-11-11 Thread Dan Plesse
I am interested to find out how other CFers do line by line search replace and the insert text like Dreamweaver does it. What do CF developers do if there is multiple steps are needed to change a html file for example. I guess they play with the whole html file as one big chunk of text and use

Re: Cool things about cf

2006-11-11 Thread DRE
Just keeping the non coldfusioners slightly confused. DRE On 11/11/06, Doug Brown [EMAIL PROTECTED] wrote: Category SubCategory Sub SubCategory Name Quantity Birds Large Vegetarian Ibis 3 Birds Large Vegetarian Flamingo 8 Birds Large Meatatarian Heron 2 Birds

CF based Newsletter System?

2006-11-11 Thread Eric J. Hoffman
I have been using IntelliMailBot forever, and I did a little searching without much successis there a good newsletter program out there that is CF based and a tad extensible? Allow multiple lists and opt out subscriptions, etc? Thanks!

Re: Group-level security theory

2006-11-11 Thread Matt Robertson
Barney gave a pretty good overview. When I wrote AccessMonger, I pretty much followed the same model he describes. Permissions give you absolutely granular control over literally anything you please, but as your system grows you could potentially wind up with zillions of permissions. To help

Re: Data from MySQL

2006-11-11 Thread Mike Kear
Jason learning new technology is often not so much cramming information into your brain but learning how to find out stuff you dont know When you dont know how to do something, the first thing to reach for is your best frends, Ben Forta and Nate Weiss. Since they're not sitting beside you, go for

Re: Could not generate stub objects for web service invocation

2006-11-11 Thread Dan Plesse
Interesting. Is this wen service running on a dev net licence? It could be dang watermark issue if it is. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your