Re: accessing parent cfc's variables
On Friday, Mar 28, 2003, at 08:02 US/Pacific, Brad Howerter wrote: The child CFC automatically inherits all of its parents values, so to me it seems redundant to call a method to get them. That's true of inheritance not of composition. The question was about the latter. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Any wanna help? Trying to order output by the number that's part of a varchar field...
How would I select out the number, if present, in the street number field have you tried Order by right(StreetNo, len(StreetNo)-4) The above might help some but not accurate for all cases. Joe Eugene -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 10:48 PM To: CF-Talk Subject: Any wanna help? Trying to order output by the number that's part of a varchar field... Hi, all... I'm trying to order street addresses. I originally setup the the first field in the address to hold the steet number and made it numeric so it could be ordered. Unfortunately, I found out that some of the addresses had no street number, but were addresses like No. 10 Magnolia Park, No. 12 Pecan Park, etc. No. 10 is what's now going in the street number field, and, of course, that field cannot be numeric, but a character field. However, that's throwing off the ordering of the properties... How would I select out the number, if present, in the street number field and have Cold Fusion order the query output by the number? Thanks for any help! Rick Rick Faircloth WhiteStoneMedia.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Address standardization
Andres wrote: Has anyone ever had to do any type of address standardization for data entry in their web sites? You might want to check your national standards body, they might have an official standard. Else, try your national postal service. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: DevCon 2003
Paul Kenney wrote: I too have heard that San Diego is no longer going to happen. Too bad. It might be nice for a change to ackowledge us on the west coast. What are you complaining about? At least for you it is still on the same continent. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Form Building software
This is an excellent and useful tool! I added a query at the top, to look up the table names in the database and put them in a drop down list because I can never remember the exact names of the tables. It uses the query: cfquery datasource=#form.dsn# name=gettables SELECT name FROM sysobjects WHERE xtype='u' and not(name = 'dtproperties') /cfquery Thank you Clint for making this available to us all. It's going to save me time. Cheers, Michael Kear Windsor, NSW, Australia AFP Webworks. -Original Message- From: Clint [mailto:[EMAIL PROTECTED] Sent: Saturday, 29 March 2003 1:33 AM To: CF-Talk Subject: Re: Form Building software Here is my little form builder. I just want to reiterate - all this does is build the form. It does not build error checking, add queries or anything else at this point. I am going to enhance this form builder (I too, get tired of building the same old stuff over and over) and this will be added to my sql tool. http://www.fishermenstudios.com/downloads/formbuilder.zip there is a readme.txt, a stylesheet and formbuilder.cfm inside this zip file. The code is not encrypted and is provided free of charge. Also, this currently only works with SQL Server. Clint ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Form Building software
Remember CommerceBlocks / DatabaseBlocks? CommerceBlocks V2.1 (the DatabaseBlocks module) is now available for download from http://www.ProductivityEnhancement.com, and you can extend your trial period until the end of April. You can also download LoRCAT and extend it's trial period, if you like. Respectfully, Adam Phillip Churvis Member of Team Macromedia Advanced Intensive ColdFusion MX Training ColdFusion MX and SQL Server 2000 Class: April 28, 2003 - May 2, 2003 http://www.ColdFusionTraining.com - Original Message - From: Thane Sherrington [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, March 28, 2003 7:19 AM Subject: Form Building software Is there any good software out there that will allow me to build simple forms for CF (I'm in the process of designing my own, but if there's something done, why reinvent the wheel?) I'm tired of creating the largely repetitive code for database entry forms and the connected add/update/delete scripts. T ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Any wanna help? Trying to order output by the number that's part of a varchar field...
Hi, Joe and thanks for the reply. Unfortunately, the addresses I'm dealing with come in all shapes and sizes, making a single approach unproductive. I have some addresses that are more regular, such as 104 East Street, where 104 is the StreetNumber column data. Another address might follow the patter, No. 13, Marsh Oaks, where No. 13 is the StreetNumber column data. Yet another variation might be Rt. 4, Box 12, where Rt. 4 or perhaps Rt. 4, Box 12 might be entered as the StreetNumber column data. Isaac's approach with the regex parsing comes closest to a solution. It handles the first two examples, but would not be correct for the third. I may have to run a combination of functions based the form of the StreetNumber data to parse and sort the data. The problem is the inconsistency in addressing: Rural vs Urban, Single Homes vs Apartment Complexes...etc. I'm not sure what the perfect solution would be... It would be quite simple if I could get a sort on a varchar field that would also sort the numbers contained in that field appropriately. A sort on a varchar field does sort the numbers properly to a degree... 1,2,3,4,5,6,etc... but the sort will also put 10 before 2, instead of 2 first and that's where the problem comes in. Close, but no cookie for that result... Rick -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 4:25 AM To: CF-Talk Subject: RE: Any wanna help? Trying to order output by the number that's part of a varchar field... How would I select out the number, if present, in the street number field have you tried Order by right(StreetNo, len(StreetNo)-4) The above might help some but not accurate for all cases. Joe Eugene -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 10:48 PM To: CF-Talk Subject: Any wanna help? Trying to order output by the number that's part of a varchar field... Hi, all... I'm trying to order street addresses. I originally setup the the first field in the address to hold the steet number and made it numeric so it could be ordered. Unfortunately, I found out that some of the addresses had no street number, but were addresses like No. 10 Magnolia Park, No. 12 Pecan Park, etc. No. 10 is what's now going in the street number field, and, of course, that field cannot be numeric, but a character field. However, that's throwing off the ordering of the properties... How would I select out the number, if present, in the street number field and have Cold Fusion order the query output by the number? Thanks for any help! Rick Rick Faircloth WhiteStoneMedia.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Fusebox / MVC / CFOBJECTS
John Farrar has put together a project to look at using Fusebox with MX, there is some sample code available and a small new mailing list here. http://groups.yahoo.com/group/fosproject In case you need it, here is John's email. [EMAIL PROTECTED] Hth. Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 12:11 PM To: CF-Talk Subject: RE: Fusebox / MVC / CFOBJECTS Well, that depends on who you ask, what your goals are, and what you have experience with. My recomendation is fusebox (No is FB good or bad flame wars, please), but that's just me. MVC can mean a lot of things, so I'm not sure what you connotation you're using. Pretty much any good framework/methodology will use, or provide a means to use, the MVC design pattern, fusebox included (those of you who don't believe me and want to argue, please just hold your tongue, I'm friggin swamped). If you're using CFMX and want to do a CFC-based system, then FB is definitely not for you, as it's a procedural framework. I suspect that CFobjects is a poor choice, now that CFMX provides some OO-type features with CFCs, but I've never used it, so I don't know. I'm sure others will chime in. --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: BloodPython 2003 (bol) [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 11:57 AM To: CF-Talk Subject: Fusebox / MVC / CFOBJECTS What is the fashion methodology these days? Witch one do you recommend for developing e-commerce applications using CF? Thx ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
accessing parent cfc's variables
Oh, yeah, I'd forgotten the original question. Raymond, you said the 'lower' class has access to the unnamed scope of the parent? I guess that's where I started thinking this was an inherited object and not just one of composition. It's not true, is it, that the unnamed scope would be available? If the object is not inheriting its parent, why would have access to the unnamed scope? On Friday, Mar 28, 2003, at 08:02 US/Pacific, Brad Howerter wrote: The child CFC automatically inherits all of its parents values, so to me it seems redundant to call a method to get them. That's true of inheritance not of composition. The question was about the latter. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: accessing parent cfc's variables
It is true. If in parent.cfc, outside the methods or in a method but not var scoped or attribute scoped, if you do x=1, then child.cfc can access it as well. Does it make sense to use that feature? My gut instincts say no - even if I could access parent.cfc's private variables, I wouldn't count on it. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc 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: Brad Howerter [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 8:38 AM To: CF-Talk Subject: accessing parent cfc's variables Oh, yeah, I'd forgotten the original question. Raymond, you said the 'lower' class has access to the unnamed scope of the parent? I guess that's where I started thinking this was an inherited object and not just one of composition. It's not true, is it, that the unnamed scope would be available? If the object is not inheriting its parent, why would have access to the unnamed scope? On Friday, Mar 28, 2003, at 08:02 US/Pacific, Brad Howerter wrote: The child CFC automatically inherits all of its parents values, so to me it seems redundant to call a method to get them. That's true of inheritance not of composition. The question was about the latter. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Form Building software
Here's one I built awhile back that's saved me tremendous amounts of time. If you name your form fields the same as the database fields you can paste in a comma delimited list of field names and it will build your queries for you and everything. http://www.twcreations.com/makeform/ -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ http://www.cf-ezcart.com/ 954.721.3452 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Any wanna help? Trying to order output by the number that's part of a varchar field...
Hi, Joe and thanks for the reply. Unfortunately, the addresses I'm dealing with come in all shapes and sizes, making a single approach unproductive. I have some addresses that are more regular, such as 104 East Street, where 104 is the StreetNumber column data. Another address might follow the patter, No. 13, Marsh Oaks, where No. 13 is the StreetNumber column data. Yet another variation might be Rt. 4, Box 12, where Rt. 4 or perhaps Rt. 4, Box 12 might be entered as the StreetNumber column data. Isaac's approach with the regex parsing comes closest to a solution. It handles the first two examples, but would not be correct for the third. I may have to run a combination of functions based the form of the StreetNumber data to parse and sort the data. Yea, you might use a float column and rewrite the regex to allow 2 numbers wherein the 2nd number is a decimal value, this way rt. 4 Box 12 would become 4.12 in the float column -- or use 2 columns to catch instances where there's a 2nd number in the street address, since if you order 4.12 next to 4.5 and 4.1 they wouldn't be in what you'd expect to be a logical order. Something like this might work to get a decimalled value cfset streetno = rereplace(mystreet,^[^0-9]*([0-9]+)[^0-9]*([0-9]*).*$,\1.\2,ALL) Though in an older version of cf server (pre-mx) it's probably better to use refind() and mid() cfset myst = arraynew(1) cfset st = refind(mystreet,[^0-9]+,true) cfloop index=x from=1 to=#arraylen(st.pos)# cfset arrayappend(myst,mid(mystreet,st.pos[x],st.len[x])) /cfloop Then just check your myst array for numbers... put as many number columns in your table as you suspect you'll get in your results (I'd be damn surprised by anything with more than 3) and just order the sql query on each of the numeric columns in order. The problem is the inconsistency in addressing: Rural vs Urban, Single Homes vs Apartment Complexes...etc. I'm not sure what the perfect solution would be... It would be quite simple if I could get a sort on a varchar field that would also sort the numbers contained in that field appropriately. A sort on a varchar field does sort the numbers properly to a degree... 1,2,3,4,5,6,etc... but the sort will also put 10 before 2, instead of 2 first and that's where the problem comes in. Close, but no cookie for that result... Rick -Original Message- From: Joe Eugene [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 4:25 AM To: CF-Talk Subject: RE: Any wanna help? Trying to order output by the number that's part of a varchar field... How would I select out the number, if present, in the street number field have you tried Order by right(StreetNo, len(StreetNo)-4) The above might help some but not accurate for all cases. Joe Eugene -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 10:48 PM To: CF-Talk Subject: Any wanna help? Trying to order output by the number that's part of a varchar field... Hi, all... I'm trying to order street addresses. I originally setup the the first field in the address to hold the steet number and made it numeric so it could be ordered. Unfortunately, I found out that some of the addresses had no street number, but were addresses like No. 10 Magnolia Park, No. 12 Pecan Park, etc. No. 10 is what's now going in the street number field, and, of course, that field cannot be numeric, but a character field. However, that's throwing off the ordering of the properties... How would I select out the number, if present, in the street number field and have Cold Fusion order the query output by the number? Thanks for any help! Rick Rick Faircloth WhiteStoneMedia.com ~~ ~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index. cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/uns ubscribe.cfm?user=633.558.4 s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect,
Any wanna help? Trying to order output by the number that's part of a varchar field...
Hi, all... I'm trying to order street addresses. You need to replace all the numbers with a fixed length zero filled number. You could do it like this: cfset zeroes[1] = '0' cfset zeroes[2] = '' cfset zeroes[3] = '000' cfset zeroes[4] = '00' cfset zeroes[5] = '0' cfset zeroes[6] = '' reReplace(address, ([0-9]+), zeroes[len(\1)] \1, ALL ) except a coldFusion bug prevents this from working (len always returns 2). So you'll have to do 5 different reReplaces, one for each length of number smaller than 6 (assuming 6 is big enough for your data). Here's some code that will do the trick (tested on CFMX): cffunction name=make6digits !--- convert the number to a 6 digit number --- cfset var d6n = arguments[1] cfset d6n = reReplace(d6n, (\b|\D)(\d\d\d\d\d)(\b|\D), \1\0\2\3, ALL) cfset d6n = reReplace(d6n, (\b|\D)(\d\d\d\d)(\b|\D), \1\00\2\3, ALL) cfset d6n = reReplace(d6n, (\b|\D)(\d\d\d)(\b|\D), \1\000\2\3, ALL) cfset d6n = reReplace(d6n, (\b|\D)(\d\d)(\b|\D), \1\\2\3, ALL) cfset d6n = reReplace(d6n, (\b|\D)(\d)(\b|\D), \1\0\2\3, ALL) cfreturn d6n /cffunction !--- create some test data --- cfset rsAddress = queryNew(address,addressKey) cfset queryAddRow(rsAddress) cfset queryAddRow(rsAddress) cfset rsAddress.address[1] = '4533 Banana Drive, Apt ##10, 36 Westminster, CO 80535-3716' cfset rsAddress.address[2] = '4533 Banana Drive, Apt ##4, 36 Westminster, CO 80535-3716' cfdump var=#rsAddress# label=the raw data !--- make a sort key for every address --- cfloop query=rsAddress cfset rsAddress.addressKey[currentRow] = make6digits(address) /cfloop !--- order by the sort key! --- cfquery name=rsAddressSorted dbtype=query SELECT * FROM rsAddress ORDER BY addressKey /cfquery cfdump var=#rsAddressSorted# label=the cooked data ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
accessing parent cfc's variables
But this is not a parent-child relationship; it's composition! It is true. If in parent.cfc, outside the methods or in a method but not var scoped or attribute scoped, if you do x=1, then child.cfc can access it as well. Does it make sense to use that feature? My gut instincts say no - even if I could access parent.cfc's private variables, I wouldn't count on it. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc 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: Brad Howerter [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 8:38 AM To: CF-Talk Subject: accessing parent cfc's variables Oh, yeah, I'd forgotten the original question. Raymond, you said the 'lower' class has access to the unnamed scope of the parent? I guess that's where I started thinking this was an inherited object and not just one of composition. It's not true, is it, that the unnamed scope would be available? If the object is not inheriting its parent, why would have access to the unnamed scope? On Friday, Mar 28, 2003, at 08:02 US/Pacific, Brad Howerter wrote: The child CFC automatically inherits all of its parents values, so to me it seems redundant to call a method to get them. That's true of inheritance not of composition. The question was about the latter. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
accessing parent cfc's variables
Nevermind. It makes sense to me now. It is a parent-child relationship, of course. I agree with you, it wouldn't be good to access the parent's variables directly. I'm surprised you're able to at all. I'm new to objects- I was getting parent-child relationships confused with inheritance. But this is not a parent-child relationship; it's composition! It is true. If in parent.cfc, outside the methods or in a method but not var scoped or attribute scoped, if you do x=1, then child.cfc can access it as well. Does it make sense to use that feature? My gut instincts say no - even if I could access parent.cfc's private variables, I wouldn't count on it. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc 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: Brad Howerter [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 8:38 AM To: CF-Talk Subject: accessing parent cfc's variables Oh, yeah, I'd forgotten the original question. Raymond, you said the 'lower' class has access to the unnamed scope of the parent? I guess that's where I started thinking this was an inherited object and not just one of composition. It's not true, is it, that the unnamed scope would be available? If the object is not inheriting its parent, why would have access to the unnamed scope? On Friday, Mar 28, 2003, at 08:02 US/Pacific, Brad Howerter wrote: The child CFC automatically inherits all of its parents values, so to me it seems redundant to call a method to get them. That's true of inheritance not of composition. The question was about the latter. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cf color selector?
Any of you gurus have a cf color selector tag or an equivalent idea? I need to give a client the ability to select a few colors. A pop up, selectable, color chart is what I'm after, preferably a 256 color chart. I found one for sale on Macromedia Exchange but the links are dead so I guess that's out. Thanks for any guidance. cc ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cf color selector?
Something like this? http://www.mattkruse.com/javascript/colorpicker/ -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 12:32 PM To: CF-Talk Subject: cf color selector? Any of you gurus have a cf color selector tag or an equivalent idea? I need to give a client the ability to select a few colors. A pop up, selectable, color chart is what I'm after, preferably a 256 color chart. I found one for sale on Macromedia Exchange but the links are dead so I guess that's out. Thanks for any guidance. cc ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cf color selector?
I'll give it a try, Thanks -Original Message- From: Ken Wilson [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 11:43 AM To: CF-Talk Subject: RE: cf color selector? Something like this? http://www.mattkruse.com/javascript/colorpicker/ -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 12:32 PM To: CF-Talk Subject: cf color selector? Any of you gurus have a cf color selector tag or an equivalent idea? I need to give a client the ability to select a few colors. A pop up, selectable, color chart is what I'm after, preferably a 256 color chart. I found one for sale on Macromedia Exchange but the links are dead so I guess that's out. Thanks for any guidance. cc ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cf color selector?
http://www.theklassens.com/klassen/index.cfm?Action=CFTags Is another. Not a popup, but works in a form control on the same form. Matt Robertson [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com I've stopped 47,918 spam messages. You can too! Get your free, safe spam protection at http://www.cloudmark.com/spamnetsig/ -Original Message- From: Ken Wilson [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 9:43 AM To: CF-Talk Subject: RE: cf color selector? Something like this? http://www.mattkruse.com/javascript/colorpicker/ -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 12:32 PM To: CF-Talk Subject: cf color selector? Any of you gurus have a cf color selector tag or an equivalent idea? I need to give a client the ability to select a few colors. A pop up, selectable, color chart is what I'm after, preferably a 256 color chart. I found one for sale on Macromedia Exchange but the links are dead so I guess that's out. Thanks for any guidance. cc ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
java.policy Edit in U3 Release Notes
I'm trying to make the edit to the java.policy file, per the CFMX for JRun U3 Release Notes, and I can't seem to get the right syntax for the grant codeBase. I keep getting this error: java.security.policy: error adding Entry: java.net.MalformedURLException: no protocol: file:C:JRun4serverscfmx1cfusionWEB-INFcfusionlib* java.security.policy: error adding Entry: java.net.MalformedURLException: no protocol: file:C:JRun4serverscfmx1cfusionWEB-INFlib* My reaction was that the file separator was being escaped, so I put in the break-escape, but I still get the error: java.security.policy: error adding Entry: java.net.MalformedURLException: no protocol: file:/C:/JRun4/servers/cfmx1/cfusion/WEB-INF/cfusion/lib/* java.security.policy: error adding Entry: java.net.MalformedURLException: no protocol: file:/C:/JRun4/servers/cfmx1/cfusion/WEB-INF/lib/* I'm using Windows. Has anybody gotten the correct syntax down? If so, would you mind sharing it? Thanks in advance, Dave. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMX Updater 3 Available
Hi Damon, I've applied Updater 3 for my CFMX for Windows installation. The whole process was very smooth. The updater's recompilation batch process also worked well except a few warnings but that was my own neglect of not removing pre-CFMX scripts in the same directory. However, the timeout bug associated with unavailable datasource persists, my humble opinion is we shouldn't care why a particular datasource suddenly becomes unavailable, it could be simply that the machine hosting the DS is unplugged, but rather checking request communication between CFMX and a given database driver, say, default to 30 seconds, if the database driver doesn't respond in time, send the requester a msg about the unavailability of the database. Another bug, Updater 3 did not fix is the ToBinary function, I first base64ed a multimedia file and then saves it to a CLOB (I've probably also try BLOB) column on Oracle9i, after retrieving the base64ed stream, I attempted to ToBinary the stream back to its original format, CFMX failed to do so. As you know, the same function works in pre-CFMX, at least, I can attest CF5. And I don't think the problem is caused by charset encoding, for both the process of base64 and tobinary uses the same default UTF-8 encoding. Please let me know if there's some other viable workaround excluding file system. One more thing, I have two scripts with same name on different directories with similar but not exact content, one script is compiled correctly while the other uses old compiled code. To fix it, I've renamed the old compiled code, then re-compiled it from command prompt with batch compilation file, re-compilation successful, however, it still uses the old compiled code, how come? Please shed some light about on the workings of CFM code, Java class compilation process and CFMX application server. My instinct told me, CFMX AS would first check if there is a compiled code for source code, if not, compile it, the execute the compiled code; secondly if yes, compare the dateTime stamp of the compiled code and CFM source code, if close proximity or something like that, use compiled code, else, re-compile it for the source code may have changed. If my instinct is correct, then, why manual re-compilation didn't get the job done. Something else? Thanks. Don http://www.hegelsoftware.com/regURL.htm ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfgrid
Hi, I am having a really stupid problem with cfgrid. I am running cf5 with all the hot fixes on win 2k SP3. I am using cfgrid to display some stuff. It works great as long as the number of rows returned fits in the original grid window.. No scrolling bars... What happens is, lets say the grid height allows for 10 rows to display. If the query returns 20 rows, they all display OK, and the grid produces the appropriate scroll bar. The problem is when I try to edit any cells that were not in the original viewable area of the window, it will not let me edit...well, it does, but it's just weird. Normally, when I click, or double click, in a cell, it normally selects the cell, (puts the cursor in the cell) and allows me to start editing. I can use the arrow keys etc... But, if I try to scroll down and edit any fields that were not in the original viewable area, when I click in the cell it doesn't give me a visible clue that it is selected... but... I can start typing and it works.. just not real user friendly. I first thought it was the client machine, but I can recreate this on multiple clients with different OS's... I just wanted to know if any one else is having this problem. I downloaded cf_grid from SmartSurf Technologies and to my disappointment it does not allow edit even though they advertise that it is a cfgrid Replacement. Should always read the fine print... So, since I am giving up on MM to ever get cfgrid right, been using it for 4 years and it have never been stable. I am looking for an alternative. I found CF_jsGRID on the exchange but all the links are broken. Anyone have a copy of CF_jsGRID I can try? Anyone know of an alternative, other than SmartSurf Technologies Thanks... Joe Hansen ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfgrid
Hi, I am having a really stupid problem with cfgrid. I am running cf5 with all the hot fixes on win 2k SP3. I am using cfgrid to display some stuff. It works great as long as the number of rows returned fits in the original grid window.. No scrolling bars... What happens is, lets say the grid height allows for 10 rows to display. If the query returns 20 rows, they all display OK, and the grid produces the appropriate scroll bar. The problem is when I try to edit any cells that were not in the original viewable area of the window, it will not let me edit...well, it does, but it's just weird. Normally, when I click, or double click, in a cell, it normally selects the cell, (puts the cursor in the cell) and allows me to start editing. I can use the arrow keys etc... But, if I try to scroll down and edit any fields that were not in the original viewable area, when I click in the cell it doesn't give me a visible clue that it is selected... but... I can start typing and it works.. just not real user friendly. I first thought it was the client machine, but I can recreate this on multiple clients with different OS's... I just wanted to know if any one else is having this problem. I downloaded cf_grid from SmartSurf Technologies and to my disappointment it does not allow edit even though they advertise that it is a cfgrid Replacement. Should always read the fine print... So, since I am giving up on MM to ever get cfgrid right, been using it for 4 years and it have never been stable. I am looking for an alternative. I found CF_jsGRID on the exchange but all the links are broken. Anyone have a copy of CF_jsGRID I can try? Anyone know of an alternative, other than SmartSurf Technologies Thanks... Joe Hansen ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: accessing parent cfc's variables
On Saturday, Mar 29, 2003, at 07:52 US/Pacific, Raymond Camden wrote: It is true. If in parent.cfc, outside the methods or in a method but not var scoped or attribute scoped, if you do x=1, then child.cfc can access it as well. Let's try some real code here because I think some folks have gotten confused: parent.cfc: cfcomponent displayname=parent cfset instance = structNew() cfset instance.x = Parent X cffunction name=parentMethod returntype=string cfreturn this.myChild.getInstanceX() /cffunction /cfcomponent child.cfc: cfcomponent displayname=child cffunction name=getInstanceX returntype=string cfdump var=#instance# cfreturn instance.x /cffunction /cfcomponent pc.cfm: cfoutput cfset p = createObject(component,parent) cfset c = createObject(component,child) cfset p.myChild = c cfset instance = structNew() cfset instance.x = The Calling Page X #p.parentMethod()# /cfoutput Now, *if* child (composition) objects can access their parent (enclosing) objects' non-public variables, this should dump an 'instance' struct containing 'x' and print Parent X. Which it doesn't because a child (composition) object *cannot* see any of the enclosing object's data. Run it - it says Variable INSTANCE is undefined. inside child.cfc. Hope that clarifies? If we were talking about inheritance then, yes, the derived object has access to all of the base object's data - because CFML has only a public scope (this) and a protected scope (unnamed). Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: DevCon 2003
How's the weather there in November? - Original Message - From: Candace Cottrell [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, March 28, 2003 3:11 PM Subject: OT: DevCon 2003 Got this from the CFDJ list: snipI just emailed MM the other day asking about DevCon and below is their reply. Hope this helps, Steve Although not officially announced yet, the Macromedia annual conference will be held November 18-21, 2003 in Salt Lake City, Utah. We expect that registration fees will be similar to last year, and that registration will open in early July. Thank you for your interest in the conference. We hope that you'll be able to join us in November. Regards, Conference Management /snip Hmmm... what's in Salt Lake City?? Just curious... 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] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Fusebox / MVC / CFOBJECTS
On Friday, Mar 28, 2003, at 12:10 US/Pacific, Barney Boisvert wrote: If you're using CFMX and want to do a CFC-based system, then FB is definitely not for you, as it's a procedural framework. I suspect that CFobjects is a poor choice, now that CFMX provides some OO-type features with CFCs, but I've never used it, so I don't know. You might want to look at the first Under the Hood report that looks at the architectural evolution behind the applications on macromedia.com and gives some guidance on a CFMX / CFC-based approach to building applications. http://www.macromedia.com/special/under_the_hood/report1/ Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Mac OS X - Jrun 4/CFMX installation
On Friday, Mar 28, 2003, at 12:13 US/Pacific, Joshua Miller wrote: Did I hear someone say recently that you can legally run CFMXJ2EE on OSX as a production server? I thought that it was just for Development, has this changed? Legally, but unsupported. See: http://www.corfield.org/blog/archives/2003_01.html#24 Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Request for Review: Variables in CFML
On Tuesday, Mar 25, 2003, at 05:35 US/Pacific, Calvin Ward wrote: This is great stuff! Which application example provides us a view of utilizing CFCs in this manner? Is this what you're looking for? (I couldn't reply to your post until this article was published! :) http://www.macromedia.com/special/under_the_hood/report1/ Sean A Corfield -- Director, Architecture Web Technology Group -- Macromedia, Inc. tel: (415) 252-2287 -- cell: (415) 717-8473 aim/iChat: seancorfield -- http://www.macromedia.com An Architect's View -- http://www.macromedia.com/go/arch_blog Announcing Macromedia DevNet Subscriptions Maximize your power with our new premium software subscription Find out more: http://www.macromedia.com/go/devnetsubs ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFCs - get'ers Vs. return object
On Friday, Mar 28, 2003, at 10:59 US/Pacific, S. Isaac Dealey wrote: cffunction name=getValue ouptut=false cfargument name=propertyname type=string required=true cfif isdefined(this.get_ propertyname) cfreturn evaluate(this.get_#propertyname#()) cfelse cfreturn this[propertyname] /cfif /cffunction Eek! Evaluate! :) Try this instead: cffunction name=getValue ouptut=false cfargument name=propertyname type=string required=true cfset var fn = 0 cfif structKeyExists(this,get_ propertyname) cfset fn = this[get_ propertyname] cfreturn fn() cfelse cfreturn this[propertyname] /cfif /cffunction Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFCs - get'ers Vs. return object
I am only dabbling in CFCs but it seems sensible to me to retrieve a structure of related information using one getter, then just accessing that. But maybe I just don't get CFCs. Perhaps it's up to the CFC to cache that info so that endless database requests aren't required. For example, the first getSomething() could query the database for more than just the one requested field, and store the whole lot in a cache. Any following getSomethingElse() could grab the data from that cache. Matthew Walker Electric Sheep Web http://www.electricsheep.co.nz/ - Original Message - From: Thomas Chiverton [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:01 AM Subject: CFCs - get'ers Vs. return object I'm just starting to write my first CFC in anger, as it were, and was curious about what others were doing. Are people writing a number of of getX,getY,getName,get methods, each returning a string/numer and then using cfobject component=com.locavista.location name=objLocation cfoutput#objLocation.getName(156537)#/cfoutput OR writing a single get that returns a query or custom object, and then using cfinvoke component=com.locavista.location method=get iLocId=156537 returnVariable=objLocation cfoutput#objLocation.description#/cfoutput Obviously, no difference in output, but writing lots of get'ers is time consuming, though provides better abstraction from the datastore. Also, each getX will make a database query, so outputting a list of the objects will be much slower using the first method than the second, as I see it. So I'm plumbing for doing it the 2nd way - is there any sort of consensous on this ? -- Tom C Land of the free, home of the brave... you have to be brave to live there and enjoy the freedoms ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Request for Review: Variables in CFML
Sean, Any news on the cfcs (cffunctions) and transaction limitation? I have raised the issue before and almost one year later there is no official response if\ when this limitation will be addressed. In the mean time I would like to know how you had approach this issues in re-designing the MM site. thanks. Marius Milosav www.scorpiosoft.com It's not about technology, it's about people. Virtual Company (VICO) Application Demo www.scorpiosoft.com/vicodemo/login.cfm - Original Message - From: Sean A Corfield [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 6:45 PM Subject: Re: Request for Review: Variables in CFML On Tuesday, Mar 25, 2003, at 05:35 US/Pacific, Calvin Ward wrote: This is great stuff! Which application example provides us a view of utilizing CFCs in this manner? Is this what you're looking for? (I couldn't reply to your post until this article was published! :) http://www.macromedia.com/special/under_the_hood/report1/ Sean A Corfield -- Director, Architecture Web Technology Group -- Macromedia, Inc. tel: (415) 252-2287 -- cell: (415) 717-8473 aim/iChat: seancorfield -- http://www.macromedia.com An Architect's View -- http://www.macromedia.com/go/arch_blog Announcing Macromedia DevNet Subscriptions Maximize your power with our new premium software subscription Find out more: http://www.macromedia.com/go/devnetsubs ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Dynamic anchors on CF Page
I have a page in which headings go across the top like (newpaper headings) that I want the user to be able to click the heading to jump down to the article. All headings and articles are on the same page. So I need to be able to create dynamic anchors. Is this possible in CF? Here's a snippet of code I have: cfquery datasource=FirmDaily name=GetBookmarks Select DailyNewsKey, Title From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfquery datasource=FirmDaily name=GetContent Select DailyNewsKey, Title, Body, Sig From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfset GetKey = #GetBookmarks.DailynewsKey# body link=CC alink=CC vlink=ac9d86 table width=100% TR td width=100% height=18 align=left valign=toph2What's Up Today/h2/td /TR tr td width=100% height=24 align=left valign=bottomh3Table of Contents/h3/td /tr tr td width=100% height=9 align=center valign=top cfoutput query=GetBookmarks font face=Trebuchet MS size=1nbsp;nbsp;a href=##GetKey##title#/anbsp;nbsp;/cfoutput /td/tr tr td width=100% height=3 align=center valign=tophr width=65% size=1 color=353535/FONT/td /tr cfoutput query=GetContent tr td height=9 align=center valign=topfont face=Trebuchet MS size=2 color=CCa name=GetKey#Title#/a/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Body#/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Sig#/font/td /tr tr td width=100% height=3 valign=tophr width=65% size=1 color=353535/td /tr /cfoutput /table /body /html Thank you, Aimee Clark Web Developer Stinson Morrison Hecker 816.691.3461 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Dynamic anchors on CF Page
Apart from that you've missed the hashes (#), what's wrong with what you have? a name=#GetKey# Matthew Walker Electric Sheep Web http://www.electricsheep.co.nz/ - Original Message - From: Clark, Aimee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, March 30, 2003 12:38 PM Subject: Dynamic anchors on CF Page I have a page in which headings go across the top like (newpaper headings) that I want the user to be able to click the heading to jump down to the article. All headings and articles are on the same page. So I need to be able to create dynamic anchors. Is this possible in CF? Here's a snippet of code I have: cfquery datasource=FirmDaily name=GetBookmarks Select DailyNewsKey, Title From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfquery datasource=FirmDaily name=GetContent Select DailyNewsKey, Title, Body, Sig From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfset GetKey = #GetBookmarks.DailynewsKey# body link=CC alink=CC vlink=ac9d86 table width=100% TR td width=100% height=18 align=left valign=toph2What's Up Today/h2/td /TR tr td width=100% height=24 align=left valign=bottomh3Table of Contents/h3/td /tr tr td width=100% height=9 align=center valign=top cfoutput query=GetBookmarks font face=Trebuchet MS size=1nbsp;nbsp;a href=##GetKey##title#/anbsp;nbsp;/cfoutput /td/tr tr td width=100% height=3 align=center valign=tophr width=65% size=1 color=353535/FONT/td /tr cfoutput query=GetContent tr td height=9 align=center valign=topfont face=Trebuchet MS size=2 color=CCa name=GetKey#Title#/a/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Body#/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Sig#/font/td /tr tr td width=100% height=3 valign=tophr width=65% size=1 color=353535/td /tr /cfoutput /table /body /html Thank you, Aimee Clark Web Developer Stinson Morrison Hecker 816.691.3461 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: DevCon 2003
Nights will be cold. Days will vary from 30-60F. There should be decent skiing by that time. - Original Message - From: Frank Mamone [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 4:28 PM Subject: Re: DevCon 2003 How's the weather there in November? - Original Message - From: Candace Cottrell [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, March 28, 2003 3:11 PM Subject: OT: DevCon 2003 Got this from the CFDJ list: snipI just emailed MM the other day asking about DevCon and below is their reply. Hope this helps, Steve Although not officially announced yet, the Macromedia annual conference will be held November 18-21, 2003 in Salt Lake City, Utah. We expect that registration fees will be similar to last year, and that registration will open in early July. Thank you for your interest in the conference. We hope that you'll be able to join us in November. Regards, Conference Management /snip Hmmm... what's in Salt Lake City?? Just curious... 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] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Dynamic anchors on CF Page
Well it doesn't appear to actually jump down to a specific heading. For instance, lets say I hardcoded 3 headings to be in hyperlink #1a, #2b, and #3a, then whenever I click on the heading that has the anchor coded as #3a, it would just down right to the title and content for the 3rd heading. Well, presently it acts like it's jumping down, but it doesn't go to the specified heading. -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 7:12 PM To: CF-Talk Subject: Re: Dynamic anchors on CF Page Apart from that you've missed the hashes (#), what's wrong with what you have? a name=#GetKey# Matthew Walker Electric Sheep Web http://www.electricsheep.co.nz/ - Original Message - From: Clark, Aimee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, March 30, 2003 12:38 PM Subject: Dynamic anchors on CF Page I have a page in which headings go across the top like (newpaper headings) that I want the user to be able to click the heading to jump down to the article. All headings and articles are on the same page. So I need to be able to create dynamic anchors. Is this possible in CF? Here's a snippet of code I have: cfquery datasource=FirmDaily name=GetBookmarks Select DailyNewsKey, Title From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfquery datasource=FirmDaily name=GetContent Select DailyNewsKey, Title, Body, Sig From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfset GetKey = #GetBookmarks.DailynewsKey# body link=CC alink=CC vlink=ac9d86 table width=100% TR td width=100% height=18 align=left valign=toph2What's Up Today/h2/td /TR tr td width=100% height=24 align=left valign=bottomh3Table of Contents/h3/td /tr tr td width=100% height=9 align=center valign=top cfoutput query=GetBookmarks font face=Trebuchet MS size=1nbsp;nbsp;a href=##GetKey##title#/anbsp;nbsp;/cfoutput /td/tr tr td width=100% height=3 align=center valign=tophr width=65% size=1 color=353535/FONT/td /tr cfoutput query=GetContent tr td height=9 align=center valign=topfont face=Trebuchet MS size=2 color=CCa name=GetKey#Title#/a/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Body#/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Sig#/font/td /tr tr td width=100% height=3 valign=tophr width=65% size=1 color=353535/td /tr /cfoutput /table /body /html Thank you, Aimee Clark Web Developer Stinson Morrison Hecker 816.691.3461 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Dynamic anchors on CF Page
Try the anchor like this: a href=###GetKey# Issac Rosa - Original Message - From: Clark, Aimee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 8:28 PM Subject: RE: Dynamic anchors on CF Page Well it doesn't appear to actually jump down to a specific heading. For instance, lets say I hardcoded 3 headings to be in hyperlink #1a, #2b, and #3a, then whenever I click on the heading that has the anchor coded as #3a, it would just down right to the title and content for the 3rd heading. Well, presently it acts like it's jumping down, but it doesn't go to the specified heading. -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 7:12 PM To: CF-Talk Subject: Re: Dynamic anchors on CF Page Apart from that you've missed the hashes (#), what's wrong with what you have? a name=#GetKey# Matthew Walker Electric Sheep Web http://www.electricsheep.co.nz/ - Original Message - From: Clark, Aimee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, March 30, 2003 12:38 PM Subject: Dynamic anchors on CF Page I have a page in which headings go across the top like (newpaper headings) that I want the user to be able to click the heading to jump down to the article. All headings and articles are on the same page. So I need to be able to create dynamic anchors. Is this possible in CF? Here's a snippet of code I have: cfquery datasource=FirmDaily name=GetBookmarks Select DailyNewsKey, Title From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfquery datasource=FirmDaily name=GetContent Select DailyNewsKey, Title, Body, Sig From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfset GetKey = #GetBookmarks.DailynewsKey# body link=CC alink=CC vlink=ac9d86 table width=100% TR td width=100% height=18 align=left valign=toph2What's Up Today/h2/td /TR tr td width=100% height=24 align=left valign=bottomh3Table of Contents/h3/td /tr tr td width=100% height=9 align=center valign=top cfoutput query=GetBookmarks font face=Trebuchet MS size=1nbsp;nbsp;a href=##GetKey##title#/anbsp;nbsp;/cfoutput /td/tr tr td width=100% height=3 align=center valign=tophr width=65% size=1 color=353535/FONT/td /tr cfoutput query=GetContent tr td height=9 align=center valign=topfont face=Trebuchet MS size=2 color=CCa name=GetKey#Title#/a/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Body#/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Sig#/font/td /tr tr td width=100% height=3 valign=tophr width=65% size=1 color=353535/td /tr /cfoutput /table /body /html Thank you, Aimee Clark Web Developer Stinson Morrison Hecker 816.691.3461 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Any wanna help? Trying to order output by the number that's part of a varchar field...
Hi I was wondering if someone could help me with the following problem. I am having trouble passing multiple values using the FORM Method=GET to ColdFusion. The code below only passes one value for state, not multiple values: !-- expt.html -- html head /head body form action=expt.cfm method=GET name=form_1 select name=State multiple option value=NSW selectedNew South Wales option value=VICVictoria option value=QLDQueensland option value=SASouth Australia option value=WAWestern Australia option value=TASTasmania /select input type=SUBMIT VALUE+SUBMIT /form /body /html !-- expt.cfm -- html head /head body CFSET State=url.state cfoutput State = #State# /cfoutput /body /html If I change the above to POST method and use form.state to pass variable, it does pass multiple values, but I would like to know how to make the GET method pass multiple values. regards Tuum ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: accessing parent cfc's variables
Good example Sean! If I misread the original poster, sorry. I thought for sure s/he was talking about inheritance. === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc 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: Sean A Corfield [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 5:28 PM To: CF-Talk Subject: Re: accessing parent cfc's variables On Saturday, Mar 29, 2003, at 07:52 US/Pacific, Raymond Camden wrote: It is true. If in parent.cfc, outside the methods or in a method but not var scoped or attribute scoped, if you do x=1, then child.cfc can access it as well. Let's try some real code here because I think some folks have gotten confused: ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFCs - get'ers Vs. return object
On Friday, Mar 28, 2003, at 10:59 US/Pacific, S. Isaac Dealey wrote: cffunction name=getValue ouptut=false cfargument name=propertyname type=string required=true cfif isdefined(this.get_ propertyname) cfreturn evaluate(this.get_#propertyname#()) cfelse cfreturn this[propertyname] /cfif /cffunction Eek! Evaluate! :) Try this instead: cffunction name=getValue ouptut=false cfargument name=propertyname type=string required=true cfset var fn = 0 cfif structKeyExists(this,get_ propertyname) cfset fn = this[get_ propertyname] cfreturn fn() cfelse cfreturn this[propertyname] /cfif /cffunction You're right, my bad. :) I was in a hurry... structkeyexists() is also better than isdefined() imho since it's more specific although I wasn't entirely sure it would produce the desired result in this context. I expected it to, but fell back on what I was more certain of for the sake of the example in case somebody tried to run it. I wonder if cfreturn this[get_ propertyname]() would produce an error... It sure looks funky... I can never avoid using evaluate in Tapestry because it still supports CF 5 and because of the structure of the application ( lots of includes and custom tags ) if I use array notation it invariably produces an unknown exception condition somewhere that I then have to isolate as a result of an obscure CF5 bug. There's only like 3-5 people in the whole CF world really affected by it. And it always turns out to be _that_ problem and the only workaround I've found is evaluate() unfortunately... I'm sure MX doesn't have the same problem as I'm pretty certain the bug was related to some core low-level pcode functionality. s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFCs - get'ers Vs. return object
That'd be a good use for it -- it's rather like how Tapestry's OO objects work. You could of course always store related variables of the cfc in structures within the this[] scope and then using something like the default getter / setter functions I described in my other email you could return either an individual element or a group of related elements as a structure -- or even return another cfc which is a property of the cfc called. I am only dabbling in CFCs but it seems sensible to me to retrieve a structure of related information using one getter, then just accessing that. But maybe I just don't get CFCs. Perhaps it's up to the CFC to cache that info so that endless database requests aren't required. For example, the first getSomething() could query the database for more than just the one requested field, and store the whole lot in a cache. Any following getSomethingElse() could grab the data from that cache. Matthew Walker Electric Sheep Web http://www.electricsheep.co.nz/ - Original Message - From: Thomas Chiverton [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, March 27, 2003 12:01 AM Subject: CFCs - get'ers Vs. return object I'm just starting to write my first CFC in anger, as it were, and was curious about what others were doing. Are people writing a number of of getX,getY,getName,get methods, each returning a string/numer and then using cfobject component=com.locavista.location name=objLocation cfoutput#objLocation.getName(156537)#/cfoutput OR writing a single get that returns a query or custom object, and then using cfinvoke component=com.locavista.location method=get iLocId=156537 returnVariable=objLocation cfoutput#objLocation.description#/cfoutput Obviously, no difference in output, but writing lots of get'ers is time consuming, though provides better abstraction from the datastore. Also, each getX will make a database query, so outputting a list of the objects will be much slower using the first method than the second, as I see it. So I'm plumbing for doing it the 2nd way - is there any sort of consensous on this ? -- Tom C Land of the free, home of the brave... you have to be brave to live there and enjoy the freedoms ~~ ~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index. cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/uns ubscribe.cfm?user=633.558.4 s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Dynamic anchors on CF Page
Probably just getting an error on this line: href=##GetKey##title#/a which should read ###getKey# Same for the anchor name attribute. You have to escape the leading # for the anchor and then output the name of the anchor. Apart from that you've missed the hashes (#), what's wrong with what you have? a name=#GetKey# Matthew Walker Electric Sheep Web http://www.electricsheep.co.nz/ - Original Message - From: Clark, Aimee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, March 30, 2003 12:38 PM Subject: Dynamic anchors on CF Page I have a page in which headings go across the top like (newpaper headings) that I want the user to be able to click the heading to jump down to the article. All headings and articles are on the same page. So I need to be able to create dynamic anchors. Is this possible in CF? Here's a snippet of code I have: cfquery datasource=FirmDaily name=GetBookmarks Select DailyNewsKey, Title From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfquery datasource=FirmDaily name=GetContent Select DailyNewsKey, Title, Body, Sig From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfset GetKey = #GetBookmarks.DailynewsKey# body link=CC alink=CC vlink=ac9d86 table width=100% TR td width=100% height=18 align=left valign=toph2What's Up Today/h2/td /TR tr td width=100% height=24 align=left valign=bottomh3Table of Contents/h3/td /tr tr td width=100% height=9 align=center valign=top cfoutput query=GetBookmarks font face=Trebuchet MS size=1nbsp;nbsp;a href=##GetKey##title#/anbsp;nbsp;/cfoutput /td/tr tr td width=100% height=3 align=center valign=tophr width=65% size=1 color=353535/FONT/td /tr cfoutput query=GetContent tr td height=9 align=center valign=topfont face=Trebuchet MS size=2 color=CCa name=GetKey#Title#/a/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Body#/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Sig#/font/td /tr tr td width=100% height=3 valign=tophr width=65% size=1 color=353535/td /tr /cfoutput /table /body /html Thank you, Aimee Clark Web Developer Stinson Morrison Hecker 816.691.3461 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ~~ ~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index. cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/uns ubscribe.cfm?user=633.558.4 s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Dynamic anchors on CF Page
Ok, so I now have this: a href=###GetKey##title#/a The name tag as this:a name=#GetKey##Title#/a ~ the above displays the ID for the title correctly when hovering on the hyperlink to the bookmark...but still doesn't seem like it's jumping directly to the bookmark when I click the hyperlink ~~ Thank you. -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 8:43 PM To: CF-Talk Subject: Re: Dynamic anchors on CF Page Probably just getting an error on this line: href=##GetKey##title#/a which should read ###getKey# Same for the anchor name attribute. You have to escape the leading # for the anchor and then output the name of the anchor. Apart from that you've missed the hashes (#), what's wrong with what you have? a name=#GetKey# Matthew Walker Electric Sheep Web http://www.electricsheep.co.nz/ - Original Message - From: Clark, Aimee [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, March 30, 2003 12:38 PM Subject: Dynamic anchors on CF Page I have a page in which headings go across the top like (newpaper headings) that I want the user to be able to click the heading to jump down to the article. All headings and articles are on the same page. So I need to be able to create dynamic anchors. Is this possible in CF? Here's a snippet of code I have: cfquery datasource=FirmDaily name=GetBookmarks Select DailyNewsKey, Title From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfquery datasource=FirmDaily name=GetContent Select DailyNewsKey, Title, Body, Sig From DailyNews Where convert(varchar, PublishDte, 101) = convert(varchar, GETDATE(), 101) AND convert(varchar, EndPublishDte, 101) = convert(varchar, GETDATE(), 101) /cfquery cfset GetKey = #GetBookmarks.DailynewsKey# body link=CC alink=CC vlink=ac9d86 table width=100% TR td width=100% height=18 align=left valign=toph2What's Up Today/h2/td /TR tr td width=100% height=24 align=left valign=bottomh3Table of Contents/h3/td /tr tr td width=100% height=9 align=center valign=top cfoutput query=GetBookmarks font face=Trebuchet MS size=1nbsp;nbsp;a href=##GetKey##title#/anbsp;nbsp;/cfoutput /td/tr tr td width=100% height=3 align=center valign=tophr width=65% size=1 color=353535/FONT/td /tr cfoutput query=GetContent tr td height=9 align=center valign=topfont face=Trebuchet MS size=2 color=CCa name=GetKey#Title#/a/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Body#/font/td /tr tr td height=9 align=center valign=topfont face=Trebuchet MS size=2#Sig#/font/td /tr tr td width=100% height=3 valign=tophr width=65% size=1 color=353535/td /tr /cfoutput /table /body /html Thank you, Aimee Clark Web Developer Stinson Morrison Hecker 816.691.3461 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ~~ ~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index. cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/uns ubscribe.cfm?user=633.558.4 s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Which Red Hat Linux install with Updater 3
We are just about to configure three new servers. Anyone got thoughts on which version of Red Hat Apache to use with updater 3? Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Dynamic anchors on CF Page
Ok, so I now have this: a href=###GetKey##title#/a The name tag as this:a name=#GetKey##Title#/a ~ the above displays the ID for the title correctly when hovering on the hyperlink to the bookmark...but still doesn't seem like it's jumping directly to the bookmark when I click the hyperlink ~~ Welcome ... I recommended the wrong thing didn't I? ... I mean -- I said you needed ## in front of the anchor I think... anyway -- that code should be correct... My experience with MSIE has been that the browser jumps to a point where either a) the anchor is butted up against the top of the display or b) where the bottom of the page is butted up against the bottom of the display. So if your anchor happens to be close enough to the bottom of the page, the anchor link won't bring the display up beyond where the bottom of the page reaches the bottom of the display which results in the anchor being somewhat below the top. Not sure about other browsers -- this could be W3C recommended behavior, not sure. s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Which Red Hat Linux install with Updater 3
Hey Mike, Have you tried the CF-Linux list? I haven't installed U3 yet, but am running U2 on redhat 7.2 without any problems... -- Josh Trefethen .:[ Exciteworks, Inc ]::[ http://exciteworks.com ]:. .::[ cf hosting on linux ]::[ consulting ]::[ expertise ]::. -Original Message- From: Mike Brunt [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 7:40 PM To: CF-Talk Subject: Which Red Hat Linux install with Updater 3 We are just about to configure three new servers. Anyone got thoughts on which version of Red Hat - Apache to use with updater 3? Kind Regards - Mike Brunt Webapper Services LLC Web Site http://www.webapper.com Blog http://www.webapper.net Webapper Web Application Specialists ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Calling Server Font
Anyone see what I am doing wrong? Have a module which customer needs to enter text, then choose from a couple of fonts...using cfx_jpeg_text (I think its called) which then slaps the text on the jpg and returns it. We are passing Britannica Bold to the server, get squat back but default Times. What do I need to pass, the actual font file name even? Thanks! Regards, Eric J. Hoffman DataStream Connexion www.datastreamconnexion.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: DevCon 2003
A little warmer than what it will be here in Montreal. I would have much preferred FLA:) -Frank - Original Message - From: Kevin Pompei [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 8:17 PM Subject: Re: DevCon 2003 Nights will be cold. Days will vary from 30-60F. There should be decent skiing by that time. - Original Message - From: Frank Mamone [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 4:28 PM Subject: Re: DevCon 2003 How's the weather there in November? - Original Message - From: Candace Cottrell [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, March 28, 2003 3:11 PM Subject: OT: DevCon 2003 Got this from the CFDJ list: snipI just emailed MM the other day asking about DevCon and below is their reply. Hope this helps, Steve Although not officially announced yet, the Macromedia annual conference will be held November 18-21, 2003 in Salt Lake City, Utah. We expect that registration fees will be similar to last year, and that registration will open in early July. Thank you for your interest in the conference. We hope that you'll be able to join us in November. Regards, Conference Management /snip Hmmm... what's in Salt Lake City?? Just curious... 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] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
white space
when viewing the source of the pages within some of my cf apps, i notice there is a lot of white space at the top of the page, etc... is there a way to clean this up? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: white space
when viewing the source of the pages within some of my cf apps, i notice there is a lot of white space at the top of the page, etc... is there a way to clean this up? Several. In MX there's a server setting (which is on by default afaik) which limits the output of whitespace. There's also cfsilent which prevents any output at all of any kind within the tags, so, for instance you would see nothing from a template with this code in it: cfsilent cfoutput #some# #variables# #here# blah blah blah /cfoutput /cfsilent I tend to use this for sections of code which contain only cf logic. It's new as of CF 5. Then theres cfsetting enablecfoutputonly=true and cfsetting enablecfoutputonly=false ... Once you've turned this on, you'll get no output accept within cfoutput tags. s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: DevCon 2003
I'm a geek. I don't know anything about sports. Brats and cheese I do know though. 2 out of 3 and they let me stay in the state. -Kevin -Original Message- From: Ryan Kime [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 3:51 PM To: CF-Talk Subject: RE: DevCon 2003 Since I don't know who Karl Malone is, I guess that list... *chuckle* Wouldn't expect anything less from someone living in Wisconsin - home of football, brats, and cheese. Think bas-ket-ball my friend... -Original Message- From: Kevin Graeme [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 3:37 PM To: CF-Talk Subject: RE: DevCon 2003 Since I don't know who Karl Malone is, I guess that list of things to do just got a lot shorter. -Kevin -Original Message- From: Haggerty, Mike [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 3:10 PM To: CF-Talk Subject: RE: DevCon 2003 I hear one of the major 'things to do' in SLC is Karl Malone watching. He supposedly frequents a number of shopping venues and can often be spotted riding a motorcycle. Also, the city is not very... uhh.. ethnically diverse. He supposedly stands out. M -Original Message- From: Kevin Graeme [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2003 3:47 PM To: CF-Talk Subject: RE: DevCon 2003 Looking at these sites: http://www.slctravel.com/ http://www.utah.com/cities/slc.htm Not much. -Kevin Hmmm... what's in Salt Lake City?? Just curious... 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] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFCs - get'ers Vs. return object
On Saturday, Mar 29, 2003, at 18:35 US/Pacific, S. Isaac Dealey wrote: structkeyexists() is also better than isdefined() imho since it's more specific although I wasn't entirely sure it would produce the desired result structKeyExists() will likely be faster (and it's safer - but it's complicated to explain why :) I wonder if cfreturn this[get_ propertyname]() would produce an error... It sure looks funky... It does error out which is why I used a temporary local variable (fn). Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Request for Review: Variables in CFML
On Saturday, Mar 29, 2003, at 16:18 US/Pacific, Marius Milosav wrote: Any news on the cfcs (cffunctions) and transaction limitation? It's in the bugbase, it's being looked at, but of course I can't give any indication of when it might get fixed. Sorry. In the mean time I would like to know how you had approach this issues in re-designing the MM site. We don't actually have too many complex queries where cftransaction is an issue (except in some of the underlying membership system - since that is fairly complex and designed to be very flexible / extensible) but one option is to code it directly in the database as a stored procedure and have the database deal with rollback issues that way... Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFCs - get'ers Vs. return object
On Saturday, Mar 29, 2003, at 18:35 US/Pacific, S. Isaac Dealey wrote: structkeyexists() is also better than isdefined() imho since it's more specific although I wasn't entirely sure it would produce the desired result structKeyExists() will likely be faster (and it's safer - but it's complicated to explain why :) I'm not surprised, but it's complicated to explain why. ;P Actually it just feels like that should be the case to me... It's like using document.getElementById() in javascript vs. using eval(myobjectid) -- in many browsers the latter works and in some older browsers that don't support the DOM standard getElementById function you have to resort to that, but it's faster/better/safer to use the DOM function for any recent target browser that supports DOM. I wonder if cfreturn this[get_ propertyname]() would produce an error... It sure looks funky... It does error out which is why I used a temporary local variable (fn). Yea, that's what I suspected, thanks for the confirmation. :) s. isaac dealey954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: white space
In addition to Isaac's advice, you really should look at LoRCAT: http://www.productivityenhancement.com/products.cfm It will also tell you where your application is gobbling resources so you can optimize your application. Respectfully, Adam Phillip Churvis Member of Team Macromedia Advanced Intensive ColdFusion MX Training ColdFusion MX and SQL Server 2000 Class: April 28, 2003 - May 2, 2003 http://www.ColdFusionTraining.com - Original Message - From: Michael T. Tangorre [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, March 29, 2003 11:23 PM Subject: white space when viewing the source of the pages within some of my cf apps, i notice there is a lot of white space at the top of the page, etc... is there a way to clean this up? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4