Can this be done?
Hello All, Wondering if there is a way to make the html files to using cold fusion on a windows server 2000 iis5? I need to map all the html in a site to cold fusion. I don't really feel like changing all the html extensions to cfm. Thanks. Joel __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Can this be done ?
I'm wondering if this is possible, as I haven't had any luck. I hope someone can help me =). I am trying to do is list all the manufactures in my database by state. No, problem, works fine. But, I only want it to list five states at a time, and have a next button that will take the user to the next five states. Unfortuneatly, I can only get it to go up the next five "records" in the database. Is there a way to have it go next to the next catagory ? Thanks ahead of time, Gregg webmaster www.houseboatmagazine.com PS: here is the code I have so far ! SELECT id, state, statename, company FROM HBMF Order by state Click on the state or province for houseboat manufactures in that state only. #statename# Or, you may browse the entire listing below of houseboat manufactures. Manufactures Sorry, no matching records. #statename# #company# There are #manf.RecordCount# items in the database. You are currently viewing records #StartRow# to #Evaluate(StartRow + MaxRows - 1)# Next page Previous page -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
can this be done?
Hello cf-talk, I have an existing project where a form takes a field "name" and inserts in in a row "name" in an Access database. So, we have about 1000 names in the database as one name (firstname lastname). Now, the client changes his mind, and wants to be able to sort by last name, firstname. Yes, this was discussed prior to, and was deemed not needed. Is there a way, to somehow break up the full name into 2 fields, say by using the space as a separator? I would only need to do this once as it is an event. Could I make two new fields, last_name and first_name, then get the fullname, break it up using the space, then insert first_name, then last_name? Is this even possible? This would have been so much easier if client said yes to this at the design stage! Best regards, Jeff Fongemie mailto:[EMAIL PROTECTED] _ Composed on Monday, May 13, 2002, at 11:55:57 AM __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Can this be done?
I don't know if this is possible. I just know I can't figure out how to do it. I want to dynamically determine whether the tag has a query parameter. The following does not work but shows what I want to do: query="ShowMemberInfo"' > -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Can This be done?
I have a page where I display info on 16 players (I'm running a fantasy football league and trying to have everything automated) This info comes from a DB. The info is displayed like this in an html table. 4 QB Kurt Warner STL now there is 16 of these. I need to insert only the ones are checked which will be 8 players. How can I insert these into my DB, I keep getting a numeric value out of range error message so I'm guessing it's trying to grab all the form values in my page and insert them into one line in my DB, I need to have it so Player one info will be inserted into 4 columns, then player 2 will be inserted into the next row of columns etc.. I hope I explained this ok. Thanks for any help someone may offer. Ben Densmore ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Can this be done??
I want to be able to run a file on one server that goes out to a page on another server, run a query, grab the information, and put it into a DB on the first server. Has anyone done this before?? Brian Yager President - North AL Cold Fusion Users Group Sr. Systems Analyst NCCIM/CIC [EMAIL PROTECTED] (256) 842-8342 ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Can this be done?
Hello all.. I'm bidding on a job and the client told me something that a competitor does that seems pretty amazing. He said that this competitor can dynamically build certain sections of a homepage based on the search term that was used on the previous page of a search engine site, no matter which one is used. I know you can look at the CGI.HTTP_REFERER value for some search engines, but does anyone know how to do this for all sites. Is there a tool, CFC or UDF that could do this for me? Is there an easy way to parse the info out? Che Vilnonis Application Developer Advertising Systems Incorporated 8470C Remington Avenue Pennsauken, NJ 08110 p: 856.488.2211 f: 856.488.1990 www.asitv.com ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Can this be done?
speculating: cffile the apache/iis logs... parse the last couple of lines... output... dont wanna think what will happen if the logs are a few megabytes big... - mga ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Can this be done?
>The logs just contain the same data that would be in CGI.HTTP_REFERER hm... wasn't aware of that ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Re: Can this be done?
What version of CF? Douglas Brown Email: [EMAIL PROTECTED] - Original Message - From: "Joel Blanchette" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 1:24 PM Subject: Can this be done? > Hello All, > Wondering if there is a way to make the html files to using cold > fusion on a windows server 2000 iis5? I need to map all the html in a > site to cold fusion. I don't really feel like changing all the html > extensions to cfm. > > Thanks. > > Joel > > __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
cf 5 yeah.from the iis manager, add an extension, called .html that is mapped to use the iscf.dll (basically mirror the settings that the .cfm file have, just change the .cfm to .html, or whatever .tony if you want) cfmx is a bit harder tw -Original Message- From: Joel Blanchette [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 4:24 PM To: CF-Talk Subject: Can this be done? Hello All, Wondering if there is a way to make the html files to using cold fusion on a windows server 2000 iis5? I need to map all the html in a site to cold fusion. I don't really feel like changing all the html extensions to cfm. Thanks. Joel __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can this be done?
Is there a reason why you need to change the file extensions? Are you using Dreamweaver at all? Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] >>> [EMAIL PROTECTED] 08/29/02 19:39 PM >>> Hello All, Wondering if there is a way to make the html files to using cold fusion on a windows server 2000 iis5? I need to map all the html in a site to cold fusion. I don't really feel like changing all the html extensions to cfm. Thanks. Joel __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
Haven't tried this, but I think you can go into the Internet Services Manager under Admin Tools, go the Properties for the Default Web Site (or sub directory), choose the Home Directory tab and click on the Configuration button. Under Application Mappings, add .htm and point it to the same .dll used by the version of CF you are using. You should see the mappings already set up for the .CFM files there. I've played around with this to have CF process .css style sheets... Chuck McElwee Macromedia Certified Advanced ColdFusion Developer www.etechsolutions.com [EMAIL PROTECTED] -Original Message- From: Joel Blanchette [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 4:24 PM To: CF-Talk Subject: Can this be done? Hello All, Wondering if there is a way to make the html files to using cold fusion on a windows server 2000 iis5? I need to map all the html in a site to cold fusion. I don't really feel like changing all the html extensions to cfm. Thanks. Joel __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
I don't know if this will work on MX Go into IIS go to the webs properties click on the "Home Directory" tab and then click "Configuration" Double click .cfm and copy the Executable path Close it and click "add" Paste the path and in the executable and make the extension .htm do the same for .html. Rick -Original Message- From: Joel Blanchette [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 3:24 PM To: CF-Talk Subject: Can this be done? Hello All, Wondering if there is a way to make the html files to using cold fusion on a windows server 2000 iis5? I need to map all the html in a site to cold fusion. I don't really feel like changing all the html extensions to cfm. Thanks. Joel __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can this be done?
Just go into the IIS config... website properties... Home Directory tab... and click CONFIGURATION. Look at the .cfm entry and how it's set up... then set up another entry for htm or .html (whichever you like) that looks identical. All .htm (or .html) will then be parsed through the CF engine and will be treated the same as .cfm files. -Novak - Original Message - From: "Joel Blanchette" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, August 29, 2002 1:24 PM Subject: Can this be done? > Hello All, > Wondering if there is a way to make the html files to using cold > fusion on a windows server 2000 iis5? I need to map all the html in a > site to cold fusion. I don't really feel like changing all the html > extensions to cfm. > > Thanks. > > Joel > > __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can this be done?
Open up IIS, and click on the properties of the website in question. Click on the home directory tab. Then click Configuration. Copy the path used in the *.cfm mapping and create a new mapping for *.html that points to the same executable as the *cfm path. That should do it At 03:24 PM 29/08/02 -0500, you wrote: >Hello All, > Wondering if there is a way to make the html files to using cold >fusion on a windows server 2000 iis5? I need to map all the html in a >site to cold fusion. I don't really feel like changing all the html >extensions to cfm. > >Thanks. > >Joel > > __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can this be done ?
Gregg: Sure it can be done. Check out my bride's website at http://www.bike70th.com - It displays 10 days at a time no matter how many news items per day. You just have to do the arithmetic. I'll send you the CF template privately. best, paul At 05:03 PM 7/28/00 -0600, you wrote: >I'm wondering if this is possible, as I haven't had any luck. I hope >someone can help me =). I am trying to do is list all the manufactures in >my database by state. No, problem, works fine. But, I only want it to list >five states at a time, and have a next button that will take the user to the >next five states. Unfortuneatly, I can only get it to go up the next five >"records" in the database. Is there a way to have it go next to the next >catagory ? Thanks ahead of time, >Gregg >webmaster >www.houseboatmagazine.com > >PS: here is the code I have so far ! > > > > SELECT id, state, statename, company > FROM HBMF > Order by state > > > > > >Click on the state or province for houseboat manufactures in that state >only. > > > > > > >#statename# > > > > >Or, you may browse the entire listing below of houseboat manufactures. > > > > > Manufactures > > > Sorry, no matching records. > > > > > Maxrows="#maxrows#"> > > #statename# > > > #company# > > > > > > > > > > >There are #manf.RecordCount# items in the database. >You are currently viewing records #StartRow# to #Evaluate(StartRow >+ MaxRows - 1)# > > > > Next page > > > Previous page > > > > >-- >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ >To Unsubscribe visit >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or >send a message to [EMAIL PROTECTED] with 'unsubscribe' in >the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Can this be done ?
One thought that quickly comes to mind is this: Build a table States and put all 50 states in it. Pull from it a list of states and for each state query the database for manufacturers in that state. Then you could do next five records from the States table. This might take a performance hit. You also might be able to do something with GROUP BY. Jonathan Karlen - Original Message - From: gregg Kachel <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 28, 2000 6:03 PM Subject: Can this be done ? > I'm wondering if this is possible, as I haven't had any luck. I hope > someone can help me =). I am trying to do is list all the manufactures in > my database by state. No, problem, works fine. But, I only want it to list > five states at a time, and have a next button that will take the user to the > next five states. Unfortuneatly, I can only get it to go up the next five > "records" in the database. Is there a way to have it go next to the next > catagory ? Thanks ahead of time, > Gregg > webmaster > www.houseboatmagazine.com > > PS: here is the code I have so far ! > > > > SELECT id, state, statename, company > FROM HBMF > Order by state > > > > > > Click on the state or province for houseboat manufactures in that state > only. > > > > > > > #statename# > > > > > Or, you may browse the entire listing below of houseboat manufactures. > > > > > Manufactures > > > Sorry, no matching records. > > > > > Maxrows="#maxrows#"> > > #statename# > > > #company# > > > > > > > > > > > There are #manf.RecordCount# items in the database. > You are currently viewing records #StartRow# to #Evaluate(StartRow > + MaxRows - 1)# > > > > Next page > > > Previous page > > > > > -- > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. > -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Can this be done ?
Try caching the query, then do a group by state with a startrow and maxrows in your cfoutput. You'll have to build your next / previous counters to populate your startrow variable. If you can't build your own, there's a tag in the Alliare Developers Exchange that can help. Dave - Original Message - From: gregg Kachel <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 28, 2000 7:03 PM Subject: Can this be done ? I'm wondering if this is possible, as I haven't had any luck. I hope someone can help me =). I am trying to do is list all the manufactures in my database by state. No, problem, works fine. But, I only want it to list five states at a time, and have a next button that will take the user to the next five states. Unfortuneatly, I can only get it to go up the next five "records" in the database. Is there a way to have it go next to the next catagory ? Thanks ahead of time, Gregg webmaster www.houseboatmagazine.com PS: here is the code I have so far ! SELECT id, state, statename, company FROM HBMF Order by state Click on the state or province for houseboat manufactures in that state only. #statename# Or, you may browse the entire listing below of houseboat manufactures. Manufactures Sorry, no matching records. #statename# #company# There are #manf.RecordCount# items in the database. You are currently viewing records #StartRow# to #Evaluate(StartRow + MaxRows - 1)# Next page Previous page -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
re: can this be done
This is a multi-part message in MIME format. --=_NextPart_000_0017_01BFFB95.42423F80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Steve,=20 Thanks for the help, unfortuneatly its still not doing what it needs to = do. What I am trying to do is get the next to bring up the next five = STATES and what ever manufactures are under that state. This code will = only bring up the next five actual manufactures when I hit next. Paul = was gracious enough to send me this template, but unfortuneatly I'm = rather new at CF, and have a hard time following his logic. I know it = works well on his page, and some how the next button and the previous = bottons are turned around, and they will not bring up anything but there = is no error, nor does any text come up ! It just comes with a blank = screen. The template and what I have gotten figured out so far is below: SELECT id, state, company, statename FROM HBMF =20 ORDER BY statename SELECT ID FROM HBMF ORDER BY company House boat Manufactures/TITLE> Houseboat manufactures, listed by state: #statename# #company# Hi Gregg, > > > Paul or whoever can answer me, having a hard time understanding some of > this logic. The next botton and previous buttons do not work, and seem to > be switched. Any ideas what I am doing wrong ? Here is the code, thanks. > I had a look at the code you gave... It looked a little over complex, so I stripped a load of the code out and wound up with this: SELECT id, state, statename, company FROM HBMF Order by statename #statename# #company# One of the reasons your previous code may not have been working was because of the use of the start variable. By not specifying the scope of the variable and using to check the existance of the variable, you were probably winding up with a start variable in the 'variables' scope and one in the 'form' scope and looking at the 'variables' scope version rather than the one passed from the form. So what I've done is made sure that the start variable is properly referenced, by using form.start in the cfparam and for any other references. Hope this is a little clearer. Regards Stephen Gregg Kachel Webmaster www.houseboatmagazine.com www.houseboat.net www.pdbworld.com/ --=_NextPart_000_0017_01BFFB95.42423F80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Steve, Thanks for the help, unfortuneatly = its still=20 not doing what it needs to do. What I am trying to do is get the = next to=20 bring up the next five STATES and what ever manufactures are under that = state.=20 This code will only bring up the next five actual manufactures when I = hit=20 next. Paul was gracious enough to send me this template, but = unfortuneatly=20 I'm rather new at CF, and have a hard time following his logic. I = know it=20 works well on his page, and some how the next button and the previous = bottons=20 are turned around, and they will not bring up anything but there is no = error,=20 nor does any text come up ! It just comes with a blank = screen. The template and what I have gotten = figured out so=20 far is below:SELECT id, state, = company,=20 statename FROM HBMF ORDER BY=20 statename SELECT IDFROM HBMFORDER BY=20 company = House boat=20 Manufactures/TITLE> Houseboat manufactures, listed = by state:=20
re: can this be done
Are you missing a ? At 08:48 AM 8/1/00 -0600, you wrote: >It just comes with a blank = >screen. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
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]
RE: Can this be done??
_javascript_. Timothy Heald Web Portfolio Manager Overseas Security Advisory Council U.S. Department of State 571.345.2319 The opinions expressed here do not necessarily reflect those of the U.S. Department of State or any affiliated organization(s). Nor have these opinions been approved or sanctioned by these organizations. This e-mail is unclassified based on the definitions in E.O. 12958. -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]
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_. Timothy Heald Web Portfolio Manager Overseas Security Advisory Council U.S. Department of State 571.345.2319 The opinions expressed here do not necessarily reflect those of the U.S. Department of State or any affiliated organization(s). Nor have these opinions been approved or sanctioned by these organizations. This e-mail is unclassified based on the definitions in E.O. 12958. -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]
RE: Can this be done??
http://www.w3schools.com/js/js_frames.asp Timothy Heald Web Portfolio Manager Overseas Security Advisory Council U.S. Department of State 571.345.2319 The opinions expressed here do not necessarily reflect those of the U.S. Department of State or any affiliated organization(s). Nor have these opinions been approved or sanctioned by these organizations. This e-mail is unclassified based on the definitions in E.O. 12958. -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 9:04 AM 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_. Timothy Heald Web Portfolio Manager Overseas Security Advisory Council U.S. Department of State 571.345.2319 The opinions expressed here do not necessarily reflect those of the U.S. Department of State or any affiliated organization(s). Nor have these opinions been approved or sanctioned by these organizations. This e-mail is unclassified based on the definitions in E.O. 12958. -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]
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]
Re: Can this be done??
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_. 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 for each link and point it to the other frame. -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]
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 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 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]
RE: Can this be done??
Hi, I have an example working from http://developer.irt.org/script/11.htm When I click on a directory or filename link the results gets passed to the bottom frame. The problem I have is every link that a user clicks on I want it to "concatenate" each directory/file to the listing. Currently it only display each link cliked. How can I do this? Help! --Original Message Text--- From: [EMAIL PROTECTED] Date: Wed, 26 Nov 2003 14:13:15 - 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]
Re: Can this be done??
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: changes 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 > > 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 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]
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: changes 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 > > 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 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]
Re: Can this be done??
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: > changes > > 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 > > > > 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 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]
RE: Can this be done??
You could store the info in a session variable and then append the new value to it. Timothy Heald Web Portfolio Manager Overseas Security Advisory Council U.S. Department of State 571.345.2319 The opinions expressed here do not necessarily reflect those of the U.S. Department of State or any affiliated organization(s). Nor have these opinions been approved or sanctioned by these organizations. This e-mail is unclassified based on the definitions in E.O. 12958. -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 10:21 AM To: CF-Talk 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: changes 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 > > 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 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]
RE: Can this be done??
I was actually wondering the same thing. Timothy Heald Web Portfolio Manager Overseas Security Advisory Council U.S. Department of State 571.345.2319 The opinions expressed here do not necessarily reflect those of the U.S. Department of State or any affiliated organization(s). Nor have these opinions been approved or sanctioned by these organizations. This e-mail is unclassified based on the definitions in E.O. 12958. -Original Message- From: Kevin Graeme [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 10:36 AM To: CF-Talk Subject: Re: Can this be done?? 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: > changes > > 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 > > > > 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 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]
Re: Can this be done??
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: > changes > > 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 > > > > 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 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]
Re: Can this be done??
nice. - Original Message - From: Bushy To: CF-Talk Sent: Wednesday, November 26, 2003 8:40 AM Subject: Re: Can this be done?? 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: > changes > > 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 > > > > 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 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]
Re: Can this be done??
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 without any success? When a link is clicked I'm passing the results to the bottom frame which works fine. I put the 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: > changes > > 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 > > > > 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 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]
Re: Can this be done??
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 without > any success? > > When a link is clicked > target="bottomframe"> > > I'm passing the results to the bottom frame which works fine. > > I put the > 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: >> >> target="bottomFrame">changes >> >> 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 >> > >> > 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 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 >>
Re: Can this be done??
That typo is OK in my code. I'm doing something else wrong. --Original Message Text--- From: [EMAIL PROTECTED] Date: Wed, 26 Nov 2003 13:07:46 -0500 (EST) 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 without > any success? > > When a link is clicked > target="bottomframe"> > > I'm passing the results to the bottom frame which works fine. > > I put the > 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: >> >> target="bottomFrame">changes >> >> 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 >> > >> > 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 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_. >> > > >> > > >> > > >> > > -Origin
RE: Can this be done??
If I'm hearing you right you want to pass a value from the top frame like: Something Then in your bottom.cfm you can have a persistant variable or maybe a cookie that you can add the selected value to: Then you can loop over the list and display the items that you selected in the top: #i# Is that what you're after? -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 1:24 PM To: CF-Talk Subject: Re: Can this be done?? That typo is OK in my code. I'm doing something else wrong. --Original Message Text--- From: [EMAIL PROTECTED] Date: Wed, 26 Nov 2003 13:07:46 -0500 (EST) 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 without > any success? > > When a link is clicked > target="bottomframe"> > > I'm passing the results to the bottom frame which works fine. > > I put the 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: >> >> target="bottomFrame">changes >> >> 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 >> > >> > 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 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] >> &g
RE: Can this be done??
Exactly! Work like a charm! Mucho Grande! --Original Message Text--- From: Greg Luce Date: Wed, 26 Nov 2003 14:01:17 -0500 If I'm hearing you right you want to pass a value from the top frame like: Something Then in your bottom.cfm you can have a persistant variable or maybe a cookie that you can add the selected value to: Then you can loop over the list and display the items that you selected in the top: #i# Is that what you're after? -Original Message- From: Bushy [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 1:24 PM To: CF-Talk Subject: Re: Can this be done?? That typo is OK in my code. I'm doing something else wrong. --Original Message Text--- From: [EMAIL PROTECTED] Date: Wed, 26 Nov 2003 13:07:46 -0500 (EST) 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 without > any success? > > When a link is clicked > target="bottomframe"> > > I'm passing the results to the bottom frame which works fine. > > I put the 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: >> >> target="bottomFrame">changes >> >> 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 >> > >> > 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 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 >> > > >> > > >&g
RE: can this be done?
Of course it is, the replies will come flooding in just you wait... ;O) -Original Message- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: 13 May 2002 17:05 To: CF-Talk Subject: can this be done? Hello cf-talk, I have an existing project where a form takes a field "name" and inserts in in a row "name" in an Access database. So, we have about 1000 names in the database as one name (firstname lastname). Now, the client changes his mind, and wants to be able to sort by last name, firstname. Yes, this was discussed prior to, and was deemed not needed. Is there a way, to somehow break up the full name into 2 fields, say by using the space as a separator? I would only need to do this once as it is an event. Could I make two new fields, last_name and first_name, then get the fullname, break it up using the space, then insert first_name, then last_name? Is this even possible? This would have been so much easier if client said yes to this at the design stage! Best regards, Jeff Fongemie mailto:[EMAIL PROTECTED] _ Composed on Monday, May 13, 2002, at 11:55:57 AM __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
I am not sure about in Access. In T-SQL you have functions like charindex, and subsrtring and right, and left that would make it easy to do this all in SQL. Using access I don't think you have those functions, however you can use CF to do it, and use the space as a list delimiter. It would be time consuming if it's a big db, and it would not scale at all :) Tim Heald ACP/CCFD :) Application Development www.schoollink.net > -Original Message- > From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 12:05 PM > To: CF-Talk > Subject: can this be done? > > > Hello cf-talk, > > I have an existing project where a form takes a field "name" and > inserts in in a row "name" in an Access database. > > So, we have about 1000 names in the database as one name (firstname > lastname). Now, the client changes > his mind, and wants to be able to sort by last name, firstname. > > Yes, this was discussed prior to, and was deemed not needed. > > Is there a way, to somehow break up the full name into 2 fields, say > by using the space as a separator? I would only need to do this > once as it is an event. Could I make two new fields, last_name and > first_name, then get the fullname, break it up using the space, then > insert first_name, then last_name? > > Is this even possible? This would have been so much easier if client > said yes to this at the design stage! > > > Best regards, > Jeff Fongemie mailto:[EMAIL PROTECTED] > > > _ > Composed on Monday, May 13, 2002, at 11:55:57 AM > > __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
You need to select just the surname part in your select list and then order by that. e.g. if your field is called "name" try sommat like the following.. SELECT name, LEFT(name,CHARINDEX(" ",name)) as 'fname', RIGHT(name,CHARINDEX(" ",name)) as 'sname' FROM table ORDER by sname This assumes that your data is all ok - i.e. all confors to the format "fname sname". i.e. if there is someone who's first or surnames have a space in them then you are a bit stuffed. I have no idea if this will work in access but should work in SQL. Sticky tape job but there you go.. -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED]] Sent: 13 May 2002 17:07 To: CF-Talk Subject: RE: can this be done? Of course it is, the replies will come flooding in just you wait... ;O) -Original Message- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: 13 May 2002 17:05 To: CF-Talk Subject: can this be done? Hello cf-talk, I have an existing project where a form takes a field "name" and inserts in in a row "name" in an Access database. So, we have about 1000 names in the database as one name (firstname lastname). Now, the client changes his mind, and wants to be able to sort by last name, firstname. Yes, this was discussed prior to, and was deemed not needed. Is there a way, to somehow break up the full name into 2 fields, say by using the space as a separator? I would only need to do this once as it is an event. Could I make two new fields, last_name and first_name, then get the fullname, break it up using the space, then insert first_name, then last_name? Is this even possible? This would have been so much easier if client said yes to this at the design stage! Best regards, Jeff Fongemie mailto:[EMAIL PROTECTED] _ Composed on Monday, May 13, 2002, at 11:55:57 AM __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
> I have an existing project where a form takes a field "name" > and inserts in in a row "name" in an Access database. > > So, we have about 1000 names in the database as one name > (firstname lastname). Now, the client changes his mind, and > wants to be able to sort by last name, firstname. > > Yes, this was discussed prior to, and was deemed not needed. > > Is there a way, to somehow break up the full name into 2 fields, > say by using the space as a separator? I would only need to do > this once as it is an event. Could I make two new fields, > last_name and first_name, then get the fullname, break it up > using the space, then insert first_name, then last_name? > > Is this even possible? This would have been so much easier if > client said yes to this at the design stage! Yes, this is certainly possible. Access has the necessary string functions to support this within SQL statements, and you could approach this in many ways - you could do a one-time, offline data transformation, and rewrite your code to work with the new table design, or you could incorporate the transformation process into your existing CF code. I'd recommend the first option, myself. I'll also take this opportunity to say that, despite the client's initial desires, there's no reason that you had to use one field, even if that's how the client wanted to see the data. It's a good idea, for exactly this reason, to break your data into its smallest components, so that you don't have to transform it later. Even if your client didn't want to see the two fields as separate, you could certainly have handled that in your CF code, and still had the two separate fields in the database. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
Save yourself some pain and create two DB columns. Use CF to loop over them and re-insert the proper values. You only need to do this once of course... .. INSERT INTO theTable (firstName, lastName) VALUES( '#listFirst(fullName," ")#', '#listLast(fullName," ")#') .. +---+ Bryan Love Macromedia Certified Professional Internet Application Developer Database Analyst Telecommunication Systems [EMAIL PROTECTED] +---+ "...'If there must be trouble, let it be in my day, that my child may have peace'..." - Thomas Paine, The American Crisis -Original Message- From: Timothy Heald [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 9:10 AM To: CF-Talk Subject: RE: can this be done? I am not sure about in Access. In T-SQL you have functions like charindex, and subsrtring and right, and left that would make it easy to do this all in SQL. Using access I don't think you have those functions, however you can use CF to do it, and use the space as a list delimiter. It would be time consuming if it's a big db, and it would not scale at all :) Tim Heald ACP/CCFD :) Application Development www.schoollink.net > -Original Message- > From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 12:05 PM > To: CF-Talk > Subject: can this be done? > > > Hello cf-talk, > > I have an existing project where a form takes a field "name" and > inserts in in a row "name" in an Access database. > > So, we have about 1000 names in the database as one name (firstname > lastname). Now, the client changes > his mind, and wants to be able to sort by last name, firstname. > > Yes, this was discussed prior to, and was deemed not needed. > > Is there a way, to somehow break up the full name into 2 fields, say > by using the space as a separator? I would only need to do this > once as it is an event. Could I make two new fields, last_name and > first_name, then get the fullname, break it up using the space, then > insert first_name, then last_name? > > Is this even possible? This would have been so much easier if client > said yes to this at the design stage! > > > Best regards, > Jeff Fongemie mailto:[EMAIL PROTECTED] > > > _ > Composed on Monday, May 13, 2002, at 11:55:57 AM > > __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: can this be done?
At 12:04 PM 5/13/02 -0400, Jeff Fongemie wrote: > So, we have about 1000 names in the database as one name (firstname > lastname). Now, the client changes > his mind, and wants to be able to sort by last name, firstname. I'd run a query through the table, picking up the names, breaking them in two using FindNoCase(" ",Name,1) and grabbing to the left and right of the space. Then write the data back into the database into the two new fields you've created. (I don't give the customer the choice on this sort of thing, because they generally don't understand the ramifications.) T __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
It can be done in access... Create two field within your table for first_name and last_name Then Update table set first_name = left(fullname, instr(fullname,' ')), last_name=right(fullname, instrrev(fullname,' ')) This should work. I haven't tried it so there might be some logical error I haven't thought of but the functions are in access to achieve the solution. - Matt Small -Original Message- From: Timothy Heald [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:10 PM To: CF-Talk Subject: RE: can this be done? I am not sure about in Access. In T-SQL you have functions like charindex, and subsrtring and right, and left that would make it easy to do this all in SQL. Using access I don't think you have those functions, however you can use CF to do it, and use the space as a list delimiter. It would be time consuming if it's a big db, and it would not scale at all :) Tim Heald ACP/CCFD :) Application Development www.schoollink.net > -Original Message- > From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 12:05 PM > To: CF-Talk > Subject: can this be done? > > > Hello cf-talk, > > I have an existing project where a form takes a field "name" and > inserts in in a row "name" in an Access database. > > So, we have about 1000 names in the database as one name (firstname > lastname). Now, the client changes > his mind, and wants to be able to sort by last name, firstname. > > Yes, this was discussed prior to, and was deemed not needed. > > Is there a way, to somehow break up the full name into 2 fields, say > by using the space as a separator? I would only need to do this > once as it is an event. Could I make two new fields, last_name and > first_name, then get the fullname, break it up using the space, then > insert first_name, then last_name? > > Is this even possible? This would have been so much easier if client > said yes to this at the design stage! > > > Best regards, > Jeff Fongemie mailto:[EMAIL PROTECTED] > > > _ > Composed on Monday, May 13, 2002, at 11:55:57 AM > > __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
You ought show them a comparison (cost) of how much time (therefore money) you are putting into the "fix" and how much it would have cost had they listened to you in the first place ($0.00) Let the figures speak for you again, proof the client really has no idea what they really wantsigh. feeling pessimistic today. Jon -Original Message- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:05 PM To: CF-Talk Subject: can this be done? Hello cf-talk, I have an existing project where a form takes a field "name" and inserts in in a row "name" in an Access database. So, we have about 1000 names in the database as one name (firstname lastname). Now, the client changes his mind, and wants to be able to sort by last name, firstname. Yes, this was discussed prior to, and was deemed not needed. Is there a way, to somehow break up the full name into 2 fields, say by using the space as a separator? I would only need to do this once as it is an event. Could I make two new fields, last_name and first_name, then get the fullname, break it up using the space, then insert first_name, then last_name? Is this even possible? This would have been so much easier if client said yes to this at the design stage! Best regards, Jeff Fongemie mailto:[EMAIL PROTECTED] _ Composed on Monday, May 13, 2002, at 11:55:57 AM __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: can this be done?
At 12:04 PM 5/13/02 -0400, you wrote: > Is there a way, to somehow break up the full name into 2 fields, say > by using the space as a separator? I would only need to do this > once as it is an event. Could I make two new fields, last_name and > first_name, then get the fullname, break it up using the space, then > insert first_name, then last_name? I planned for something like this before and depending on the data, it might be more complicated than you think. The problem comes in when you have people with middle name, middle initials, "Jr.," "Sr.," "III," etc. These things don't fit easily into a "break at the first whitespace" plan. Of course, if you don't actually have that kind of data, there's no problem. Change it once and never go back because eventually you will have that problem. Take a look at the data and see what kind of anomalies exist in the field before you proceed. Now available in a San Francisco Bay Area near you! http://www.blivit.org/mr_urc/index.cfm http://www.blivit.org/mr_urc/resume.cfm __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
I second this - even though I posted a selotape solution, to break down the info into 2 separate entities is the better option -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: 13 May 2002 17:24 To: CF-Talk Subject: RE: can this be done? > I have an existing project where a form takes a field "name" > and inserts in in a row "name" in an Access database. > > So, we have about 1000 names in the database as one name > (firstname lastname). Now, the client changes his mind, and > wants to be able to sort by last name, firstname. > > Yes, this was discussed prior to, and was deemed not needed. > > Is there a way, to somehow break up the full name into 2 fields, > say by using the space as a separator? I would only need to do > this once as it is an event. Could I make two new fields, > last_name and first_name, then get the fullname, break it up > using the space, then insert first_name, then last_name? > > Is this even possible? This would have been so much easier if > client said yes to this at the design stage! Yes, this is certainly possible. Access has the necessary string functions to support this within SQL statements, and you could approach this in many ways - you could do a one-time, offline data transformation, and rewrite your code to work with the new table design, or you could incorporate the transformation process into your existing CF code. I'd recommend the first option, myself. I'll also take this opportunity to say that, despite the client's initial desires, there's no reason that you had to use one field, even if that's how the client wanted to see the data. It's a good idea, for exactly this reason, to break your data into its smallest components, so that you don't have to transform it later. Even if your client didn't want to see the two fields as separate, you could certainly have handled that in your CF code, and still had the two separate fields in the database. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
Yes, it can be done. But it will require manual review afterwards. I'd probably just right a quick and dirty CF page to do this work for you (a bit easier to understand/code than T-SQL), or if you have the skills, use SQL directly. However, what about cases where the name is something like "John Van Dusen" ? Is the "Van" portion a middle name, or part of the last name? How do you write that logic into the code? Hence the reason I say you need a manual review afterwards. (or before, to be certain you do not have any of these situations.) If you are going the CF route, then you might be able to use the list functions to do this. For instance: sFullName = "Shawn Grover"; sFirstName = ListGetAt(sFullName, 1, " "); sLastName = ListGetAt(sLastName, 2, " "); Or you can be more elaborate, and get the first name, then using the left/right functions, strip that string from the full name, and assume the rest is the last name. My thoughts Shawn Grover -Original Message- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 10:05 AM To: CF-Talk Subject: can this be done? Hello cf-talk, I have an existing project where a form takes a field "name" and inserts in in a row "name" in an Access database. So, we have about 1000 names in the database as one name (firstname lastname). Now, the client changes his mind, and wants to be able to sort by last name, firstname. Yes, this was discussed prior to, and was deemed not needed. Is there a way, to somehow break up the full name into 2 fields, say by using the space as a separator? I would only need to do this once as it is an event. Could I make two new fields, last_name and first_name, then get the fullname, break it up using the space, then insert first_name, then last_name? Is this even possible? This would have been so much easier if client said yes to this at the design stage! Best regards, Jeff Fongemie mailto:[EMAIL PROTECTED] _ Composed on Monday, May 13, 2002, at 11:55:57 AM __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
It can also be done by creating a query using SQL in access. ColdFusion is not necessary. - Matt Small -Original Message- From: Matthew R. Small [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:29 PM To: CF-Talk Subject: RE: can this be done? It can be done in access... Create two field within your table for first_name and last_name Then Update table set first_name = left(fullname, instr(fullname,' ')), last_name=right(fullname, instrrev(fullname,' ')) This should work. I haven't tried it so there might be some logical error I haven't thought of but the functions are in access to achieve the solution. - Matt Small -Original Message- From: Timothy Heald [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:10 PM To: CF-Talk Subject: RE: can this be done? I am not sure about in Access. In T-SQL you have functions like charindex, and subsrtring and right, and left that would make it easy to do this all in SQL. Using access I don't think you have those functions, however you can use CF to do it, and use the space as a list delimiter. It would be time consuming if it's a big db, and it would not scale at all :) Tim Heald ACP/CCFD :) Application Development www.schoollink.net > -Original Message- > From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 12:05 PM > To: CF-Talk > Subject: can this be done? > > > Hello cf-talk, > > I have an existing project where a form takes a field "name" and > inserts in in a row "name" in an Access database. > > So, we have about 1000 names in the database as one name (firstname > lastname). Now, the client changes > his mind, and wants to be able to sort by last name, firstname. > > Yes, this was discussed prior to, and was deemed not needed. > > Is there a way, to somehow break up the full name into 2 fields, say > by using the space as a separator? I would only need to do this > once as it is an event. Could I make two new fields, last_name and > first_name, then get the fullname, break it up using the space, then > insert first_name, then last_name? > > Is this even possible? This would have been so much easier if client > said yes to this at the design stage! > > > Best regards, > Jeff Fongemie mailto:[EMAIL PROTECTED] > > > _ > Composed on Monday, May 13, 2002, at 11:55:57 AM > > __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
Give this a shot - should get you on the right track. == i=1; fname=ArrayNew(1); lname=ArrayNew(1); if(not isdefined("url.orderby")){ url.orderby="fname"; } if(not isdefined("url.updn")){ updn="ASC"; } SELECT fullname FROM mytable fname[i]=ListGetAt(fullname,1," "); lname[i]="ListGetAt(fullname,2," ")"; tmp=QueryAddColumn(qGetAll, "fname", fname); tmp=QueryAddColumn(qGetAll, "lname", lname); SELECT * FROM qGetAll ORDER BY #url.orderby# #url.updn# if(updn is "ASC"){ updn="DESC"; }else{ updn="ASC"; } #fname# #lname# == Hope this helps! Joshua Miller Web Development :: Programming Eagle Web Development LLC www.eaglewd.com [EMAIL PROTECTED] (304) 622-5676 (Clarksburg Office) (304) 456-4942 (Home Office) -Original Message----- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:05 PM To: CF-Talk Subject: can this be done? Hello cf-talk, I have an existing project where a form takes a field "name" and inserts in in a row "name" in an Access database. So, we have about 1000 names in the database as one name (firstname lastname). Now, the client changes his mind, and wants to be able to sort by last name, firstname. Yes, this was discussed prior to, and was deemed not needed. Is there a way, to somehow break up the full name into 2 fields, say by using the space as a separator? I would only need to do this once as it is an event. Could I make two new fields, last_name and first_name, then get the fullname, break it up using the space, then insert first_name, then last_name? Is this even possible? This would have been so much easier if client said yes to this at the design stage! Best regards, Jeff Fongemie mailto:[EMAIL PROTECTED] _ Composed on Monday, May 13, 2002, at 11:55:57 AM __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
Although several folks had much better solutions using SQL - take their advice - don't do it the CF way unless you have to for some reason. Joshua Miller Web Development :: Programming Eagle Web Development LLC www.eaglewd.com [EMAIL PROTECTED] (304) 622-5676 (Clarksburg Office) (304) 456-4942 (Home Office) -Original Message- From: Joshua Miller [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:32 PM To: CF-Talk Subject: RE: can this be done? Give this a shot - should get you on the right track. == i=1; fname=ArrayNew(1); lname=ArrayNew(1); if(not isdefined("url.orderby")){ url.orderby="fname"; } if(not isdefined("url.updn")){ updn="ASC"; } SELECT fullname FROM mytable fname[i]=ListGetAt(fullname,1," "); lname[i]="ListGetAt(fullname,2," ")"; tmp=QueryAddColumn(qGetAll, "fname", fname); tmp=QueryAddColumn(qGetAll, "lname", lname); SELECT * FROM qGetAll ORDER BY #url.orderby# #url.updn# if(updn is "ASC"){ updn="DESC"; }else{ updn="ASC"; } #fname# #lname# == Hope this helps! Joshua Miller Web Development :: Programming Eagle Web Development LLC www.eaglewd.com [EMAIL PROTECTED] (304) 622-5676 (Clarksburg Office) (304) 456-4942 (Home Office) -Original Message----- From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 12:05 PM To: CF-Talk Subject: can this be done? Hello cf-talk, I have an existing project where a form takes a field "name" and inserts in in a row "name" in an Access database. So, we have about 1000 names in the database as one name (firstname lastname). Now, the client changes his mind, and wants to be able to sort by last name, firstname. Yes, this was discussed prior to, and was deemed not needed. Is there a way, to somehow break up the full name into 2 fields, say by using the space as a separator? I would only need to do this once as it is an event. Could I make two new fields, last_name and first_name, then get the fullname, break it up using the space, then insert first_name, then last_name? Is this even possible? This would have been so much easier if client said yes to this at the design stage! Best regards, Jeff Fongemie mailto:[EMAIL PROTECTED] _ Composed on Monday, May 13, 2002, at 11:55:57 AM __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
How about really easy. You set up a where that looks for whatever they entered. Select name from personnel where name like '%#form.firstname#%' or name like '%#form.lastname#%' I mean it wouldn't be exact but there shouldn't be to many over lapping names. Not a lot of people out there with a last name containing Tim or bob or whatever. It wouldn't be exact but it would probably fit the middle ground and save you some trouble. Tim Heald ACP/CCFD :) Application Development www.schoollink.net > -Original Message- > From: Joshua Miller [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 12:32 PM > To: CF-Talk > Subject: RE: can this be done? > > > Give this a shot - should get you on the right track. > > == > > i=1; > fname=ArrayNew(1); > lname=ArrayNew(1); > if(not isdefined("url.orderby")){ > url.orderby="fname"; > } > if(not isdefined("url.updn")){ > updn="ASC"; > } > > > > SELECT fullname > FROM mytable > > > > fname[i]=ListGetAt(fullname,1," "); > lname[i]="ListGetAt(fullname,2," ")"; > > > > > tmp=QueryAddColumn(qGetAll, "fname", fname); > tmp=QueryAddColumn(qGetAll, "lname", lname); > > > > SELECT * FROM qGetAll > ORDER BY #url.orderby# #url.updn# > > > > if(updn is "ASC"){ > updn="DESC"; > }else{ > updn="ASC"; > } > > > > #fname# > #lname# > > > == > > Hope this helps! > > Joshua Miller > Web Development :: Programming > Eagle Web Development LLC > www.eaglewd.com > [EMAIL PROTECTED] > (304) 622-5676 (Clarksburg Office) > (304) 456-4942 (Home Office) > > > -Original Message- > From: Jeff Fongemie [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 13, 2002 12:05 PM > To: CF-Talk > Subject: can this be done? > > > Hello cf-talk, > > I have an existing project where a form takes a field "name" and > inserts in in a row "name" in an Access database. > > So, we have about 1000 names in the database as one name (firstname > lastname). Now, the client changes > his mind, and wants to be able to sort by last name, firstname. > > Yes, this was discussed prior to, and was deemed not needed. > > Is there a way, to somehow break up the full name into 2 fields, say > by using the space as a separator? I would only need to do this > once as it is an event. Could I make two new fields, last_name and > first_name, then get the fullname, break it up using the space, then > insert first_name, then last_name? > > Is this even possible? This would have been so much easier if client > said yes to this at the design stage! > > > Best regards, > Jeff Fongemie mailto:[EMAIL PROTECTED] > > > _ > Composed on Monday, May 13, 2002, at 11:55:57 AM > > > __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: can this be done?
Yes, Just create the two new columns and do like you suggested, find the first space and insert the name into the firstname column and then copy the remaining length of the string into the lastname column minus the space. Then run a quick output to visually inspect the contents of the fields. It'll be a small pain to do but lesson learned: "never let the client define the database." :) Good Fortune, Richard Walters, Webmaster, Davita Laboratory Services [EMAIL PROTECTED] (800) 604-5227 x 3525 >>> [EMAIL PROTECTED] 05/13/02 12:04PM >>> Hello cf-talk, I have an existing project where a form takes a field "name" and inserts in in a row "name" in an Access database. So, we have about 1000 names in the database as one name (firstname lastname). Now, the client changes his mind, and wants to be able to sort by last name, firstname. Yes, this was discussed prior to, and was deemed not needed. Is there a way, to somehow break up the full name into 2 fields, say by using the space as a separator? I would only need to do this once as it is an event. Could I make two new fields, last_name and first_name, then get the fullname, break it up using the space, then insert first_name, then last_name? Is this even possible? This would have been so much easier if client said yes to this at the design stage! Best regards, Jeff Fongemie mailto:[EMAIL PROTECTED] _ Composed on Monday, May 13, 2002, at 11:55:57 AM __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done?
Some cautions when you go through the potential redesign and subsequent parsing: 1. If you are dealing with far eastern names (Hebrew and Arabic as well if my memory serves me right), names have a different structure then we do in Western culture. 2. If these names where input by the individuals themselves and the program did not do any clean-up before storing, You may have to deal with the following sorts of combinations: Andy Ousterhout Andrew C. Ousterhout A Channing Ousterhout AC Ousterhout Mr Andrew Channing Ousterhout, Senior, Ph.d, JD, and other god-like qualifications... You might want to check to see if anyone has some good name-parsing code. Good luck Andy -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Monday, May 13, 2002 11:24 AM To: CF-Talk Subject: RE: can this be done? > I have an existing project where a form takes a field "name" > and inserts in in a row "name" in an Access database. > > So, we have about 1000 names in the database as one name > (firstname lastname). Now, the client changes his mind, and > wants to be able to sort by last name, firstname. > > Yes, this was discussed prior to, and was deemed not needed. > > Is there a way, to somehow break up the full name into 2 fields, > say by using the space as a separator? I would only need to do > this once as it is an event. Could I make two new fields, > last_name and first_name, then get the fullname, break it up > using the space, then insert first_name, then last_name? > > Is this even possible? This would have been so much easier if > client said yes to this at the design stage! Yes, this is certainly possible. Access has the necessary string functions to support this within SQL statements, and you could approach this in many ways - you could do a one-time, offline data transformation, and rewrite your code to work with the new table design, or you could incorporate the transformation process into your existing CF code. I'd recommend the first option, myself. I'll also take this opportunity to say that, despite the client's initial desires, there's no reason that you had to use one field, even if that's how the client wanted to see the data. It's a good idea, for exactly this reason, to break your data into its smallest components, so that you don't have to transform it later. Even if your client didn't want to see the two fields as separate, you could certainly have handled that in your CF code, and still had the two separate fields in the database. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can this be done?
Hi, This might be a crazy question but here it goes. I'm using http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
One way you can do this is to keep a count of the items in the list and when the count is equal to X, create a new cell. Have the count restart every time you create a new cell () and don't forget to close your previous one. You can even have the X variable be something a user can set. Margaret -Original Message- From: phumes1 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 9:57 AM To: CF-Talk Subject: Re: Can this be done? Hi, This might be a crazy question but here it goes. I'm using http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
Not sure of exactly how to do it, but I'd guess you grab the first 4 and display them, then the next four, then the next four. If it's the display part that you're having trouble with, have one table with one row and (using your example below) five 's. Then in each have another table with four 's. If that helps I'm not sure :OP Ade -Original Message- From: phumes1 [mailto:[EMAIL PROTECTED]] Sent: 15 May 2002 17:57 To: CF-Talk Subject: Re: Can this be done? Hi, This might be a crazy question but here it goes. I'm using http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
You can reference the query by bracket syntax and do a nested loop as such: #qResults.fieldName[currentIndex]# NOTE, that code is not tested. It's just give you the idea/theory behind it. I hope that makes sense. Ben Johnson Hostworks, Inc. __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can this be done?
use MOD. something like ... On Wed, 15 May 2002, phumes1 wrote: > Hi, > > This might be a crazy question but here it goes. > > I'm using have a 100+ files in them. Presently I'm displaying the list down the left > side of my webpage under each other. > > file1.txt > file2.txt > file3.txt > file4.txt > file5.txt > etc... > > I was wondering if there is a way automatically using a table to do the > following and if so, how? > > > file1.txt file5.txt file9.txt file13.txt file17.txt > file2.txt file6.txt file10.txt file14.txt file18.txt > file3.txt file7.txt file11.txt file15.txt file19.txt > file4.txt file8.txt file12.txt file16.txt file20.txt > > > > >+---+ > > Philip Humeniuk > [EMAIL PROTECTED] > [EMAIL PROTECTED] > >++ > > > __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can this be done?
Yes #NAME #name# #name# Well atleast something along that lines. Did not test it but you can try it. >>> [EMAIL PROTECTED] 05/15/02 12:54 PM >>> Hi, This might be a crazy question but here it goes. I'm using http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
I know how to do this with a query, and that's all that a CFDIRECTORY call is right? You would use current row and mod and nested tables to make it work. Say you wanted to have it 5 or 10 high ten you would do something like cfif currentrow mod 10 is 0 and end your current table and start the new one within that if. It is a lot easier to do it horizontally though. Tim Heald ACP/CCFD :) Application Development www.schoollink.net > -Original Message- > From: phumes1 [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 12:57 PM > To: CF-Talk > Subject: Re: Can this be done? > > > Hi, > > This might be a crazy question but here it goes. > > I'm using have a 100+ files in them. Presently I'm displaying the list down > the left > side of my webpage under each other. > > file1.txt > file2.txt > file3.txt > file4.txt > file5.txt > etc... > > I was wondering if there is a way automatically using a table to do the > following and if so, how? > > > file1.txt file5.txt file9.txt file13.txt file17.txt > file2.txt file6.txt file10.txt file14.txt file18.txt > file3.txt file7.txt file11.txt file15.txt file19.txt > file4.txt file8.txt file12.txt file16.txt file20.txt > > > > +- > --+ > > Philip Humeniuk > [EMAIL PROTECTED] > [EMAIL PROTECTED] > +- > ---+ > > > __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
Would "x" be the line number? At 11:12 AM 5/15/2002 -0600, you wrote: >You can reference the query by bracket syntax and do a nested loop as such: > > > > > > > > > > > > > > > #qResults.fieldName[currentIndex]# > > > > > > >NOTE, that code is not tested. It's just give you the idea/theory behind >it. I hope that makes sense. > > > >Ben Johnson >Hostworks, Inc. > > __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
>>I was wondering if there is a way automatically using a table to do the following and if so, how?<< I have used (something like) the following to get how ever many columns I want columns. x = number of columns desired; //could be loop YOUR CONTENT HERE //that would make this loop count -Craig __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
Where's the "x"? -Ben -Original Message- From: phumes1 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 11:35 AM To: CF-Talk Subject: RE: Can this be done? Would "x" be the line number? At 11:12 AM 5/15/2002 -0600, you wrote: >You can reference the query by bracket syntax and do a nested loop as such: > > > > > > > > > > > > > > > #qResults.fieldName[currentIndex]# > > > > > > >NOTE, that code is not tested. It's just give you the idea/theory behind >it. I hope that makes sense. > > > >Ben Johnson >Hostworks, Inc. > > __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Can this be done?
or to fillup each column first before starting a new row. int(currentrow / ((recordcount+1)/columns)) example 10 records, 2 columns 1/((10+1)/2)=0 <=== designate the column to display 2/((10+1)/2)=0 3/((10+1)/2)=0 4/((10+1)/2)=0 5/((10+1)/2)=0 6/((10+1)/2)=1 7/((10+1)/2)=1 8/((10+1)/2)=1 9/((10+1)/2)=1 10/((10+1)/2)=1 sample output filename filename could be cleaned up lots - done quickly. Eric From: Alex <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: CF-Talk <[EMAIL PROTECTED]> Subject: Re: Can this be done? Date: Wed, 15 May 2002 12:58:00 -0400 (EDT) use MOD. something like ... On Wed, 15 May 2002, phumes1 wrote: > Hi, > > This might be a crazy question but here it goes. > > I'm using have a 100+ files in them. Presently I'm displaying the list down the left > side of my webpage under each other. > > file1.txt > file2.txt > file3.txt > file4.txt > file5.txt > etc... > > I was wondering if there is a way automatically using a table to do the > following and if so, how? > > > file1.txt file5.txt file9.txt file13.txt file17.txt > file2.txt file6.txt file10.txt file14.txt file18.txt > file3.txt file7.txt file11.txt file15.txt file19.txt > file4.txt file8.txt file12.txt file16.txt file20.txt > > > > +---+ > > Philip Humeniuk > [EMAIL PROTECTED] > [EMAIL PROTECTED] > ++ > > > __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
Try : query="ShowMemberInfo"> Or simply: -- Andrew Ewings Project Manager Thoughtbubble Ltd -- -Original Message- From: sebastian palmigiani [mailto:[EMAIL PROTECTED]] Sent: 11 October 2000 12:25 To: CF-Talk Subject: Can this be done? I don't know if this is possible. I just know I can't figure out how to do it. I want to dynamically determine whether the tag has a query parameter. The following does not work but shows what I want to do: query="ShowMemberInfo"' > -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Can this be done?
From: "sebastian palmigiani" <[EMAIL PROTECTED]> > I don't know if this is possible. I just know I can't figure out how to do > it. > > I want to dynamically determine whether the tag has a query > parameter. > > The following does not work but shows what I want to do: > > > > > > query="ShowMemberInfo"' > > I understand you to mean that you want to depending on whether IsDefined('Url.Message') returns a yes or no correct? if so, then something else If you want the output to depend on the value of URL.message, then Goodbye .. Huh? I don't know what to do. Notice the UCASE --- parsing input will drive you nuts unless you provide for exceptions to case, spelling, completeness of keywords inclusion, pre and post trimming, etc. Sorting coding flow can be clearer if dependent factors are differentiated from independent factors. At least part of the necessary clarification. Pan -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: Can this be done?
Why not: . . . . . . . . At 6:25 AM -0500 10/11/00, sebastian palmigiani wrote: >I don't know if this is possible. I just know I can't figure out how to do >it. > >I want to dynamically determine whether the tag has a query >parameter. > >The following does not work but shows what I want to do: > > > > >query="ShowMemberInfo"' > > >> > -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Can this be done??
Yes, I have done it a couple of ways but the fastest route I have found so far is WDDX. Check out the CFWDDX tag. Joseph DeVore VeloxWeb Technologies -Original Message- From: Yager, Brian T Contractor/NCCIM [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 12:46 PM To: CF-Talk Subject: Can this be done?? I want to be able to run a file on one server that goes out to a page on another server, run a query, grab the information, and put it into a DB on the first server. Has anyone done this before?? Brian Yager President - North AL Cold Fusion Users Group Sr. Systems Analyst NCCIM/CIC [EMAIL PROTECTED] (256) 842-8342 ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done??
Sure, just use syndication. Have the machine on server 1 run foo.cfm. Foo.cfm uses CFHTTP to hit server 2. The file on server 2 does a query, uses WDDX to serialize it, and returns the packet to foo on box 1. Foo can then deserialize it and enter it into the DB. This is, of course, a high level description. Let me know if you need additional details, and where. === Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email: [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Yager, Brian T Contractor/NCCIM > [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 26, 2001 3:46 PM > To: CF-Talk > Subject: Can this be done?? > > > I want to be able to run a file on one server that goes out > to a page on another > server, run a query, grab the information, and put it into a > DB on the first > server. Has anyone done this before?? > > > > Brian Yager > President - North AL Cold Fusion Users Group > Sr. Systems Analyst > NCCIM/CIC > [EMAIL PROTECTED] > (256) 842-8342 > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done?
After talking with Ray some more I re-wrote the UDF to use an XML file as it's source. Includes options for the XML file URL (remote), and alternate URL (local in case of connection error), and refresh rate. Comments welcome. Thanks, Sam -- Blog: http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- referringSearchPatternDataUrl = "http://127.0.0.1/tst/getReferringSearchPatterns.xml";; referringSearchPatternDataAltUrl = "http://127.0.0.1/tst/getReferringSearchPatterns.xml";; referringSearchPatternRefreshRate = 6; http://altavista.com/sites/search/web"; keys="q" /> http://altavista.com/web/results"; keys="q" /> http://br.altavista.com/web/results"; keys="q" /> http://de.altavista.com/web/results"; keys="q" /> http://de.altavista.com/web/results/"; keys="aqa" /> http://es.altavista.com/web/results"; keys="q" /> http://it.altavista.com/web/results"; keys="q" /> http://se.altavista.com/web/results"; keys="q" /> http://uk.altavista.com/web/results"; keys="q" /> http://www.altavista.com/sites/search/web"; keys="q" /> http://www.altavista.com/web/results"; keys="q" /> http://www.altavista.cz/web/results"; keys="q" /> http://aolsearch.aol.ca/dirsearch.adp"; keys="query" /> http://search.dogpile.com/texis/search"; keys="q" /> http://search.earthlink.net/search"; keys="q" /> http://www.findology.com/2.php"; keys="q" /> http://go.google.com/hws/search"; keys="q" /> http://www.google.at/search"; keys="q" /> http://www.google.be/search"; keys="q" /> http://www.google.ca/search"; keys="q,as_epq" /> http://www.google.ch/search"; keys="q" /> http://www.google.cl/search"; keys="q" /> http://www.google.co.cr/search"; keys="q" /> http://www.google.co.hu/search"; keys="q" /> http://www.google.co.il/search"; keys="q" /> http://www.google.co.in/search"; keys="q" /> http://www.google.co.nz/search"; keys="q" /> http://www.google.co.th/search"; keys="q" /> http://www.google.co.uk/search"; keys="q" /> http://www.google.co.ve/search"; keys="q" /> http://www.google.com.ar/search"; keys="q" /> http://www.google.com.au/search"; keys="as_epq" /> http://www.google.com.br/search"; keys="q" /> http://www.google.com.hk/search"; keys="q" /> http://www.google.com.mx/search"; keys="q" /> http://www.google.com.pe/search"; keys="q" /> http://www.google.com.ru/search"; keys="q" /> http://www.google.com.tr/search"; keys="q" /> http://www.google.com.tw/search"; keys="q" /> http://www.google.com/custom"; keys="q" /> http://www.google.com/ie"; keys="q" /> http://www.google.com/search"; keys="q,as_q,as_epq" /> http://www.google.de/search"; keys="q,as_epq" /> http://www.google.fi/search"; keys="q" /> http://www.google.fr/search"; keys="q,as_q" /> http://www.google.ie/search"; keys="q" /> http://www.google.it/search"; keys="q,as_epq" /> http://www.google.nl/search"; keys="q" /> http://www.google.pl/search"; keys="q" /> http://www.google.pt/search"; keys="q" /> http://search.iwon.com/commerce/google.jsp"; keys="searchfor" /> http://search.lycos.com/default.asp"; keys="query" /> http://search.metacrawler.com/texis/search"; keys="q" /> http://auto.search.msn.com/results.asp"; keys="q" /> http://search.msn.com.mx/results.aspx"; keys="q" /> http://search.msn.com.tw/spresults.aspx"; keys="q" /> http://search.msn.com/pass/results.aspx"; keys="q" /> http://search.msn.com/preview.aspx"; keys="q" /> http://search.msn.com/results.asp"; keys="q" /> http://search.msn.com/results.aspx"; keys="q" /> http://search.msn.com/spresults.aspx"; keys="q" /> http://search.msn.nl/results.aspx"; keys="q" /> http://search.netscape.com/nscp_results.adp"; keys="query" /> http://aolsearch.aol.com/aol/search"; keys="query" /> http://eplansekits.com/cgi-bin/smartsearch/smartsearch.cgi"; keys="keywords" /> http://ms108.mysearch.com/jsp/AVweb.jsp"; keys="searchfor" /> http://rr.looksmart.com/r_search"; keys="key" /> http://search.cometsystems.com/search.php"; keys="qry" /> http://search.virgilio.it/search/cgi/search.cgi"; keys="qs" /> http://www.1stblaze.com/rel_search.phtml"; keys="xml_kwd" /> http://www.agoodsearch.com/fin
RE: Can this be done?
I presume you don't have a URL to a working example so we can see it in action? -Gel -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Hello all.. I'm bidding on a job and the client told me something that a competitor does that seems pretty amazing. He said that this competitor can dynamically build certain sections of a homepage based on the search term that was used on the previous page of a search engine site, no matter which one is used. I know you can look at the CGI.HTTP_REFERER value for some search engines, but does anyone know how to do this for all sites. Is there a tool, CFC or UDF that could do this for me? Is there an easy way to parse the info out? ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Re: Can this be done?
Hthat would seem to imply that this competitor can read the browser history (and even what was typed)and that's not possible AFAIK because it would be a HUGE security/privacy hole. my 2 cents on a Monday morning ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: "Che Vilnonis" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, September 08, 2003 9:08 AM Subject: Can this be done? > Hello all.. > > I'm bidding on a job and the client told me something that a competitor > does that seems pretty amazing. > > He said that this competitor can dynamically build certain sections of > a homepage based on the search term that was used on the previous page > of a search engine site, no matter which one is used. > > I know you can look at the CGI.HTTP_REFERER value for some search engines, > but does anyone know how to do this for all sites. Is there a tool, CFC or > UDF that could do this for me? Is there an easy way to parse the info out? > > Che Vilnonis > Application Developer > Advertising Systems Incorporated > 8470C Remington Avenue > Pennsauken, NJ 08110 > p: 856.488.2211 > f: 856.488.1990 > www.asitv.com > ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Can this be done?
The location you came from (http_referer) is one of the standard cgi variables. It doesn't always exist, but you can check for it. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Bryan Stevenson [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2003 10:16 AM > To: CF-Talk > Subject: Re: Can this be done? > > > Hthat would seem to imply that this competitor can > read the browser history (and even what was typed)and > that's not possible AFAIK because it would be a HUGE > security/privacy hole. > > my 2 cents on a Monday morning ;-) > ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: Can this be done?
Che, I'm guessing that the competitor did a poor job (or a very good job - ha) of explaining how he could use the HTTP_Referer variable to figure out how a user is searching and finding the site. If not, then I'd say he's violating security on the client side somehow. I would also note to your potential client that such techniques are not terribly reliable accross all ranges of browsers. -Mark -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 11:08 AM To: CF-Talk Subject: Can this be done? Hello all.. I'm bidding on a job and the client told me something that a competitor does that seems pretty amazing. He said that this competitor can dynamically build certain sections of a homepage based on the search term that was used on the previous page of a search engine site, no matter which one is used. I know you can look at the CGI.HTTP_REFERER value for some search engines, but does anyone know how to do this for all sites. Is there a tool, CFC or UDF that could do this for me? Is there an easy way to parse the info out? Che Vilnonis Application Developer Advertising Systems Incorporated 8470C Remington Avenue Pennsauken, NJ 08110 p: 856.488.2211 f: 856.488.1990 www.asitv.com ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Re: Can this be done?
> I know you can look at the CGI.HTTP_REFERER value for some search > engines, > but does anyone know how to do this for all sites. Is there a tool, > CFC or > UDF that could do this for me? Is there an easy way to parse the info > out? > You are correct that HTTP_REFERER will have the information you need, but you are going to have to determine what URL format each and ever search engine uses for their keywords. For example, Google using a URL variable named "q". Matt Liotta President & CEO Montara Software, Inc. http://www.MontaraSoftware.com (888) 408-0900 x901 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Can this be done?
CGI.HTTP_REFERER is the only option I know of. If someone has come form a search engine, it 'should' contain their search terms in the url query string. -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: 08 September 2003 17:08 To: CF-Talk Subject: Can this be done? Hello all.. I'm bidding on a job and the client told me something that a competitor does that seems pretty amazing. He said that this competitor can dynamically build certain sections of a homepage based on the search term that was used on the previous page of a search engine site, no matter which one is used. I know you can look at the CGI.HTTP_REFERER value for some search engines, but does anyone know how to do this for all sites. Is there a tool, CFC or UDF that could do this for me? Is there an easy way to parse the info out? Che Vilnonis Application Developer Advertising Systems Incorporated 8470C Remington Avenue Pennsauken, NJ 08110 p: 856.488.2211 f: 856.488.1990 www.asitv.com ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Can this be done?
I'm guessing it is based on the HTTP_REFERER variable. What else could it be??? And to everyone else, I do not have a URL to check this out. <> I guess I'll have to do more research in this... ~Ché -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 12:16 PM To: CF-Talk Subject: Re: Can this be done? Hthat would seem to imply that this competitor can read the browser history (and even what was typed)and that's not possible AFAIK because it would be a HUGE security/privacy hole. my 2 cents on a Monday morning ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: "Che Vilnonis" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, September 08, 2003 9:08 AM Subject: Can this be done? > Hello all.. > > I'm bidding on a job and the client told me something that a competitor > does that seems pretty amazing. > > He said that this competitor can dynamically build certain sections of > a homepage based on the search term that was used on the previous page > of a search engine site, no matter which one is used. > > I know you can look at the CGI.HTTP_REFERER value for some search engines, > but does anyone know how to do this for all sites. Is there a tool, CFC or > UDF that could do this for me? Is there an easy way to parse the info out? > > Che Vilnonis > Application Developer > Advertising Systems Incorporated > 8470C Remington Avenue > Pennsauken, NJ 08110 > p: 856.488.2211 > f: 856.488.1990 > www.asitv.com > ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
Re: Can this be done?
This would be a bad idea for a community implemented UDF. *hint* *hint* Here is the idea... Someone writes up a quick UDF shell something like the following. Then a bunch of different communities pick a search engine and write the cfcase for it. Before you know it all the major search engines will be supported. Anyone interested? Matt Liotta President & CEO Montara Software, Inc. http://www.MontaraSoftware.com (888) 408-0900 x901 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Can this be done?
Well how do the stats packages come up with "the 10 most common search keywords used to find your pages" then? There must be some variable passed that appears in the logs somewhere. No? If that goes in the logs somewhere, it can be used, I'd have thought. But certainly I'd be very cautious about using any system that depends heavily on browser information - http_referer or suchlike, because many users block that info by way of their firewalls or because they are behind a router. You can have hundreds of people in a building using only a few ip addresses and that can skew all kinds of systems. I'm just saying don't build any application that REQUIRES info back from the browser in order to function, unless you're ready to deal with the user calls "I CAN'T GET INTO YOUR SITE! WHAT DO I DO!? YOU CALL YOURSELF A CUSTOMER ORIENTED ORGANISATION?? I'M GOING TO RESPORT YOU TO THE CONSUMERS ASSOCIATION. NO WAIT .. YOU *ARE* THE CONSUMERS ASSOCIATION! REPORT YOURSELVES THEN." Trust me, I've been there, heard all the jokes. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 12:16 PM To: CF-Talk Subject: Re: Can this be done? Hthat would seem to imply that this competitor can read the browser history (and even what was typed)and that's not possible AFAIK because it would be a HUGE security/privacy hole. my 2 cents on a Monday morning ;-) Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: "Che Vilnonis" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, September 08, 2003 9:08 AM Subject: Can this be done? > Hello all.. > > I'm bidding on a job and the client told me something that a competitor > does that seems pretty amazing. > > He said that this competitor can dynamically build certain sections of > a homepage based on the search term that was used on the previous page > of a search engine site, no matter which one is used. > > I know you can look at the CGI.HTTP_REFERER value for some search engines, > but does anyone know how to do this for all sites. Is there a tool, CFC or > UDF that could do this for me? Is there an easy way to parse the info out? > > Che Vilnonis > Application Developer > Advertising Systems Incorporated > 8470C Remington Avenue > Pennsauken, NJ 08110 > p: 856.488.2211 > f: 856.488.1990 > www.asitv.com > ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
RE: Can this be done?
I would think that the majority of search traffic is concentrated in a couple of engines--mostly Google and Yahoo. Even if you get a list of a few dozen, it's not a big deal to check the referrer and grab this info. Would make a nice little UDF. Sounds like the competitor is overstating their claims to the client. I'd suggest creating a page that does the same thing and showing it to the client on 4-5 different search engines. Tell them you never had a request for this before but it is easily accomplished. My $0.02. Sam -- Blog: http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- > -Original Message- > From: Matt Liotta [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2003 12:20 PM > To: CF-Talk > Subject: Re: Can this be done? > > > You are correct that HTTP_REFERER will have the information you need, > but you are going to have to determine what URL format each and ever > search engine uses for their keywords. For example, Google using a URL > variable named "q". > > Matt Liotta ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
RE: Can this be done?
I would hate to hard code all that data inside the UDF. I'd much rather see a cached XML file with the information and a community site where people can put in new information and the UDF can grab it as needed (referesh every day or so). Sam -- Blog: http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- > -Original Message- > From: Matt Liotta [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2003 12:38 PM > To: CF-Talk > Subject: Re: Can this be done? > > > This would be a bad idea for a community implemented UDF. *hint* *hint* > > Here is the idea... > > Someone writes up a quick UDF shell something like the following. > > > > > > > > > > Then a bunch of different communities pick a search engine and write > the cfcase for it. Before you know it all the major search engines will > be supported. Anyone interested? > > Matt Liotta > President & CEO > Montara Software, Inc. > http://www.MontaraSoftware.com > (888) 408-0900 x901 > > > ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Re: Can this be done?
There is an apache module called mod_suru: http://www.adornsoft.com/suru/ There are 2 more solutions (first is Python, second is JavaScript): http://neil.fraser.name/software/highlighter/ http://www.stompstompstomp.com/weblog/technical/2003-04-15 > I'm guessing it is based on the HTTP_REFERER variable. What else > could it be??? And to everyone else, I do not have a URL to check > this out. > > <> I guess I'll have to do more research > in this... > > ~Ché > > -Original Message- > From: Bryan Stevenson [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2003 12:16 PM > To: CF-Talk > Subject: Re: Can this be done? > > > Hthat would seem to imply that this competitor can read the browser > history (and even what was typed)and that's not possible AFAIK because > it would be a HUGE security/privacy hole. > > my 2 cents on a Monday morning ;-) > > Bryan Stevenson B.Comm. > VP & Director of E-Commerce Development > Electric Edge Systems Group Inc. > t. 250.920.8830 > e. [EMAIL PROTECTED] > > - > Macromedia Associate Partner > www.macromedia.com > - > Vancouver Island ColdFusion Users Group > Founder & Director > www.cfug-vancouverisland.com > - Original Message ----- > From: "Che Vilnonis" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Monday, September 08, 2003 9:08 AM > Subject: Can this be done? > > > > Hello all.. > > > > I'm bidding on a job and the client told me something that a competitor > > does that seems pretty amazing. > > > > He said that this competitor can dynamically build certain sections of > > a homepage based on the search term that was used on the previous page > > of a search engine site, no matter which one is used. > > > > I know you can look at the CGI.HTTP_REFERER value for some search engines, > > but does anyone know how to do this for all sites. Is there a tool, CFC or > > UDF that could do this for me? Is there an easy way to parse the info out? > > > > Che Vilnonis > > Application Developer > > Advertising Systems Incorporated > > 8470C Remington Avenue > > Pennsauken, NJ 08110 > > p: 856.488.2211 > > f: 856.488.1990 > > www.asitv.com > > > > ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com
RE: Can this be done?
Here's a start. I started collecting this data quite some time ago, and it only represents search engines that people used to find sites where I've collected this data. In other words, this isn't exactly a comprehensive list and you can already see where minor variations on the URL could cause a big headache. What I have at this page is a list of Search Engine URLs that directed user's to my site, as well as the query string variable to holds the search term. I also have the generic search name (for instance google.com, google.ca, google.it, google.co.uk, et al. is just "Google") in there. Have fun! http://www.firesideloghomes.com/ryandotnet/searchEngines.html -Original Message- From: Matt Liotta [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 12:38 PM To: CF-Talk Subject: Re: Can this be done? This would be a bad idea for a community implemented UDF. *hint* *hint* Here is the idea... Someone writes up a quick UDF shell something like the following. Then a bunch of different communities pick a search engine and write the cfcase for it. Before you know it all the major search engines will be supported. Anyone interested? Matt Liotta President & CEO Montara Software, Inc. http://www.MontaraSoftware.com (888) 408-0900 x901 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm
Re: Can this be done?
> I would hate to hard code all that data inside the UDF. I'd much > rather see > a cached XML file with the information and a community site where > people can > put in new information and the UDF can grab it as needed (referesh > every day > or so). > I would hate it also, but for purposes of an example hard coding is the way to go. It may even be the way to go initially, but if there is interest in maintaining such a beast then it would need to be refactored such that UDF wouldn't need to change to support new search engines or changes to existing search engines. Matt Liotta President & CEO Montara Software, Inc. http://www.MontaraSoftware.com (888) 408-0900 x901 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Can this be done?
Wow, great list! It would appear glancing at it that simply looking for the URL variable "q" in the referer would handle most search engines by itself. -Matt On Monday, September 8, 2003, at 12:52 PM, Hagan, Ryan Mr (Contractor ACI) wrote: > Here's a start. I started collecting this data quite some time ago, > and it > only represents search engines that people used to find sites where > I've > collected this data. In other words, this isn't exactly a > comprehensive > list and you can already see where minor variations on the URL could > cause a > big headache. > > What I have at this page is a list of Search Engine URLs that directed > user's to my site, as well as the query string variable to holds the > search > term. I also have the generic search name (for instance google.com, > google.ca, google.it, google.co.uk, et al. is just "Google") in there. > Have > fun! > > http://www.firesideloghomes.com/ryandotnet/searchEngines.html > > > -Original Message- > From: Matt Liotta [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2003 12:38 PM > To: CF-Talk > Subject: Re: Can this be done? > > > This would be a bad idea for a community implemented UDF. *hint* *hint* > > Here is the idea... > > Someone writes up a quick UDF shell something like the following. > > > > > > > > > > Then a bunch of different communities pick a search engine and write > the cfcase for it. Before you know it all the major search engines will > be supported. Anyone interested? > > Matt Liotta > President & CEO > Montara Software, Inc. > http://www.MontaraSoftware.com > (888) 408-0900 x901 > > > > ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
Re: Can this be done?
> speculating: > > cffile the apache/iis logs... parse the last couple of lines... > output... > > dont wanna think what will happen if the logs are a few megabytes > big... > The logs just contain the same data that would be in CGI.HTTP_REFERER anyway, so it would be better to just get it from the CGI variable at runtime. Matt Liotta President & CEO Montara Software, Inc. http://www.MontaraSoftware.com (888) 408-0900 x901 ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
Re: Can this be done?
Yep...my badnever really looked at what search engines pass when entering keywords (I build apps...not market them)figured it would be a form post and therefore no URL string to pick apartMondays!! ;-) Anyhoo...yep everyone is rightI sure wouldn't rely on HTTP_REFERER Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com - Original Message - From: "Mike Kear" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, September 08, 2003 9:38 AM Subject: RE: Can this be done? > Well how do the stats packages come up with "the 10 most common search > keywords used to find your pages" then? There must be some variable passed > that appears in the logs somewhere. No? > > If that goes in the logs somewhere, it can be used, I'd have thought. > > But certainly I'd be very cautious about using any system that depends > heavily on browser information - http_referer or suchlike, because many > users block that info by way of their firewalls or because they are behind a > router. You can have hundreds of people in a building using only a few ip > addresses and that can skew all kinds of systems. > > I'm just saying don't build any application that REQUIRES info back from the > browser in order to function, unless you're ready to deal with the user > calls "I CAN'T GET INTO YOUR SITE! WHAT DO I DO!? YOU CALL YOURSELF A > CUSTOMER ORIENTED ORGANISATION?? I'M GOING TO RESPORT YOU TO THE CONSUMERS > ASSOCIATION. NO WAIT .. YOU *ARE* THE CONSUMERS ASSOCIATION! REPORT > YOURSELVES THEN." > > Trust me, I've been there, heard all the jokes. > > > > Cheers, > Michael Kear > Windsor, NSW, Australia > AFP Webworks. > > > > -Original Message- > From: Bryan Stevenson [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2003 12:16 PM > To: CF-Talk > Subject: Re: Can this be done? > > > Hthat would seem to imply that this competitor can read the browser > history (and even what was typed)and that's not possible AFAIK because > it would be a HUGE security/privacy hole. > > my 2 cents on a Monday morning ;-) > > Bryan Stevenson B.Comm. > VP & Director of E-Commerce Development > Electric Edge Systems Group Inc. > t. 250.920.8830 > e. [EMAIL PROTECTED] > > - > Macromedia Associate Partner > www.macromedia.com > ------------- > Vancouver Island ColdFusion Users Group > Founder & Director > www.cfug-vancouverisland.com > - Original Message - > From: "Che Vilnonis" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Monday, September 08, 2003 9:08 AM > Subject: Can this be done? > > > > Hello all.. > > > > I'm bidding on a job and the client told me something that a competitor > > does that seems pretty amazing. > > > > He said that this competitor can dynamically build certain sections of > > a homepage based on the search term that was used on the previous page > > of a search engine site, no matter which one is used. > > > > I know you can look at the CGI.HTTP_REFERER value for some search engines, > > but does anyone know how to do this for all sites. Is there a tool, CFC or > > UDF that could do this for me? Is there an easy way to parse the info out? > > > > Che Vilnonis > > Application Developer > > Advertising Systems Incorporated > > 8470C Remington Avenue > > Pennsauken, NJ 08110 > > p: 856.488.2211 > > f: 856.488.1990 > > www.asitv.com > > > > > > ~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Get the mailserver that powers this list at http://www.coolfusion.com
RE: Can this be done?
OK, here's a small UDF that includes Ryan's list of search URL's. The list is embedded in CFScript per Ray Camden's request so the UDF is not dependent on an outside file. The format for the data is pretty straightforward, url and possible search criteria keys. As of right not it creates the patterns structure outside the UDF and caches it in Application scope, which violates some of cflib.org's standards, so I may have to modify before submitting, moving the structKeyExists check inside the UDF. If anyone has time, please test it out. I'll submit to cflib.org shortly. Thanks, Sam -- Blog: http://www.rewindlife.com Chart: http://www.blinex.com/products/charting -- if (not structKeyExists(application, "getReferringSearchPatterns")) { s = structNew(); s["http://altavista.com/sites/search/web";] = "q"; s["http://altavista.com/web/results";] = "q"; s["http://br.altavista.com/web/results";] = "q"; s["http://de.altavista.com/web/results";] = "q"; s["http://de.altavista.com/web/results/";] = "aqa"; s["http://es.altavista.com/web/results";] = "q"; s["http://it.altavista.com/web/results";] = "q"; s["http://se.altavista.com/web/results";] = "q"; s["http://uk.altavista.com/web/results";] = "q"; s["http://www.altavista.com/sites/search/web";] = "q"; s["http://www.altavista.com/web/results";] = "q"; s["http://www.altavista.cz/web/results";] = "q"; s["http://aolsearch.aol.ca/dirsearch.adp";] = "query"; s["http://search.dogpile.com/texis/search";] = "q"; s["http://search.earthlink.net/search";] = "q"; s["http://www.findology.com/2.php";] = "q"; s["http://go.google.com/hws/search";] = "q"; s["http://www.google.at/search";] = "q"; s["http://www.google.be/search";] = "q"; s["http://www.google.ca/search";] = "q,as_epq"; s["http://www.google.ch/search";] = "q"; s["http://www.google.cl/search";] = "q"; s["http://www.google.co.cr/search";] = "q"; s["http://www.google.co.hu/search";] = "q"; s["http://www.google.co.il/search";] = "q"; s["http://www.google.co.in/search";] = "q"; s["http://www.google.co.nz/search";] = "q"; s["http://www.google.co.th/search";] = "q"; s["http://www.google.co.uk/search";] = "q"; s["http://www.google.co.ve/search";] = "q"; s["http://www.google.com.ar/search";] = "q"; s["http://www.google.com.au/search";] = "as_epq"; s["http://www.google.com.br/search";] = "q"; s["http://www.google.com.hk/search";] = "q"; s["http://www.google.com.mx/search";] = "q"; s["http://www.google.com.pe/search";] = "q"; s["http://www.google.com.ru/search";] = "q"; s["http://www.google.com.tr/search";] = "q"; s["http://www.google.com.tw/search";] = "q"; s["http://www.google.com/custom";] = "q"; s["http://www.google.com/ie";] = "q"; s["http://www.google.com/search";] = "q,as_q,as_epq"; s["http://www.google.de/search";] = "q,as_epq"; s["http://www.google.fi/search";] = "q"; s["http://www.google.fr/search";] = "q,as_q"; s["http://www.google.ie/search";] = "q"; s["http://www.google.it/search";] = "q,as_epq"; s["http://www.google.nl/search";] = "q"; s["http://www.google.pl/search";] = "q"; s["http://www.google.pt/search";] = "q"; s["http://search.iwon.com/commerce/google.jsp";] = "searchfor"; s["http://search.lycos.com/default.asp";] = "query"; s["http://search.metacrawler.com/texis/search";] = "q"; s["http://auto.search.msn.com/results.asp";] = "q"; s["http://search.msn.com.mx/results.aspx";] = "q"; s["http://search.msn.com.tw/spresults.aspx";] = "q"; s["http://search.msn.com/pass/results.aspx";] = "q"; s["http://search.msn.com/preview.aspx";] = "q"; s["http://search.msn.com/results.asp";] = "q"; s["http://search.msn.com/results.aspx";] = "q"; s["http://search.msn.com/spresults.aspx";] = "q"; s["http://search.msn.nl/results.aspx";] = "q"; s["http://search.netscape.com/nscp_results.adp";] = "query"; s["http://aolsearch.aol.com/aol/search";] = "query"; s["http://eplansekits.com/cgi-bin/smartsearch/smartsearch.cgi";] = "keywords"; s["http://ms108.mysearch.com/jsp/AVweb.jsp";] = "searchfor"; s["http://rr.looksmart.com/r_search";] = "key"; s["http://search.cometsystems.com/search.php";] = "qry"; s["http://search.virgilio.it/search/cgi/search.cgi";] = "qs"; s["http://www.1stblaze.com/rel_search.phtml";] = "xml_kwd"; s["http://www.agoodsearch.com/find.php";] = "terms"; s["http://www.att.net/cgi-bin/websearch";] = "qry,as_q"; s["http://www.browserwise.com/search/search.cgi";] = "Terms"; s["http://www.coolwebsearch.com/search.php";] = "qq"; s["http://www.findtarget.com/cb/hotsheet.php";]
RE: ARGH!!! Can this be done?
Sorry I was looking at something else. It is probably so simple but I just can't get it. Below is my code. How do I incorporate the directory structure listing? #indent# #Session.stDirFileName[i]# At 11:45 AM 5/15/2002 -0600, you wrote: >Where's the "x"? > >-Ben > >-Original Message- >From: phumes1 [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, May 15, 2002 11:35 AM >To: CF-Talk >Subject: RE: Can this be done? > > >Would "x" be the line number? > >At 11:12 AM 5/15/2002 -0600, you wrote: > >You can reference the query by bracket syntax and do a nested loop as such: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > #qResults.fieldName[currentIndex]# > > > > > > > > > > > > > >NOTE, that code is not tested. It's just give you the idea/theory behind > >it. I hope that makes sense. > > > > > > > >Ben Johnson > >Hostworks, Inc. > > > > > > __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Can this be done with CF
Hi - wondering if anyone on the list can give me some advice please. The following risk calculator was done in-house for use on our Intranet but now the business area want to make it available on the web. http://www.e-safety.sa.gov.au/cutter/riskassessmentcalculator.htm (DO NOT PRESS THE GO BUTTON) The trouble is it only runs in IE5 because it uses vml (a proprietary MS thing which I hadn't heard of apparently). I suggested that they have a look at JavaScript of Java so that it can run in other browsers but they're a bit hard pressed for time, resources and skills. Do you think it can be done with CF Kevin Parker Manager, Web Services Service and Communication WorkCover Corporation [EMAIL PROTECTED] www.workcover.com ph: +61 8 82332548 fax: +61 8 82332000 mob: 0418 800 287 This e-mail is intended for the use of the addressee only. It may contain information that is protected by legislated confidentiality and/or is legally privileged. If you are not the intended recipient you are prohibited from disseminating, distributing or copying this e-mail. Any opinion expressed in this e-mail may not necessarily be that of the WorkCover Corporation of South Australia. Although precautions have been taken, the sender cannot warrant that this e-mail or any files transmitted with it are free of viruses or any other defect. If you have received this e-mail in error, please notify the sender immediately by return e-mail and destroy the original e-mail and any copies. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Can this be done? Flashy way??
I'm trying to build a similiar mechanisem to Oddcast photomixer. they use a very nice flash application that edit and run clips on the fly. they supply a thumbnailed directory of images, cool list of songs and a series of transitions between frames. I'm intrested in building such an engine, I know CF is capable of talking with Flash very easy, but I can't seem to find good objects/tags/snippets that can help with my code. if someone can point out on where I can find CF TAGS to build FLASH stuff (I don't know FLASH AT ALL!) I'll be happy! audio integration, visual effects, images, text, everything for a visual project like this one. please help. Thanks, Michael ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: can this be done ? Part 2
Hi Gregg, > > > Paul or whoever can answer me, having a hard time understanding some of > this logic. The next botton and previous buttons do not work, and seem to > be switched. Any ideas what I am doing wrong ? Here is the code, thanks. > I had a look at the code you gave... It looked a little over complex, so I stripped a load of the code out and wound up with this: SELECT id, state, statename, company FROM HBMF Order by statename #statename# #company# One of the reasons your previous code may not have been working was because of the use of the start variable. By not specifying the scope of the variable and using to check the existance of the variable, you were probably winding up with a start variable in the 'variables' scope and one in the 'form' scope and looking at the 'variables' scope version rather than the one passed from the form. So what I've done is made sure that the start variable is properly referenced, by using form.start in the cfparam and for any other references. Hope this is a little clearer. Regards Stephen -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
RE: Can this be done with CF
This looks all client based. You will need something like java or JavaScript to do the same thing. Looks also like flash could end up doing the same thing. CF is all backend based and will have no affect on what you show to the client. Bob Everland -Original Message- From: Parker, Kevin [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 07, 2001 8:53 PM To: CF-Talk Subject: Can this be done with CF Hi - wondering if anyone on the list can give me some advice please. The following risk calculator was done in-house for use on our Intranet but now the business area want to make it available on the web. http://www.e-safety.sa.gov.au/cutter/riskassessmentcalculator.htm (DO NOT PRESS THE GO BUTTON) The trouble is it only runs in IE5 because it uses vml (a proprietary MS thing which I hadn't heard of apparently). I suggested that they have a look at JavaScript of Java so that it can run in other browsers but they're a bit hard pressed for time, resources and skills. Do you think it can be done with CF Kevin Parker Manager, Web Services Service and Communication WorkCover Corporation [EMAIL PROTECTED] www.workcover.com ph: +61 8 82332548 fax: +61 8 82332000 mob: 0418 800 287 This e-mail is intended for the use of the addressee only. It may contain information that is protected by legislated confidentiality and/or is legally privileged. If you are not the intended recipient you are prohibited from disseminating, distributing or copying this e-mail. Any opinion expressed in this e-mail may not necessarily be that of the WorkCover Corporation of South Australia. Although precautions have been taken, the sender cannot warrant that this e-mail or any files transmitted with it are free of viruses or any other defect. If you have received this e-mail in error, please notify the sender immediately by return e-mail and destroy the original e-mail and any copies. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done with CF
> Hi - wondering if anyone on the list can give me some advice please. > > The following risk calculator was done in-house for use on our > Intranet but > now the business area want to make it available on the web. > > http://www.e-safety.sa.gov.au/cutter/riskassessmentcalculator.htm (DO NOT > PRESS THE GO BUTTON) > > The trouble is it only runs in IE5 because it uses vml (a proprietary MS > thing which I hadn't heard of apparently). > > I suggested that they have a look at JavaScript of Java so that it can run > in other browsers but they're a bit hard pressed for time, resources and > skills. Do you think it can be done with CF This couldnt be done with CF alone since CF is server side. You could use a combination of CF and Flash. You might consider asking those who want this to be cross browser if it is worth it though. Duane ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Can this be done with CF
> The trouble is it only runs in IE5 because it uses vml (a proprietary MS > thing which I hadn't heard of apparently). You're in a bit of bind here. vml is MS's run at svg. You could just recode into svg, but... support of svg is still spotty at the moment as it's still rather new. Although that should change as the months go on. I suppose you could also do it in flash, but I rather despise anything in flash and most other people I do as well. Quite annoying. But it would work in the meantime. --min ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists