Re: extra lines in rss

2007-11-09 Thread Azadi Saryev
have you tried cfprocessingdirective suppresswhitespace='yes' at the top of your page? -- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com ~| Enterprise web applications, build robust, secure scalable apps today - Try it

Re: Reuse regular sub-expression in larger expression

2007-11-09 Thread Barney Boisvert
Yeah, you can do that. Here's a simple example of it in action (using the backreference to match quotes). It also uses a non-greedy modifier in there to avoid doing an incorrect match on the apostrophe within the double quotes. cheers, barneyb cfoutput cfset baseString = some 'text' with quotes

SetLocale problems

2007-11-09 Thread Michael Bramwell
Hi, I have been using the SetLocale function successfully on a xp box running CF8 dev edition. However the exact same code is not changing the output language when it is run on a linux box using CFMX 6.1. Heres the code: cfset SetLocale(French (Standard)) Month text is being outputted using

Re: Determing last record in a loop

2007-11-09 Thread Barney Boisvert
cfif currentRow EQ recordCount is the simple case. With start/end on the loop, I'd expect the equivalent would be cfif currentRow EQ myEndRowVar, where myEndRowVar is the variable you use to set the 'end' attribute. Just output currentRow inside your loop, and the right comparison should be

RE: greying out part of a form

2007-11-09 Thread William Seiter
If you use this method (which I think is the best visually), be careful on your 'action' page. Different browsers treat the 'visibility:hidden' form elements in a different manner. In some browsers, that 'hidden' section is sent with the form. In other browsers, that section is considered 'not

RE: changing a css file via coldfusion

2007-11-09 Thread William Seiter
In coldfusion, you would just put a cfif statement around the different LINK href=mystyle.css rel=stylesheet type=text/css choices. This would involve a new call to the server for each 'change' of style sheet. To do it while on the page (and without a call to the server), you could try: LINK

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

2007-11-09 Thread Charlie Griefer
On Nov 8, 2007 7:14 PM, Rick Faircloth [EMAIL PROTECTED] wrote: 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

Re: Wierd regex problem (isn't it always)

2007-11-09 Thread Andy Jarrett
Thanks guys for all your help its been a good regex learning experience as usual for me :) @Ben yours is the one i've gone with thank for the comments and explanation Andy J On Nov 7, 2007 8:24 PM, Ben Doom [EMAIL PROTECTED] wrote: A handful of comments: Backreferencing a single, static

OT: CFEclipse 1.3.1.6 Released

2007-11-09 Thread Mark Drew
I just wanted to post a note that this morning I did a release of CFEclipse 1.3.1.6. This is a bug-fix release, and has no extra features and is geared at some specific bugs: * 332 (File Explorer Doesn't Show Sub-Folders after upgrading to 1.3.1.5) * 368 (Passive FTP is not enabled) *

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

2007-11-09 Thread Rick Faircloth
what you may read as being condescending may actually be a very sympathetic attempt to help. True... which is why my comments were gentle in nature. (At least that was my intent... :o) I'm most often on the end of the one asking questions instead of being able to provide answers, so I know

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

2007-11-09 Thread Joeri B
Thanks for all the help. Meanwhile I played with LightWire to get a feel of true IoC. I used 2 cfc, and wired them together. Product CFC and a tax calculator CFC. Product CFC depended on tax calculator to exist. I got it now, I can make OO objects/CFC's which can be easily re-used in another

Re: Determing last record in a loop

2007-11-09 Thread Azadi Saryev
set some counter var and increment it by 1 with each loop iteration. compare it to query.recordcount to see if current record is the last one -- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com ~| ColdFusion 8 - Build next

RE: greying out part of a form

2007-11-09 Thread Bobby Hartsfield
I'd use display:none; instead of visibility but in either event, I've never seen parts of a form not get posted with the rest of the form just because it was hidden via css. ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com

Scheduled Task Priority

2007-11-09 Thread Steve Moore
Does a CF scheduled task have any higher priority than other CF requests? For example, if I have 10 CF tasks running and 50 more queued to run (10 threads max set in admin) and the time for a scheduled task is reached, does it get at the end or the front of the line of queued tasks? Steve

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

2007-11-09 Thread Tom Chiverton
On Friday 09 Nov 2007, Joeri B wrote: I got it now, I can make OO objects/CFC's which can be easily re-used in another application, or other CFC's. So I write less CFC's... And less fragile glue to hold them together too. I wrote a brief comparison of where LightWire and ColdSpring differ here

Re: Coldfusion XML Case Sensitivity

2007-11-09 Thread Tom Chiverton
On Thursday 08 Nov 2007, Richard White wrote: MyDoc.rows.XmlChildren[1].XmlAttributes.id If you think about it, this works the same as structs - struct.id === struct[ID]. -- Tom Chiverton Helping to augmentatively monetize internet applications on: http://thefalken.livejournal.com

RE: greying out part of a form

2007-11-09 Thread Andy Matthews
disabled=true -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 9:34 PM To: CF-Talk Subject: RE: greying out part of a form Set the fields to 'disabled' when you don't want them used. ...:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby

RE: Determing last record in a loop

2007-11-09 Thread Andy Matthews
cfif query.recordcount IS query.currentrow -Original Message- From: Steve Sequenzia [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 10:15 PM To: CF-Talk Subject: Determing last record in a loop I have a loop that uses a cfquery with a start and end for paging. I am trying to

RE: cfoutput group with totals

2007-11-09 Thread Andy Matthews
You could just alter your query slightly and let SQL do the counting for you. -Original Message- From: Toby King [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 2:22 PM To: CF-Talk Subject: cfoutput group with totals cfoutput query=getAuthorsAndBooks group=authorname

Re: ColdFusion Home Directory Problem

2007-11-09 Thread Tom Chiverton
On Thursday 08 Nov 2007, David Mineer wrote: it to quit referencing C:\coldfusion8\wwwroot. Change the '/' mapping ? -- Tom Chiverton Helping to preemptively consolidate killer m-commerce on: http://thefalken.livejournal.com This email is

RE: Scheduled Task Priority

2007-11-09 Thread Dave Watts
Does a CF scheduled task have any higher priority than other CF requests? For example, if I have 10 CF tasks running and 50 more queued to run (10 threads max set in admin) and the time for a scheduled task is reached, does it get at the end or the front of the line of queued tasks? No,

Re: mySQL Restore DB by Folder

2007-11-09 Thread Chris Martin
I have several ways to connect...running WAMP, so I have access via command line. I also have SQLyog and mySQL Administrator. Chris martin Mark Flewellen wrote: I just recently reinstalled my OS. After I reinstalled mySQL, I attempted to place my databases in the /data folder. The

RE: MIME type

2007-11-09 Thread Dave Francis
Only with my Access databases!:P -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Thursday, November 08, 2007 8:23 PM To: CF-Talk Subject: Re: MIME type will that work on cf5 though? http://coldfused.blogspot.com/2007/06/finding-image-type-for-file.html Is

RE: ColdFusion Home Directory Problem

2007-11-09 Thread Dave Watts
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 lmhosts file, but why does it do this. How can I get it to quit referencing C:\coldfusion8\wwwroot. You can reconfigure the CF web

CFStoredProc

2007-11-09 Thread CF Developer
This should have been simple as making a PBJ. I am calling a SP (SQL Server 2005) using the CFStoredProc function and to get the result set returned as nextval. Basically it should return an interget value.

Re: Reuse regular sub-expression in larger expression

2007-11-09 Thread Ben Doom
There may be a way, but I've not run across it yet. If you are really intent on it, you could simplify it using CF itself. cfset thing = -?[\w,.]+ and then use \(#thing#/#thing#\) For something this trivial, it seems a bit pointless, but for large and complicated subexpressions, it might be

RE: CFStoredProc

2007-11-09 Thread Dave Watts
I am calling a SP (SQL Server 2005) using the CFStoredProc function and to get the result set returned as nextval. Basically it should return an interget value. ... What is it I am missing? Without seeing the SP code, who can say? My guess is that your SP is returning an output

Re: CFStoredProc

2007-11-09 Thread Bruce Sorge
It looks like you are missing the DBVAR name. cfstoredproc datasource=#application.datasource# procedure=usp_select_nextval cfprocparam type=In cfsqltype=CF_SQL_VARCHAR value=DataTrack_Block dbvarname=insertfieldnamehere cfprocresult name = nextval /cfstoredproc CF Developer wrote:

Re: changing a css file via coldfusion

2007-11-09 Thread John P
Excellent, thank you all for the suggestions. It makes sense now. I think I'll experiment with both methods just to learn the process. Sorry about the double post of the question, I couldn't find my initial submission and thought it didn't post. As always you're very helpful, thanks!

Re: Reuse regular sub-expression in larger expression

2007-11-09 Thread Ben Doom
IIRC, this only works if you want the same string for both matches. I don't think that is what Andy wanted. --Ben Doom Barney Boisvert wrote: Yeah, you can do that. Here's a simple example of it in action (using the backreference to match quotes). It also uses a non-greedy modifier in

Re: CFStoredProc

2007-11-09 Thread Eric Cobb
cfprocresult is for returning a query result set. If you're not returning query, then you should use: cfprocparam type=OUT cfsqltype=CF_SQL_INTEGER variable=nextval CF Developer wrote: This should have been simple as making a PBJ.

Re: CFStoredProc

2007-11-09 Thread CF Developer
The storedProc only returns a single interget value not a database object or field. It runs a Query, gets a value, increments the value, updates the table and returns the new calculated value. such as: database table as a field called: thisVal and that field is set to 1 It

RE: CFStoredProc

2007-11-09 Thread Brad Wood
cfstoredproc.statuscode -Original Message- From: CF Developer [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 10:40 AM To: CF-Talk Subject: Re: CFStoredProc The storedProc only returns a single interget value not a database object or field. It runs a Query,

Re: CFStoredProc

2007-11-09 Thread gary gilbert
If you arent returning a result set then you should use a procparam with type=out. -- Gary Gilbert http://www.garyrgilbert.com/blog ~| ColdFusion is delivering applications solutions at at top companies around the world in

Finding ColdFusion servers

2007-11-09 Thread Ian Skinner
I have been tasked to bring some order to the chaos. Our organization pays for six ColdFusion licenses each year, but nobody has a definitive list of what machines have what ColdFusion installed on them. I have a vague memory that there is|was a tool that could survey a network and report on

Re: CFStoredProc

2007-11-09 Thread Bruce Sorge
You are right. I misread your issue. Since you are only wanting an output variable, you need to change the type to OUT and use the Variable attribute. cfprocparam cfsqltype=CF_SQL_INTEGER variable=nextval type=OUT CF Developer wrote: The storedProc only returns a single

For Sale: CF8 Standard -- New in Sealed Box

2007-11-09 Thread Kirk Holbrook
Hi, I hope this is okay to post here. The Community and OT lists seemed WAY OT. Long story short. I won CS3 Master Suite -- already had a copy. Swapped it to a friend for CF 8 Standard. I decided I needed Enterprise. New CF 8 Standard in a sealed box. $1100 OBO. Please email me at kholbrook

RE: greying out part of a form

2007-11-09 Thread Bobby Hartsfield
Yes... that would be setting them to 'disabled' ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 9:07 AM To: CF-Talk Subject: RE: greying out part of a form

Re: Finding ColdFusion servers

2007-11-09 Thread Bruce Sorge
I know that CF-8 has a License Scanner under Debugging and Logging. it will search your subnet for other running instances of CF. Not sure if this is what you are looking for. Bruce Ian Skinner wrote: I have been tasked to bring some order to the chaos. Our organization pays for six

Re: Finding ColdFusion servers

2007-11-09 Thread Ian Skinner
Bruce Sorge wrote: I know that CF-8 has a License Scanner under Debugging and Logging. it will search your subnet for other running instances of CF. Not sure if this is what you are looking for. Bruce I think that is what I was looking for. I just tried it on the developer version running

Re: extra lines in rss

2007-11-09 Thread daniel kessler
have you tried cfprocessingdirective suppresswhitespace='yes' at the top of your page? Tha helped a bit - removed 300 lines, but there are still 24 blank lines between items. Odd. ~| ColdFusion is delivering applications

Re: extra lines in rss

2007-11-09 Thread daniel kessler
Strip all the lines out after you're done building the feed? I could. I was first hoping to determine why they are there. I've almost set all the code one a couple of lines and I have whitespace suppressed. Anyhoo, I'll probably begin ripping out lines now. I guess I look for linefeeds.

Re: extra lines in rss

2007-11-09 Thread daniel kessler
Strip all the lines out after you're done building the feed? That worked fine - thanks. And have a good weekend.. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find

CF Dev Edition store local file on Network drive - help

2007-11-09 Thread coldfusion . developer
All, I'm trying to map my Webroot for local dev to a folder on a network drive. When I log into the CFAdmin and try to map the / it doesn't show the network drive. Then I added my account to the CF service so that it would be able to see the drives my accounts allows and then restarted the

RE: Finding ColdFusion servers

2007-11-09 Thread Dawson, Michael
There is a license scanner, but I don't think it works across subnets. There are a few solutions to this if these are Windows computers... Getting a list of computers is very easy if you are running Active Directory. Just query the AD LDAP server for Computer objects. 1. Use MS SMS (Systems

Re: ajaxcfc framework and CF problem

2007-11-09 Thread erik tom
I 1 drop down from where I would like to populate the data in to the text box. So in order to do this I am picked the ajaxcfc. So the code seems to be working, it gets all the requireq values but doe not populate into the box . Functions that I am usig : function doQuery(id)

ajaxcfc framework and CF problem

2007-11-09 Thread erik tom
I 1 drop down from where I would like to populate the data in to the text box. So in order to do this I am picked the ajaxcfc. So the code seems to be working, it gets all the requireq values but doe not populate into the box . Functions that I am usig : function doQuery(id){

Re: Finding ColdFusion servers

2007-11-09 Thread Bruce Sorge
Official definition of a subnet according to Search Networking: A subnet (short for subnetwork) is an identifiably separate part of an organization's network. Typically, a subnet may represent all the machines at one geographic location, in one building, or on the same local area network (LAN

Re: Finding ColdFusion servers

2007-11-09 Thread Ian Skinner
Dawson, Michael wrote: I'm sure there are other, better solutions, but this is all I can think of on a Friday. M!ke Thanks for your suggestion, unfortunately we are a mix of Unix and Windows systems here. ~| Get involved in

RE: Finding ColdFusion servers

2007-11-09 Thread Keith, Jeremy
What I do ... Is since I know all my servers and have their Ips listed in my asset management app db I just kicked off a CF execute cfsavecontent variable=result cfexecute name = c:\windows\system32\sc.exe arguments = \\#servers.computer_name# query

RE: CF Dev Edition store local file on Network drive - help

2007-11-09 Thread Russ
Are you doing this in IIS, Apache or what? Our webroots are sometimes on other PCs and it works just fine in Apache. Russ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 09, 2007 2:23 PM To: CF-Talk Subject: CF Dev Edition store local

cfsprydataset JSON question

2007-11-09 Thread Dan Vega
I am playing around with the new cfsprydataset tag and I have hit a wall. I am a bit of a spry newb as well so that could be my problem. The following code works great and via firebug i can see the returned data (see below) but nothing gets generated. What am i doing wrong? cfmodule

Re: cfsprydataset JSON question

2007-11-09 Thread Steve Milburn
It looks like the field names being returned are in all-caps, and the your bindings are not.  Try to capitalize your bindings in your spry output, ie {FNAME} and {LNAME}. Steve -Original Message- From: Dan Vega [EMAIL PROTECTED] Sent 11/9/2007 6:45:30 PM To: CF-Talk

Re: cfsprydataset JSON question

2007-11-09 Thread Dan Vega
That didnt do it, good try though, thanks! Dan On Nov 9, 2007 8:02 PM, Steve Milburn [EMAIL PROTECTED] wrote: It looks like the field names being returned are in all-caps, and the your bindings are not. Try to capitalize your bindings in your spry output, ie {FNAME} and {LNAME}. Steve