Re: dreamweaver upgrade and custom tag completion

2005-11-08 Thread Massimo Foti
I have some custom tags (PLUM) for which another developer created the xml files for tag completion for dreamweaver. I have been using them for quite some time in dreamweaver MX 2004. Just upgraded and they don't work anymore. I guess I have to move them to another folder. This presents

RE: cfxpdf performance issues

2005-11-08 Thread Robertson-Ravo, Neil (RX)
Well, I recently dumped the use of the CFX tag and just used the iText engine direct (which is what it uses anyway). I found it to be far faster. -Original Message- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: 05 November 2005 14:35 To: CF-Talk Subject: cfxpdf performance

RE: Oracle drivers (was: RE: [SPAM : 8.1] Re: Rumors from Max..)

2005-11-08 Thread Dave Watts
Oh, cool. Is there a big difference in the drivers? I'm assuming the DataDirect drivers work better but I'm guessing I could be wrong too? There are differences, although I'm not sure what they are, exactly. The DataDirect drivers may be better, but I suspect that depends on the specifics

preventing multiple form submissions

2005-11-08 Thread Protoculture
we would like to limit the amount of times a user may search/ie use our search facility as we think that we may be under some kind of script attack at the moment. What would be some solutions to prevent a certain number of form submissions from taking place in a given period of time?

Re: AD integration with CF

2005-11-08 Thread Howie Hamlin
Not without a VPN. HTH, Howie --- On Tuesday, November 08, 2005 1:51 AM, Taco Fleur scribed: --- I can't recall whether it is possible to enable AD integration when the web server is not within the same office? Example; Web Server is hosted with an ISP on a dedicated server that we can

Preventing users sharing accounts

2005-11-08 Thread John Miller
I have completed a site using Coldfusion. When a user buys a subscription to the site, the license is for that person on the computer he purchased the subscription on. I do not want people sharing passwords. I have implemented a few different authentication methods including an activeX controller

Re: Preventing users sharing accounts

2005-11-08 Thread mac jordan
On 11/8/05, John Miller [EMAIL PROTECTED] wrote: I have completed a site using Coldfusion. When a user buys a subscription to the site, the license is for that person on the computer he purchased the subscription on. I do not want people sharing passwords. I have implemented a few different

sot: Dreamweaver 8

2005-11-08 Thread Michael T. Tangorre
I have a bunch of variables in the bindings tab on the Application pane... is there a way to have the output use all lowercase scope names? Right now it outputs: Session.varnam Application.varname etc... I like all the scope names to be lowercase. Not a major deal but I want to keep the code

RE: Preventing users sharing accounts

2005-11-08 Thread Hugo Ahlenius
| I have completed a site using Coldfusion. When a user buys a | subscription to the site, the license is for that person on the | computer he purchased the subscription on. I do not want people | sharing passwords. I have implemented a few different authentication | methods including an

Re: SOT: Oracle sys-time value

2005-11-08 Thread Deanna Schneider
I had hope that it was a Julian date, but it's got one too many digits for that. I'd agree with the others that you need to figure out why it's being stored in a number column and what it's supposed to represent. Otherwise we're just guessing here. On 11/7/05, Ian Skinner [EMAIL PROTECTED] wrote:

Re: Dreamweaver 8

2005-11-08 Thread Massimo Foti
I have a bunch of variables in the bindings tab on the Application pane... is there a way to have the output use all lowercase scope names? Right now it outputs: Session.varnam Application.varname etc... I like all the scope names to be lowercase. I like it too. But I never took the

RE: cfparam form variables

2005-11-08 Thread Ken Ketsdever
No, I am not sure this worked. This has been up for a couple of years but I vaguely remember making a change having to do with the email address a few months ago. (Note to self: got to start commenting better) I imagine it has been broken since and neither I nor anyone else realized it until last

RE: Dreamweaver 8

2005-11-08 Thread Michael T. Tangorre
I like it too. But I never took the time to hack DW's in order to fix this :-) Sounds good. I will post the hack if I can figure it out! Thanks Massimo. MT ~| Logware (www.logware.us): a new and convenient web-based

Re: SOT: Oracle sys-time value

2005-11-08 Thread Ken Ferguson
Ask a PHP programmer. They, and most UNIX folks too are very familiar with this scheme of dating. They use it all the time. Hell, the *nix OS uses this type of date for all kinds of operations. It's called the UNIX EPOCH. In PHP, there's a built-in date function to handle these types of dates.

Re: AD integration with CF

2005-11-08 Thread Thomas Chiverton
On Tuesday 08 November 2005 06:51, Taco Fleur wrote: I would think not, but am not sure of myself anymore, any confirmation would be much appreciated. You could have a BDC in the ISP (maybe on the web server). Other more sick ideas spring to mind, but you'll need a VPN betwen the PDC and the

Re: Dreamweaver 8

2005-11-08 Thread Massimo Foti
Sounds good. I will post the hack if I can figure it out! Feel free to ask in case you get stuck. BTW If you would like to handle request variables from DW's Binding panel, you can use this extension: http://www.massimocorner.com/dreamweaver/coldfusion/cf_request_var.mxp

Re: SOT: Oracle sys-time value

2005-11-08 Thread Ken Ferguson
Oh, sorry, I forgot my last link telling you how to deal with this value. Check out this function at CFLIB: EpochTimeToDate: http://www.cflib.org/udf.cfm?ID=654 --Ferg Ken Ferguson wrote: Ask a PHP programmer. They, and most UNIX folks too are very familiar with this scheme of dating. They

RE: Dreamweaver 8

2005-11-08 Thread Michael T. Tangorre
From: Massimo Foti [mailto:[EMAIL PROTECTED] Feel free to ask in case you get stuck. Thanks! I am sure as I use DW8 more I will ask you more questions. BTW If you would like to handle request variables from DW's Binding panel, you can use this extension:

RE: Preventing users sharing accounts

2005-11-08 Thread Munson, Jacob
I'm just looking for a good solution that works in the majority of cases and does not make it too difficult for the user. ActiveX will cut out a good portion of your market. According to the latest survey by OneStat IE is down to 85% world wide, and in the US/Canada it's only got about

RE: OT: cfQuickDocs

2005-11-08 Thread Munson, Jacob
Last night I took care of the spaces in the category names. I'm just replacing them in the JS, then putting them back in the CF function (since the data has spaces, I need to have them there). Let me know if it still doesn't work in Safari, if you don't mind. But James might be right, it just

RE: OT: cfQuickDocs

2005-11-08 Thread Munson, Jacob
From: John C. Bland II Selecting a combo, FF Beta 1, shows all of the functions for that selection (ex - selecting arrays show all array functions, etc). What would be nice is searching within the selected combo selection. Currently it resets the como every time I type. You prob

Scheduled Task Problem

2005-11-08 Thread Ken Ketsdever
I have a widget I built a couple of years ago to allow our accounting staff to disable the link to our online timecard system. Pretty simple, I set a server.kronos value to true or false. True the link is live, false a maintenance message is displayed. We have recently changed the back-up

Re: MSDE / CFTransaction

2005-11-08 Thread Peter Shaw
That's interesting. So doe sthis mean that CFTRANSACTION doesn't work unless your username/passwor dare in the DSN? Russ The transaction processing appears to be honoured so the warning would seem to be merely an inconvenience. Or am I missing something?

RE: AD integration with CF

2005-11-08 Thread Dawson, Michael
I thought there was a method where you could periodically send a file to remote DCs and have them replay the changes. This would keep you from needing a VPN, but it does cause some other issues. M!ke -Original Message- From: Taco Fleur [mailto:[EMAIL PROTECTED] Sent: Tuesday, November

Re: Scheduled Task Problem

2005-11-08 Thread Thomas Chiverton
On Tuesday 08 November 2005 15:25, Ken Ketsdever wrote: Any ideas??? Browse to the URL using a command line web browser like lynx or telnet on the webserver itself - maybe there is an authentication or other probelm. -- Tom Chiverton Advanced ColdFusion Programmer

RE: Preventing users sharing accounts

2005-11-08 Thread Dawson, Michael
Ask for a credit card or their social security number. I doubt they will want to share that information with others. -Original Message- From: John Miller [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 6:58 AM To: CF-Talk Subject: Preventing users sharing accounts I have

Re: AD integration with CF

2005-11-08 Thread Thomas Chiverton
On Tuesday 08 November 2005 15:50, Dawson, Michael wrote: ... periodically send a file to remote DCs and have them replay the changes. How would that work with no VPN ? -- Tom Chiverton Advanced ColdFusion Programmer ~|

Shared server - Custom Tag directory

2005-11-08 Thread Kevin Aebig
Hey all, I've never had to administer a shared server with CF before and I'm curious about how you can assign a custom tag directory for each site? Cheers, Kevin ~| Logware (www.logware.us): a new and convenient

RE: Preventing users sharing accounts

2005-11-08 Thread Kevin Aebig
You could use a lot of different solutions. I've done something similar for a standalone desktop app and we generated a key based on hardware information. Kevin -Original Message- From: John Miller [mailto:[EMAIL PROTECTED] Sent: November 8, 2005 6:58 AM To: CF-Talk Subject: Preventing

RE: AD integration with CF

2005-11-08 Thread Dawson, Michael
You would have to come up with another form of transport: FTP, SMTP, HTTP, etc. Then, some sort of script would be configured to tell the DC to run the file. Let me state that this is just a wild-ass suggestion. I seem to remember that you could build a DC, send it to the remote location, then

Re: Shared server - Custom Tag directory

2005-11-08 Thread John Beynon
sandboxes :) Hey all, I've never had to administer a shared server with CF before and I'm curious about how you can assign a custom tag directory for each site? Cheers, Kevin ~| Find out how CFTicket can increase

Re: Preventing users sharing accounts

2005-11-08 Thread Lewis Sellers
On Nov 8, 2005, at 9:58 AM, Munson, Jacob wrote: I'm just looking for a good solution that works in the majority of cases and does not make it too difficult for the user. ActiveX will cut out a good portion of your market. Especially amount those of us who've switched primarily to Macs.

RE: Oracle drivers (was: RE: [SPAM : 8.1] Re: Rumors from Max..)

2005-11-08 Thread Burns, John D
The reason I ask is that we currently do some development for sites that use Oracle and are hosted on navy bases. We currently have a copy of CFMX 6 Enterprise just for that purpose. We're upgrading to 7 and I'm curious if we'd need to keep Enterprise or if we could use Standard and the Oracle

Re: Preventing users sharing accounts

2005-11-08 Thread Jim Miller
Someone also suggested this, although I'm not sure what the http_via variable returns or if the combination of the three could give you some sort of unique identifier. You could save and later compare several pieces of info: - cookie - his ip: CGI.HTTP_REMOTE_ADDR or if he's behind a proxy and

Re: Debug output not showing on page with an Iframe

2005-11-08 Thread Thomas Chiverton
On Monday 07 November 2005 17:08, Dave Phillips wrote: ideas/suggestions as to how to get around what appears to be a bug? Did you close your iframe tag ? -- Tom Chiverton Advanced ColdFusion Programmer ~| Logware

Re: cfparam form variables

2005-11-08 Thread Sean Corfield
On 11/8/05, Ken Ketsdever [EMAIL PROTECTED] wrote: but I vaguely remember making a change having to do with the email address a few months ago. (Note to self: got to start commenting better) Two words: version control :) -- Sean A Corfield -- http://corfield.org/ Got frameworks? If you're not

Re: Preventing users sharing accounts

2005-11-08 Thread Robert Munn
I subscribe to a site that uses IP address and forces you to re-login if you hit the site from a different IP. That's what I would call the bottom level of security, because it doesn't actually prevent sharing, it just makes it more of a pain. I have completed a site using Coldfusion. When a

Re: OT: cfQuickDocs

2005-11-08 Thread Sean Corfield
On 11/8/05, Munson, Jacob [EMAIL PROTECTED] wrote: Last night I took care of the spaces in the category names. I'm just replacing them in the JS, then putting them back in the CF function (since the data has spaces, I need to have them there). Let me know if it still doesn't work in Safari,

Re: ColdFusion Reseller Accounts

2005-11-08 Thread Wayne Putterill
I have just transferred away from xtreme hosts, they were good to start off with but there were just one too many unexplained outages - plus they changed the way cfmail worked on the system without telling anyone, the first I knew about it was an irate call from a client I had hosted with them

Re: Preventing users sharing accounts

2005-11-08 Thread Jim Miller
Someone suggested using these variables as a key, but I'm not sure they are unique enough. - cookie - his ip: CGI.HTTP_REMOTE_ADDR or if he's behind a proxy and the proxy gives away his identity: CGI.HTTP_VIA. - browser CGI.HTTP_USER_AGENT I have completed a site using Coldfusion. When a user

Re: Oracle drivers (was: RE: [SPAM : 8.1] Re: Rumors from Max..)

2005-11-08 Thread Dave Carabetta
On 11/8/05, Burns, John D [EMAIL PROTECTED] wrote: The reason I ask is that we currently do some development for sites that use Oracle and are hosted on navy bases. We currently have a copy of CFMX 6 Enterprise just for that purpose. We're upgrading to 7 and I'm curious if we'd need to keep

Solved: cfhttp weirdness

2005-11-08 Thread Figy, Kam
Many thanks to Simeon Bateman and Sean Corfield for helping me solve this :) The problem was that I was requesting the other page from within a cftransaction tag, and the isolation level was such that the page it was requesting was blocked from hitting the table it needed until the backend's

Re: preventing multiple form submissions

2005-11-08 Thread Ron Gowen
captcha may be an option, though probably not the best for a search feature: http://www.alagad.com/ On 11/8/05, Protoculture [EMAIL PROTECTED] wrote: we would like to limit the amount of times a user may search/ie use our search facility as we think that we may be under some kind of script

Re: (OT) server rebooting after virus

2005-11-08 Thread Robertson-Ravo, Neil (RX)
Only defense here really is to reformat - move data to new server and start afresh. Experience tells you that as soon as a machine gets infected it needs to be reformatted; You just don't know how many rootkits you may have etc... This e-mail is from Reed Exhibitions (Oriel House, 26 The

Re: (OT) server rebooting after virus

2005-11-08 Thread Robertson-Ravo, Neil (RX)
Only defense here really is to reformat - move data to new server and start afresh. Experience tells you that as soon as a machine gets infected it needs to be reformatted; You just don't know how many rootkits you may have etc... This e-mail is from Reed

Re: Thread problem

2005-11-08 Thread Ron Gowen
I 'Think' the changes recommended in here already exists on 7, but I am not sure (I'm still on 6) http://www.robisen.com/index.cfm?mode=entryentry=FD4BE2FC-55DC-F2B1-FED0717CC1C7E0AF On 11/7/05, Rick Root [EMAIL PROTECTED] wrote: I had a problem today with the following message appearing in

SMS Gateway

2005-11-08 Thread Rich Kroll
Hello all, I'm attempting to create a simple SMS gateway example for something I'm working on. I'm trying to find a carrier that can be used to test this app against. Has anyone worked with the SMS gateway and perhaps point me in the direction of more information / example code? And does anyone

RE: AD integration with CF

2005-11-08 Thread Snake
You could do it with LDAP -Original Message- From: Taco Fleur [mailto:[EMAIL PROTECTED] Sent: 08 November 2005 06:52 To: CF-Talk Subject: AD integration with CF I can't recall whether it is possible to enable AD integration when the web server is not within the same office? Example;

Re: Shared server - Custom Tag directory

2005-11-08 Thread Barney Boisvert
Or don't set any custom tag directories, and make people use CFIMPORT. Way less problems. cheers, barneyb On 11/8/05, John Beynon [EMAIL PROTECTED] wrote: sandboxes :) Hey all, I've never had to administer a shared server with CF before and I'm curious about how you can assign a custom

Re: OT: cfQuickDocs

2005-11-08 Thread Qasim Rasheed
I don't know about CFAJAX but you can surely use AJAX with Safari 1.2 I believe. Thanks Qasim On 11/8/05, Sean Corfield [EMAIL PROTECTED] wrote: On 11/8/05, Munson, Jacob [EMAIL PROTECTED] wrote: Last night I took care of the spaces in the category names. I'm just replacing them in the

RE: OT: cfQuickDocs

2005-11-08 Thread Munson, Jacob
We got this to work in Safari. I just needed to escape the spaces with the right character, and Sean helped me get it working. -Original Message- From: Qasim Rasheed [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 12:49 PM To: CF-Talk Subject: Re: OT: cfQuickDocs I

Before and after decimals.

2005-11-08 Thread Saturday (Stuart Kidd)
Hi guys, I've got a number in one of my fields which has a decimal point. I want to pull everything from the left of the point so I can use that value separately for a drop down box for the £ value (pound sterling) and to the right for the pence select box. I'm just wondering what the

code-128 Barcode and cfdocument

2005-11-08 Thread Anthony Prato
Anyone have any success creating code 128 barcodes within cfdocument? What did you use? I found some fonts online, but they aren't working. The specs talk about encoding; Anyone have a function to do the encoding? Anthony ~|

Re: Before and after decimals.

2005-11-08 Thread Charlie Griefer
listFirst(string, '.') listLast(string, '.') (or listRest(string, '.')) ? On 11/8/05, Saturday (Stuart Kidd) [EMAIL PROTECTED] wrote: Hi guys, I've got a number in one of my fields which has a decimal point. I want to pull everything from the left of the point so I can use that value

RE: Before and after decimals.

2005-11-08 Thread Matthew Walker
listFirst(value, .) listRest(value, .) -Original Message- From: Saturday (Stuart Kidd) [mailto:[EMAIL PROTECTED] Sent: Wednesday, 9 November 2005 10:31 a.m. To: CF-Talk Subject: Before and after decimals. Hi guys, I've got a number in one of my fields which has a decimal point. I want

Re: Before and after decimals.

2005-11-08 Thread Ryan Guill
cfset number = 12.34 / cfset beforedec = floor(number) / cfset after = number - beforedec / On 11/8/05, Saturday (Stuart Kidd) [EMAIL PROTECTED] wrote: Hi guys, I've got a number in one of my fields which has a decimal point. I want to pull everything from the left of the point so I can use

Re: Before and after decimals.

2005-11-08 Thread Barney Boisvert
listFirst, listRest, using . as the delimiter? That's what I'd use in CF at least. If you want to do it in the DB, you'd have to do something like left(value, find(., value) - 1) for the pounds, and then the reverse for the pence. cheers, barneyb On 11/8/05, Saturday (Stuart Kidd) [EMAIL

Re: Before and after decimals.

2005-11-08 Thread Saturday (Stuart Kidd)
Thanks to everyone on their help! Perfect! :) On 8 Nov 2005, at 21:27, Barney Boisvert wrote: listFirst, listRest, using . as the delimiter? That's what I'd use in CF at least. If you want to do it in the DB, you'd have to do something like left(value, find(., value) - 1) for the pounds,

RE: Before and after decimals.

2005-11-08 Thread Ian Skinner
One of many many ways. Pounds = listFirst(value,.) Pence = listLast(value,.) Ta Da! -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any

Re: Before and after decimals.

2005-11-08 Thread Jeff Peters
Unless it's a numeric field, in which case you'd want to use something like these (MySQL, MSSQL, Oracle MSAccess, exceptions as noted): FLOOR(value) for the pounds (Int(value) in MSAccess) -- beware the use of FLOOR on negative values, though value % 1 for the pence (MOD(value,1) in Oracle,

Re: code-128 Barcode and cfdocument

2005-11-08 Thread Alan Rother
Just in my experience, I would generate a static jpg file for the barcode and then embed it into the cfdocument. You can use many of the image creation tools like image flare or in java the alagad image component to make the static jpg file. -- Alan Rother Macromedia Certified Advanced

Re: Difficult Sort - Theory

2005-11-08 Thread Les Mizzell
Matthew Walker wrote: Won't this work? SELECTshowId FROM airdates GROUP BY showId ORDER BY AVG(rating) Hmmm - that's an idea, but doesn't seem to want to work. Here's the actual query below. (Vastly simplified) SELECT Airdates.rating, Airdates.ShowID,

i18n best practice - multiple lang, multiple labels

2005-11-08 Thread Duncan
Hi everyone, I have a question and I hope to get some suggestions on possible ways to implement this problem. The application in question is an ASP model, and has many clients over many languages. The business sees the need to have labels for each client so they can tailor the words used on menu

RE: OT: cfQuickDocs

2005-11-08 Thread Munson, Jacob
From: John C. Bland II Selecting a combo, FF Beta 1, shows all of the functions for that selection (ex - selecting arrays show all array functions, etc). What would be nice is searching within the selected combo selection. Currently it resets the como every time I type. You prob

Re: OT: cfQuickDocs

2005-11-08 Thread John C. Bland II
Good stuff Jacob... On 11/8/05, Munson, Jacob [EMAIL PROTECTED] wrote: From: John C. Bland II Selecting a combo, FF Beta 1, shows all of the functions for that selection (ex - selecting arrays show all array functions, etc). What would be nice is searching within the selected combo

Having a mulit-instance service run under a specific service.

2005-11-08 Thread Ian Skinner
Is there something different to having a multi-instance service run under a specific user besides local? I've tried setting this to a different user and I get an error that the service can not be restarted, it is not responding. This is windows 2000 server and CFMX7.01 running in

Re: ColdFusion Reseller Accounts

2005-11-08 Thread Anne Girardeau
Russ, that is pretty cool. However, since I'm in the states, I think some of my clients may prefer to pay for their hosting in $ rather than £. But, if you have the option to pay for accounts with $ that would be absolutely awesome. Let me know. Thanks, --Anne John C. Bland II wrote: Oh

Re: ColdFusion Reseller Accounts

2005-11-08 Thread Anne Girardeau
Thanks for the info. Since I'm relatively new to this, any information based on personal experience is definitely welcome. =) --Anne John C. Bland II wrote: Anne, I'm no hosting expert but I've done the reseller thing many times over. In my experience most hosts don't have an automated

Re: ColdFusion Reseller Accounts

2005-11-08 Thread Anne Girardeau
Wayne, Thanks for the heads up. I've encountered some similar experiences with other hosts which is part of the reason I moved over to a VPS solution. I was tired of feeling like I had no control over CF and the server. --Anne Wayne Putterill wrote: I have just transferred away from xtreme

Re: ColdFusion Reseller Accounts

2005-11-08 Thread John C. Bland II
The other concern is where are the servers located? It doesn't seem to be a great idea to have a server outside of the states for a client in the states, I could be wrong here though. On 11/8/05, Anne Girardeau [EMAIL PROTECTED] wrote: Russ, that is pretty cool. However, since I'm in the

Re: ColdFusion Reseller Accounts

2005-11-08 Thread Anne Girardeau
Jordan, What you offer definitely looks like an ideal solution for my purposes. I'll check into it some more once I have the opportunity and let you know if I have any questions. Thanks again! --Anne Hi Anne, Not only does Vivio Technologies offer CFMX 7 and/or BlueDragon JX 6.2 on our VPS

Re: ColdFusion Reseller Accounts

2005-11-08 Thread Anne Girardeau
That's a good point and one that I also thought of. John C. Bland II wrote: The other concern is where are the servers located? It doesn't seem to be a great idea to have a server outside of the states for a client in the states, I could be wrong here though. On 11/8/05, Anne Girardeau [EMAIL

Re: code-128 Barcode and cfdocument

2005-11-08 Thread Anthony Prato
Good news, I was able to get this working with a free barcode font I found at: http://freebarcodefonts.dobsonsw.com/ the check code is a pain to calculate, but other than that it worked fine. The other little trick is that the startcode is asc(353) and the endcode is asc(339) On 11/8/05, Alan

Re: code-128 Barcode and cfdocument

2005-11-08 Thread James Holmes
You could use barbecue: http://barbecue.sourceforge.net/ It is pure java so it integrates with CF nicely - I wrote a small wrapper function in Java to tie it in very closely but you could install it as a servlet somewhere instead. On 11/8/05, Alan Rother [EMAIL PROTECTED] wrote: Just in my

RE: i18n best practice - multiple lang, multiple labels

2005-11-08 Thread Matthew Walker
I think a database is quite a bad idea as there could be tens or hundreds of there localised items on a page. You wouldn't want to hit the database that much just to display a page. A resource bundle could be as simple or sophisticated as you want. I generally just make one CFM file for each

Re: Call for speakers CFUNITED-06 due 11/18/05 and CCS interview with Sandra Clark

2005-11-08 Thread Michael Smith
Thanks for the feedback. That is a good point - we realize that some new topics may come up before the conference and have left some spaces in the schedule for that purpose. However many topics are the same year to year or can be predicted ahead of time. Thanks to all the people who have

cfinclude from a template, or onRequestStart?

2005-11-08 Thread Will Tomlinson
I usually assemble my pages with a cfinclude header, menu, footer, etc. But I figured it might be better to include the header.cfm in onRequestStart, and footer.cfm in onRequestEnd to keep from spreading includes all over the place. This way they'd all be in one spot. Am I thinking right??

Re: cfinclude from a template, or onRequestStart?

2005-11-08 Thread Robert Munn
Depends on who you ask. That is an easy way to handle headers and footers in a simple site, but it violates MVC principles, so if you are looking for a cleanly separated View, you shouldn't go that route. I generally don't bother with MVC for quick and dirty apps or mini-sites, but I use a

RE: cfinclude from a template, or onRequestStart?

2005-11-08 Thread Matthew Walker
Personally, I wouldn't put any display elements in application.cfc but rather use it for app setup purposes (defining global variables, initialising shopping carts, etc). If you wanted to have a different page template on a page it might be a big hassle -- or one day you may want a page that

Re: cfinclude from a template, or onRequestStart?

2005-11-08 Thread Will Tomlinson
Good points guys! Thanks! Will ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free

RE: Difficult Sort - Theory

2005-11-08 Thread Matthew Walker
Not familiar with MySQL so this may or may not be relevant. Generally, everything you are selecting needs to appear in your group by clause unless it is some kind of aggregation (note you can't have rating in your select clause as you are averaging it). So it may help to remove everything from

RE: Having a mulit-instance service run under a specific service.

2005-11-08 Thread Dawson, Michael
I can only say that I was able to run multiple instances, of the CF Developer version, with a Windows domain account. I didn't have any problems with restarting the service. Are there any log entries that show the actual cause? Does your account have the logon as a service permission? If you

Re: i18n best practice - multiple lang, multiple labels

2005-11-08 Thread Duncan
what concerns me about a Java RB (or any RB) is how we would expose that to our clients to allow them to make their own labels. Is there an established web app available to deal with this problem? On 11/9/05, Matthew Walker [EMAIL PROTECTED] wrote: I think a database is quite a bad idea as

RegEx help

2005-11-08 Thread r_pringle
I need some help with a regex problem. Paging Ben Doom, and other regex Gods.:) I need to change the src path in all img tags in a string. IE src=http://blahblah/blah/somefile.gif; or src=/blahblah/blah/somefile.gif or src=file:/blahblah/blah/somefile.gif to

Re: OT: cfQuickDocs

2005-11-08 Thread Sean Corfield
On 11/8/05, Munson, Jacob [EMAIL PROTECTED] wrote: This now works as you described. Select a tag category, then if you type in the cf tag box it will filter the existing category list. Same thing works for functions. Not on Safari :) http://www.techfeed.net/cfQuickDocs/?isDefined or

RE: i18n best practice - multiple lang, multiple labels

2005-11-08 Thread Matthew Walker
There's a tool around for editing Java resource bundles, but I don't think it's real pretty. Alternatively, you could simply do it the old-fashioned database way, but write out a cfml file as well which will maintain good performance when reading the resource bundle. Or you could load the entire

User Defined Functions in ColdFusion

2005-11-08 Thread simmyana a
Hi, I have created an UDF in MS sql and I want to use it in coldfusion while writing the query. could you please tell me as how to use UDF of MS Sql in Coldfusion? Thanks ~| Logware (www.logware.us): a new and convenient

Re: Difficult Sort - Theory

2005-11-08 Thread Barney Boisvert
This is untested, but should work: select * from ( select shows.showId, shows.showTitle, ( select avg(rating) from airdates where showId = shows.showId ) as avgRating ) t order by avgRating cheers, barneyb On 11/7/05, Les Mizzell [EMAIL PROTECTED] wrote: Just looking for

Re: cfinclude from a template, or onRequestStart?

2005-11-08 Thread Sean Corfield
On 11/8/05, Will Tomlinson [EMAIL PROTECTED] wrote: I usually assemble my pages with a cfinclude header, menu, footer, etc. But I figured it might be better to include the header.cfm in onRequestStart, and footer.cfm in onRequestEnd to keep from spreading includes all over the place. This

RE: RegEx help

2005-11-08 Thread Taco Fleur
Try this reReplaceNoCase( string, 'src=.*?/([a-z]+\.[a-z]{3,})', 'src=#mypath#\1', all ) Havent tried it, but give it a go, might get you going. Taco Fleur - Chief Executive Officer Pacific Fox http://www.pacificfox.com.au an industry leader with commercial IT experience since 1994 . ** Web

Re: Difficult Sort - Theory

2005-11-08 Thread Barney Boisvert
Thinking about that some more, the outer select should be unneeded. Just move the ORDER BY to the first subquery and you should be good to go. And add the missing FROM shows clause that I completely forgot. select showId, showTitle ( select avg(rating) from airdates where showId =

CRUD Generator

2005-11-08 Thread John C. Bland II
What is it everyone looks for in a CRUD generator? I see some folks saying they'd like to see best practices, some want getters/setters, and others just want a function you pass everything too. Just a little reserach... -- John C. Bland II I do what I can do when I can do it. - Chris Tucker,

Re: Difficult Sort - Theory

2005-11-08 Thread Les Mizzell
I'll work with this tomorrow and let you know what happens. In the real query, there's another 4 tables that data has to be filtered by and selected from! It gets pretty wild looking.. Thanks for taking time to look at this... Thinking about that some more, the outer select should be

Re: Difficult Sort - Theory

2005-11-08 Thread John C. Bland II
If you have that much data why not create a view for each one then a view to pull them together? That cut down on confusion. On 11/8/05, Les Mizzell [EMAIL PROTECTED] wrote: I'll work with this tomorrow and let you know what happens. In the real query, there's another 4 tables that data has to

Re: Difficult Sort - Theory

2005-11-08 Thread John C. Bland II
Sorry...I hate mistakes: That could cut down on confusion. On 11/8/05, John C. Bland II [EMAIL PROTECTED] wrote: If you have that much data why not create a view for each one then a view to pull them together? That cut down on confusion. On 11/8/05, Les Mizzell [EMAIL PROTECTED] wrote:

Re: CRUD Generator

2005-11-08 Thread Barney Boisvert
Based on my experience building custom, app-specific generators, what I've liked, disliked, and considered... A generator should be able to be rerun at arbitrary times and update the CRUD part without affecting anything else. It should create beans that have getters/setters for properties. It

Re: Difficult Sort - Theory

2005-11-08 Thread Barney Boisvert
I find subqueries really help this sort of thing, because they let you break a complex problem down into smaller pieces that can be solved (and tested!) individually. One of the best work days in the past few years was when we upgrade to MySQL 4.1 and got subquery support. Probably second only

Re: Difficult Sort - Theory

2005-11-08 Thread Barney Boisvert
MySQL doens't have view support until 5.0, and that's only been out for a few weeks, so I'm going to wager he's probably not running it. Lot of places still run 3.23 for some unknown reason. Using subqueries in the FROM clause (which MySQL 4.1 supports) gets you down that track to some extent,