Re: Dreamweaver Autocomplete

2004-10-20 Thread dave
i did dl eclipse again to take another look but its kinda a pain in the ass too set up and was hoping to use it as a quick fix to dive into code without opening dw. :( looks a lot better than before though as for dw just cause it doesnt act just like cf studio doesnt mean its bad, might just

Re: RegEx problem

2004-10-20 Thread Andy Jarrett
There's also CF RegEx at http://www.cfregex.com/ which is donationware Andy www.andyjarrett.co.uk On Tue, 19 Oct 2004 19:23:16 -0400, dave [EMAIL PROTECTED] wrote: http://www.regexbuddy.com/ so thats your secret charlie ;)

Re: exception handling, kindly help

2004-10-20 Thread cf coder
Can somebody please help? I don't know where to go from here. I'll really appreciate it ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community.

UUID as cftoken / createUUID bug

2004-10-20 Thread Andy Allan
This seemed to get lost yesterday, so trying again. Anyone know how the CFAdmin creates UUIDs for cftoken (see the Server Settings/Settings page)? Basically wanting to know if it uses createUUID() and is therefore affected by the clock speed bug affecting createUUID() on Windows

RE: exception handling, kindly help

2004-10-20 Thread Pascal Peters
I didn't read all the previous posts, but here are some thoughts: 1. cferror and cftry/catch are 2 different things. If you catch an exception, the exception disappears and doesn't throw an error. 2. You have a lot of the info that you would have in the error scope in the cfcatch scope too. 3.

Re: RE: exception handling, kindly help

2004-10-20 Thread simon
you might want to read the whitepaper I've got at: http://www.how2cf.com/files/papers/exceptions.pdf (downloadable as a zip from http://www.how2cf.com/files/papers/exceptions.zip) ~Simon I didn't read all the previous posts, but here are some thoughts: 1. cferror and cftry/catch are 2

Got Givex.com code?

2004-10-20 Thread Karl
I'm trying to implement givex.com gift cards (see http://web.givex.com/) in ColdFusion, and all I have to go on is some very vague ASP hints and code snips to work with. I'm hoping somebody already has implemented this in ColdFusion and will share their code with me . . . Regards, Karl

Running tasks in a console window?

2004-10-20 Thread James Smith
I have a problem. I am using cURL to upload a file with https (cfhttp didn't work before someone suggests that). When I run cURL from the command line, it works perfectly in about 3 seconds. If I run cURL from a batch file it runs fine in about 3 seconds. If I use cfexecute to run either cURL

RE: Running tasks in a console window?

2004-10-20 Thread Hugo Ahlenius
| -Original Message- | From: James Smith [mailto:[EMAIL PROTECTED] | Sent: Wednesday, October 20, 2004 12:01 | To: CF-Talk | Subject: Running tasks in a console window? | | I have a problem. I am using cURL to upload a file with | https (cfhttp didn't work before someone suggests that). |

RE: Running tasks in a console window?

2004-10-20 Thread Craig Dudley
Might be your cfexecute syntax, have you tried passing in any arguments as an array? -Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: 20 October 2004 11:01 To: CF-Talk Subject: Running tasks in a console window? I have a problem. I am using cURL to upload a file

Re: exception handling, kindly help

2004-10-20 Thread cf coder
thanks for that... I'll give it a bash Regards cfcoder ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message:

Re: exception handling, kindly help

2004-10-20 Thread cf coder
thanks Simon ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37 Message:

Select distinct record - help

2004-10-20 Thread cf coder
Hello everybody, I was wondering if someone could help me. I am trying to get the distinct record from a select statment. Here is the code. cfquery name=getEmployeeDetails datasource=db select distinct reference, uniqueID, firstname, lastname FROM employee WHERE reference = 'cfcoder' ORDER BY

RE: Select distinct record - help

2004-10-20 Thread James Holmes
The cASE is killign you - try selecting the UPPER() or LOWER() of the reference column. -Original Message- From: cf coder [mailto:[EMAIL PROTECTED] Sent: Wednesday, 20 October 2004 8:30 To: CF-Talk Subject: Select distinct record - help Hello everybody, I was wondering if someone

RE: Select distinct record - help

2004-10-20 Thread Peterson, Andrew S.
Hi CFCoder, Try taking out the unique ID, if that is the 1 and the 2 in your query result. Or, maxrows=1? Hope this helps. Sincerely, Andrew -Original Message- From: cf coder [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 7:30 AM To: CF-Talk Subject: Select distinct

RE: Select distinct record - help

2004-10-20 Thread James Holmes
Yes, of course the unique ID will need to be removed (and I need to learn to type). -Original Message- From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] Sent: Wednesday, 20 October 2004 8:32 To: CF-Talk Subject: RE: Select distinct record - help Hi CFCoder, Try taking out the

RE: Running tasks in a console window?

2004-10-20 Thread James Smith
Have you set a timeout for cfexecute, could that be the case? You could also try running something else that takes time, to pinpoint if the problem actually is curl (which I don't think... ?). You can also capture any stdout/stderr message, for instance by piping it through tee or just

RE: Select distinct record - help

2004-10-20 Thread Pascal Peters
If you want to use that query: cfoutput query=getEmployeeDetails group=reference option ... /cfoutput But why do you need to loop over the query, as you already know the reference is 'cfcoder' (it's in your query) You could also make a query to just get distinct refrences. Pascal

Re: Running tasks in a console window?

2004-10-20 Thread Jochem van Dieten
James Smith wrote: I have a problem. I am using cURL to upload a file with https (cfhttp didn't work before someone suggests that). When I run cURL from the command line, it works perfectly in about 3 seconds. If I run cURL from a batch file it runs fine in about 3 seconds. If I use

RE: Running tasks in a console window?

2004-10-20 Thread James Smith
I have tried... cfexecute name=c:\path\curl.exe --arguments . someurl/ cfexecute name=c:\path\curl.exe arguments=--arguments .someurl/ Both with and without timeout variables. I have even tried... cfexecute name=c:\windows\system32\cmd.exe arguments=/c c:\path\curl.exe .../ And

RE: Dreamweaver Autocomplete

2004-10-20 Thread Ewok
I appreciate your help, but I don’t know how many more times I could say that the code hints isn't it. Did I not make myself clear on what I was asking for? Yes, I know you know what you're talking about when it comes to the subject but I think you misunderstood the goal I TRIED to make clear.

RE: Another Is this Homesite feature in DW? question

2004-10-20 Thread Peterson, Andrew S.
Ewok Wrote: The closest thing I can get is the snippets with a hotkey. Have you looked at those yet Andrew? No I haven't. I will let you know if I do. Sincerely, Andrew ~| Purchase from House of Fusion, a Macromedia

reports

2004-10-20 Thread Daniel Kessler
I'm looking to do some on-the-fly reports for our Oracle database tables. To begin, I have two questions. 1 - I can query for a list of tables by doing select * from cat, though I picked up this code and don't know what cat stands for. Is there a way to eliminate Sequences from the list of

RE: reports

2004-10-20 Thread James Holmes
This will give you just the tables: select tabs.table_name from sys.user_All_tables tabs and this will give you more than you want to know about a table, if you replace :TABNAME with the name of your table: Select cols.column_id, cols.column_name as Name, nullable, data_type as Type,

Oracle stored procedure returning a cursor

2004-10-20 Thread Tom Kitta
I am running into problems when trying to use Oracle 10g stored procedure that returns a cursor. I have done a bit of research on the topic and so far non of the methods that where shown work. I am sure many of you use Oracle and CF 6.1 without any problems, thus I am sure someone will catch

RE: Running tasks in a console window?

2004-10-20 Thread Craig Dudley
So you haven't tried an arguments array then. Try this.. cfscript args = arraynew(1); args[1] = file; args[2] = url; args[3] = etc; /cfscript cfexecute name=c:\path\curl.exe arguments=#args# timeout=30/cfexecute Might not make a difference, but its worth a try. -Original Message-

Re: Select distinct record - help

2004-10-20 Thread cf coder
Pascal, I was just trying to illustrate to you if it makes sense ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=37

Re: CF developer numbers

2004-10-20 Thread Rey Bango
The biggest gripe that I hear about ColdFusion from *sssooo* many people is product cost. At $1,299 for standard and $5,999 for the enterprise, its a steep barrier to entry compared to PHP and ASP/ASP.Net (as free alternatives). And yes, I've read all of the posts and counterpoints to the *free*

CF-DWMX 2004 Design

2004-10-20 Thread coldfusion . developer
All, I have one question. Any direction would be great. 1) Once I use layers to create the structure of a page, I would like to export the details of the layer to a css file and reference an ID in the page. However when I try to export the layer information, it doesn't write to the css file

Re: 6.1 updater breaks cfdumping cfcatch, but this may help

2004-10-20 Thread Dan O'Keefe
Sean, Any ETA on this hot fix? Dan I spoke to the CF product team and this is what they said (my paraphrasing): A fix is currently in the works and will be posted as a hotfix in the near future on the ColdFusion Support site. The updater included a fix for duplicate() to make

Re: CSS and Debugging

2004-10-20 Thread Simeon Bateman
I have found a quick fix for this is to add a div to the bottom of your site, while debugging. Give this div a style with clear:both;. It will force anything above it in code to be above and anything below to be below. This could be on your normal footer which I do sometimes, but if you layout

Re: Oracle stored procedure returning a cursor

2004-10-20 Thread Janet Schmitt
TK - I think this is a problem with the jdbc thinclient driver.Look at live docs on Macromedia's site (http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-b17.htm). IAt 09:27 AM 10/20/2004 -0400, you wrote: I am running into problems when trying to use Oracle 10g stored procedure

Re: reports

2004-10-20 Thread Gruss Gott
I do exactly this except with Sybase - it works great. On Wed, 20 Oct 2004 21:19:46 +0800, James Holmes [EMAIL PROTECTED] wrote: This will give you just the tables: select tabs.table_name from sys.user_All_tables tabs and this will give you more than you want to know about a table, if

Re: CF developer numbers

2004-10-20 Thread Dick Applebaum
On Oct 19, 2004, at 6:47 PM, James Holmes wrote: Yes, I see CF as being targeted at the end user rather than contract-based developers. I agree. This is happening -- but i don't think it has been targeted -- just the process of natural selection -- a case of the users defining the market

Re: CF-DWMX 2004 Design

2004-10-20 Thread Massimo Foti
1) Once I use layers to create the structure of a page, I would like to export the details of the layer to a css file and reference an ID in the page. However when I try to export the layer information, it doesn't write to the css file like other css data. Do I have to manually copy and paste

More IIS/J2EE configuration installation issues

2004-10-20 Thread Chris Peters
For those of you who have installed ColdFusion 6.1 J2EE instances and hooked them to IIS: When we store our files in the IIS web site's root, they work fine. But when we try to store the files in the {jrun root}\servers\cfusion\cfusion-ear\cfusion-war folder, the server returns a 404. It

Web Service error

2004-10-20 Thread Chris Gottshall
Hello all, I have an ASP.NET web service that I am trying to invoke from a CF page. The method appears in the components section of DW if I add the web service, and I can test it ok using aspx, but I keep getting the error Web service operation registerParticipant with parameters

/WEB-INF/cfclasses location

2004-10-20 Thread Nathan Mische
Before applying the 6.1 updater my CF classes were all stored in the Jrun directory (ie. C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfclasses). After applying the updater my classes are now being placed under the IIS webroot (ie. C:\Inetpub\wwwroot\WEB-INF\cfclasses). Is there anyway

Re: Dreamweaver Autocomplete

2004-10-20 Thread Spike
Hi Dave, What parts of the setup are you finding cumbersome? Anything we can do to make it better for new users is of interest. We tend to find that although people have an initial inertia in moving from DW, Homesite, Textpad or whatever, by the time they get round to telling us what they

Russel is Back on the Air

2004-10-20 Thread Russel Madere
After a 2 ½ year hiatus I am back in the Cold Fusion fold and will soon be causing ulcers in the CF Community list. :) BTW, I will be at Macromedia MAX, in my home town. Anyone who is going, feel free to email me for tourist information. Russel Madere Webmaster/Internet Coordinator

Re: [cf-talk] Digest Number 935

2004-10-20 Thread Karl
This should work for you too: cfquery name=getEmployeeDetails datasource=db select TOP 1 reference, uniqueID, firstname, lastname FROM employee WHERE reference = 'cfcoder' ORDER BY reference asc /cfquery At 05:46 AM 10/20/04, cf coder wrote: cfquery name=getEmployeeDetails datasource=db select

RE: Oracle stored procedure returning a cursor

2004-10-20 Thread James Holmes
You need to use the CFMX Enterprise driver and the CF_SQL_REFCURSOR type is deprecated in MX. -Original Message- From: Janet Schmitt [mailto:[EMAIL PROTECTED] Sent: Wednesday, 20 October 2004 10:23 To: CF-Talk Subject: Re: Oracle stored procedure returning a cursor TK - I think this

Re: Oracle stored procedure returning a cursor

2004-10-20 Thread Tom Kitta
Yes, switching to native Oracle driver fixed the problem, looks like the Java driver doesn't support cursors yet. The original reason for us using Java JDBC driver instead of the native driver was due to native driver having problems with shared mode of the Oracle server (it was dropping

SQL Deadlock

2004-10-20 Thread Ryan Duckworth
Does anyone have any ideas on how to prevent/handle database deadlock? Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]Transaction (Process ID 132) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the

RE: Oracle stored procedure returning a cursor

2004-10-20 Thread Scott Mulholland
Make sure your driver is DataDirect 3.3...I was using 3.1 and it would not work, upgraded them and everything was fine. -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 10:58 AM To: CF-Talk Subject: RE: Oracle stored procedure returning a

RE: Oracle stored procedure returning a cursor

2004-10-20 Thread James Holmes
We use shared mode and we had to turn off the maintain connections setting (i.e. JDBC pooling) in the CF datasource as we were getting non-sql errors for no good reason. With shared mode the connection setup is quite fast so it doesn't impact us much at all. -Original Message- From: Tom

Re: SQL Deadlock

2004-10-20 Thread Lawrence Ng
how are u writing the queries? via stored procedures? or cfquery? I'm assuming you're already cflock correct? ~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community.

RE: SQL Deadlock

2004-10-20 Thread Robertson-Ravo, Neil (RX)
Use transactions and better the DB design (which is easier said than done!). Have you tied it down to one particular SQL Block? Maybe a report or an SP running a cursor? N -Original Message- From: Ryan Duckworth [mailto:[EMAIL PROTECTED] Sent: 20 October 2004 17:02 To: CF-Talk

OT: CSS Class vs ID?

2004-10-20 Thread Damien McKenna
Which is the more correct method for calling CSS styles, to use the id attribute or the class attribute? Can IDs be nested, e.g. #box #inside #field {...}, like classes can be, e.g. table.box th.inside td.field {...}. -- *Damien McKenna* - Web Developer - [EMAIL PROTECTED] mailto:[EMAIL

RE: CF developer numbers

2004-10-20 Thread James Holmes
I agree completely, but there's no telling this to the Java snobs who insist that we must use Java exclusively, because they do and CF is just for beginners. All of this leads to Gartner recommending that we all migrate from CF to Java or ASP (because CF is a niche product) and the managers of

RE: css ?

2004-10-20 Thread Dave Francis
body style=background-image:none; background-color:white -Original Message- From: dave [mailto:[EMAIL PROTECTED] Sent: Monday, October 11, 2004 6:26 PM To: CF-Talk Subject: ot: css ? is there a way to override a body tag? what the problem is that i have 1 page that i want a

Re: Dreamweaver Autocomplete

2004-10-20 Thread Mark Drew
I would think the initial inertia is getting the large download of Eclipse (since most web devs here wont be doing java) Then the cfeclipse plugin (knowing how to rather that the actual download) are the easier bits. After that its a walk in the park... maybe we need a little I little

Re: OT: CSS Class vs ID?

2004-10-20 Thread Andy Allan
The ID attribute is unique. It should apply to one and only one div. Use the class attribute for general styles. Andy On Wed, 20 Oct 2004 12:06:20 -0400, Damien McKenna [EMAIL PROTECTED] wrote: Which is the more correct method for calling CSS styles, to use the id attribute or the class

Re: OT: CSS Class vs ID?

2004-10-20 Thread Barney Boisvert
Yes, you can nest IDs. There isn't a right one for referencing a certain element. If the element is unique in a document, use ID, but if it's one of many, use class. Classes are more general, so I tend to use those when I can, reserving ids mostly for page layout tasks (rather than formatting

Is form.evaluation_required some sort of reserved name?

2004-10-20 Thread Cassidy Symons
I'm have a really weird problem here...I've got a form, and one of the fields is called 'evaluation_required' - it's a Yes/No field with values of 1/0. The column in the database has the same name, and is a BIT field (technically TINYINT(1) since MySQL has no real BIT, but...). When I submit

RE: Is form.evaluation_required some sort of reserved name?

2004-10-20 Thread Tangorre, Michael
ColdFusion server side processing is kicking in due to the _required on the field name. Rename your field to something else would be the easiest solution... Until MM ensures that only hidden form fields are considered for server side form validation. Michael T. Tangorre -Original

Re: Is form.evaluation_required some sort of reserved name?

2004-10-20 Thread Barney Boisvert
Yes, anything that ends with _required is processed as a server-side validation instruction by CF when the form is submitted, regarding the field named the same as the part before that string. So in your case, CF is doing validation to ensure that the evaluation form field is present.

RE: Is form.evaluation_required some sort of reserved name?

2004-10-20 Thread Dave Francis
In CF5, fieldname_required in a form checks that form.fieldname exists and has a value. -Original Message- From: Cassidy Symons [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 12:41 PM To: CF-Talk Subject: Is form.evaluation_required some sort of reserved name?

Re: Is form.evaluation_required some sort of reserved name?

2004-10-20 Thread Barney Boisvert
Until MM ensures that only hidden form fields are considered for server side form validation. Which would be impossible, since the hiddenness of a form variable is only client-side, not server-side, so there's no way for CF to know whether a field was hidden or not, unless it somehow

Re: OT: CSS Class vs ID?

2004-10-20 Thread Mark Drew
On a similar note, as I have been doing this *right now* I wonder if the fllowing is possible: (excuse the pseudocode. style .mystyle1 { // some styles here } .mystyle2 { //a different stule here } //now change mystyle1 to mystyle 2 .mystyle1 { //overwrite with mystyle2 } /style

RE: Is form.evaluation_required some sort of reserved name?

2004-10-20 Thread Tangorre, Michael
From: Barney Boisvert [mailto:[EMAIL PROTECTED] Which would be impossible, since the hiddenness of a form variable is only client-side, not server-side, so there's no way for CF to know whether a field was hidden or not, unless it somehow preprocessed the form before it was sent to the

Re: More IIS/J2EE configuration installation issues

2004-10-20 Thread Joe Eugene
When we store our files in the IIS web site's root, they work fine. But when we try to store the files in the {jrun root}\servers\cfusion\cfusion-ear\cfusion-war folder, the server returns a 404. You specified a WebRoot when you installed your J2EE ColdFusion Instance, this is where you need

Re: CF developer numbers

2004-10-20 Thread Calvin Ward
Beta was a superior format to VHS Amiga was a superior multimedia PC compared to PC-Clones or even Macs Apple's OS is more user friendly than Windows. Being better functionality wise doesn't guarantee market penetration or even survival. Just something to think about... -Original

RE: OT: CSS Class vs ID?

2004-10-20 Thread Dave Francis
Latest style wins. -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 12:53 PM To: CF-Talk Subject: Re: OT: CSS Class vs ID? On a similar note, as I have been doing this *right now* I wonder if the fllowing is possible: (excuse the

Re: OT: CSS Class vs ID?

2004-10-20 Thread Barney Boisvert
You can do it with javascript, as the entire content of a stylesheet is accessible as a variety of data structures, but you can't do it with CSS itself. cheers, barneyb On Wed, 20 Oct 2004 18:52:47 +0200, Mark Drew [EMAIL PROTECTED] wrote: On a similar note, as I have been doing this *right

OT: Browser-Based HTML Editor

2004-10-20 Thread Adrocknaphobia
I'm looking to replace our current HTML editor, and was wondering what recommendations everyone has. My core requirement is when pasting content from Word, the crappy Word HTML isn't pasted. I've only found one that has this feature, r.a.d.editor from telerik. But their tag line is The high-end

Re: CSS Class vs ID?

2004-10-20 Thread Massimo, Tiziana e Federica
Which is the more correct method for calling CSS styles, to use the id attribute or the class attribute? I think this cover the topic pretty well: http://css-discuss.incutio.com/?page=ClassesVsIds Massimo Foti DW tools: http://www.massimocorner.com CF tools:

java.lang.IllegalArgumentException: Unparseable date

2004-10-20 Thread Rich Tretola
java.lang.IllegalArgumentException: Unparseable date Anyone know what this error is about? It has been appearing in my default-out.log file. Rich ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta

Re: java.lang.IllegalArgumentException: Unparseable date

2004-10-20 Thread Rich Tretola
Here is the full error: warning Couldn't parse date header. java.lang.IllegalArgumentException: Unparseable date: Monday, 09-Feb-04 20:50:20 GMT; The date range changes in some instances, but for the most part these days/events are past events that, for some reason, are causing the server to

Re: OT: CSS Class vs ID?

2004-10-20 Thread Jochem van Dieten
Mark Drew wrote: On a similar note, as I have been doing this *right now* I wonder if the fllowing is possible: (excuse the pseudocode. style .mystyle1 { // some styles here } .mystyle2 { //a different stule here } //now change mystyle1 to mystyle 2 .mystyle1 { //overwrite

Re: Browser-Based HTML Editor

2004-10-20 Thread Massimo Foti
Adrocknaphobia [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] My core requirement is when pasting content from Word, the crappy Word HTML isn't pasted. This isn't the best editor you will find, but it keeps Word's garbage out: http://www.olimpo.ch/tmt/tag/tmt_xhtmleditorPro/ Give

CFMX6.1, Windows 2003, and verification failure

2004-10-20 Thread Dick Tuengel
We're installing CFMX 6.1 (with the latest Updater) on a set of new Windows 2003 Web Edition Servers, fresh out of the box. CF is not finding our remote mail server (Connection Verification Failed!), and it does not find data on mapped drives on our LAN. We've changed the Logon privileges to

Re: OT: Browser-Based HTML Editor

2004-10-20 Thread Barney Boisvert
HTMLArea. It can be configured to do wordsweeping on paste, and does CSS very well. cheers, barneyb On Wed, 20 Oct 2004 13:12:44 -0400, Adrocknaphobia [EMAIL PROTECTED] wrote: I'm looking to replace our current HTML editor, and was wondering what recommendations everyone has. My core

Re: OT: CSS Class vs ID?

2004-10-20 Thread Dick Applebaum
What if you want to change the attributes of some related items? Say you have table cells: tr td id=col1row 1 column 1/td td id=col2row 1 column 2/td /tr tr td id=col1row 2 column 1/td td id=col2row 2 column 2/td /tr * * * You can change the column width for all cells in the column

CF to make Dynamic CSS

2004-10-20 Thread coldfusion . developer
I'm trying to think of a way to change values in a css file using CF. How can I write to a css file? Any thoughts? D ~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta

Re: OT: CSS Class vs ID?

2004-10-20 Thread Jochem van Dieten
Dick Applebaum wrote: What if you want to change the attributes of some related items? Say you have table cells: tr td id=col1row 1 column 1/td td id=col2row 1 column 2/td /tr tr td id=col1row 2 column 1/td td id=col2row 2 column 2/td /tr * * * You can change the

Re: OT: CSS Class vs ID?

2004-10-20 Thread Michael Wilson
Hi, Either method is correct but id's must be unique per document. Classes may be applied to multiple elements and instances in a single document, so in some instances a class offers more flexibility. I use id's as often as possible because I find them to be more human readable and because

Re: CF to make Dynamic CSS

2004-10-20 Thread Barney Boisvert
with your LINK tag, rather than referencing a CSS file, reference a CFM file that just happens to generate valid CSS. Or, an easier solution is to just emebed the CSS directly in the page. You're not going to lose anything by doing it this way if you're already using a dynamic CSS file. cheers,

Re: CF to make Dynamic CSS

2004-10-20 Thread Massimo, Tiziana e Federica
I'm trying to think of a way to change values in a css file using CF. How can I write to a css file? Any thoughts? You can serve a .cfm as CSS, just add the proper mime-type: cfcontent type=text/css; charset=ISO-8859-1 body{ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;

RE: CF to make Dynamic CSS

2004-10-20 Thread Paul Vernon
We do this. Firstly we created a file mapping called cssx which maps to CF server in IIS then we save out our css with the cssx file extension and the cf code we want in there... Then in the HTML the link to the stylesheet is style.cssx or whatever you call it That way CF handles all the

RE: CF developer numbers

2004-10-20 Thread April Fleming
Funny I have been waiting for this conversation for a while now. I've been developing ColdFusion apps since 1998 as well, and every year it seems harder to justify the costs, there are a lot alternative technologies now. For me personally it has been a motivation to move some of my eggs into

Re: CF developer numbers

2004-10-20 Thread Douglas Knudsen
interestingly enough, CF is spreading inside my company. other app dev teams are being modeled after the one I am on due to our great success. Of course we are a phone company, always a little behind the world, LOL! Doug On Wed, 20 Oct 2004 13:46:41 -0400, April Fleming [EMAIL PROTECTED]

BannerMan custom tag from cfhub..

2004-10-20 Thread Phillip Perry
Has anyone used this custom tag and if so could I ask some questions about it? Thanks Phil ~| The annual ColdFusion User Conference is being held Sat 6/26 - Sun 6/27/04 8am-5pm in the Washington DC Area.

RE: CF developer numbers

2004-10-20 Thread Ian Skinner
I think there are two worlds here. The price of CF server is a bit steep for many smaller companies, but to larger one's it is actually looked at as too cheap! I have had to sell that is was a fully functional product, not some IT toy. Working at a company that pays both for Enterprise Oracle

RE: CF developer numbers

2004-10-20 Thread April Fleming
When I worked at Kennedy Space center it was a very interesting setup, we had a dev group for CF, one for ASP, one for JAVA, and one using PL/SQL in Oracle. All of the teams were developing web-based applications, although the CF group was using it more for Dynamic websites, than for actual web

Re: css ?

2004-10-20 Thread Michael Wilson
Hi, You could also place this in your stylesheet: #altBackground { background-image: none; background-color: white; } Then use body id=altBackground on the pages you wish to override. The only advantages this offers are that it keeps your CSS in your stylesheet rather than having

RE: CFMX6.1, Windows 2003, and verification failure

2004-10-20 Thread Dave Watts
We're installing CFMX 6.1 (with the latest Updater) on a set of new Windows 2003 Web Edition Servers, fresh out of the box. CF is not finding our remote mail server (Connection Verification Failed!), and it does not find data on mapped drives on our LAN. We've changed the Logon privileges

Cffile issue...

2004-10-20 Thread Jeff Waris
An error occurred when performing a file operation Append on file. Using CFMX 6.1, all I am doing is taking a query and writing it out to a file, line by line for each record. It writes about 70K and it errors out with that message at the top. Once errored, Coldfusion still has the file. The only

Query string in db field

2004-10-20 Thread Ben Densmore
I'm trying to find the best way to take a query string that would look something like name=somenameid=12address=123email=yes and pull out the values. These query strings are stored in a field in a database. I just can't seem to think of a way to do this. Anyone have any ideas? Thanks, Ben

Re: SQL Deadlock

2004-10-20 Thread G
Unfortunately there is no silver bullet for the problem of deadlocking...they are a fact of life in multi-user, real-time applications. However, you can do some things to severely limit the chances of them occurring, and for properly handling them when they do. Deadlocks occurr when Process A

RE: Query string in db field

2004-10-20 Thread Dawson, Michael
You can use a regular expression. I remember seeing a regex that pulls values from a URL, but I can't remember where. Google regular expression and either URL|Query String|etc. _ From: Ben Densmore [mailto:[EMAIL PROTECTED] Sent: Wed 10/20/2004 2:27 PM To: CF-Talk Subject: Query

Add the results of one query to another

2004-10-20 Thread David Mineer
What is the best way to add the results of 2 queries into one. I want to check 2 different databases for login information. A union query does work but I would like to use Cold Fusion to do it if possible. TIA, -- David Mineer Jr - Don't wish it was easier; wish you were

Re: Query string in db field

2004-10-20 Thread Qasim Rasheed
How about using cfset myarray = listtoarray( yourquerystring, '') On Wed, 20 Oct 2004 13:27:10 -0500, Ben Densmore [EMAIL PROTECTED] wrote: I'm trying to find the best way to take a query string that would look something like name=somenameid=12address=123email=yes and pull out the values.

Re: Query string in db field

2004-10-20 Thread Umer Farooq
Sample code-- no error checking.. bunch of other ways to do it also.. cfset eachString = arrayNew(1) cfset pairedValue= arrayNew(1) cfset queryString = name=somenameid=12address=123email=yes cfset eachString = listToArray(queryString , ) cfloop from=1 to=#arrayLen(eachString)# index=i

Re: Add the results of one query to another

2004-10-20 Thread G
Mind if i ask why? Seems to me a one-query union would be faster than anything CF could do that would require TWO queries, on top of the extra CF processing. - Original Message - From: David Mineer [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, October 20, 2004 1:34 PM

Re: Add the results of one query to another

2004-10-20 Thread Douglas Knudsen
look up query of query. If you have a query result named foo and one named goo, you can use cfquery name=foogoo dbtype=query SELECT foo.username, goo.somecolumn FROM foo, goo WHERE foo.id = goo.id /cfquery Doug On Wed, 20 Oct 2004 12:34:46 -0600, David Mineer [EMAIL PROTECTED]

Re: CF developer numbers

2004-10-20 Thread Robert Munn
I come across this stance occasionally and I am always careful to point out to management in my company that by using ColdFusion we are using Java. I have CF Enterprise running in J2EE configuration and I am in the process of installing it on servers that will also host other Java-based non-CF

Re: CFMX6.1, Windows 2003, and verification failure

2004-10-20 Thread Dick Tuengel
David - We cannot telenet from any of the Windows 2003 servers to the mail server: we can telenet from all of the Windows 2000 servers. What is the significance of that? Webguy ~| Purchase from House of Fusion, a Macromedia

Re: Query string in db field

2004-10-20 Thread Scott Brady
On Wed, 20 Oct 2004 13:27:10 -0500, Ben Densmore wrote: I'm trying to find the best way to take a query string that would look something like name=somenameid=12address=123email=yes and pull out the values. These query strings are stored in a field in a database. I just can't seem to think

Re: SQL Deadlock

2004-10-20 Thread Umer Farooq
Deadlocks are hard to trouble shoot.. don't overly use cftransaction with select... i.e espcially.. when doing Select MAX(ID) instead use.. following in the insert.. SELECT @@IDENTITY AS whateverFiledName; set nocount off cfset newId = insertNewId.whateverFiledName also for updates

  1   2   >