[cfaussie] Flash Charts
I'm creating flash charts and they have that nice function where the bar graphs grow. Is there any way to turn this off as its now becoming anoying. Brian --- This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CF8 :: Australian Tour?
I wouldnt brag too much Scott. I'm a Microsoft Partner and i'm still waiting to see an invitation to preview and prepare for the sale of Vista. 5 phone calls to the partner unit has come to nothing. But you're right - if they want us to sell up CF8, they'd better be organising some launch activities for developers, or they'll find we'll all be saying no need to upgrade best stay with what you konw. Having said that, I have no doubt Adobe are organising such things. But at Webdu, Tim Buntel was saying the launch was mid year, I think.so that's hardly definite enough to be announcing any launch activities is it.No doubt once the product launch date is announced, Adobe will be announcing launch activities, hopefully including us developers as part of it. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 4/10/07, Scott Barnes [EMAIL PROTECTED] wrote: the fact you guys need to ask... *slaps Adobe, hire spaulding to be your local evangelist and get cracking and inform the troops*... On 4/10/07, David Harris [EMAIL PROTECTED] wrote: I've been wondering this to... ...except with Australian + NZ Tour ;-) On Apr 10, 10:47 am, AJ Mercer [EMAIL PROTECTED] wrote: Hi, Does any one know if anything will be happening in Australia to promote the CF 8 release? Mr Forta is touring the US of Ahttp://www.adobe.com/products/coldfusion/events/ http://www.mossyblog.com -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Flash Charts
Format = png Regards Dale Fraser http://dale.fraser.id.au/blog _ From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of KNOTT, Brian Sent: Tuesday, 10 April 2007 4:09 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Flash Charts I'm creating flash charts and they have that nice function where the bar graphs grow. Is there any way to turn this off as its now becoming anoying. Brian --- This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Flash Charts
Why don't you just make them PNG format? Otherwise there is a config process where you can turn them off. You need to use the [cfinstall]\charting\webcharts.bat tool to creates an XML file and add a style attribute to your chart and load the xml into it. _ From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of KNOTT, Brian Sent: Tuesday, 10 April 2007 4:09 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Flash Charts I'm creating flash charts and they have that nice function where the bar graphs grow. Is there any way to turn this off as its now becoming anoying. Brian --- This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CF8 :: Australian Tour?
Oh? We've done the national roadshow tour of LOVE (Launch Office Vista Exchange). I'm concerned that a partner didn't get the invite as that's usually the easiest part for us, getting you to the actual venue - well that's anothe story. hell, chuck (co-worker) is even in Hobart doing the launch ( http://blogs.msdn.com/charles_sterling/archive/2007/03/13/hobart-vista-launch.aspx ) We even did Mackay ( http://blogs.msdn.com/charles_sterling/archive/2007/02/12/mackay-vista-launch-feb-23rd.aspx ) I could go on... (can I brag now? ;) heheh) I'm sure Adobe will do the usual roadshow (sydney/melbourne and brisbane - brisvegas especially due to its high-grade developers a opposed to the rest of the state - as darren says anyway heeh). What I was getting at is I think Adobe really needs an Evangelist for ANZ, as being one has taught me that you guys aren't really getting a depth discussion with Adobe and I remember being a developer in your space, how frustrating that can be at times Just to reach out and say - check this out, do you want in on this? style of thinking. Mark Blair was that guy (still is, I guess) but Andrew Spauldings value for money, i say give em an evangelist jersey and be done with it! :) Who's with me... On 4/10/07, Mike Kear [EMAIL PROTECTED] wrote: I wouldnt brag too much Scott. I'm a Microsoft Partner and i'm still waiting to see an invitation to preview and prepare for the sale of Vista. 5 phone calls to the partner unit has come to nothing. But you're right - if they want us to sell up CF8, they'd better be organising some launch activities for developers, or they'll find we'll all be saying no need to upgrade best stay with what you konw. Having said that, I have no doubt Adobe are organising such things. But at Webdu, Tim Buntel was saying the launch was mid year, I think.so that's hardly definite enough to be announcing any launch activities is it.No doubt once the product launch date is announced, Adobe will be announcing launch activities, hopefully including us developers as part of it. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 4/10/07, Scott Barnes [EMAIL PROTECTED] wrote: the fact you guys need to ask... *slaps Adobe, hire spaulding to be your local evangelist and get cracking and inform the troops*... On 4/10/07, David Harris [EMAIL PROTECTED] wrote: I've been wondering this to... ...except with Australian + NZ Tour ;-) On Apr 10, 10:47 am, AJ Mercer [EMAIL PROTECTED] wrote: Hi, Does any one know if anything will be happening in Australia to promote the CF 8 release? Mr Forta is touring the US of Ahttp://www.adobe.com/products/coldfusion/events/ http://www.mossyblog.com -- -- Regards, Scott Barnes http://www.mossyblog.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Heaps of CF work in the ACT?
On 4/10/07, Dale Fraser [EMAIL PROTECTED] wrote: You are implying that you know what's in the NDA thus disclosing you have read it and thus informing us that you too are on the beta. I knew about the strictness of the NDA during the CF 7 beta days without being a part of the beta program :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Heaps of CF work in the ACT?
CF7 is so Feb 2005. The public beta for CF8 should open within the next 12 hours starting with Beta 2. Visit https://prerelease.adobe.com/callout/apply.html?callid=%7BE9F64ADB-DADA-485E-BFFE-60E0D783EBEF%7D to sign up if you haven't done so already. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CF8 :: Australian Tour?
I wonder what spin they'll put on it this time. the most significant release of ColdFusion yet has been what they have used for the last 4 versions lol. Or maybe they'll do a microsoft sell and say the whole code base has been rewritten from scratch I remember when microsoft said that about one product then 2 diff versions that were meant to be 2 totally different code bases had the exact same bug, and everyone was asking why did they choose to code the same bug in twice using diff code? copy and paste, copy and paste. I hope adobe comes up with a diff sales pitch this time. M@ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CF8 :: Australian Tour?
Darren Tracey and co had a great launch (with Tim Buntel also). I would have done the same for ACT but was up there at the time. It was good. Very good. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] CF reports different length than JS
Hi all, I'm doing some server-side checking as well as client-side, and am finding that CF7 reports a different length of characters than JavaScript does. Not sure about the internals of both functions, but am hoping I can sort of get the two in sync. Anyone any ideas? len() VS obj.value.length I reckon it might have something to do with line breaks. Thanks in advance. -- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Flash Charts
thats funny you want them turned off that was a selling point for us to move some of our customers on to cf7. They all went 'oh' when they saw the bars animate :) On Apr 10, 4:13 pm, Steve Onnis [EMAIL PROTECTED] wrote: Why don't you just make them PNG format? Otherwise there is a config process where you can turn them off. You need to use the [cfinstall]\charting\webcharts.bat tool to creates an XML file and add a style attribute to your chart and load the xml into it. _ From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of KNOTT, Brian Sent: Tuesday, 10 April 2007 4:09 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Flash Charts I'm creating flash charts and they have that nice function where the bar graphs grow. Is there any way to turn this off as its now becoming anoying. Brian --- This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CF reports different length than JS
Steve, I thought that IE was the same and that a return was \n, I know I use that in JS all the time and it never complains, and works as expected. But Taco, yeah an example string would be good. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Onnis Sent: Wednesday, 11 April 2007 2:38 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CF reports different length than JS It actually depends on the browser. For example, in IE a return is \n\n where in FireFox a return is \n so you get a different in length. In Coldfusion a line break will be different also. I think thats where your getting your lengths screwing up. Steve --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CF reports different length than JS
It is actually Firefox that creates the problem. I just tested it and IE is OK with the following random string. IE reports 400 chars and Firefox reports more, so it must be what Steve says and it uses \n\n for new lines. I guess we'll have to do some regex replacing, hmm wonder how this is going to affect things -- hfghdf gh dfhgdfgjk dfjkg kjdfnnjndfk nbjklcvnjkbn cvjknbjkncv jbncjvnbjkn cvjkbnjkcv jkbncjkvb jkcvjkbjkc vbjkncjkvn cv b cv b c v b cvb cvbcv bcvb cv b cv b cv b cv bc vb cv b cvbcvhfghdf gh dfhgdfgjk dfjkg kjdfnnjndfk nbjklcvnjkbn cvjknbjkncv jbncjvnbjkn cvjkbnjkcv jkbncjkvb jkcvjkbjkc vbjkncjkvn cv b cv b c v b cvb cvbcv bcvb cv b cv b cv b cv bc vb cv b cvbcvhfghdf gh dfhgdfgjk dfjk -- On 4/11/07, Steve Onnis [EMAIL PROTECTED] wrote: It actually depends on the browser. For example, in IE a return is \n\n where in FireFox a return is \n so you get a different in length. In Coldfusion a line break will be different also. I think thats where your getting your lengths screwing up. Steve -- *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Dale Fraser *Sent:* Wednesday, 11 April 2007 2:34 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Re: CF reports different length than JS Should be the same, Are you sure there are no funny characters that CF is stripping or JS. Can you post an example string where they are different. Regards Dale Fraser http://dale.fraser.id.au/blog *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Taco Fleur *Sent:* Wednesday, 11 April 2007 2:15 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] CF reports different length than JS Hi all, I'm doing some server-side checking as well as client-side, and am finding that CF7 reports a different length of characters than JavaScript does. Not sure about the internals of both functions, but am hoping I can sort of get the two in sync. Anyone any ideas? len() VS obj.value.length I reckon it might have something to do with line breaks. Thanks in advance. -- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 -- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CF reports different length than JS
textarea id=str /textarea br / script document.write(Length : + document.getElementById(str).value.length + br /); for (i=0; i document.getElementById(str).value.length; ++i) { document.write(Char Code at position + i + : + document.getElementById(str).value.charCodeAt(i) + br /); } /script IE says the length is 2 but FireFox says its 1. You can also see the char code that is being used for the carrage returns. _ From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Wednesday, 11 April 2007 2:51 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CF reports different length than JS Steve, I thought that IE was the same and that a return was \n, I know I use that in JS all the time and it never complains, and works as expected. But Taco, yeah an example string would be good. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Onnis Sent: Wednesday, 11 April 2007 2:38 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CF reports different length than JS It actually depends on the browser. For example, in IE a return is \n\n where in FireFox a return is \n so you get a different in length. In Coldfusion a line break will be different also. I think thats where your getting your lengths screwing up. Steve --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CF reports different length than JS
Hi, No I don't have it installed, but will give it a go... On 4/11/07, Andrew Scott [EMAIL PROTECTED] wrote: Taco, Do you have firebug installed in FF? Might pay to use that to check the string out. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Taco Fleur *Sent:* Wednesday, 11 April 2007 3:01 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Re: CF reports different length than JS It is actually Firefox that creates the problem. I just tested it and IE is OK with the following random string. IE reports 400 chars and Firefox reports more, so it must be what Steve says and it uses \n\n for new lines. I guess we'll have to do some regex replacing, hmm wonder how this is going to affect things -- hfghdf gh dfhgdfgjk dfjkg kjdfnnjndfk nbjklcvnjkbn cvjknbjkncv jbncjvnbjkn cvjkbnjkcv jkbncjkvb jkcvjkbjkc vbjkncjkvn cv b cv b c v b cvb cvbcv bcvb cv b cv b cv b cv bc vb cv b cvbcvhfghdf gh dfhgdfgjk dfjkg kjdfnnjndfk nbjklcvnjkbn cvjknbjkncv jbncjvnbjkn cvjkbnjkcv jkbncjkvb jkcvjkbjkc vbjkncjkvn cv b cv b c v b cvb cvbcv bcvb cv b cv b cv b cv bc vb cv b cvbcvhfghdf gh dfhgdfgjk dfjk -- On 4/11/07, *Steve Onnis* [EMAIL PROTECTED] wrote: It actually depends on the browser. For example, in IE a return is \n\n where in FireFox a return is \n so you get a different in length. In Coldfusion a line break will be different also. I think thats where your getting your lengths screwing up. Steve -- *From:* cfaussie@googlegroups.com [mailto: [EMAIL PROTECTED] *On Behalf Of *Dale Fraser *Sent:* Wednesday, 11 April 2007 2:34 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Re: CF reports different length than JS Should be the same, Are you sure there are no funny characters that CF is stripping or JS. Can you post an example string where they are different. Regards Dale Fraser http://dale.fraser.id.au/blog *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Taco Fleur *Sent: *Wednesday, 11 April 2007 2:15 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] CF reports different length than JS Hi all, I'm doing some server-side checking as well as client-side, and am finding that CF7 reports a different length of characters than JavaScript does. Not sure about the internals of both functions, but am hoping I can sort of get the two in sync. Anyone any ideas? len() VS obj.value.length I reckon it might have something to do with line breaks. Thanks in advance. -- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 -- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CF reports different length than JS
Andrew, installed firebug, not sure how to check the string out, any tips? On 4/11/07, Andrew Scott [EMAIL PROTECTED] wrote: Taco, Do you have firebug installed in FF? Might pay to use that to check the string out. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Taco Fleur *Sent:* Wednesday, 11 April 2007 3:01 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Re: CF reports different length than JS It is actually Firefox that creates the problem. I just tested it and IE is OK with the following random string. IE reports 400 chars and Firefox reports more, so it must be what Steve says and it uses \n\n for new lines. I guess we'll have to do some regex replacing, hmm wonder how this is going to affect things -- hfghdf gh dfhgdfgjk dfjkg kjdfnnjndfk nbjklcvnjkbn cvjknbjkncv jbncjvnbjkn cvjkbnjkcv jkbncjkvb jkcvjkbjkc vbjkncjkvn cv b cv b c v b cvb cvbcv bcvb cv b cv b cv b cv bc vb cv b cvbcvhfghdf gh dfhgdfgjk dfjkg kjdfnnjndfk nbjklcvnjkbn cvjknbjkncv jbncjvnbjkn cvjkbnjkcv jkbncjkvb jkcvjkbjkc vbjkncjkvn cv b cv b c v b cvb cvbcv bcvb cv b cv b cv b cv bc vb cv b cvbcvhfghdf gh dfhgdfgjk dfjk -- On 4/11/07, *Steve Onnis* [EMAIL PROTECTED] wrote: It actually depends on the browser. For example, in IE a return is \n\n where in FireFox a return is \n so you get a different in length. In Coldfusion a line break will be different also. I think thats where your getting your lengths screwing up. Steve -- *From:* cfaussie@googlegroups.com [mailto: [EMAIL PROTECTED] *On Behalf Of *Dale Fraser *Sent:* Wednesday, 11 April 2007 2:34 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] Re: CF reports different length than JS Should be the same, Are you sure there are no funny characters that CF is stripping or JS. Can you post an example string where they are different. Regards Dale Fraser http://dale.fraser.id.au/blog *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Taco Fleur *Sent: *Wednesday, 11 April 2007 2:15 PM *To:* cfaussie@googlegroups.com *Subject:* [cfaussie] CF reports different length than JS Hi all, I'm doing some server-side checking as well as client-side, and am finding that CF7 reports a different length of characters than JavaScript does. Not sure about the internals of both functions, but am hoping I can sort of get the two in sync. Anyone any ideas? len() VS obj.value.length I reckon it might have something to do with line breaks. Thanks in advance. -- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 -- Taco Fleur - http://www.pacificfox.com.au Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: CF reports different length than JS
Ok you have a number of options, in this case you could create a dive and use DHMTL to place the string into the div then use the inspect to view the data inside the div. I use dojo and it has a brilliant debug option which not only shows the string but it as an object, which shows \n\n\n String text \n\n more text But I can't answer 100% sure if doing this and going to the dom would be sufficient enough. You could try console.log(string); never used it but you it might have options to view more details about the string or object in question. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Taco Fleur Sent: Wednesday, 11 April 2007 3:25 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CF reports different length than JS Andrew, installed firebug, not sure how to check the string out, any tips? On 4/11/07, Andrew Scott [EMAIL PROTECTED] wrote: Taco, Do you have firebug installed in FF? Might pay to use that to check the string out. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au http://www.aegeon.com.au/ Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Taco Fleur Sent: Wednesday, 11 April 2007 3:01 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CF reports different length than JS It is actually Firefox that creates the problem. I just tested it and IE is OK with the following random string. IE reports 400 chars and Firefox reports more, so it must be what Steve says and it uses \n\n for new lines. I guess we'll have to do some regex replacing, hmm wonder how this is going to affect things -- hfghdf gh dfhgdfgjk dfjkg kjdfnnjndfk nbjklcvnjkbn cvjknbjkncv jbncjvnbjkn cvjkbnjkcv jkbncjkvb jkcvjkbjkc vbjkncjkvn cv b cv b c v b cvb cvbcv bcvb cv b cv b cv b cv bc vb cv b cvbcvhfghdf gh dfhgdfgjk dfjkg kjdfnnjndfk nbjklcvnjkbn cvjknbjkncv jbncjvnbjkn cvjkbnjkcv jkbncjkvb jkcvjkbjkc vbjkncjkvn cv b cv b c v b cvb cvbcv bcvb cv b cv b cv b cv bc vb cv b cvbcvhfghdf gh dfhgdfgjk dfjk -- On 4/11/07, Steve Onnis [EMAIL PROTECTED] wrote: It actually depends on the browser. For example, in IE a return is \n\n where in FireFox a return is \n so you get a different in length. In Coldfusion a line break will be different also. I think thats where your getting your lengths screwing up. Steve _ From: cfaussie@googlegroups.com [mailto: cfaussie@googlegroups.com mailto:cfaussie@googlegroups.com ] On Behalf Of Dale Fraser Sent: Wednesday, 11 April 2007 2:34 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: CF reports different length than JS Should be the same, Are you sure there are no funny characters that CF is stripping or JS. Can you post an example string where they are different. Regards Dale Fraser http://dale.fraser.id.au/blog From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Taco Fleur Sent: Wednesday, 11 April 2007 2:15 PM To: cfaussie@googlegroups.com Subject: [cfaussie] CF reports different length than JS Hi all, I'm doing some server-side checking as well as client-side, and am finding that CF7 reports a different length of characters than JavaScript does. Not sure about the internals of both functions, but am hoping I can sort of get the two in sync. Anyone any ideas? len() VS obj.value.length I reckon it might have something to do with line breaks. Thanks in advance. -- Taco Fleur - http://www.pacificfox.com.au http://www.pacificfox.com.au/ Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 . Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 . Web Design, Web development, Graphic Design and Complete Internet Solutions an industry leader with commercial IT experience since 1994 . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---