CFC in application scope....or else?

2007-11-08 Thread Joeri B
Hi, I've got a small application with some CFC's (no dependencies yet). At my work we cach/put our CFC's in the application scope. That works just fine, but I get the feeling it isn't right. It is really easy though. And the performance is superb. On the other side you've got frameworks like

Re: cfimage captcha

2007-11-08 Thread gary gilbert
Dave, I am pretty sure you are SOL on this one. The only suggestion I would have is to wrap your captcha image in a div tag with a white background or some other neutral color. -- Gary Gilbert http://www.garyrgilbert.com/blog

Re: CFC in application scope....or else?

2007-11-08 Thread Todd
What's wrong with putting objects in application scope? As long as it's done right, then what's the issue? On Nov 8, 2007 7:04 AM, Joeri B [EMAIL PROTECTED] wrote: Hi, I've got a small application with some CFC's (no dependencies yet). At my work we cach/put our CFC's in the application

Re: CFFTP list folder with leading numbers issue

2007-11-08 Thread Brian Love
Todd: Thanks for the reply. Yep, I'm doing just a straight list, and then dumping the query object. If I change the name to 2006_budgets instead of 2006 budgets it works just fine, meaning it returns 2006_budgets. It appears that this problem is only when there is a space between the

Odd cfc binding issue with CF8

2007-11-08 Thread [EMAIL PROTECTED]
I just upgraded to cf8 and was playing around with databinding. Specifically using Ben Forta's example with two-related-selects. If my root folder for the app is called dev.in.myrootfolder the form can't find the cfc to bind to. I can invoke it from a cfm page however. If I name my apps

RE: 2 cfforms on same page problem

2007-11-08 Thread Michael Appenzellar
Yes.basically I have a search field at the top of the page (part of navigation) and then within the page body I have another form. I suppose a quick fix is to eliminate the top cfform being the only task it is doing is checking for a required field, but was curious if it is possible to use

Re: Weird CF8 issue, Customer gets asked for RDS login after redirect from app login

2007-11-08 Thread Jochem van Dieten
Keith, Jeremy wrote: I should define that this is only happening with ONE specific customer, for the others it works as designed I suspect that customer has a broken Web Application Firewall that is incorrectly stripping some URL variable from a request (i.e. changing a request for

RE: Weird CF8 issue, Customer gets asked for RDS login after redirect from app login

2007-11-08 Thread Keith, Jeremy
So because their PUBLIC IP block is a 192 block (there are public 192 addresses) Cold Fusion is mis interpreting this as a direct request? Jeremy Keith Network Administrator Rand-Whitney Group LLC One Agrand Street Worcester, MA 01607 Office: (508) 890-7032 -Original Message- From:

Re: CFC in application scope....or else?

2007-11-08 Thread James Holmes
No issue, since by default ColdSpring caches objects in the application scope anyway. As for the original question, yes, there's less value in a dependency injection framework if you don't have dependencies to inject. On Nov 8, 2007 10:12 PM, Todd [EMAIL PROTECTED] wrote: What's wrong with

extra lines in rss

2007-11-08 Thread daniel kessler
I have an rss feed and recently, while validating, I noticed that it has alot of blank lines in it - about 40 per item. I've not ben able able to figure out why so far. Any pointers would be great. Here's the code: cfquery name=retrieve_xml datasource=dch SELECT

Re: CFFTP list folder with leading numbers issue

2007-11-08 Thread Todd
I'd report it to Adobe then. On Nov 8, 2007 8:17 AM, Brian Love [EMAIL PROTECTED] wrote: Todd: Thanks for the reply. Yep, I'm doing just a straight list, and then dumping the query object. If I change the name to 2006_budgets instead of 2006 budgets it works just fine, meaning it returns

Re: Odd cfc binding issue with CF8

2007-11-08 Thread Todd
It's probably looking for /dev/in/myrootfolder thanks to the periods. Change it to dev_in_myrootfolder and watch what happens. On Nov 8, 2007 8:26 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I just upgraded to cf8 and was playing around with databinding. Specifically using Ben Forta's

Re: Odd cfc binding issue with CF8

2007-11-08 Thread James Holmes
Do you mean you have periods in the actual name of the folder? If so, don't. dev.in.myrootfolder means /dev/in/myrootfolder/ as far as CF is concerned. On Nov 8, 2007 10:26 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I just upgraded to cf8 and was playing around with databinding.

RE: cfexecute ffmpeg

2007-11-08 Thread Michael Appenzellar
I am working with ffmpeg but it doesn't seem to like the .avi or the ..mp4 I tried...any idea? With the .mp4, it made my computer start beeping...was sorta crazy ;o) Michael Appenzellar Mirame Interactive http://www.mirameinteractive.com

RE: MIME type

2007-11-08 Thread Dave Francis
Unfortunately, I was trying to detect if somebody had, for instance, simply renamed a text (.txt) file to .jpg - Wondered if there was something - maybe in the file - that would give me the true type. -Original Message- From: Dave l [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07,

Coldfusion XML Case Sensitivity

2007-11-08 Thread Richard White
Hi, we are building an xml document through coldfusion. when we add an attribute like the followingL MyDoc.rows.XmlChildren[1].XmlAttributes.id in the xml document the id attribute is showing as uppercase ID. we need to have it print in the xml document as lower case. we would appreciate

Re: extra lines in rss

2007-11-08 Thread Todd
cfoutput / loops do that. Remove the lines postprocessing? I'm not sure that cfsilent would fix the issue. On Nov 8, 2007 8:40 AM, daniel kessler [EMAIL PROTECTED] wrote: I have an rss feed and recently, while validating, I noticed that it has alot of blank lines in it - about 40 per item.

Where can I learn about Verity in CF8?

2007-11-08 Thread Ali Majdzadeh
Hi: I want to learn about Verity searching in CF8. I googled and googled and googled but no straight tutorial that describes it from the begining to the intermediate in details! Please help me find a resource. Thanks Benign ~|

RE: extra lines in rss

2007-11-08 Thread Andy Matthews
Every coldfusion tag that doesn't generate output (cfset, cfloop, cfif) is going to be a blank line in your output file. I suppose if you need to change it, you could surround those lines with cfsetting enableoutputonly=true cfset something = else cfsetting enableoutputonly=false andy

Re: extra lines in rss

2007-11-08 Thread daniel kessler
cfoutput / loops do that. Remove the lines postprocessing? I'm not sure that cfsilent would fix the issue. I didn't receive a change by adding cfsilent, though I thought it would work. Oddly, even that savings wouldn't add up to 40 blank lines.

RE: clearing Sessions on a per-site basis

2007-11-08 Thread Jonathon Stierman
Thanks! I was secretly hoping there was an official way -- maybe in the CFIDE/admin of CF8 -- but that is good to know I can get Session data if I really need it. What I ended up doing this time is hacking my own implementation. I added a method to my new object and have

RE: Coldfusion XML Case Sensitivity

2007-11-08 Thread Dave Watts
we are building an xml document through coldfusion. when we add an attribute like the followingL MyDoc.rows.XmlChildren[1].XmlAttributes.id in the xml document the id attribute is showing as uppercase ID. we need to have it print in the xml document as lower case. I don't know if this

Re: Where can I learn about Verity in CF8?

2007-11-08 Thread Raymond Camden
Not to be silly- but did you try the docs? The Developers Guide includes 2 chapters on it. It covers quite a bit. On Nov 8, 2007 9:10 AM, Ali Majdzadeh [EMAIL PROTECTED] wrote: Hi: I want to learn about Verity searching in CF8. I googled and googled and googled but no straight tutorial that

Re: Image Management

2007-11-08 Thread Claude Schneegans
Depends on what the image represents. Ah ah, it's funny how much time you can spend just finding details to contradict me ;-) Of course, IF you're working with Binary information in Well Known Binary (WKB) format, AND you have a database capable of reading details in that format, then you

Re: Where can I learn about Verity in CF8?

2007-11-08 Thread Ali Majdzadeh
Not to be silly- but did you try the docs? The Developers Guide includes 2 chapters on it. It covers quite a bit. On Nov 8, 2007 9:10 AM, Ali Majdzadeh [EMAIL PROTECTED] wrote: Hi: I want to learn about Verity searching in CF8. I googled and googled and googled but no straight tutorial

cfajaxproxy form submission

2007-11-08 Thread Nick Cernis
What's the best way to handle forms that are submitted via cfajaxproxy using the return key? For example, the following form is correctly submitted asynchronously when the Submit button is pressed, but incorrectly submitted via a GET request if the user just hits the return key after filling

Re: Weird CF8 issue, Customer gets asked for RDS login after redirect from app login

2007-11-08 Thread Kris Jones
I've seen strange redirects or errors happen for only specific customers on our app as well. We've spent time trying to track it down to some strange network configuration thing. In the end, it almost always turns out to be application logic that is causing it to happen. In our case, our

RE: CFC in application scope....or else?

2007-11-08 Thread Dave Watts
Which one (CFC in application scope OR framework) is the best practice for a small application? Why do you think that there is a single, universal best practice that answers this question? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest

WebManiacs 2008 conference announcement

2007-11-08 Thread Dave Watts
Greetings everyone! The call for papers for WebManiacs 2008 has been extended to Nov. 30. The 3 day FLEX+AIR combined with 2 day CF+AIR conference will be held in Washington DC, May 19-23rd. The conference will have eight concurrent tracks, four of which will involve hands-on training. Please

Re: changing a css file via coldfusion

2007-11-08 Thread Andrew Grosset
Yes, but first I would try doing it with just javascript /dhtml in the browser. search google for javascript change style. Andrew. Is it possible create a way using coldfusion which would allow the user to change the current page style by selecting a link on the page? Seems like it

Re: Coldfusion XML Case Sensitivity

2007-11-08 Thread JediHomer
Try MyDoc.rows.XmlChildren[1].XmlAttributes[id] instead... HTH On 08/11/2007, Richard White [EMAIL PROTECTED] wrote: Hi, we are building an xml document through coldfusion. when we add an attribute like the followingL MyDoc.rows.XmlChildren[1].XmlAttributes.id in the xml document the

Re: CFFTP list folder with leading numbers issue

2007-11-08 Thread Brian Love
Todd: Yep, forwarded this on to Damon... we'll see what happens next. Thanks, Brian I'd report it to Adobe then. On Nov 8, 2007 8:17 AM, Brian Love [EMAIL PROTECTED] wrote: ~| Get the answers you are looking for on the

RE: Weird CF8 issue, Customer gets asked for RDS login after redirect from app login

2007-11-08 Thread Keith, Jeremy
I should also add that I can login as the user from my location, and from my home with his credentials without an issue. Jeremy Keith Network Administrator Rand-Whitney Group LLC One Agrand Street Worcester, MA 01607 Office: (508) 890-7032 -Original Message- From: Kris Jones

Re: Tracking down server issues MX 7

2007-11-08 Thread Josh Nathanson
**My real question, after all this setup: what kind of tools, services, software could one use to look deeper into the CF server processes. FusionReactor? More? We need to be able to definitively log information as baselines, and prove to management that it's not our servers or

Re: CFC in application scope....or else?

2007-11-08 Thread Brian Kotek
All Singletons are set up in the Application scope regardless of whether you do it yourself or use a dependency injection framework. The benefits of the DI frameworks have more to do with managing dependencies in your model. All that said, I'd recommend looking at ColdSpring for about any size

Re: MIME type

2007-11-08 Thread Dave l
will that work on cf5 though? http://coldfused.blogspot.com/2007/06/finding-image-type-for-file.html ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta -

RE: CFC in application scope....or else?

2007-11-08 Thread Rick Faircloth
I'm sure he's just looking for observations/pros/cons about the direction he's taking. Like me, before swimming in unknown waters, I check with the locals about possible sharks in the waters. But everyone keeps answering his question with more questions. Rick -Original Message- From:

RE: CFC in application scope....or else?

2007-11-08 Thread Dave Watts
I'm sure he's just looking for observations/pros/cons about the direction he's taking. Like me, before swimming in unknown waters, I check with the locals about possible sharks in the waters. But everyone keeps answering his question with more questions. Why do you think that is? His

Re: extra lines in rss

2007-11-08 Thread daniel kessler
Every coldfusion tag that doesn't generate output (cfset, cfloop, cfif) is going to be a blank line in your output file. I suppose if you need to change it, you could surround those lines with cfsetting enableoutputonly=true cfset something = else cfsetting enableoutputonly=false No, that didn't

Re: Quirks using cfdiv

2007-11-08 Thread Cutter (CFRelated)
You wouldn't bind a cfdiv to a cfc, as the cfc would only return a JSON dataset. You would bind to a cfm page that called the cfc and formatted the results. That formatted display would then be loaded into the cfdiv. Steve Cutter Blades Adobe Certified Professional Advanced Macromedia

Re: changing a css file via coldfusion

2007-11-08 Thread Ben Doom
Well, you could store which stylesheet they are using in a session variable, change it when the click the links, and include it dynamically. There are lots of other ways to do it, but in lieu of more info, that's what I would suggest. --Ben Doom John P wrote: Is it possible create a way

mySQL Restore DB by Folder

2007-11-08 Thread Chris Martin
I just recently reinstalled my OS. After I reinstalled mySQL, I attempted to place my databases in the /data folder. The databases show up, but not the tables...any ideas would be greatly appreicated! -- Chris Martin ~|

Re: cfimage captcha

2007-11-08 Thread Dave l
I was thinking that.. I do own cf_captcha and can use that, I might just make a refresh button next to the captcha. I had thought somewhere I read you could make the bg png yourself but I think that was in the cf_captcha docs. thanks anyways! Dave, I am pretty sure you are SOL on this one.

RE: Image Management

2007-11-08 Thread Rich
Depends on what the image represents. Ah ah, it's funny how much time you can spend just finding details to contradict me ;-) Of course, IF you're working with Binary information in Well Known Binary (WKB) format, AND you have a database capable of reading details in that format, then

RE: Weird CF8 issue, Customer gets asked for RDS login after redirect from app login

2007-11-08 Thread Keith, Jeremy
Ya, unfortunately there are no options for the customer, but I'll keep digging. Jeremy Keith Network Administrator Rand-Whitney Group LLC One Agrand Street Worcester, MA 01607 Office: (508) 890-7032 -Original Message- From: Kris Jones [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: cfoutput group with totals

2007-11-08 Thread Janet MacKay
Hoe do you include a count after the books and before the next author name. Do you mean something like this? cfoutput query=getAuthorsAndBooks group=authorname b#authorName#/b cfset bookCount = 0 ul cfoutput li#bookTitle#/li cfset bookCount = bookCount + 1

ColdFusion Home Directory Problem

2007-11-08 Thread David Mineer
http://localhost/index.html points to C:\inetpub\wwwroot\index.html http://localhost/index.cfm points to C:\coldfusion8\wwwroot\index.cfm I have deactivated the builtin coldfusion server and I use iis. I cannot get it to map to C:\inetpub\wwwroot. I have been able to work around this using

Quirks using cfdiv

2007-11-08 Thread [EMAIL PROTECTED]
I'm binding cfdiv to a cfc that runs a simple query that may give more than one result. Works great, except cfdiv only displays the first result. For my cfc I have: cffunction name= gettires access= remote returnType= any cfargument name= model type= string required= true

Re: Ajax and ColdFusion

2007-11-08 Thread Brian Kotek
http://www.catb.org/~esr/faqs/smart-questions.html On Nov 8, 2007 2:08 PM, erik tom [EMAIL PROTECTED] wrote: In my form I am trying to implement Up/Down movement and store the changes into database without refreshing the page. In order to accomplish this I would like tio use Ajax . So that

RE: changing a css file via coldfusion

2007-11-08 Thread Dave Francis
Not without reloading the page, of course. Then you can use a url variable in the link to determine which of any number of separate stylesheets to load. Without the reload, I think you're confined to Javascript/dhtml -Original Message- From: John P [mailto:[EMAIL PROTECTED] Sent:

Re: Coldfusion XML Case Sensitivity

2007-11-08 Thread Richard White
thanks for your replies that worked perfect :) ~| 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:

RE: cachedwithin queries of same name, caching advise

2007-11-08 Thread Dave Watts
If I have various queries using the same query name but different sql can they all be cached at the same time, or will the new one overwrite the last one because of the name? For example, search queries. My understanding is that all the queries will be cached if they're different. I'm

Re: cfajaxproxy form submission

2007-11-08 Thread Nick Cernis
Add method=post and use onsubmit=return false;? Is there a reason why there's no method? Thanks for the reply and for your thoughts, Todd. Specifying method=post wouldn't make much difference, I'm afraid - using return false; in the submit handler means the form never gets the chance to

cfoutput group with totals

2007-11-08 Thread Toby King
cfoutput query=getAuthorsAndBooks group=authorname b#authorName#/b ul cfoutput li#bookTitle#/li /cfoutput /ul /cfoutput Hi there I understand the piece of code well – so that’s cool – just want to try and enhance the code a fraction. I want to try and place after the list of books for

Ajax and ColdFusion

2007-11-08 Thread erik tom
In my form I am trying to implement Up/Down movement and store the changes into database without refreshing the page. In order to accomplish this I would like tio use Ajax . So that what I came up with Hidden variable: cfoutput input type=hidden Name=FieldsSave id=FieldsSave/cfoutput 2

greying out part of a form

2007-11-08 Thread Toby King
Hi there I have a form which I am getting users to complete. Based on the result of choosing various options on the form I would like somehow to grey out sections on the form (basically so that if a user selects on option they then go on to fill the appropriate section of the form and the

Re: Quirks using lt;cfdivgt;

2007-11-08 Thread Carl Von Stetten
Jeff, Referencing a query and column name (cfset result=data.tirerear) will only return the first record, no matter how many records are in the query's results. You might try something like: cfset result=ValueList(data.tirerear) OR cfset result=QuotedValueList(data.tirerear) HTH, Carl

cachedwithin queries of same name, caching advise

2007-11-08 Thread stylo stylo
If I have various queries using the same query name but different sql can they all be cached at the same time, or will the new one overwrite the last one because of the name? For example, search queries. I'm wondering how best to serve the category and search results. We have about 1500

Re: MIME type

2007-11-08 Thread Todd
http://coldfused.blogspot.com/2007/06/finding-image-type-for-file.html On Nov 8, 2007 9:54 AM, Dave Francis [EMAIL PROTECTED] wrote: Unfortunately, I was trying to detect if somebody had, for instance, simply renamed a text (.txt) file to .jpg - Wondered if there was something - maybe in

Re: cfajaxproxy form submission

2007-11-08 Thread Todd
Nick, It does work, but you have to change your input type=button to input type=submit or at least put a submit() function on the button. If the form isn't submitting, there's a reason why and that's cause you're not triggering it. ~Todd On Nov 8, 2007 1:34 PM, Nick Cernis [EMAIL PROTECTED]

Re: MIME type

2007-11-08 Thread Will Tomlinson
will that work on cf5 though? http://coldfused.blogspot.com/2007/06/finding-image-type-for-file.html Is he usin like DBML or somethin?:) ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins

changing a css file via coldfusion

2007-11-08 Thread John P
Is it possible create a way using coldfusion which would allow the user to change the current page style by selecting a link on the page? Seems like it shouldn't be to difficult, I just can't think of how to do it. Thanks, John

Re: changing a css file via coldfusion

2007-11-08 Thread Charlie Griefer
On Nov 8, 2007 9:16 AM, John P [EMAIL PROTECTED] wrote: Is it possible create a way using coldfusion which would allow the user to change the current page style by selecting a link on the page? you got a few links to your previous question that showed how to do it client side. why would you

Re: cfoutput group with totals

2007-11-08 Thread Toby King
Well I had done this But the problem I have is that I am getting output like this IDTime Amount Erin 1292BB85-06-11-07 12:29 PM 65 135CC94A-06-11-07 04:14 PM 65 Totals$130.00 $130.00 Erin

Re: cfajaxproxy form submission

2007-11-08 Thread Todd
Add method=post and use onsubmit=return false;? Is there a reason why there's no method? On Nov 8, 2007 11:15 AM, Nick Cernis [EMAIL PROTECTED] wrote: What's the best way to handle forms that are submitted via cfajaxproxy using the return key? For example, the following form is correctly

Re: cfoutput group with totals

2007-11-08 Thread Toby King
Well I have basically got the same. The problem I'm having can be shown below: Harry Potter 1292BB85 $65 Cash 135CC94A $65 Cash Totals $130.00$130.00 Ben Forta 1292BB85 $65 Cash 135CC94A $65 Cash 135CC96B $65 Cash Totals

Re: greying out part of a form

2007-11-08 Thread Brian Love
Toby: You can do this using the disabled property of the form elements, which can be set on page load using the disabled attribute of the form element tag or programmatically using JavaScript to set the value to true or false. Hope this helps, Brian Hi there I have a form which I am

Re: cfimage captcha

2007-11-08 Thread Will Tomlinson
Dave, I am pretty sure you are SOL on this one. Ok, there's somethin' about this that's just FUNNY! :) ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates.

Re: Ajax and ColdFusion

2007-11-08 Thread Brian Love
You should look at the Sortable class as part of script.aculo.us - definitely a much better approach than the old up/down arrows! Best, Brian In my form I am trying to implement Up/Down movement and store the changes into database without refreshing the page. In order to accomplish this I

Reuse regular sub-expression in larger expression

2007-11-08 Thread Andy Matthews
Adam Howitt wrote a blog post asking for improvements to a regex that he wrote: http://tinyurl.com/yvzxjk This is what I came up with: \(-?[\w,.]+/-?[\w,.]+\) But I'm wondering if it's possible to reuse the first portion of the expression, rather than writing the same exact thing twice in one

Re: cfoutput group with totals

2007-11-08 Thread Janet MacKay
IS there anyway of controlling this to limit it to display just once. Yes. Move the totals _outside_ the inner cfoutput/cfoutput tags. See my previous example. Otherwise, #total# will output multiple times. cfoutput query=.. group=... #authorName# cfoutput #Books# /cfoutput

Re: Weird CF8 issue, Customer gets asked for RDS login after redirect from app login

2007-11-08 Thread Jochem van Dieten
Keith, Jeremy wrote: Ya, unfortunately there are no options for the customer, but I'll keep digging. But what is in your webserver log? Jochem ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with

Re: MIME type

2007-11-08 Thread Todd
Hell no. :) On Nov 8, 2007 3:01 PM, Dave l [EMAIL PROTECTED] wrote: will that work on cf5 though? http://coldfused.blogspot.com/2007/06/finding-image-type-for-file.html ~| ColdFusion 8 - Build next generation apps today,

RE: CFC in application scope....or else?

2007-11-08 Thread Rick Faircloth
The problem is, I didn't see any answer or guidance in the question. When someone has no clue about the broader implications of their question, they can't understand the significance of the response question. It's just obfuscation. Providing some background concerning why the question is

RE: Image Management

2007-11-08 Thread Rick Faircloth
For anyone interested, here's the final solution that's working perfectly: cffile action=upload filefield=photo_01_upload destination=#uppo# accept=image/jpg, image/pjpg, image/jpeg, image/pjpeg, image/png nameconflict=makeunique cfset form.photo_01=#cffile.serverfile#

Re: cfimage captcha

2007-11-08 Thread Dave l
I'll let that slide just because it IS your bday Dave, I am pretty sure you are SOL on this one. Ok, there's somethin' about this that's just FUNNY! :) ~| ColdFusion 8 - Build next generation apps today, with easy PDF

RE: greying out part of a form

2007-11-08 Thread Bobby Hartsfield
Set the fields to 'disabled' when you don't want them used. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with

Re: cfoutput group with totals

2007-11-08 Thread Adam Parker
Hi Toby - Have you tried: cfoutput query=getAuthorsAndBooks group=authorname b#authorName#/b ul li#bookTitle#/li /ul b#getAuthorsAndBooks.RecordCount# /cfoutput ~| ColdFusion 8 - Build next generation apps today, with

Re: extra lines in rss

2007-11-08 Thread Todd
Strip all the lines out after you're done building the feed? On Nov 8, 2007 2:39 PM, daniel kessler [EMAIL PROTECTED] wrote: Every coldfusion tag that doesn't generate output (cfset, cfloop, cfif) is going to be a blank line in your output file. I suppose if you need to change it, you could

Re: mySQL Restore DB by Folder

2007-11-08 Thread Mark Flewellen
I just recently reinstalled my OS. After I reinstalled mySQL, I attempted to place my databases in the /data folder. The databases show up, but not the tables...any ideas would be greatly appreicated! -- Chris Martin Generally when you want to restore databases with mysql you would use a

Re: cfoutput group with totals

2007-11-08 Thread Ian Skinner
b#authorName#/b ul cfoutput li#bookTitle#/li !--- PUT COUNTING LOGIC HERE --- /cfoutput /ul !--- PUT COUNT OUTPUT HERE --- /cfoutput You put the output you want between the two closing /cfoutput tags. Output there will appear once per group after the group details. Just as the /ul tag is

Re: cfoutput group with totals

2007-11-08 Thread Azadi Saryev
yes - put the code in the proper place - the outer cfoutput - like in Janet's example -- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com ~| Get involved in the latest ColdFusion discussions, product development sharing,

RE: Weird CF8 issue, Customer gets asked for RDS login after redirect from app login

2007-11-08 Thread Keith, Jeremy
Nothing at all, I've disabled the one little cfc call (returns text to the page every minute, just a clock) and he can log in for now. -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Thu 11/8/2007 4:28 PM To: CF-Talk Subject: Re: Weird CF8 issue, Customer gets

Determing last record in a loop

2007-11-08 Thread Steve Sequenzia
I have a loop that uses a cfquery with a start and end for paging. I am trying to figure out if there is a way for me to know if the current record in the loop is the last record. I know how to tell based on the query but I am not sure how to know based on the loop. Any help on the would be

Re: Quirks using cfdiv

2007-11-08 Thread Azadi Saryev
in addition to Cutter's answer: you ARE returning only ONE result from your cfc (and it is not of type query as CF rightly complains to you when you change the returntype attribute of your cffunction tag). you are using: cfset result=data.tirerear which will return the value of tirerear

Re: cfajaxproxy form submission

2007-11-08 Thread Todd
Or do this: form name=echo id=echo onsubmit=submit(); return false; ~Todd On Nov 8, 2007 8:32 PM, Todd [EMAIL PROTECTED] wrote: Nick, It does work, but you have to change your input type=button to input type=submit or at least put a submit() function on the button. If the form isn't

Re: changing a css file via coldfusion

2007-11-08 Thread Dave l
well technically you could use cfm variables in a css but you'd need to run it as a cfm file. And you would need to make a browser request but really that isnt all that bad unless you run your sites at CT ;)~ Is it possible create a way using coldfusion which would allow the user to

Re: greying out part of a form

2007-11-08 Thread Azadi Saryev
instead of 'greying out' parts of form and making your users scroll up/down past these disabled elements, consider putting conditional parts of your form in a div (or some other container) and hiding/un-hiding them as needed. you can do this by changing displayand/or visibility style