<cfset itemlist = listappend(itemlist,URL.DIR)>

You had a typo on the equals sign.

Tom Nunamaker

> I've flipped through ColdFusion MX Web Application Construction Kit_ by
> Ben Forta, page 170. and this is just too deep for me.
>
> I've tried using <cfset itemlist - listappend(itemlist,URL.DIR)> without
> any success?
>
> When a link is clicked <a href=""> > target="bottomframe">
>
> I'm passing the results to the bottom frame which works fine.
>
> I put the <cfset into the bottom.cfm file. When I click on another link
> the ITEMLIST does not get appended. Am I using the correct CF code?
>
> What am I doing wrong?
>
>
> --Original Message Text---
> From: Bushy
> Date: Wed, 26 Nov 2003 10:40:11 -0500
>
>
> Nope.
>
> --Original Message Text---
> From: Kevin Graeme
> Date: Wed, 26 Nov 2003 09:24:36 -0600
>
> Did you even try looking up how to use a list or array and figure it out
> for yourself?
>
> Here's a lead:
> _ColdFusion MX Web Application Construction Kit_ by Ben Forta, page 170.
>
> -Kevin
>
> ----- Original Message -----
> From: "Bushy" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, November 26, 2003 9:12 AM
> Subject: Re: Can this be done??
>
>> Cool.
>>
>> I got it to work using the URL variable.
>>
>> How can I keep adding or concatenate each selection to the URL.item
> variable I'm displaying in the bottomframe to a list or array?
>>
>>
>>
>>
>>
>> --Original Message Text---
>> From: Kevin Graeme
>> Date: Wed, 26 Nov 2003 08:56:40 -0600
>>
>> Ah, maybe I misunderstood what you were trying to do. That still
>> sounds pretty basic and still may not need _javascript_.
>>
>> One way that you might do it is in the top frame, each link goes to
>> the
> same
>> page in the bottom frame and just passes the link information as a url
>> variable. So pass from the top frame something like:
>> <a href=""> >> target="bottomFrame">changes</a>
>>
>> Then on the bottom frame, just grab the url.item variable passed to
>> it,
> add
>> it to a list or array or whatever you need of url variables that
>> you've passed, probably storing them in the session scope. Then output
>> whatever
> is
>> in that list.
>>
>> -Kevin
>>
>> ----- Original Message -----
>> From: "Bushy" <[EMAIL PROTECTED]>
>> To: "CF-Talk" <[EMAIL PROTECTED]>
>> Sent: Wednesday, November 26, 2003 8:25 AM
>> Subject: Re: Can this be done??
>>
>> > --Original Message Text---
>> > From: Kevin Graeme
>> > Date: Wed, 26 Nov 2003 08:20:45 -0600
>> >
>> > Actually, depending on how he's doing things _javascript_ might not be
>> feasible. If the file/folder listing view is a ftp window in the
>> frame,
>> then
>> > he probably won't be able to use _javascript_.
>> >
>> > The directory/file listing is created using <CFFTP.
>> >
>> > If it's a cf/html listing of files, then it's easy and doesn't even
> really
>> > need _javascript_. Just use the target attribute in the <a href> for
>> each
>> link
>> > and point it to the other frame.
>> >
>> > OK...but how can I "concatenate" the listings?
>> >
>> > -Kevin
>> >
>> > ----- Original Message -----
>> > From: <[EMAIL PROTECTED]>
>> > To: "CF-Talk" <[EMAIL PROTECTED]>
>> > Sent: Wednesday, November 26, 2003 8:13 AM
>> > Subject: RE: Can this be done??
>> >
>> > > http://developer.irt.org/script/script.htm ... the _javascript_
>> FAQ's.... learned most of my js there many moons ago... don't know
> how
>> > > up to date it is but certainly give you examples of things that
>> you could use to achieve what you want
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Bushy [mailto:[EMAIL PROTECTED]
>> > > Sent: 26 November 2003 14:02
>> > > To: CF-Talk
>> > > Subject: RE: Can this be done??
>> > >
>> > >
>> > > Do you know where I could find some examples?
>> > >
>> > > --Original Message Text---
>> > > From: Heald, Tim
>> > > Date: Wed, 26 Nov 2003 08:56:10 -0500
>> > >
>> > > _javascript_.
>> > >
>> > >
>> > >
>> > > -----Original Message-----
>> > > From: Bushy [mailto:[EMAIL PROTECTED]
>> > > Sent: Wednesday, November 26, 2003 8:56 AM
>> > > To: CF-Talk
>> > > Subject: re: Can this be done??
>> > >
>> > > Hi,
>> > >
>> > > I have a frame split in half (topframe & bottomframe).
>> > >
>> > > I the top frame I'm listing directories/files which have links to
> them.
>> > > Beside each directory/file is an image that when clicked I want to
> send
>> > > the link information to the bottom frame as the path. Each time a
> link
>> > > is clicked the bottom frame would get updated with a new entry.
>> > >
>> > > For example (+ is directory, - is files):
>> > >
>> > > Top frame listing
>> > > -------------------------
>> > >
>> > > Directory Listing:
>> > >
>> > > + changes
>> > > + delivery
>> > > + late
>> > > + schedule
>> > > - data.txt
>> > > - test.txt
>> > > - mywork.txt
>> > >
>> > > So if a user click on a the directory "changes" link the file path
>> and name are passed to the bottom frame. user then click on the
>> directory "late" and then filename "test.txt"
>> > >
>> > > Bottom frame:
>> > > ---------------------
>> > >
>> > > changes
>> > > late
>> > > test.txt
>> > >
>> > > How could this be done?
>> > >
>> >
>>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to