Re: Developing locally - CF developer edition

2007-06-14 Thread Robertson-Ravo, Neil (RX)
IIS. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of

Re: My eyes, my eyes!

2007-06-14 Thread Sean Corfield
On 6/13/07, Dave Watts [EMAIL PROTECTED] wrote: While that article is informative, I disagree with its conclusion. I think that the Microsoft solution is superior for users, who don't care about preserving font information, but who do care about readability. I guess it must be subjective...

Re: My eyes, my eyes!

2007-06-14 Thread Robertson-Ravo, Neil (RX)
I remember back to Windows 2.0 when it was that horrible blue windowed interface and Mac OS back to just before Apple Classics (though any Apple OS prior to OSX was crap). I agree fonts were smoother and clearer on Macs as they have/had better font selections and smoothing but the OSX UI and it's

Re: Developing locally - CF developer edition

2007-06-14 Thread Andrew Scott
If you have a laptop that you use for both home and work? Then why not set it up on your lap top to begin with, if you are in a team enviornment then I sugest you all move that way and then use SVN to store the stable build / release of your website application. If you have one DB then it is not

Securing Datasources

2007-06-14 Thread Robert Rawlins - Think Blue
Hello Guys, I'm looking to get some advice on securing my datasource as much as possible. I'm looking for some advice on the data source, I'm changing the allowed functions of the datasource to SELECT, UPDATE and INSERT only to stop things being dropped, however, how do I have it so the

Re: The request has exceeded the allowable time limit

2007-06-14 Thread Tom Chiverton
On Wednesday 13 Jun 2007, Sung Woo wrote: If there's no solution to this, then I'll need to run the script in steps -- 300 or 400 records at a time. Or don't use ColdFusion. -- Tom Chiverton Helping to appropriately differentiate internet architectures on: http://thefalken.livejournal.com

Re: The request has exceeded the allowable time limit

2007-06-14 Thread Tom Chiverton
On Wednesday 13 Jun 2007, Sung Woo wrote: ugly, but I have to make an exception in this case. Two of the tables I'm hitting are extremely slow (200-300ms for data to return from the metrics I've run), so there are inherent issues with this transaction. And I'm guessing you can't wither fix

Re: Best Solution

2007-06-14 Thread Tom Chiverton
On Wednesday 13 Jun 2007, Charlie Griefer wrote: ah, nice. i was always a bit fuzzy on the distinction between the two. One runs once in N, the other runs every N -- Tom Chiverton Helping to continually maintain eigth-generation networks on: http://thefalken.livejournal.com

Re: specific hosting needs

2007-06-14 Thread Tom King
TiTan Hosting (www.titaninternet.com) allow unlimited DSNs (Access) I believe. CFFILE is also fine w them. T On 13 Jun 2007, at 18:11, Nick Call wrote: I have an old CF application where different setups use the same source code. I need to host this application somewhere that allows me

reReplaceNoCase() problem from a newbie, please help

2007-06-14 Thread Jide Aliu
I have a body of text, in the body of text I want to replace all image tags with the value of the src attribute, so for example below This is the body it can be as long as 8,000 character but within the body here is the image tag img alt= height=150

Re: Securing Datasources

2007-06-14 Thread Gert Franz
Just define a user with readonly rights to the database or even less. Then use this username to create the datasource. After that you need to use username and password in your cfquery tags. Why is this a problem for you? Do you want to secure several different datasource from beeing accessed by

Re: Securing Datasources

2007-06-14 Thread Casey Dougall
On 6/14/07, Robert Rawlins - Think Blue [EMAIL PROTECTED] wrote: Hello Guys, however, how do I have it so the username and password must be supplied in my cfquery or stored proc tags? I'm not sure if this makes any difference, but the SQL Server and the CF are running on the same box and

RE: Securing Datasources

2007-06-14 Thread Robert Rawlins - Think Blue
Thank you guys for your advice on that. It is a dedicated host, so if keeping the authentication details in the datasource is the best method then I'll be sure to do that. I'll also get some users setup in SQL just for my ColdFusion connections with minimum rights to keep it all buttoned down.

RE: Securing Datasources

2007-06-14 Thread Dave Watts
I'm looking to get some advice on securing my datasource as much as possible. I'm looking for some advice on the data source, I'm changing the allowed functions of the datasource to SELECT, UPDATE and INSERT only to stop things being dropped, however, how do I have it so the username

RE: My eyes, my eyes!

2007-06-14 Thread Dave Watts
I guess it must be subjective... I've always found Windows hard to read and Mac easy to read - and I'm going back to Windows 1.0... Yup, old enough to have used every version of both O/S's... So, yeah, must be subjective... Going back to Windows 1.0 is pointless, since there's no

RE: Securing Datasources

2007-06-14 Thread Robert Rawlins - Think Blue
Morning Dave, Thanks for that mate, I know there are bigger security fish to fry when working on the same box but unfortunately this setup works better for my budget at the moment, give it 6 months and I'll have grown out of it. I've just created a user in the database with reader/writer

Invalid Parser Construct

2007-06-14 Thread Martin Carroll
Hi I have a problem running some CF on a hosted system. It works OK locally (CFMX 7, I am trying to find out exactly what version the hosting company is using). The code that works locally is cfset reportArray[count][9]=#Target1 * multiplyBy# This gets the 'Invalid Parser Construct' message

RE: Server Cluster

2007-06-14 Thread Peterson, Chris
To chime in on this: I don't believe you would need to purchase multiple copies of CF for virtualized servers, only one per *physical* server, with up to 2 max CPU's. Since the license for CF is for 1-2 CPU's, running it on an unlimited number of VM's residing on a single physical server (dual

RE: Conditional SQL

2007-06-14 Thread James Smith
I don't think that is a very good solution. Not only can this not use any indexes, it will also not match Friends Season 7 - Complete Series because the order of the words doesn't match. I was originally breaking the string and doing several 'and's. I do need to look into Full Text Indexing

RE: CF training

2007-06-14 Thread Bob Imperial
Aye, been there done that, just thought somebody from the area might be aware of something new available here. Bob -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 13, 2007 9:45 PM To: CF-Talk Subject: RE: CF training Go to the adobe site and

Memory leak in CF7-based app, still trying to track it down

2007-06-14 Thread Dov Katz
I've written a MVC-style CF app with alot of CFC's. I've upgraded to 7.02, to get the latest fixes re: memory leak. I am using OpenSymphony's oscache to cache CFC's and the oscache manager object is stored in the application scope. I have other cfc's also storing things in the application

RE: Structures... How Do I properly write this?

2007-06-14 Thread Che Vilnonis
--- Bangs Head on Desk --- Duh! -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 13, 2007 5:17 PM To: CF-Talk Subject: Re: Structures... How Do I properly write this? As a StructKeyIsEmpty wouldn't be a key :-) This e-mail is from

RE: Securing Datasources

2007-06-14 Thread Dave Watts
Thanks for that mate, I know there are bigger security fish to fry when working on the same box but unfortunately this setup works better for my budget at the moment, give it 6 months and I'll have grown out of it. Deciding whether to store passwords in the CF Administrator vs CFQUERY tags

ColdFusion Report Builder Docs

2007-06-14 Thread C. Hatton Humphrey
I'm just starting to work with CF Report Builder and wanted to read through the docs... only problem is that I can't seem to find any except 5 or 6 scant pages on LiveDocs. Do any exist? Hatton ~| Create Web Applications With

Re: Securing Datasources

2007-06-14 Thread Gert Franz
I disagree a little on that. Since if you store the password in the CF admin, every application on the server can access the datasource with the necessary rights. Whereas when you use username and password inside cfquery, at least the different web applications can not access all datasources

OT: Looking for new design contractor...

2007-06-14 Thread Mark A Kruger
CF Talk folks... Sorry of the off-topic but I'm looking for someone who can do things: 1) Mockups of a proposed site design based on a creative brief that we provide. 2) Slicing the mockup into CSS/HTML. We do several of these per month and we would pay you on a piece by piece basis. Any

RE: Securing Datasources

2007-06-14 Thread Robert Rawlins - Think Blue
like rearranging deck chairs on the Titanic Lol, Hilarious analogy, is it really -THAT- bad having them on the same box? Thanks for the tips and link on the stored proc stuff, I'll give that a thorough run through this afternoon and see what I can get working. I also like Gert Franz's concepts

Re: Invalid Parser Construct

2007-06-14 Thread Martin Carroll
Replying to my own mail! Host is running CF Version 5. Martin Hi I have a problem running some CF on a hosted system. It works OK locally (CFMX 7, I am trying to find out exactly what version the hosting company is using). The code that works locally is cfset

Re: Invalid Parser Construct

2007-06-14 Thread Martin Carroll
I have just found out that they are running CF Version 5! Martin Hi I have a problem running some CF on a hosted system. It works OK locally (CFMX 7, I am trying to find out exactly what version the hosting company is using). The code that works locally is cfset

Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread LHWH Interactive
So I just got Vista, and of course, it's been one pain after another. I'm installing a developer copy of CF on my machine, running IIS 7, and the install went perfectly, until I tried to run that CF Administrator. I get the following error: ===

RE: Structures... How Do I properly write this?

2007-06-14 Thread Che Vilnonis
I fixed my typo but I'm still getting errors with the code below. The error I now get reads: Element 1 is undefined in a CFML structure referenced as part of an expression. I'm sure this is a simple fix... What am I missing? -Original Message- Basically, I have nested structures. I want

RE: reReplaceNoCase() problem from a newbie, please help

2007-06-14 Thread Bobby Hartsfield
Try this one out. rereplace(dataContent, img.*?src=['||](.*?)['|| |].*?, \1, all) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Jide Aliu [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 5:46 AM To: CF-Talk Subject:

RE: Invalid Parser Construct

2007-06-14 Thread Adrian Lynch
I'm not sure you could do evaluations like that in CF5... #Target1 * multiplyBy# Try... cfset reportArray[count][9] = Target1 * multiplyBy Adrian -Original Message- From: Martin Carroll [mailto:[EMAIL PROTECTED] Sent: 14 June 2007 14:21 To: CF-Talk Subject: Re: Invalid Parser

RE: Securing Datasources

2007-06-14 Thread Dave Watts
Lol, Hilarious analogy, is it really -THAT- bad having them on the same box? Yes. Your database can be directly accessed from the shell. The database files can be accessed directly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber

RE: Securing Datasources

2007-06-14 Thread Dave Watts
I disagree a little on that. Since if you store the password in the CF admin, every application on the server can access the datasource with the necessary rights. Whereas when you use username and password inside cfquery, at least the different web applications can not access all

RE: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Dave Watts
In the IIS admin, I can clearly see that it's relatively easy to add a MIME type, and it's pretty self explanatory, but the part I'm lacking is the actual MIME type string. I tried application/octet-stream but that just prompted me to download the page. You don't want to add a MIME type.

BUMP: Nested CFQuery calls - breaks why?

2007-06-14 Thread Ian Skinner
This is a follow up to my post on why one SQL statement works and another one did not. This issue seems to be that the main cfquery ... tag included a call to an UDF to create some of the values in the statement. Depending on the parameter passed into this UDF, it sometimes also made a

RE: Securing Datasources

2007-06-14 Thread Robert Rawlins - Think Blue
Ok well that's well worth know Dave, thanks. How can I best protect my shell? The server has a pretty tidy firewall on it, albeit a shared one, the server also isn’t used for anything other than the db and serving my ColdFusion apps and email. Thanks, Rob -Original Message- From:

Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread LHWH Interactive
On 6/14/07, Dave Watts [EMAIL PROTECTED] wrote: You don't want to add a MIME type. From your error message: Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or ..config files. Ahh... thanks for pointing that out... You don't want CFML pages

Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Tom Chiverton
On Thursday 14 Jun 2007, LHWH Interactive wrote: It's odd that there's no mention of this on Adobe's web site... that was the first place I went, but there was nothing I could find on IIS7 and Vista in the CF Support knowledgebase... As I understand it, it's not officially supported. -- Tom

RE: Securing Datasources

2007-06-14 Thread Dave Watts
Ok well that's well worth know Dave, thanks. How can I best protect my shell? The server has a pretty tidy firewall on it, albeit a shared one, the server also isn’t used for anything other than the db and serving my ColdFusion apps and email. The only way to protect the database

Re: reReplaceNoCase() problem from a newbie, please help

2007-06-14 Thread Jide Aliu
Thanks Bobby for taking time out for the solution, that did the trick. It's the start of my problem on the solution though how would you go about reReplacing the same item with the tags below in a body of text/string. Is it at all possible or should I be looking at something different from

Re: Conditional SQL

2007-06-14 Thread Jochem van Dieten
James Smith wrote: I don't think that is a very good solution. Not only can this not use any indexes, it will also not match Friends Season 7 - Complete Series because the order of the words doesn't match. I was originally breaking the string and doing several 'and's. I do need to look

Re: Using sessions with Flash Remoting

2007-06-14 Thread John Robinson
Woot! I finally got it working, thanks to Sean's insight. There are a few issues still that I'm not sure about.. namely: onRequest... mine looks like this, but if I leave it in Application.cfc, remoting fails altogether: cffunction name=onRequest returnType=void cfargument name=thePage

Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread LHWH Interactive
On 6/14/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 14 Jun 2007, LHWH Interactive wrote: It's odd that there's no mention of this on Adobe's web site... that was the first place I went, but there was nothing I could find on IIS7 and Vista in the CF Support knowledgebase... As I

RE: Using sessions with Flash Remoting

2007-06-14 Thread Dave Watts
onRequest... mine looks like this, but if I leave it in Application.cfc, remoting fails altogether: cffunction name=onRequest returnType=void cfargument name=thePage type=string required=true cfinclude template=#arguments.thePage# /cffunction You can't use onRequest with Flash

Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Tom Chiverton
On Thursday 14 Jun 2007, LHWH Interactive wrote: Is it the same sort of convoluted setup to run CF8 on Vista as well? Check the support matrix, but I think it is supported. -- Tom Chiverton Helping to paradigmatically coordinate enterprise models on: http://thefalken.livejournal.com

RE: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Dave Watts
Is it the same sort of convoluted setup to run CF8 on Vista as well? I would imagine so, but haven't tried yet myself. Only reason I ask is because I was considering trying to get the beta running on the same machine There's no reason you have to use IIS for CF 8. The easiest thing would

Re: Invalid Parser Construct

2007-06-14 Thread Martin Carroll
Hi Adrian Thanks for the input. Your response got me thinking and the problem was that the #Target1 * multiplyBy# was in quotes. I had been making changes to the system and previously it wasn't a calculation just an assignment (i.e. =#Target1#). So changing it to cfset

Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread LHWH Interactive
On 6/14/07, Dave Watts [EMAIL PROTECTED] wrote: There's no reason you have to use IIS for CF 8. The easiest thing would be to install CF 8 with the built-in JRun web server. Alternatively, you could create another IIS virtual server and hook CF 8 up to that. Ideally, if you're running CF 7 and

Re: Structures... How Do I properly write this?

2007-06-14 Thread Qasim Rasheed
Use this cfloop from=1 to=#ArrayLen( xmlcontent.message.items.item )# index=x cfif NOT StructKeyExists( stWSSB_Tickler, x ) cfset stWSSB_Tickler[x] = StructNew() / /cfif cfif ( NOT StructKeyExists( stWSSB_Tickler[x], 'tickler' ) ) OR ( StructKeyExists(

Re: Using sessions with Flash Remoting

2007-06-14 Thread John Robinson
On Jun 14, 2007, at 11:12 AM, Dave Watts wrote: onRequest... mine looks like this, but if I leave it in Application.cfc, remoting fails altogether: cffunction name=onRequest returnType=void cfargument name=thePage type=string required=true cfinclude template=#arguments.thePage#

RE: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Dave Watts
Awesome Dave. Thanks for the reply. That's what I was hoping to be able to do. Then, when I get Eclipse running, I'll just point my New Projects to the ColdFusion8/wwwroot folder, right? Yes, I think that should work. Honestly, I don't use Eclipse for CF generally, although I'll probably

Re: Vista, IIS 7, CF7 and MIME types

2007-06-14 Thread Tom Chiverton
On Thursday 14 Jun 2007, LHWH Interactive wrote: related) Eclipse projects are somewhat analogous to Dreamweaver's sites? Yup. -- Tom Chiverton Helping to evangelistically implement plug-and-play designs on: http://thefalken.livejournal.com

Re: Invalid Parser Construct

2007-06-14 Thread Tom Chiverton
On Thursday 14 Jun 2007, Martin Carroll wrote: cfset reportArray[count][9]=#Target1# * #multiplyBy# worked in both versions of CF. Just a style point, but you don't need the hash signs. -- Tom Chiverton Helping to adaptively harness error-free markets on: http://thefalken.livejournal.com

Re: Invalid Parser Construct

2007-06-14 Thread Martin Carroll
Hi Tom I have been using CF (pretty sporadically) for anout 5 years now and I am embarrassed to admit to never quite getting my head around when to use the hash signs. I seem to remember when I first starting using CF reading an article by Ben Forta on this subject, I really should try and

RE: reReplaceNoCase() problem from a newbie, please help

2007-06-14 Thread Bobby Hartsfield
Unless I misunderstand... rereplace(dataContent, img.*?src=['||](.*?)['|| |].*?, contentItem Href=\1Commenthardcoded/Comment MediaType FormalName=hardcoded/ Format FormalName=hard coded /contentitem, all) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com

RE: Invalid Parser Construct

2007-06-14 Thread Dave Watts
I have been using CF (pretty sporadically) for anout 5 years now and I am embarrassed to admit to never quite getting my head around when to use the hash signs. If you're using a ColdFusion expression within a string, and you want to output the value of the expression, use hashes. Otherwise,

Dynamically populate a select box within a PDF form.

2007-06-14 Thread Jason Congerton
Hi I'm not sure if this is possible, and have been looking for examples without luck. One of my clients have requested the ability to post products to their website via a PDF form. My question is, can I dynamically populate a select box on the PDF form from the websites database. Would this be

Re: reReplaceNoCase() problem from a newbie, please help

2007-06-14 Thread Jide Aliu
No you understood perferctly thanks very much. The second bit of your iteration actually saved the day as I was messing about with CFSavecontent. I've actually tweaked the code a bit because I am actually only after the file name. See below; cfset content = rereplace(dataContent,

Re: reReplaceNoCase() problem from a newbie, please help

2007-06-14 Thread Jide Aliu
No you understood perferctly thanks very much. The second bit of your iteration actually saved the day as I was messing about with CFSavecontent. I've actually tweaked the code a bit because I am actually only after the file name. See below; cfset content = rereplace(dataContent,

Error with Attempt to Consume Web Service

2007-06-14 Thread Anne Porosoff
I've encountered a rather maddening error while attempting to consume a web service. The error is as follows: Could not perform web service invocation login. Here is the fault returned when invoking the web service operation:br pre org.apache.xerces.parsers.ObjectFactory$ConfigurationError:

Is noscript the answer??

2007-06-14 Thread Will Tomlinson
Since I'm using AJAX for a dropdown menu system, is the best way to deal with js-disabled browsers to just use: noscriptPlease enable Javascript to view this page properly blah blah/noscript I tested and it seems to work. Just wonderin' if I'm missin' somethin'. Thanks, Will

Re: Is noscript the answer??

2007-06-14 Thread Cutter (CFRelated)
I personally would prefer to provide for graceful degradation in some way. In the noscript use a nested unordered list to layout your entire menu structure. If JS is disabled, or you have a blind user using a text based browser, the that user can still navigate through the site. Steve Cutter

Re: Is noscript the answer??

2007-06-14 Thread Mark Drew
That should be the solution, you can also add a meta tag within the no-script that will redirect you to another page, very useful. MD On 6/14/07, Will Tomlinson [EMAIL PROTECTED] wrote: Since I'm using AJAX for a dropdown menu system, is the best way to deal with js-disabled browsers to just

Re: Is noscript the answer??

2007-06-14 Thread Rey Bango
I agree with Steve on this. Writing unobtrusive JS that degrades gracefully is the way to go. Rey Cutter (CFRelated) wrote: I personally would prefer to provide for graceful degradation in some way. In the noscript use a nested unordered list to layout your entire menu structure. If JS is

Error converting data type varchar to int.

2007-06-14 Thread Robert Rawlins - Think Blue
Hello guys, I've got a stored proc that enters information into a table on my SQL Server database, and I'm getting the following error message when trying to run it. [Macromedia][SQLServer JDBC Driver][SQLServer]Error converting data type varchar to int. This is a snippet of the query

Re: Error converting data type varchar to int.

2007-06-14 Thread Jochem van Dieten
Robert Rawlins - Think Blue wrote: [Macromedia][SQLServer JDBC Driver][SQLServer]Error converting data type varchar to int. This is a snippet of the query details thrown back in the error, it simple takes 3 parameters, the first is an integer and the second 2 are strings/varchar.

Re: Is noscript the answer??

2007-06-14 Thread Josh Nathanson
noscriptPlease enable Javascript to view this page properly blah blah/noscript Will - is this an internal type system, where you know exactly who will be using it, and can help them enable JS if they need it? It seems from your other postings that this is the case, and that you've designed

Re: Is noscript the answer??

2007-06-14 Thread Jochem van Dieten
Will Tomlinson wrote: Since I'm using AJAX for a dropdown menu system, is the best way to deal with js-disabled browsers to just use: noscriptPlease enable Javascript to view this page properly blah blah/noscript I tested and it seems to work. Just wonderin' if I'm missin' somethin'.

cfqueryparam error in cfmx 6.01

2007-06-14 Thread owner
I get an error in the result set when using cfqueryparam in a SQL IN statement. This is on RHE with CFMX 6.01 and an Oracle 10g DB In this instance, the query should have returned 8 records...as confirmed using SQL Navigator This works fine regardless of the number of prameters inthe list

Re: cfqueryparam error in cfmx 6.01

2007-06-14 Thread Jochem van Dieten
[EMAIL PROTECTED] wrote: This is on RHE with CFMX 6.01 and an Oracle 10g DB and rms.mrkt_sctr_id in (#variables.mrkt_sctr#) This should not work for a varchar, only for a numeric or date datatype. If I do this: and rms.mrkt_sctr_id in (cfqueryparam cfsqltype=cf_sql_varchar list=yes

Re: Is lt;noscriptgt; the answer??

2007-06-14 Thread Will Tomlinson
Will - is this an internal type system, where you know exactly who will be using it, and can help them enable JS if they need it? Exactly. I know the users, it's in an administration area. That's the main reason I was thinking noscript would be good nuff. I probably should've elaborated a

OO style - dynamic set get methods

2007-06-14 Thread Rob O'Brien
So, I'm just starting to go into OO-style CF development and I have a quick theory question... Mind you, this is brand new to me, so be gentle. When setting up my Location Bean, I started to go through each of the individual variables and created a get() and set() method for each of them. I got

Re: Is lt;noscriptgt; the answer??

2007-06-14 Thread Will Tomlinson
I should've elaborated more in my post Rey. It's in an administration area and I know exactly the type of users that'll be working with my system. My AJAX selects will never be seen by anyone else using the site. Thanks much, Will

Re: Is lt;noscriptgt; the answer??

2007-06-14 Thread Will Tomlinson
That should be the solution, you can also add a meta tag within the no-script that will redirect you to another page, very useful. MD Excellent idea Mark! thanks! Will ~| ColdFusion MX7 by Adobe® Dyncamically transform

RE: Server Cluster

2007-06-14 Thread Peterson, Chris
To chime in on this: I don't believe you would need to purchase multiple copies of CF for virtualized servers, only one per *physical* server, with up to 2 max CPU's. Since the license for CF is for 1-2 CPU's, running it on an unlimited number of VM's residing on a single physical server (dual

Re: Is lt;noscriptgt; the answer??

2007-06-14 Thread Rey Bango
Gotcha. While I'll still advocate the progressive enhancment technique, if you have control over your environment, you should be fine using NOSCRIPT. But honestly Will, try to avoid inline JS as much as possible a consider binding events dynamically. It will increase your apps maintainability.

RE: Dynamically populate a select box within a PDF form.

2007-06-14 Thread Dave Watts
I'm not sure if this is possible, and have been looking for examples without luck. One of my clients have requested the ability to post products to their website via a PDF form. My question is, can I dynamically populate a select box on the PDF form from the websites database. Would this

RE: Using sessions with Flash Remoting

2007-06-14 Thread Dave Watts
Given that that is the case and I have no way of knowing the browser closed, I have a function (defined in a .cfc) called by flash that basically loops for a while and returns some data (or it times out and then returns an empty record set). As soon as I get this response, I send out a

CFJS 1.1.6 Released

2007-06-14 Thread Christopher Jordan
Just wanted to let any interested folks know that CFJS 1.1.6 has been released. As always, the latest version is available from the SVN repository on RIAForge.org. I've also blogged about the changes http://cjordan.us/index.cfm/2007/6/14/CFJS-Ver-116-Released. Cheers everyone! Chris --

Translation WebService

2007-06-14 Thread Michael Eger
Can anyone recommend a translation web site (preferable free), which can be called as a web service or by cfhttp calls? The goal would be to pass in text to the service and get translated text back, which could then be stored in a database for use in a prototype. Some websites such as Google

RE: OO style - dynamic set get methods

2007-06-14 Thread Jonathon Stierman
Why code by hand when computers can do it for you? :) http://rooibos.maestropublishing.com/ It seems to be standard to be using the full method sets. I believe ColdSpring searches your CFCs for getters and setters. So if you wanted to use ColdSpring (and probably some other frameworks), you

Re: OO style - dynamic set get methods

2007-06-14 Thread Nathan Strutz
Rob, This is a great question, and one to ponder for a while, no doubt. Programmatically, there's nothing wrong with this approach. It works just how you want it to. Now let's think about what that's doing. Your CFC is just acting like a collection in this case. This is basically how a map

RE: setting xml encoding

2007-06-14 Thread Brad Wood
Thanks Dinner. I found this page: http://livedocs.adobe.com/coldfusion/7/htmldocs/0352.htm Which confirms some of what you said. It appears that cfprocessingdirective only applies if I am returning an entire page of nothing but xml and want the encoding of the whole page to be modified. I

Re: Ajax - beating head on wall...

2007-06-14 Thread Will Tomlinson
Yeah, that's essentially it, but if it's course.. param:course=#FORM.course#,T7= + This did the trick James. param:eval= + #FORM.eval# + ,course= + #FORM.course# + ,T7= + t7sel.. etc.. Thanks! Will ~| Macromedia ColdFusion

CFCDOC Location?

2007-06-14 Thread john venable
Can anyone tell me where to get Spike's CFCDOC? The site doesn't seem to be there anymore and I'd like to check it out. If anyone that feels like sending me a copy (assuming it's free) should send it to jbvenable aht kennedy-center.org Thanks. john

Re: Is amp;lt;noscriptamp;gt; the answer??

2007-06-14 Thread Will Tomlinson
Thanks Rey! ~| CF 8 – Scorpio beta now available, easily build great internet experiences – Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive:

CF var in javascript

2007-06-14 Thread Ben S
I'm trying to make the following work but CF complains about not having variable when it's loading the page. Is there a way to write it so that it won't complain? Thanks in advance. This is the code that's erroring out: function itemDetails(currentRow) {document.iDetails.title.value =

Re: CF var in javascript

2007-06-14 Thread Charlie Griefer
#getItems.title[currentRow]# unless you're looping over the query data using cfoutput query=getItems, i don't believe the 'currentrow' variable will be available. but i'm not sure you're trying to use *that* currentrow variable. looks like you're trying to use an argument passed in to the

Re: Using sessions with Flash Remoting

2007-06-14 Thread John Robinson
On Jun 14, 2007, at 3:47 PM, Dave Watts wrote: Given that that is the case and I have no way of knowing the browser closed, I have a function (defined in a .cfc) called by flash that basically loops for a while and returns some data (or it times out and then returns an empty record set). As

Re: CF var in javascript

2007-06-14 Thread Scott Weikert
Your CF code has already executed by the time the JS code executes - so using 'currentrow' for both won't work. You might consider building a JS array based on your 'getItems' query, outside of your JS function, and then reference that array inside your JS function. Since JS array positioning

Re: CF var in javascript

2007-06-14 Thread benjamin schwartz
Awesome :) Thank you very much - i'm going to try that out. Ben On 6/14/07, Charlie Griefer [EMAIL PROTECTED] wrote: #getItems.title[currentRow]# unless you're looping over the query data using cfoutput query=getItems, i don't believe the 'currentrow' variable will be available. but i'm

RE: Using sessions with Flash Remoting

2007-06-14 Thread Kevin Aebig
How are you doing the actual chat communication? If you're using either XML sockets or FMS, than you can trigger the notification from there... !k -Original Message- From: John Robinson [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 2:01 PM To: CF-Talk Subject: Re: Using

RE: Using sessions with Flash Remoting

2007-06-14 Thread Dave Watts
Actually in this case, I do need to kill the session. I'm building a chat app. When a user leaves, I need to let the other users still active in the chat know that this user has left. Essentially I'm deleting them from a temp table in a db. Make sense? The only indication I've found so

RE: CFCDOC Location?

2007-06-14 Thread Dave Watts
Can anyone tell me where to get Spike's CFCDOC? The site doesn't seem to be there anymore and I'd like to check it out. If anyone that feels like sending me a copy (assuming it's free) should send it to jbvenable aht kennedy-center.org It doesn't seem to be available any more. Perhaps this

RE: setting xml encoding

2007-06-14 Thread Dave Watts
It appears that cfprocessingdirective only applies if I am returning an entire page of nothing but xml and want the encoding of the whole page to be modified. I am just creating a variable with cfxml. If you're going to output that variable to the browser as an HTTP response, you'll need

Re: Securing Datasources

2007-06-14 Thread Dinner
On 6/14/07, Dave Watts wrote: The only way to protect the database server from being vulnerable to successful exploits against your web server is to put it on a separate machine. And even then it's not really protected. /Maybe/ it's more protected, but man, there are a million links in the

Re: OO style - dynamic set get methods

2007-06-14 Thread Dinner
On 6/14/07, Jonathon Stierman wrote: Why code by hand when computers can do it for you? :) Indeed! I know /my/ fingers get pretty tired... all those ones and zeros... ~| ColdFusion MX7 and Flex 2 Build sales marketing

RE: setting xml encoding

2007-06-14 Thread Brad Wood
OK, first of all I am outputting an xml representation of a string as part of a javascript declaration which will define that string on the client where it can then be parsed into an xml object that the browser can work with. The reason why I care about the encoding of the string is because

  1   2   >