[ cf-dev ] Dynamic Gif creation

2003-02-25 Thread Paul Johnston
Just got a requirement from a client for a mapping tool. The client wants to be able to add in projects to a site and each project has a postcode and from that info to be able to produce a dynamic map with dots for projects. Given that I can get a grid position from a postcode, and that I can

Re: [ cf-dev ] Dynamic Gif creation

2003-02-25 Thread duncan . cumming
Multimap allows you to do this type of thing, although I'm not sure if you'll be able to turn the dots into an image map, but I'd guess it's possible. Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions

[ cf-dev ] OT: Any jobs in South West?

2003-02-25 Thread Taz
Got a friend living in Glastonbury who's looking for work anywhere from Exeter to Bristol. Does anyone know of any companies looking for a Java/C++ developer? Cheers Taz

[ cf-dev ] Form loop help?

2003-02-25 Thread Dave Phipps
Hi, I have a form that I can't seem to work out how to handle. I have some text fields which are defined as follows: input type=text name=menuid|#menuid# value=#displayorder# What I can't seem to work out is how to loop through these fields so that the value of #displayorder# is inserted

Re: [ cf-dev ] Form loop help?

2003-02-25 Thread duncan . cumming
what's the loop code you've got? Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world -- Get your domain names

RE: [ cf-dev ] Form loop help?

2003-02-25 Thread Martin Gill
I've not tested this, but it may give you a hint CFLOOP INDEX=F FROM=1 TO=#ListLen(FORM.FieldNames)# CFSET Field = ListGetAt(FORM.FieldNames, F) CFIF ListFirst(Field, |) EQ menuid CFSET ThisMenuID = ListLast(Field, |) CFSET ThisValue = Evaluate

Re: [ cf-dev ] Form loop help?

2003-02-25 Thread Dave Phipps
cfloop index=i list=#ListGetAt(attributes.menuid, 2, |)# !--- Assign the displayorder to the menuid --- !--- Update query goes here --- /cfloop The problem is that attributes.menuid does not exist as it will actually have a number on the end, attributes.menuid|7 for

RE: [ cf-dev ] Form loop help?

2003-02-25 Thread Dave Phipps
Hi Martin, Thanks for that, however it falls over on the Evaluate saying the | is an invalid token. Do I need to change delimiter? Also how would I get this to display: form.menuid|thismenuid as the value of the field? I have tried ###form.menuid|##thismenuid### but this falls over on the |

RE: [ cf-dev ] Form loop help?

2003-02-25 Thread Paul Johnston
Dave, I have a form that I can't seem to work out how to handle. I have some text fields which are defined as follows: input type=text name=menuid|#menuid# value=#displayorder# This isn't good code. Change the | for an underscore: input type=text name=menuid_#menuid#

RE: [ cf-dev ] Form loop help?

2003-02-25 Thread Rich Wild
if you're using CF5or above then you should be using form[form.menuid_ menuid] rather than evaluate, for performance reasons. -Original Message- From: Dave Phipps [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 11:30 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Form loop help?

RE: [ cf-dev ] Form loop help?

2003-02-25 Thread Paul Johnston
Dave, Thanks Paul. Here is the final code that produces the desired results: cfloop list=#form.fieldnames# index=i cfif ListFirst(i, _) EQ menuid cfset menuid = listlast(i, _) cfoutputMenuid: #menuid#, #Evaluate(form.menuid_ menuid)#br/cfoutput

RE: [ cf-dev ] Form loop help?

2003-02-25 Thread Paul Johnston
if you're using CF5or above then you should be using form[form.menuid_ menuid] rather than evaluate, for performance reasons. Good point! Hadn't thought of that one! Paul -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL

[ cf-dev ] Query_String length

2003-02-25 Thread Giles Roadnight
Hi Does anyone know anything about the allowed length for the Query_String attached to the URL? We are getting problems when it gets very long - for example with RFA attributes when using fusebox. Sometimes these RFA's can contain RFA's so the url string can get very long. We get problems with

RE: [ cf-dev ] Query_String length

2003-02-25 Thread Paul Johnston
Does anyone know anything about the allowed length for the Query_String attached to the URL? We are getting problems when it gets very long - for example with RFA attributes when using fusebox. Sometimes these RFA's can contain RFA's so the url string can get very long. We get problems

Re: [ cf-dev ] Query_String length

2003-02-25 Thread Taz
I think the maximum length is 255 characters. Taz - Original Message - From: Giles Roadnight [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 12:07 PM Subject: [ cf-dev ] Query_String length Hi Does anyone know anything about the allowed length for the

RE: [ cf-dev ] Query_String length

2003-02-25 Thread Giles Roadnight
Hmmm, on IE 6 I got a query string that was 1,853 characters long!! I pasted it into word and did a word count. -Original Message- From: Taz [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 12:26 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Query_String length I think the maximum

RE: [ cf-dev ] Query_String length

2003-02-25 Thread Dave Phipps
Why is your query_string so long? What are you passing in the url? Dave At 12:41 2/25/2003 +, you wrote: Hmmm, on IE 6 I got a query string that was 1,853 characters long!! I pasted it into word and did a word count. -Original Message- From: Taz [mailto:[EMAIL PROTECTED] Sent:

Re: [ cf-dev ] Query_String length

2003-02-25 Thread Taz
Why is your query_string so long? What are you passing in the url? DNA sequences of monkeys Taz -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail:

RE: [ cf-dev ] Query_String length

2003-02-25 Thread Steve Martin
primary monkeys or foreign monkeys? -Original Message- From: Taz [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 13:08 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Query_String length Why is your query_string so long? What are you passing in the url? DNA sequences of monkeys

RE: [ cf-dev ] Query_String length

2003-02-25 Thread Giles Roadnight
Not actually DNA strings of monkeys. We have a big form used for searching for property. On quite a few pages we return users to the form and the form fields are populated with the values that they entered. These are just passed in the url. Usually this works OK but when you have an RFA you tend

Re: [ cf-dev ] Query_String length

2003-02-25 Thread Taz
primary monkeys or foreign monkeys? They're all Venezuelan Taz -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]

[ cf-dev ] Select box class

2003-02-25 Thread Robertson-Ravo, Neil (RX)
Anyone remember how to change the colour of differing select box rows? -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]

Re: [ cf-dev ] Query_String length

2003-02-25 Thread Matt Horn
http://www.sciam.com/article.cfm?chanID=sa003articleID=000A4F2E-781B-1E5A-A98A809EC5880105 wow At 14:54 25/02/2003 +, you wrote: primary monkeys or foreign monkeys? They're all Venezuelan Taz -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail:

Re: [ cf-dev ] Select box class

2003-02-25 Thread Matt Horn
put a class directive in the option tag and change it with Javascript the property you want is className At 14:49 25/02/2003 +, you wrote: Anyone remember how to change the colour of differing select box rows? -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To

[ cf-dev ] OT: Mini computer WAS: RE: [ cf-dev ] Query_String length

2003-02-25 Thread Paul Johnston
Not really that amazing when the last line says: The authors report that a microliter of solution could hold three trillion computers, which together would perform 66 operations a second. Not a very good number of operations is it! --- Paul Johnston PJ Net

RE: [ cf-dev ] Select box class

2003-02-25 Thread Robertson-Ravo, Neil (RX)
You got any example Matt? -Original Message- From: Matt Horn [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 15:00 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Select box class put a class directive in the option tag and change it with Javascript the property you want is className

RE: [ cf-dev ] dsn on cfmx - SOLVED

2003-02-25 Thread Garry Mills
Arse. That doesn't solve our problem but it isn't an issue at the moment Garry -Original Message- From: Rich Wild [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 14:52 To: '[EMAIL PROTECTED]' Subject: RE: [ cf-dev ] dsn on cfmx - SOLVED you'll all be no doubt delighted to know that

Re: [ cf-dev ] Javascript menus from query

2003-02-25 Thread Dave Phipps
Not bad but it results in this output: dqm__subdesc0_0 = Welcome Message ; dqm__subdesc0_1 = Introduction to Methodism ; dqm__subdesc0_2 = Our Calling ; dqm__subdesc0_3 = Structure of the Church ; dqm__subdesc0_4 = History of the Church ; dqm__subdesc0_5 = Beliefs of the Church ;

RE: [ cf-dev ] Select box class

2003-02-25 Thread Matt Horn
erm not to hand but something like selectbox.options[1].className=red; At 14:58 25/02/2003 +, you wrote: You got any example Matt? -Original Message- From: Matt Horn [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 15:00 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Select box

RE: [ cf-dev ] Select box class

2003-02-25 Thread Robertson-Ravo, Neil (RX)
ah, I think I remember, I will have a play...thanks N -Original Message- From: Matt Horn [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 15:12 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Select box class erm not to hand but something like selectbox.options[1].className=red;

RE: [ cf-dev ] dsn on cfmx - SOLVED

2003-02-25 Thread Rich Wild
there were some other recommendations: 1) Make sure you are using Mixed Mode authentication (not Windows only) on your SQL server DBMS. 3) There is a patch for the CF Administrator (can't find it just now) which produces more accurate error messages when you are unable to verify data

RE: [ cf-dev ] Select box class

2003-02-25 Thread Paul Johnston
Anyone remember how to change the colour of differing select box rows? In JS or CF? If in CF (assuming query): cfoutput query=myQuery tr cfif myQuery.currentRow MOD 2 eq 0 td bgcolor=##FF#somefield#/td cfelse td

RE: [ cf-dev ] Select box class

2003-02-25 Thread Robertson-Ravo, Neil (RX)
No, the colour of a select box option value -Original Message- From: Paul Johnston [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 15:16 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Select box class Anyone remember how to change the colour of differing select box rows? In JS or CF?

RE: [ cf-dev ] Select box class

2003-02-25 Thread Paul Johnston
No, the colour of a select box option value *sheepish grin* Paul -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]

RE: [ cf-dev ] Uninstalling MX J2ee for JRun

2003-02-25 Thread Justin MacCarthy
Actually I have both running now ... Justin -Original Message- From: Lucas Sherwood [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 14:57 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Uninstalling MX J2ee for JRun Here is the catch... You can't have them on the same box... because

RE: [ cf-dev ] dsn on cfmx - SOLVED

2003-02-25 Thread Garry Mills
Thanks, apparently we've raised it with Macromedia who are investigating. Except I didn't know that, bloody mushroom theory this week G -Original Message- From: Rich Wild [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 15:07 To: '[EMAIL PROTECTED]' Subject: RE: [ cf-dev ] dsn on cfmx -

Re: [ cf-dev ] Javascript menus from query

2003-02-25 Thread duncan . cumming
how about this: cfset counter = 0 cfset subcounter = 0 cfoutput cfloop index=i from=1 to=#foo.recordcount# cfif counter NEQ foo.section[i] !--- incremented, so reset subcounter to 0 --- cfset counter = foo.section[i] cfset subcounter = 0 /cfif

RE: [ cf-dev ] Uninstalling MX J2ee for JRun

2003-02-25 Thread Lucas Sherwood
Ok so are both of your databases working? :) Anyway, this is really an unsupported configuration... If you want to keep working like this, just wait a little while longer, the Phase two bits for JRun/windows are what you are after (max stability) L. -Original Message- From: Justin

[ cf-dev ] White Space Stripper.

2003-02-25 Thread Ben Lowndes
Hi, Sometime ago I remember someone posted an app (an .exe I think, not CF) on CF-Talk which loops through a directory stripping all the whitespace out of .cfm files. Does anyone have this, or a link to it? Thanks, Ben -- ** Archive:

RE: [ cf-dev ] White Space Stripper.

2003-02-25 Thread Paul Johnston
Ben, Hi, Sometime ago I remember someone posted an app (an .exe I think, not CF) on CF-Talk which loops through a directory stripping all the whitespace out of .cfm files. Does anyone have this, or a link to it? Thanks, Ben Why not use DWMX or CFStudio Find and Replace on a

Re: [ cf-dev ] Select box class

2003-02-25 Thread Tom Smith
but if it was a query created select box, or even a list, then it would be possible to do it your way:) - Original Message - From: Paul Johnston [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 3:21 PM Subject: RE: [ cf-dev ] Select box class No, the colour of a

RE: [ cf-dev ] Select box class

2003-02-25 Thread Robertson-Ravo, Neil (RX)
yep :-) -Original Message- From: Tom Smith [mailto:[EMAIL PROTECTED] Sent: 25 February 2003 15:50 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Select box class but if it was a query created select box, or even a list, then it would be possible to do it your way:) - Original Message

RE: [ cf-dev ] Select box class

2003-02-25 Thread Paul Johnston
Well this works: code html head titleDifferent Coloured Select Boxes/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 style type=text/css !-- .blah { background-color: #00; } .blah2 { background-color: #99; } -- /style /head

Re: [ cf-dev ] Select box class

2003-02-25 Thread Tom Smith
as I said it would work! - Original Message - From: Paul Johnston [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 4:13 PM Subject: RE: [ cf-dev ] Select box class Well this works: code html head titleDifferent Coloured Select

[ cf-dev ] Quick Flash Question

2003-02-25 Thread Paul Johnston
Okay... I have a textfield that I have set up as dynamic on the stage and given it an instance name of rolloverText If I just create a movie with this and then in actionscript say: rolloverText.text = some text; The text appears However, If in the current movie I do exactly the same (create

Re: [ cf-dev ] Javascript menus from query

2003-02-25 Thread Dave Phipps
Great thanks, I had to add a cfset subcounter = subcounter + 1 at the bottom of the loop and then it works a treat. Cheers for the help. Dave At 15:24 2/25/2003 +, you wrote: how about this: cfset counter = 0 cfset subcounter = 0 cfoutput cfloop index=i from=1 to=#foo.recordcount#

RE: [ cf-dev ] Quick Flash Question

2003-02-25 Thread Paul Johnston
Fixed! Okay... I have a textfield that I have set up as dynamic on the stage and given it an instance name of rolloverText If I just create a movie with this and then in actionscript say: rolloverText.text = some text; The text appears However, If in the current movie I do

RE: [ cf-dev ] SQL 2K DSN

2003-02-25 Thread Rich Wild
ok, a sql login is different to a windows login create a sql login in your enterprise manager. give it a sql password. allocate it to a database and give it read permissions (ie Permit in Database Role: db_datareader) now use these details as the connection details for your DSN.

Re: [ cf-dev ] OT: Mini computer WAS: RE: [ cf-dev ] Query_String length

2003-02-25 Thread Damian Watson
That's more operations per second than the NHS. I'm impressed. - Original Message - From: Paul Johnston [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 3:05 PM Subject: [ cf-dev ] OT: Mini computer WAS: RE: [ cf-dev ] Query_String length Not really that amazing

RE: [ cf-dev ] SQL 2K DSN

2003-02-25 Thread Paul_Swingewood
Ok that worked thanks a lot Regards - Paul I fell asleep during the windows authentication / sql authentication bit and ment to read up in the manual ... The course was so slow * This email and any files transmitted with