Re: CF Image Gallery

2004-07-27 Thread Robert Munn
I've been meaning to build something like this for a little while, so I took the base code here and built it out into a serviceable little image browser for a web site. I have packaged the whole thing into a zip and built a demo site for browsing here: http://www.rkurup.com/dev/viewer/ You can

RE: XML load

2004-07-27 Thread Shahzad.Butt
Following is the code cfhttp url=""> license_code=XE47-EP93-RD59-GW24action=""> tcode=EN8%208RZ method=GET resolveUrl=false /cfhttp cfoutput cfxml variable=myxml rootelement#cfhttp.filecontent#/rootelement /cfxml cfdump var=#myxml# /cfoutput It shows no contents in the browser

Re: How to make CF session variables available to PHP

2004-07-27 Thread Greg Stewart
Don't believe this is directly possible. You might be able to do something using cookies and/or client vars though. Cheers G On Mon, 26 Jul 2004 16:42:41 +0100, Dave Wilson [EMAIL PROTECTED] wrote: Hi all, I've a section of development ongoing with PHP developers and it has come to the

Re: running linux at home

2004-07-27 Thread Thomas Chiverton
On Tuesday 27 Jul 2004 04:21 am, Rob wrote: with wine (the windows emulator)). Wine Is Not an Emulator :-) -- Tom Chiverton Advanced ColdFusion Programmer [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: How to make CF session variables available to PHP

2004-07-27 Thread Joe Rinehart
Damien, That's really not that different from the implementation I suggested - I'm still curious though - how does my method of passing over via URL open a big security hole? -joe [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: How to make CF session variables available to PHP

2004-07-27 Thread Robertson-Ravo, Neil (RX)
Your only option here is to use a database to copy/store the variables for redeclaration into a PHP session scope.maybe there is a WDDX addon for PHP I'm not too sure though _ From: Greg Stewart [mailto:[EMAIL PROTECTED] Sent: 27 July 2004 11:42 To: CF-Talk Subject: Re: How to make CF

RE: XML load

2004-07-27 Thread S . Isaac Dealey
Following is the code snip It shows no contents in the browser however if you just open the URL in the browser you can see the file. Is there anything I am missing or doing wrong? Make sure that code isn't inside a cfsilent tag pair. Even if the cfsilent tags are in another template that

Re: XML load

2004-07-27 Thread Adam Haskell
PostcodeAnywhere Server=WS02 Version=2.0 Date=27/07/2004 13:14:23 Duration=0.031s Schema Items=3 Field Name=id / Field Name=seq / Field Name=description / /Schema Data Items=40 Item id=29512157 seq=0 description=1 Westgate Court Waltham Cross EN8 8RZ / Item id=29512158 seq=1 description=2

RE: XML load

2004-07-27 Thread Pascal Peters
I ran your code and it worked perfectly. You don't even need the rootelement tag (there is one). Make sure you don't suppress the output somehow. Pascal -Original Message- From: Shahzad.Butt [mailto:[EMAIL PROTECTED] Sent: 27 July 2004 12:07 To: CF-Talk Subject: RE: XML load

Re: How to make CF session variables available to PHP

2004-07-27 Thread Paul Kenney
You could always transfer the data between the two systems via wddx. When PHP wants the session data, it could make an HTTP request to a .cfm server for a serialized version of the session.If CF wants to see the session data used by PHP, it could also make an HTTP request to a .php file for a

Re: CF Image Gallery

2004-07-27 Thread Jake .
Hi All, I was wondering if anyone knows where I can get a some code for an Image Gallery.I have seen tons of these for Free in PHP.But none in CF yet.The gallery I am looking for is type that you upload images to a folder, then on the display page some code makes that thumbnails and

Re: Cfcatch issues.

2004-07-27 Thread Mike Chabot
I have CFMX 6.1 with all the fixin's, and I get [unknown type] when I dump cfcatch. The way around this was I made my own cfdump tag which intercepts cfcatch and handles it as a special case. People have suggested using duplicate, but I found that this does not work, possibly due to the hotfix

Re: Variable Scopes + Dumping cfcatch

2004-07-27 Thread Mike Chabot
I figured out the problem. The hotfix for the duplicate function breaks the dumping of cfcatch. I tried the code on a server that did not have the hotfix, and it worked. I then tried the code on a server with the hotfix, and it failed. I hope I do not run into this problem later when the other

RE: running linux at home

2004-07-27 Thread Ken Ferguson
http://www.talkingtree.com/blog/index.cfm?data=""> Nice little article about doing just that. I've done it several times and it works fairly well. --Ferg _ Welcome to freedom. cfmx runs fine (with apache or with the built in webserver), studio doen't work on linux (though I hear it can be

RE: XML load

2004-07-27 Thread Shahzad.Butt
Thanks everyone. I think it must be the CFMX version causing issues because I have run the code on new server (with fresh CFMX installation) and it works fine. Thanks Shaz _ From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: 27 July 2004 13:17 To: CF-Talk Subject: RE: XML load I ran

RE: Variable Scopes + Dumping cfcatch

2004-07-27 Thread Tangorre, Michael
I hope I do not run into this problem later when the other scopes that I am dumping contain more complex variables than what my tests cases have. I hope they fix it so one can dump all scopes, including CFCATCH!!! Ugh. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe]

Re: Cold Fusion MX known bugs page

2004-07-27 Thread Pete Freitag
Also an unofficial list is here: http://www.cfbughunt.org/index.cfm?fuseaction=list_bugs Sean Corfield wrote: On Mon, 26 Jul 2004 15:03:15 -0700, Rob [EMAIL PROTECTED] wrote: Does anyone have the link handy to the known bugs / bug tracker for the current version of CFMX? I looked around

Re: XML Guest Book

2004-07-27 Thread Tom Kitta
I took a look at your guest book and it looks very nice. I am sorry I didn't finish mine sonner, was running into a lot of small bugs and got delayed by at least 6-8 weeks. I hope I got most of these weeded out through. TK i was going to do one but havent had time to clean it up yet but if

RE: Cfcatch issues.

2004-07-27 Thread Tangorre, Michael
Are you sure it's finishing rendering the page? Perhaps the catch structure has so much data in it that it's taking it a long time to dump the content... or maybe there's a recursive pointer in it somehow. Could you explain a bit more the idea of a recursive pointer in the context of

Stock Charts...

2004-07-27 Thread Bailey, Neal
Does anyone know where I could find a nice stock ticker or quote/chart feed. We currently have one but its cost is way too high and its just plain ugly. I would like to find one that I could customize the colors and fonts. Any ideas? Thanks... Neal Bailey Internet Marketing Manager

character sets / MySQL / CFMX

2004-07-27 Thread Nando
Hi all, Is there anyone out there experienced with setting up character sets in MySQL (4.0) with CFMX? I'm trying to get it to work with Western European languages, and having a little trouble getting it to render properly. Any help would be appreciated. Nando [Todays Threads] [This Message]

Re: Stock Charts...

2004-07-27 Thread Joe Rinehart
Hi Neal, If you go to xMethods.com, you'll see a variety of web services for looking up stock quotes.Some are free, some aren't, but I guess it all depends on what you need them for. By using a web service instead of an html feed, you just get the data back, then you can do whatever you'd like

Re: character sets / MySQL / CFMX

2004-07-27 Thread Paul Hastings
MySQL (4.0) with CFMX? I'm trying to get it to work with Western European languages, and having a little trouble getting it to render properly. in your application.cfm cfset setEncoding(url,ISO-8859-1) cfset setEncoding(form,ISO-8859-1) cfcontent type=text/html; charset=ISO-8859-1 at the top

CFMX Role-based security and thoughts relating to Mach-II

2004-07-27 Thread Mike Kelp
Hi, I have heard ranging stuff about CFMX's implementation of the role-based security system (particularly while I was at CFUN this year) and some suggestions that it is worth checking out. I wanted to get some more input from people who have used it and whether it is something I should consider

CFQUERYPARAM

2004-07-27 Thread Ciliotta, Mario
Hi, I have a query that I am doing and I want to add the CFQUERYPARAM tag to it. What is the value for the tag for a comma delimited list of values. Here is the Query: CFQUERY NAME=Packages Select Package_ID, Package_Cost,Package_Date >From tbl_packages Where Package_id in (123456789,

Re: CFQUERYPARAM

2004-07-27 Thread Bryan Stevenson
Where Package_id in (cfqueryparam value=123456789, 1234567800, 123576576, 7374474747 cfsqltype=integer list=yes) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Original Message - From:

RE: CFQUERYPARAM

2004-07-27 Thread Tangorre, Michael
CFQUERY NAME=Packages Select Package_ID, Package_Cost,Package_Date From tbl_packages Where Package_id in (123456789, 1234567800, 123576576, 7374474747) /CFQUERY Is it: CFQUERYPARAM CFSQLTYPE=CF_SQL_VARCHAR VALUE=#Package_List# That will work, yes. [Todays Threads] [This Message]

RE: CFQUERYPARAM

2004-07-27 Thread Dave Watts
I have a query that I am doing and I want to add the CFQUERYPARAM tag to it. What is the value for the tag for a comma delimited list of values. Use the LIST parameter within your CFQUERYPARAM tag. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax:

RE: character sets / MySQL / CFMX

2004-07-27 Thread Nando
Thanks very much Paul! That connection string did the trick! Have you got a reference somewhere for this so i could study up on it? Maybe i should have searched your site first. -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 5:41 PM To:

Re: CFQUERYPARAM

2004-07-27 Thread Mike Kelp
cfqueryparam cfsqltype=cf_sql_integer value=#Package_List# list=yes separator=, / Take Care, Mike Kelp - Original Message - From: Ciliotta, Mario [EMAIL PROTECTED] Date: Tue, 27 Jul 2004 17:29:40 +0100 Subject: CFQUERYPARAM To: CF-Talk [EMAIL PROTECTED] Hi, I have a query that I am

.net compliant (ot)

2004-07-27 Thread Kurt Knazek
We are a cold fusion shop and have been asked about being .net compliant. What does .net compliant mean ? Thanks Kurt [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Using missing templates as a mod_rewrite

2004-07-27 Thread Scott Ashman
Apache has an ability to do something called a mod_rewrite, which allows you to reformat URLs on the fly to help with SEO or make the URL friendlier.Regretfully, IIS doesn't have this without purchasing 3rd party utility. I was able to use Cold Fusion's missing template to simulate a mod_rewrite.

Re: .net compliant (ot)

2004-07-27 Thread G
It means RUN! Seriously though, if you don't know whether you're .net compliant or not, you're probably not. As an oversimplification, one of the advantages of .NET is that programs written in different languages (C#, ASP, VB, etc) can interact seemlessly with each other using the .NET platform.

Re: .net compliant (ot)

2004-07-27 Thread Thomas Chiverton
On Tuesday 27 Jul 2004 17:55 pm, Kurt Knazek wrote: We are a cold fusion shop and have been asked about being .net compliant. Macromedia's isn't - bluedragon's is, assuming you mean 'will run on a .net server. -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44(0)1749 834997 email:

Re: Using missing templates as a mod_rewrite

2004-07-27 Thread Bryan Stevenson
I used this: http://www.cfhub.com/contributions/SES/ They say it's not tested on anything but Windows/IIS, but I fired it up on Linux/Apache with no problems...works like a charm...no noticeable overhead worth mentioning...no messing with the web server ;-) Cheers Bryan Stevenson B.Comm. VP

RE: .net compliant (ot)

2004-07-27 Thread Eric Jones
Maybe you can stall them long enough for you to setup a Bluedragon .NET CFML server. It's a technical release as of now, but will be going Beta etc in the upcoming weeks / months. ERJ -Original Message- From: G [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 1:01 PM To: CF-Talk

RE: .net compliant (ot)

2004-07-27 Thread Coleman, Brian
Does that mean asp.net and CFMX (6.1) couldn't run on the same server? :-( -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 12:01 PM To: CF-Talk Subject: Re: .net compliant (ot) On Tuesday 27 Jul 2004 17:55 pm, Kurt Knazek wrote: We are a

RE: .net compliant (ot)

2004-07-27 Thread Guy Rish
Kurt, .NET compliance is a pretty vague term.The people asking about compliance will need to be more specific. ColdFusion is built with Java - so it could be said to *not* be .NET compliant. Now ColdFusion does have varying degrees of .NET interoperability though web services and other

Re: cfcontent and ssl/https issue

2004-07-27 Thread Mike Chabot
Just to clarify, you do not need to use header tags in the page to disable caching. My Web server knows enough to not cache cfm files without specifying anything in the file itself. Since the user is hitting a .cfm page, you could be running into a no-cache directive at the Web server level. An

Re: Using missing templates as a mod_rewrite

2004-07-27 Thread Mike Kelp
A while back, I wrote a small custom tag for this on our sites using CFMX. Here is the code: cfparam name=Attributes.Webserver default=IIS !--- Maintain Url Variables --- cfif Attributes.Webserver IS Apache cfset urlArray = ListToArray(CGI.Path_Info,'/') cfelse cfset urlArray =

Re: Using missing templates as a mod_rewrite

2004-07-27 Thread Mike Kelp
Forgot to mention, I can attest pretty well to the reliability of this code as it has been spidered by google on both our apache and IIS test servers quite a bit in the past 8 months. Good Luck. -- Mike Kelp --Education's purpose is to replace an empty mind with an open one. ~Malcolm S. Forbes

RE: .net compliant (ot)

2004-07-27 Thread Samuel R. Neff
Why would you need java components or java connectivity if you're running BD.NET, especially for a client that is asking for .net compliancy?The whole point of BD.NET is to run in a pure .NET environment using .NET components and functionality. Unless there is no other option, it's usually best

RE: .net compliant (ot)

2004-07-27 Thread Guy Rish
Sam, I remember a time not really that long ago when people said that of tools like ColdFusion vs. Java - in '98 I was doing roadshows for an Allaire partner and people kept asking ColdFusion or NetDynamics.People disagreed strongly with me when I told them that ColdFusion and Java could be

RE: .net compliant (ot)

2004-07-27 Thread Samuel R. Neff
Yes, in a large environment.But when you're presented with a client that asks for .net compliancy then you shouldn't be thinking java. Java and .NET and other languages can certainly work with each other, but if you have the option then you're better off sticking to just one for a project and if

OT: Media Player and embedded wav files

2004-07-27 Thread John Stanley
All, I found an issue that you may all want to be aware of, although I dont know how common of an occurance it would really be. I searched for If you have a wav file embedded inside a hidden div tag, windows media player 8 will not play it. But previous versions of media player do find it, and

RE: Media Player and embedded wav files

2004-07-27 Thread John Stanley
Post should read: All, I found an issue that you may all want to be aware of, although I dont know how common of an occurrence it would really be. If you have a wav file embedded inside a hidden div tag, windows media player 8 will not play it. But previous versions of media player do find it,

Strange CFMX hang

2004-07-27 Thread Brook Davies
I'm seeing a strange CFMX server crash on Windows 2000 sp3 with IIS5.0. What happens is that CFMX does not crash and appears to continue to be running. RAM and CPU usage are normal. Nothing is written to any log file.But any requests for CFM pages just spin forever and never return anything.

Re: Stock Charts...

2004-07-27 Thread Neal Bailey
Thanks Joe… I looked over the site but could not find anything that was what I’m after. Maybe I’m missing it. Basically all I want to do is show our current stock prices for our company on the intranet website. Like I said we have one but they charge I think $250 a month for a simple feed. And

test

2004-07-27 Thread Russ
test [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: Stock Charts...

2004-07-27 Thread Joe Rinehart
Hi Neal, XMethods is a directory of various web services that are available for public use.If you search Macromedia.com for web services you'll find a good deal of stuff about both how to use (consume) them and create (publish) them.I have to sort of avoid trying to explain them, because this

CFMX 6.1, Windows 2003 Advanced Server and IIS 6

2004-07-27 Thread Earl, George
We have a web server running Windows 2000 Advanced Server and CFMX 6.1 standalone install. We are about to upgrade this server to Windows 2003 Advanced Server and IIS 6. Can we do this upgrade while leaving CFMX in place? If not, how should we proceed? Any tips on the upgrade process? Any

sql question

2004-07-27 Thread Jeff Fongemie
Hey everyone. I'm stumped. I need to be able to display a list of bicycle races, and under the race list the riders names and positions. I'd like to have two tables so the admin adding thedata only needs to enter the race name and date once, then adds the riders in a seperate table linked by a

RE: sql question

2004-07-27 Thread Pascal Peters
SELECT* FROM riders, races WHERE riders.raceid = races.raceid ORDER BY race_name cfoutput query=qRaces grouprace_name #qRaces.race_name# ... cfoutput #qRaces.ridername# ... /cfoutput /cfoutput Also, don't do SELECT * but select the fields you need. Pascal -Original Message- From:

Re: sql question

2004-07-27 Thread Adam Haskell
look up the group= attibute of cfoutput. As a quick and dirty example You'll want to order by RACE NAME Then cfoutput query = race Info group = RACE NAME Race info cfoutput Stuff /cfoutput /cfoutput On Tue, 27 Jul 2004 14:55:52 -0400, Jeff Fongemie [EMAIL PROTECTED] wrote: Hey everyone. I'm

I'm stumped.

2004-07-27 Thread Jeff Fongemie
Hey everyone. I'm stumped. I need to be able to display a list of bicycle races, and under the ra ce list the riders names and positions. I'd like to have two tables so the admin adding thedata only needs to enter the race name and date once, then adds the riders in a seperate table linked

Re: sql question

2004-07-27 Thread Bruce Sorge
If you are outputting this via cfouput, how about grouping by raceid? - Original Message - From: Jeff Fongemie To: CF-Talk Sent: Tuesday, July 27, 2004 1:55 PM Subject: sql question Hey everyone. I'm stumped. I need to be able to display a list of bicycle races, and under the race

Nested Query of Queries

2004-07-27 Thread Russ
Is it possible to do a nested QoQ query?For example Select * from somequery where id IN (select id from someotherquery where blah='blah') It doesn't look like QoQ supports this. is there a workaround? Russ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

RE: sql question

2004-07-27 Thread Jeffrey Fongemie
Pascal Thank you. So easy! I was looking for a much more difficult solution! Jeff On Tue, 27 Jul 2004 21:02:43 +0200, Pascal Peters wrote: SELECT* FROM riders, races WHERE riders.raceid = races.raceid ORDER BY race_name cfoutput query=qRaces grouprace_name #qRaces.race_name# ...

RE: Nested Query of Queries

2004-07-27 Thread Pascal Peters
SELECT DISTINCT q1.whatever FROM q1, q2 WHERE q1.id = q2.id AND q2.blah = 'blah' Will do the same thing I think Pascal -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: 27 July 2004 21:08 To: CF-Talk Subject: Nested Query of Queries Is it possible to do a nested QoQ

RE: I'm stumped.

2004-07-27 Thread Nando
I'd query for everything with a join, and then group at the output, if that's enough info for you. I've done a lot of that with schedules, and it's worked well for me. -Original Message- From: Jeff Fongemie [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 9:05 PM To: CF-Talk

OT: mssql triggers

2004-07-27 Thread Phill B
I want to make a trigger in MSSQL that updates a datetime field on inserts and updates. I've never made a trigger before so any suggestions are appreciated. Thanks -- Phillip B. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

RE: CFMX 6.1, Windows 2003 Advanced Server and IIS 6

2004-07-27 Thread Dave Watts
We have a web server running Windows 2000 Advanced Server and CFMX 6.1 standalone install. We are about to upgrade this server to Windows 2003 Advanced Server and IIS 6. Can we do this upgrade while leaving CFMX in place? If not, how should we proceed? Any tips on the upgrade process? I'm

Text Input Field Data not recognized with use of Enter key

2004-07-27 Thread Rick Faircloth
Why would a form which has a Text Input field for keywords not put the keywords into play on the action if the Enter key is used to submit the form instead of the Submit (in this case Search) button is clicked? Right after typing in the keyword and hitting enter, the value in that field is not

Re: OT: mssql triggers

2004-07-27 Thread Adam Haskell
This is the basic idea: CREATETRIGGER [UpdateForTime] ON dbo.Products FOR UPDATE AS BEGIN IF Not ((UPDATE(UpdateTime)) BEGIN UPDATE dbo.products SET UpdateTime=getdate() WHERE Product_id IN (select product_id from inserted) END On Tue, 27 Jul 2004 14:29:59 -0500, Phill B [EMAIL PROTECTED]

Re: Stock Charts...

2004-07-27 Thread Dick Applebaum
Neal AFAIK, you have to get real-time stock quotes from a service or a brokerage that subscribes to a service. DICK On Jul 27, 2004, at 11:00 AM, Neal Bailey wrote: Thanks Joe… I looked over the site but could not find anything that was what I’m after. Maybe I’m missing it. Basically all

RE: Nested Query of Queries

2004-07-27 Thread Russ
What I'm looking for is something more like: Select productName from productQuery pq where EXISTS (select batchID from productQuery where pq.batchIDproductQuery.batchID and productName=pq.productName) I haven't tested this query to make sure it works, but basically I'm selecting from a table

RE: I'm stumped.

2004-07-27 Thread Nando
I can be more specific. Query for all records with a join, perhaps WHERE date is greater than or equal to last week sometime, so you'll still display the race that just happened. Order by Date in your query so they show up sequentially. then group by race id in your output tags. that should do it

RE: .net compliant (ot)

2004-07-27 Thread Dave Watts
We are a cold fusion shop and have been asked about being .net compliant. What does .net compliant mean ? As you can tell from the responses so far, it means different things to different people. The strictest interpretation would be that .NET compliant means you end up with a .NET Framework

Re: OT: mssql triggers

2004-07-27 Thread Phill B
Thanks Adam. Just what I needed. -- Phillip B. - Original Message - From: Adam Haskell This is the basic idea: CREATETRIGGER [UpdateForTime] ON dbo.Products FOR UPDATE AS BEGIN IF Not ((UPDATE(UpdateTime)) BEGIN UPDATE dbo.products SET UpdateTime=getdate() WHERE

RE: Stock Charts...

2004-07-27 Thread Bailey, Neal
OK that's sounds fine... does anyone know of a good service to uses. I have gotten several to work based on what Joe has helped me with. But none are for commercial uses and this service would get hit a lot. I tried looking at what Yahoo and MSN use but I think that's way over what we need. Real a

Re: Strange CFMX hang

2004-07-27 Thread Brook Davies
So nobody has seen this type of crash?? At 10:58 AM 7/27/2004, you wrote: I'm seeing a strange CFMX server crash on Windows 2000 sp3 with IIS5.0. What happens is that CFMX does not crash and appears to continue to be running. RAM and CPU usage are normal. Nothing is written to any log file.But

Re: OT: mssql triggers

2004-07-27 Thread Adam Haskell
Remember on triggers you got 2 major tables at your disposal Inserted and deleted so if you want to get more complex you can do an inner join on the 2 tables and only update the update time when the actual field value changes for instance if I ran Update People Set Name = 'George' Where Name

Re: Strange CFMX hang

2004-07-27 Thread Donnie Bachan
I have seen something like what you described before but found no solution to the problem. We found that this happened after applying hot fixes, namely the Sequelink 3.3 drivers and it occurred on the server running alot of MS Access databases. We tried rolling back the drivers but that did not

3rd party Amazon Pricing Webservice...Legal?

2004-07-27 Thread Adam Haskell
Ok I don't know if anyone out there has ever used Amazon's web services to get their product information, it is pretty cool for finding a product or info about the product, except for prices. For prices it only returns their price and the lowest 3rd party price and it doesn't tell you who that 3rd

RE: Text Input Field Data not recognized with use of Enter key

2004-07-27 Thread Matthew Walker
When the button is clicked, the associated button value is passed to the form handler. When enter is hit, the button value is not passed. Apparently, your handler page is relying on that button value. _ From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 July 2004 7:22 a.m.

RE: HELP. CF and JavaScript question - Thanks

2004-07-27 Thread Kevin
Hey, Does anyone know where I can get a breakdown of this syntax? I would love to learn to use this kind of shorthand when I have those long lists of if / thens. :-) Thanks, Kevin _ Although I am far from being a _javascript_ expert but I think (val==null)?:val; acts like a immediate if

Re: HELP. CF and JavaScript question - Thanks

2004-07-27 Thread Claude Schneegans
Does anyone know where I can get a breakdown of this syntax? see http://msdn.microsoft.com/library/en-us/jscript7/html/jsoprconditional.asp -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam

RE: HELP. CF and JavaScript question - Thanks

2004-07-27 Thread Marlon Moyer
From the Netscape _javascript_ 1.3 Client Reference ?: (Conditional operator) The conditional operator is the only _javascript_ operator that takes three operands. This operator is frequently used as a shortcut for the if statement. Syntax condition ? expr1 : expr2 Parameters condition : an

Shorthand if stmt - Thanks

2004-07-27 Thread Kevin
Hi Claude, Thanks for the link. I can not believe I had not come across this before. Without knowing the name for it all my searches came up empty. ;-( Kevin _ From: Claude Schneegans [mailto:[EMAIL PROTECTED] Does anyone know where I can get a breakdown of this syntax? see

Help! - Dynamically Generate Forms from SQL DB - Bad Idea?

2004-07-27 Thread millerj
Hello List - I am looking to store information about variables nad form fields in a db to conditionally build html forms - Has anyone stored the variable name, and the form type in a database - and built the form dynamically on the fly? I can't seem to find any references to it and am

Re: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?

2004-07-27 Thread Adam Haskell
only problem I have with that idea is that input boxes can be so vaired as far as on click events, on change events, diffrent formating, then theres the action page and form validation..there is a lot more to a form than a simple Name:inputbox. Adam H On Tue, 27 Jul 2004 21:24:27 -0400, [EMAIL

Re: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?

2004-07-27 Thread millerj
only problem I have with that idea is that input boxes can be so vaired as far as on click events, on change events, diffrent formating, then theres the action page and form validation..there is a lot more to a form than a simple Name:inputbox. Adam H Absolutely agree with that. I had already

RE: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?

2004-07-27 Thread Matthew Walker
It's certainly possible, and I've seen it done a few times and done it myself many times. The biggest problem is that HTML form fields have such an inconsistent interface. For example, compare the HTML markup for a set of radio buttons with a select box: very different, yet the two widgets

RE: Text Input Field Data not recognized with use of Enter key

2004-07-27 Thread Rick Faircloth
Hi, Matthew, and thanks for the reply... You're right...the action is dependent upon the Search button value being passed. I guess the solution is to pass another value that will be passed if the Search button is clicked or the Enter key is hit.I guess a hidden field would do the trick...

Re: Text Input Field Data not recognized with use of Enter key

2004-07-27 Thread Aaron DC
You dont have to - just check for the existence of the textbox field. Aaron - Original Message - From: Rick Faircloth To: CF-Talk Sent: Wednesday, July 28, 2004 1:41 PM Subject: RE: Text Input Field Data not recognized with use of Enter key Hi, Matthew, and thanks for the reply...

Re: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?

2004-07-27 Thread millerj
Mat - Thanks for the reply. 1st - Regarding my code below - I was considering passing the FormType (radio, text, textarea) variable througha if / case or tag that appropriate spits out the same code. Your right -they all essentially do the same thing. As for terra forms - I have watched that

RE: Text Input Field Data not recognized with use of Enter key

2004-07-27 Thread Rick Faircloth
Hi, Aaron... So you're saying that the textbox field value is not being passed and the Search button value is?That makes sense, because if the Search button value was not being passed, the form and none of its fields would be processed. That still leaves a problem...if a user fills in the

Re: Text Input Field Data not recognized with use of Enter key

2004-07-27 Thread Aaron DC
Without seeing your code I cant say 100%, but when a form is submitted (either through clicking submit or hitting the enter key), the textbox form field should always be present. Aaron - Original Message - From: Rick Faircloth To: CF-Talk Sent: Wednesday, July 28, 2004 2:08 PM

RE: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?

2004-07-27 Thread Matthew Walker
Well I don't want this to sound like an ad so I'll simply say that if you have been considering trying it, I would definitely recommend doing so before you write this dynamic-form-from-database code as it could really help with that. _ From: [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?

2004-07-27 Thread Aaron DC
So every time a form is displayed, you are going to dynamically generate it from the database? How often does the form change? Aaron - Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: CF-Talk Sent: Wednesday, July 28, 2004 11:24 AM Subject: Help! - Dynamically Generate

Re: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?

2004-07-27 Thread millerj
Aaron, I would most likely create static pages from generated content more often then have a form generated dynamically every time. I was just working on an application this evening... Customer can order 1 of 5 reports. Each report has alot of information. - Client side - when ordering - I can

Re: Help! - Dynamically Generate Forms from SQL DB - Bad Idea?

2004-07-27 Thread Adam Haskell
So every time a form is displayed, you are going to dynamically generate it from the database? How often does the form change? Excelent Question! But would template caching or just query caching be able to elimiate most overhead? [Todays Threads] [This Message] [Subscription] [Fast