Re: extra lines in rss

2007-11-09 Thread Azadi Saryev
have you tried 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 now ColdFusion Today ColdFusion 8 beta - Build

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 Quoted Strings within #baseString#

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: Month text is being outputted using monthasstring() function. Anyone com

Re: Determing last record in a loop

2007-11-09 Thread Barney Boisvert
is the simple case. With start/end on the loop, I'd expect the equivalent would be , where myEndRowVar is the variable you use to set the 'end' attribute. Just output currentRow inside your loop, and the right comparison should be obvious. cheers, barneyb On Nov 8, 2007 8:15 PM, Steve Sequenzi

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 t

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 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: change style I have not tested this, so it may not work. I

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 obfus

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 a

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 Moore

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 Ha

RE: Determing last record in a loop

2007-11-09 Thread Andy Matthews
-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 figure out if there is a way for me to kno

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 #authorName# #bookTitle# Hi there I understand t

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?

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 data

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

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 PB&J. 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. and then use \(#thing#/#thing#\) For something this trivial, it seems a bit pointless, but for large and complicated subexpressions, it might be worthwhile. I know that

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 outpu

Re: CFStoredProc

2007-11-09 Thread Bruce Sorge
It looks like you are missing the DBVAR name. CF Developer wrote: > This should have been simple as making a PB&J. > > I am calling a SP (SQL Server 2005) using the > CFStoredProc function and to get the result set returne

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 th

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: CF Developer wrote: > > This should have been simple as making a PB&J. > > I am calling a SP (SQL Server 2005) using the > CFSt

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 will

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, get

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 go

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 w

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. CF Developer wrote: > The storedProc only returns a single interget value not a > database object or field. > It runs a Quer

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 [a

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 dis

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 ColdF

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 run

Re: extra lines in rss

2007-11-09 Thread daniel kessler
>have you tried 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 solutions at at top companies around the world

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. t

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 ou

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 ser

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 Man

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(i

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

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 If you can span your subnets and I think snmp needs to be running, but then dump this data into a db and query it for "coldfusion" Jeremy Kei

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 lo

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? Spry.Data.Re

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" Subject: cfspry

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