RE: category-unlimited subcategory formatted dropdowns

2004-11-16 Thread Emmet McGovern
"I was pointing out deficiencies and explaining them, and my blunt, straightforward mannerisms were once again warped by email and misconstrued. So take no offence to my comments." Actually, you can apply this statement to me. I was joking and being sarcastically appreciative of the fix. In thi

Re: category-unlimited subcategory formatted dropdowns

2004-11-16 Thread Barney Boisvert
I wasn't making fun of your code. I'll freely admit to having writen code very similar to what you listed, though not recently. ;) Rather I was pointing out deficiencies and explaining them, and my blunt, straightforward mannerisms were once again warped by email and misconstrued. So take no of

Re: need some farcry help

2004-11-16 Thread Paul Hastings
Phill B wrote: > I'm trying to set up farcry and I'm having some trouble. Anyone one > here that can give me a hand with it? if you haven't already you probably should address this to the farcry folks: http://farcry.daemon.com.au/go/support ~

RE: category-unlimited subcategory formatted dropdowns

2004-11-16 Thread Emmet McGovern
I'd call you brilliant but you made fun of my chunk of code ;) I cant believe I overlooked repeatstring()! Thanks you thank you thank you. Unfortunately I'm not the greatest when it comes to complex sql so I never looked at nested set to start with. Care to enlighten? My late night is done!

Re: Update multiple rows

2004-11-16 Thread Barney Boisvert
Your form looks like this. Obviously with as many fields per row as needed Then your action page looks like this: UPDATE user SET username = '#form["#id#_username"]#' WHERE id = #id# Note I haven't done any validation, used CFQUERYPARAM, or even tested the code. But it shoul

Re: category-unlimited subcategory formatted dropdowns

2004-11-16 Thread Barney Boisvert
First, all those queries are going to be really slow. The code as-is will be making n+m+1 queries to generate the dropdown, where n is the number of individual elements, and m is the number of elements with children. The "+1" is for the initial query for items with no parent. And yes, you can co

Re: apache and muliple CF instances

2004-11-16 Thread Douglas Knudsen
Mark, kewl, helpful, but not for what I was wanting to do. Wow, Valencia, eh? Sweet place, can we say paella? I did find that I could setup virtual hosts on the same domain under different ports and 'map' seperate CF instances to them. Then mod_rewrite can be employed to move requests from foo

Re: Update multiple rows

2004-11-16 Thread Tony Weeg
that was the second one... and thinking about it, you can basically do it one of two ways... create unique form "name" parameters that are basically named using an id, some sort of unique distinction about that item and an underscore and some tag... i use something like and then you would

Re: Update multiple rows

2004-11-16 Thread Duncan I Loxton
So you put each of your rows in a table and at the end of each row put a hidden field in with a unique identifier - like the primary key of the table. As Tony says when this is all posted you will get a load of comma separated lists. You can then do listtoarray on each of these then loop through

RE: Update multiple rows

2004-11-16 Thread Parker, Kevin
Thanks Tony - sorry - maybe I should have given more detail - it would need to occur from one button, not a button each row - it that the approach you're suggesting ++ Kevin Parker Web Services Manager WorkCover Corporation p: 08 8233 2548 m: 0418 806 166 e: [EMAIL PROTECTED] w: www.w

Re: Update multiple rows

2004-11-16 Thread Tony Weeg
wow. gmail sucks cause tabs arent tabs :( anyway. put an update button @ each row, give it own id with a hidden form field, and do updates like that... or... if you have multiple forms of the same name, but you know their order, you can just loop through the values, as they will be in a list...

Re: Update multiple rows

2004-11-16 Thread Tony Weeg
sent too fast :) On Tue, 16 Nov 2004 23:32:46 -0500, Tony Weeg <[EMAIL PROTECTED]> wrote: > i'd do one of two things... > > make each row its own block. > > > > > > > > > On Wed, 17 Nov 2004 14:52:21 +1030, Parker, Kevin <[EMAIL PROTECTED]> wrote: > > I need to write an app w

Re: Update multiple rows

2004-11-16 Thread Tony Weeg
i'd do one of two things... make each row its own block. On Wed, 17 Nov 2004 14:52:21 +1030, Parker, Kevin <[EMAIL PROTECTED]> wrote: > I need to write an app where the user can update multipe rows from one > screen - like a GRID (but not using CFGRID or similar tags) - needs to > be table

category-unlimited subcategory formatted dropdowns

2004-11-16 Thread Emmet McGovern
I have a table that contains categories and unlimited subcategories referencing and I need to create a formatted drop down list. I've been messin around with it for a while and now with no luck. I need the list to go like so... Category Name --Child of category --Child of category Child of s

Update multiple rows

2004-11-16 Thread Parker, Kevin
I need to write an app where the user can update multipe rows from one screen - like a GRID (but not using CFGRID or similar tags) - needs to be table based. I need a starting point to learn how to do this. Can anyone point me to suitable articles, tutes etc Thank you muchly ++ Kevi

Re: Creating a text file without CFFile

2004-11-16 Thread dave
thats a pretty crappy host and i'd get rid of them disabling writing to the registry is one thing but cffile is another -- Original Message -- From: Nick Baker <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Tue, 16 Nov 2004 20:11:56 -0600 >My goal

Re: Macromedia gives up on the server market in Australia and walks away.

2004-11-16 Thread Tony Weeg
isnt there an mxdu that happens in australia? tw On Wed, 17 Nov 2004 09:15:40 +1100, Duncan Isaksen-Loxton <[EMAIL PROTECTED]> wrote: > I have been working at my current employers (a reputable real estate > agency) in Sydney for just over a year now. > > When I joined we were operating on 4.5

Creating a text file without CFFile

2004-11-16 Thread Nick Baker
My goal is to periodically extract and email MySQL records, for backup. (I understand there are better ways to backup, but this is simpler for the customer to deal with.). The simplest way I have found is to loop through the query results and write to a file. Now I have encountered a host that

Re: Returning javascript variables to CFMX via hidden fields.

2004-11-16 Thread Arden Weiss
I understand that -- in the code I posted, that is happening -- there are three cases in the code posted. The first case sends a CF variable mCF_VAR_IN to Javascript and then javascript sends it back as a different variable mCF_VAR_OUT -- this works fine in both IE and firefox. The 2nd case

RE: CFMX and Access Databases

2004-11-16 Thread Dave Watts
> Has anyone found a solution to using MS Access Databases with > CFMX 6.1. I have 4 access databases which everytime cfmx 6.1 > tries to do an update/delete query I get a TCP/IP Connection > timeout error message and JRUN closes connection. I am slowly > converting these to mysql or mssql but

RE: Returning javascript variables to CFMX via hidden fields.

2004-11-16 Thread Dave Watts
> The values of Javascript variables are being returned > properly to CFMX when CFM template is run via FireFox Browser. The values of JavaScript variables are, by themselves, never returned to the server. You have to copy the values into form fields or URL parameters or cookies for this to happe

Re: Returning javascript variables to CFMX via hidden fields.

2004-11-16 Thread Arden Weiss
As follows is the code requested -- am just a newbiew JS programmer, so any help/advice is welcome...