Re: Cftextarea and "Fukeditor"
>Just download the Library and look under examples. There are a bunch of them >that work right out of the box. You pass just it a couple vars and you are >done. Very easy. Hi Gerald, were you referring to the following url for the current cfc for this editor? http://dev.fckeditor.net/browser/FCKeditor/trunk/fckeditor.cfc?rev=735 fyi 1, my current implementation of this editor with CFTEXTAREA is barely ok, not efficient at all and reliability seems less than desirable as well. fyi 2, my use case for text editor for this app is very complex, virtually all other WYSIWYG editors have failed (one more option to try, would need very focused attention...) Thanks. Don ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305680 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Complex RegEx help request
Thanks Bobby, I'll give that a shot. On Mon, May 19, 2008 at 6:20 PM, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: > Hi Jeremy, Here is how I do it in CF4em to replace things like [code]some > code[/code] > > Loop the string, replacing the blocks with a marker and storing the name in > an array (the array position would match the marker) > Then you can loop the array, convert the names to links and put them back > into their original places with replace(str, '**marker1**', newLink, 'all') > > You can download cf4em (http://cf4em.com/downloads) and view > /inc/parsebbml.cfm for some working code. > > Specifically, check out how code blocks, url blocks, and encryption blocks > are removed, modified and put back into place. You could probably do both at > once and skip the array in your case. > > A regex for your case would look like: (.*?) > > > ..:.:.:.:.:.:.:.:.:.:.:.:. > Bobby Hartsfield > http://acoderslife.com > http://cf4em.com > > > -Original Message- > From: Jeremy Prevost [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 5:43 PM > To: CF-Talk > Subject: Complex RegEx help request > > Hi all. I'm hoping someone can help out with this problem I've run into. > > I'm trying to make our home grown CMS a bit easier to use for our > editors and easier to maintain. The issue at hand involves how we code > email addresses into the content. I have an even that pops up a new > contact window (CFwindow) and takes a Firstname and Lastname > parameter. From there when the form is filled out the model looks up > the email address based on the firstname/lastname combo and that all > works great. However, I now want to tweak the code just a bit and will > need to do some interesting find/replace work on the db side...which > isn't a huge deal but I'd rather avoid doing it again every time I > need to make changes. > > My thought was to use a pseudo tag such as Firstname > Lastname which would be really easy for our editors to use and > I'd replace that pseudo tag at display time with the actual link to > the cfwindow. That works great in my mind, but I'm having a heck of a > time creating a RegEx that will do what I want. > > In summary, anyone have any pointers as to which direction I should go > to turn this: > > Firstname Lastname > > into this: > > href="javascript:ColdFusion.Window.create('staffContact#FirstName##Lastname# > ','Contact%20#Firstname#%20#Lastname#','/index.cfm?event=page.comment&firstn > ame=#firstname#&lastname=#lastname#',{center:true,height:400,width:600,modal > :false,closable:true,draggable:true,resizable:true,center:true,initshow:true > ,minheight:200,minwidth:200})">Email > #Firstname# #Lastname# > > Any thoughts would be much appreciated! > > Thanks, > Jeremy > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305679 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: reusable components
> Kind of, though I wouldn't make that comparison. My theory is > less than solid here so please someone patch where it is mistaken: > > When ColdFusion processes a 'page' with a udf (either > cffunction or scripted 'function'); the function is parsed > and created as an > *object* in memory (a special function type object). By > 'calling' the function without the () you are actually > referencing the object itself rather than invoking the > function that it represents. > > So, the following code just makes the > application.udfs.MyFunction1 variable a reference to the > function named 'MyFunction1': > > > > Make any sense? This is a pretty good explanation, but it's even simpler than that. Functions are really just one more type of variable, just like queries, structures, arrays, etc. They contain executable code instead of data, that's all. And, you're not "calling" the function unless you have the parentheses after the function name: Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305678 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: reusable components
> I have a growing collection of misc UDFs and was thinking that there must be > a better way > than doing an include for every page load or loading some monster cfc of > random functions. I've not tried it yet, but Model-Glue 3 handles this so beautifully. A 'helpers' folder is created in the root of the app - put any templates or cfcs with functions in there and all the functions will all automagically be put in the 'helper' scope (as 'helper.filename.functionname'). Being MG, I'm sure it will all be app cached too. Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305677 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: reusable components
>>>. When ColdFusion processes a 'page' with a udf (either cffunction or scripted 'function'); the function is parsed and created as an *object* in memory (a special function type object). By 'calling' the function without the () you are actually referencing the object itself rather than invoking the function that it represents. -- Yeah that is what I thought you were saying. I will give it a serious gander tomorrow. Very cool btw. I have a growing collection of misc UDFs and was thinking that there must be a better way than doing an include for every page load or loading some monster cfc of random functions. >> Make any sense? Yeah... this time. ;) thanx again for your insight, G On Mon, May 19, 2008 at 7:00 PM, Dominic Watson < [EMAIL PROTECTED]> wrote: > >I take it you can load the function in to memory like using an init method > >on a CFC... by calling the function with out the the "()" and not passing > it > >any vars? > > Kind of, though I wouldn't make that comparison. My theory is less > than solid here so please someone patch where it is mistaken: > > When ColdFusion processes a 'page' with a udf (either cffunction or > scripted 'function'); the function is parsed and created as an > *object* in memory (a special function type object). By 'calling' the > function without the () you are actually referencing the object itself > rather than invoking the function that it represents. > > So, the following code just makes the application.udfs.MyFunction1 > variable a reference to the function named 'MyFunction1': > > > > Make any sense? -- "We learn something every day, and lots of times it's that what we learned the day before was wrong." - Bill Vaughan ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305676 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Complex RegEx help request
Hi Jeremy, Here is how I do it in CF4em to replace things like [code]some code[/code] Loop the string, replacing the blocks with a marker and storing the name in an array (the array position would match the marker) Then you can loop the array, convert the names to links and put them back into their original places with replace(str, '**marker1**', newLink, 'all') You can download cf4em (http://cf4em.com/downloads) and view /inc/parsebbml.cfm for some working code. Specifically, check out how code blocks, url blocks, and encryption blocks are removed, modified and put back into place. You could probably do both at once and skip the array in your case. A regex for your case would look like: (.*?) ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Jeremy Prevost [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 5:43 PM To: CF-Talk Subject: Complex RegEx help request Hi all. I'm hoping someone can help out with this problem I've run into. I'm trying to make our home grown CMS a bit easier to use for our editors and easier to maintain. The issue at hand involves how we code email addresses into the content. I have an even that pops up a new contact window (CFwindow) and takes a Firstname and Lastname parameter. From there when the form is filled out the model looks up the email address based on the firstname/lastname combo and that all works great. However, I now want to tweak the code just a bit and will need to do some interesting find/replace work on the db side...which isn't a huge deal but I'd rather avoid doing it again every time I need to make changes. My thought was to use a pseudo tag such as Firstname Lastname which would be really easy for our editors to use and I'd replace that pseudo tag at display time with the actual link to the cfwindow. That works great in my mind, but I'm having a heck of a time creating a RegEx that will do what I want. In summary, anyone have any pointers as to which direction I should go to turn this: Firstname Lastname into this: Email #Firstname# #Lastname# Any thoughts would be much appreciated! Thanks, Jeremy ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305675 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: image editing
Alagad's ImageComponent (http://www.alagad.com) is platform independent & the CFC doesn't need to be 'installed' on the server, it can sit in the same directory as the page that is calling it. The only problem it that it's a commercial product (US$150) but if an upgrade to CF8 isn't likely in the near future it might be a worthwhile investment. HTH. A.J. ps: The documentation and examples they provide are really helpful too! >> I don't think it uses java image library as previous versions >> predate CFMX. >> >> http://www.kolumbus.fi/jukka.manner/ > > When I download this, I receive dll files. These need to be > installed at the server? I don't suspect it'll happen, if that's > the case. > > I was hoping for something that I could just set in my directory (I > guess that's a CFC) and use without using any admin functions. > > thanks. > > daniel > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305674 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: reusable components
>I take it you can load the function in to memory like using an init method >on a CFC... by calling the function with out the the "()" and not passing it >any vars? Kind of, though I wouldn't make that comparison. My theory is less than solid here so please someone patch where it is mistaken: When ColdFusion processes a 'page' with a udf (either cffunction or scripted 'function'); the function is parsed and created as an *object* in memory (a special function type object). By 'calling' the function without the () you are actually referencing the object itself rather than invoking the function that it represents. So, the following code just makes the application.udfs.MyFunction1 variable a reference to the function named 'MyFunction1': Make any sense? > Well if you're bonkers, I'm bonkers too! I already know you're bonkers AdeyAdeyAdeAde ;) Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305673 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Looping over an XML Array
> > > to="#arrayLen(ledata.callmeasurement.resultscall.numbers.XMLChildren)#" > index="i"> > ...etc Also, the ArrayLen() of 'ledata.callmeasurement.resultscall.numbers.XMLChildren' could in *theory* not be the number of dnis elements (though in practice in this case it is). It could be rewritten to marry theory and practice: HTH Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305672 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: FCKEditor and IE7
>Just an FYI in case many of you didn't know, but ActivEdit, the "other" >WYSIWYG editor for web pages, is now open source and available for download >at the creator's website: http://www.zrinity.com/activedit > >Just an alternative solution for those who haven't invested a lot of time >into FCKEditor. > > > > >Thank you, >Erika > > > >Erika L. Walker, Director, RUWebby, LLC Good to hear from you, Erika. Can ActivEdit run inside cfwindow? Don ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305671 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FCKEditor and IE7
Hey Mike, On Mon, May 19, 2008 at 11:07 PM, Mike Kear <[EMAIL PROTECTED]> wrote: > I Look at the pages myself, and with Firefox and IE6 everything's > working fine. But with IE7 the page just shows the blank space > where FCKEditor must go. This is probably not much help, but IE7 is far more standards compliant than IE6 and for the most part causes far less headaches, and FCKEditor definitely works with it. Are you sure they have JavaScript enabled? I would check if your client has, as part of the upgrade, upgraded their security level (Internet options -> security) to a level that does not allow "active scripting". As well as the browser itself, perhaps check that they're not running anything third party that might be causing problems, like that scourge of the internet, Norton Internet Security (blergh). Good luck. -- Kay Smoljak business: www.cleverstarfish.com coldfusion: kay.smoljak.com personal: goatlady.wordpress.com | heapsbad.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305670 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: JMS & ActiveMQ
On Thu, May 15, 2008 at 1:49 PM, Rich <[EMAIL PROTECTED]> wrote: > Does anyone have any experience with CF8 & ActiveMQ integration? Yes (I wrote the event gateway). > I was attempting to set up activeMQ 5.1 and leverage the ActiveMQ event AMQ5.1 won't work. AMQ4.1 will. Not sure what they fubar'd in there but I've had a couple of people email me about it - and Google shows other people out there having similar problems with AMQ5.1 (who are not using CF). -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305669 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Conditional Header in cfdocument
I originally posted this as a reply to another post in the CF-Community form that I found through a search. Apologies for the double post. Using cfdocument I am creating a PDF that starts with an information page that requires no header, and then needs produce a header on each following page. The problem is that the header is appearing on all pages, including the first. The following is the code I'm using inside of cfdocument: doh Thanks for any suggestions. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305668 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Complex RegEx help request
Hi all. I'm hoping someone can help out with this problem I've run into. I'm trying to make our home grown CMS a bit easier to use for our editors and easier to maintain. The issue at hand involves how we code email addresses into the content. I have an even that pops up a new contact window (CFwindow) and takes a Firstname and Lastname parameter. From there when the form is filled out the model looks up the email address based on the firstname/lastname combo and that all works great. However, I now want to tweak the code just a bit and will need to do some interesting find/replace work on the db side...which isn't a huge deal but I'd rather avoid doing it again every time I need to make changes. My thought was to use a pseudo tag such as Firstname Lastname which would be really easy for our editors to use and I'd replace that pseudo tag at display time with the actual link to the cfwindow. That works great in my mind, but I'm having a heck of a time creating a RegEx that will do what I want. In summary, anyone have any pointers as to which direction I should go to turn this: Firstname Lastname into this: Email #Firstname# #Lastname# Any thoughts would be much appreciated! Thanks, Jeremy ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305667 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: FCKEditor and IE7
Claude do you have any idea of the settings needed? Perhaps i can give my clients a how-to document that will let them set up their IE so they can continue to use their CMS with IE7 as they have for teh last year Cheers Mike Kear On Tue, May 20, 2008 at 7:19 AM, Claude Schneegans <[EMAIL PROTECTED]> wrote: > >>However, as far as browser compatibility. I think FCKEditor has some > room for improvement. > > With IE, there are so many options the user can deactivate that it is > not easy for the Javascript developer. > > There are for instance several security checks that locks ActiveX, even > internal activeX modules > that come with the genuine product. > The problem is that some essential functions are handled by those modules. > And as many times, the error message -- if any -- is as useless as > "unexpected error" or so. > > -- -- 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 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305666 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FCKEditor and IE7
>>However, as far as browser compatibility. I think FCKEditor has some room for improvement. With IE, there are so many options the user can deactivate that it is not easy for the Javascript developer. There are for instance several security checks that locks ActiveX, even internal activeX modules that come with the genuine product. The problem is that some essential functions are handled by those modules. And as many times, the error message -- if any -- is as useless as "unexpected error" or so. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305665 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 and a very basic drawing capability
> Probably Flash and/or Flex can. But it would be nice if cf8 can do > that as well (not something fancy/full-blown), if this capability is > already built in with cf8, pls show me. Thanks. > > Process flow: a) simple draw --> b) the {cf image tag} capture it --> > c) store it... > Sorry if asking too much. Well, on my second scanning of the cf docs (functions part this time), I realize indeed cf8 does support drawing etc. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305664 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMX 7.01 and 8.0 - Verity Problem - HELP
I recently upgrade my application from a Visual FoxPro database to and Oracle 10g database. I converted the foxpro memo fields to Oracle Clobs. Now my Verity Indexing doesn't work. The table contains only 5600 records with the largest CLOB containing approx 9K characters. The query works fine, but when Verity runs forever when it starts indexing the result set. Never had a problem with FoxPro, why would I have one with Oracle? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305663 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfchart
you could always multiply the Y scale by 100 to get them closer ;) Just represent that multiplication in your description somehow. Chris -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 3:07 PM To: CF-Talk Subject: cfchart I have two series of data. One is on a scale of 0-10 and the other is 0-1000. Is there a way to set the left Y axis to show the scale 0-10 and the right Y axis 0-1000? Thanks, Chad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305662 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfchart
I have two series of data. One is on a scale of 0-10 and the other is 0-1000. Is there a way to set the left Y axis to show the scale 0-10 and the right Y axis 0-1000? Thanks, Chad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305661 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FCKEditor and IE7
Nice, thanx for the 411. G On Mon, May 19, 2008 at 2:39 PM, Erika L. Walker <[EMAIL PROTECTED]> wrote: > Just an FYI in case many of you didn't know, but ActivEdit, the "other" > WYSIWYG editor for web pages, is now open source and available for download > at the creator's website: http://www.zrinity.com/activedit > > Just an alternative solution for those who haven't invested a lot of time > into FCKEditor. > > > > > Thank you, > Erika > > > > Erika L. Walker, Director, RUWebby, LLC > 1400 Marketplace Boulevard, Suite 155, Cumming, GA 30041 > -- > Website Design/Programming - Database Integration/E-Commerce > Adobe CFMX Certified Developer > -- > > > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305660 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 and a very basic drawing capability
> check out ben nadel's blog for this and a lot more: > www.bennadel.com > > Azadi Saryev > Sabai-dee.com > http://www.sabai-dee.com/ Thanks, will do. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305659 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: FCKEditor and IE7
Just an FYI in case many of you didn't know, but ActivEdit, the "other" WYSIWYG editor for web pages, is now open source and available for download at the creator's website: http://www.zrinity.com/activedit Just an alternative solution for those who haven't invested a lot of time into FCKEditor. Thank you, Erika Erika L. Walker, Director, RUWebby, LLC 1400 Marketplace Boulevard, Suite 155, Cumming, GA 30041 -- Website Design/Programming - Database Integration/E-Commerce Adobe CFMX Certified Developer -- ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305658 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: FCKEditor and IE7
THanks Matthew, i know for sure it works because it's been working for at least two years on this server. It's only since the advent of IE7 that it's giving problems. It still works fine with Firefox and IE6. SO the question is,, what's different about IE7 that makes it break? Axzadi's suggestion about doctypes is promising - that might well cause this issue. Anyone think of anything else i could look into? Cheers MIke Kear On Tue, May 20, 2008 at 4:10 AM, Matthew Sievert <[EMAIL PROTECTED]> wrote: > I know that demo site very well. > > The think I had to do to get it to work in the various flavors was go in > and "tinker" with all the ".cfg" files and make sure the "\" and "/" > were being intepreted correctly for my file system. > > The app on the "demo site" works because it is configured for "their" > environment specifically. > > We have tried copying their exact implementation and had it work > differently on whatever server we installed it on. > > > > -Original Message- > From: Mike Kear [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 1:53 PM > To: CF-Talk > Subject: Re: FCKEditor and IE7 > > Thanks Matthew - but i've had it running reliably on IE6 and Firefox > for ages . It's just now, on IE7 thats the problem. > > Have you ever managed to make it work wtih IE7? > > I notice by the way that when i go to the FCKEditor site, the demos > there work on IE7, so i do konw it's possible to make it work. > > Has anyone solved this issue, or can point me at what might be the > cause?? > > > 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 Tue, May 20, 2008 at 3:47 AM, Matthew Sievert > <[EMAIL PROTECTED]> wrote: >> My personal opinion >> >> I have fiddled with FCKEditor for several years. >> >> It is a nice interface, and provides the users with a nice toolset. >> >> However, as far as browser compatibility. I think FCKEditor has some >> room for improvement. >> >> Be it the image uploader, or like you have pointed out, it simply >> showing up. >> >> We have messed around with FCKEditor to where it "sort of works" on >> several browsers, but it is not guarenteed it will meet all their >> requirements. >> >> In my past job we strived to make FCKEditor usable for the most part >> on IE6, and FireFox 2.0 >> >> >> Best of luck. >> >> > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305657 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: odd log file issue (cf8)
thanks dave, we actually figured it out by googling the VERY top line of that... :) and yes, it was that, and my new network admin who setup the box didnt realize that wasnt supps to be checked! all good. take'er easy tony On Mon, May 19, 2008 at 1:53 PM, Dave Watts <[EMAIL PROTECTED]> wrote: >> im having an odd issue whereby a log file of some sort is >> filling up fairly quickly... the contents of this file, are >> growing by gigs... anyway, anyone >> know: 1. what this is? 2. how i can stop it? 3. how can i >> control its growth? >> >> below is a snippet... >> >> 2008-05-19 00:00:00 jrISAPI[2344:5060] ***HttpExtensionProc >> for JRun ISAPI Extension: uri is "/" >> 2008-05-19 00:00:00 jrISAPI[2344:5060] filtering / (/) HOST=null >> 2008-05-19 00:00:00 jrISAPI[2344:5060] filterRequest: no match >> 2008-05-19 00:00:00 jrISAPI[2344:5060] ExecUrl: request >> received: URL=/ > > When you set up the web server connector, did you enable verbose logging? > It's one of the checkbox options. You can rerun the connector to disable > this. You can probably also manually edit the configuration files, although > I haven't tried that myself. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Training: Adobe/Google/Paperthin Certified Partners > http://training.figleaf.com/ > > WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! > http://www.webmaniacsconference.com/ > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305656 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: FCKEditor and IE7
I know that demo site very well. The think I had to do to get it to work in the various flavors was go in and "tinker" with all the ".cfg" files and make sure the "\" and "/" were being intepreted correctly for my file system. The app on the "demo site" works because it is configured for "their" environment specifically. We have tried copying their exact implementation and had it work differently on whatever server we installed it on. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 1:53 PM To: CF-Talk Subject: Re: FCKEditor and IE7 Thanks Matthew - but i've had it running reliably on IE6 and Firefox for ages . It's just now, on IE7 thats the problem. Have you ever managed to make it work wtih IE7? I notice by the way that when i go to the FCKEditor site, the demos there work on IE7, so i do konw it's possible to make it work. Has anyone solved this issue, or can point me at what might be the cause?? 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 Tue, May 20, 2008 at 3:47 AM, Matthew Sievert <[EMAIL PROTECTED]> wrote: > My personal opinion > > I have fiddled with FCKEditor for several years. > > It is a nice interface, and provides the users with a nice toolset. > > However, as far as browser compatibility. I think FCKEditor has some > room for improvement. > > Be it the image uploader, or like you have pointed out, it simply > showing up. > > We have messed around with FCKEditor to where it "sort of works" on > several browsers, but it is not guarenteed it will meet all their > requirements. > > In my past job we strived to make FCKEditor usable for the most part > on IE6, and FireFox 2.0 > > > Best of luck. > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305655 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cftextarea and "Fckeditor"
For what it is worth, I used Rick Root's CFFM - Coldfusion File Manager with Fckeditor a few years back and they play(ed) nice with each other. He was also nice enough to help me work out some issues I was having when trying to tweak some settings with Fckeditor as it related to CFFM. http://www.opensourcecf.com/cffm/ On Mon, May 19, 2008 at 1:43 PM, Azadi Saryev <[EMAIL PROTECTED]> wrote: > CF8 had that functionality disabled. CF8.01 has full filebrowser and > image uploading support. > > Azadi Saryev > Sabai-dee.com > http://www.sabai-dee.com/ > > > > Bruce Sorge wrote: > > Not sure. I screwed with the out of the box version for a few weeks > > and never got it to do what I want, and installed FCKEditor and it > > worked great. Even if they fix it, I am sticking with that is > > currently working. Like the saying goes, if it ain't broke, don't fix > > it. > > > > Bruce > > > > > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305654 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FCKEditor and IE7
you don't have any silly code like cfform inside a table on you page, do you? that tends to often break things... also check your doctype declaration: the way IE7 renders pages differs depending on what you have in the doctype, though i forget specifics of this... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Mike Kear wrote: > Thanks Matthew - but i've had it running reliably on IE6 and Firefox > for ages . It's just now, on IE7 thats the problem. > > Have you ever managed to make it work wtih IE7? > > I notice by the way that when i go to the FCKEditor site, the demos > there work on IE7, so i do konw it's possible to make it work. > > Has anyone solved this issue, or can point me at what might be the cause?? > > > 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 > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305653 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Looping over an XML Array
Stupid flipping typos... Thanks Dave. On Mon, May 19, 2008 at 12:55 PM, Dave Watts <[EMAIL PROTECTED]> wrote: > > Anyone tell me what I'm doing wrong here? XML and Arrays are > > not my strong points. > > > > > "numbers")> > > > structKeyExists(ledata.callmeasurement.resultscall.numbers, "dnis")> > > > > > to="#arrayLen(ledata.callmeasurement.resultscall.numbers.XMLCh > > ildren)#" > > index="i"> > > > ledata.callmesurement.resultscall.numbers.dnis[i].XMLText /> >^^ > > Shouldn't that be "callmeasurement"? > > Also, instead of referencing ledata..numbers.XMLChildren, you might as well > just reference ledata..numbers.dnis directly. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > > Fig Leaf Training: Adobe/Google/Paperthin Certified Partners > http://training.figleaf.com/ > > WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! > http://www.webmaniacsconference.com/ > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305652 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FCKEditor and IE7
Thanks Matthew - but i've had it running reliably on IE6 and Firefox for ages . It's just now, on IE7 thats the problem. Have you ever managed to make it work wtih IE7? I notice by the way that when i go to the FCKEditor site, the demos there work on IE7, so i do konw it's possible to make it work. Has anyone solved this issue, or can point me at what might be the cause?? 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 Tue, May 20, 2008 at 3:47 AM, Matthew Sievert <[EMAIL PROTECTED]> wrote: > My personal opinion > > I have fiddled with FCKEditor for several years. > > It is a nice interface, and provides the users with a nice toolset. > > However, as far as browser compatibility. I think FCKEditor has some > room for improvement. > > Be it the image uploader, or like you have pointed out, it simply > showing up. > > We have messed around with FCKEditor to where it "sort of works" on > several browsers, but it is not guarenteed it will meet all their > requirements. > > In my past job we strived to make FCKEditor usable for the most part on > IE6, and FireFox 2.0 > > > Best of luck. > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305651 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Looping over an XML Array
> Anyone tell me what I'm doing wrong here? XML and Arrays are > not my strong points. > > "numbers")> > structKeyExists(ledata.callmeasurement.resultscall.numbers, "dnis")> > > to="#arrayLen(ledata.callmeasurement.resultscall.numbers.XMLCh > ildren)#" > index="i"> > ledata.callmesurement.resultscall.numbers.dnis[i].XMLText /> ^^ Shouldn't that be "callmeasurement"? Also, instead of referencing ledata..numbers.XMLChildren, you might as well just reference ledata..numbers.dnis directly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305650 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: odd log file issue (cf8)
> im having an odd issue whereby a log file of some sort is > filling up fairly quickly... the contents of this file, are > growing by gigs... anyway, anyone > know: 1. what this is? 2. how i can stop it? 3. how can i > control its growth? > > below is a snippet... > > 2008-05-19 00:00:00 jrISAPI[2344:5060] ***HttpExtensionProc > for JRun ISAPI Extension: uri is "/" > 2008-05-19 00:00:00 jrISAPI[2344:5060] filtering / (/) HOST=null > 2008-05-19 00:00:00 jrISAPI[2344:5060] filterRequest: no match > 2008-05-19 00:00:00 jrISAPI[2344:5060] ExecUrl: request > received: URL=/ When you set up the web server connector, did you enable verbose logging? It's one of the checkbox options. You can rerun the connector to disable this. You can probably also manually edit the configuration files, although I haven't tried that myself. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Training: Adobe/Google/Paperthin Certified Partners http://training.figleaf.com/ WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers! http://www.webmaniacsconference.com/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305649 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: FCKEditor and IE7
My personal opinion I have fiddled with FCKEditor for several years. It is a nice interface, and provides the users with a nice toolset. However, as far as browser compatibility. I think FCKEditor has some room for improvement. Be it the image uploader, or like you have pointed out, it simply showing up. We have messed around with FCKEditor to where it "sort of works" on several browsers, but it is not guarenteed it will meet all their requirements. In my past job we strived to make FCKEditor usable for the most part on IE6, and FireFox 2.0 Best of luck. -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 11:07 AM To: CF-Talk Subject: FCKEditor and IE7 A couple of my clients have updated their browsers to IE7 and now complain that they cant see the Inline Rich Text Editor in their CMS - it's FCKEditor 2.5. I Look at the pages myself, and with Firefox and IE6 everything's working fine. But with IE7 the page just shows the blank space where FCKEditor must go. Has anyone met this problem and solved it?Suggestions as to what i can do? -- 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 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305648 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cftextarea and "Fckeditor"
CF8 had that functionality disabled. CF8.01 has full filebrowser and image uploading support. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Bruce Sorge wrote: > Not sure. I screwed with the out of the box version for a few weeks > and never got it to do what I want, and installed FCKEditor and it > worked great. Even if they fix it, I am sticking with that is > currently working. Like the saying goes, if it ain't broke, don't fix > it. > > Bruce > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305647 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Looping over an XML Array
Anyone tell me what I'm doing wrong here? XML and Arrays are not my strong points. Here's a sample of the XML I'm parsing. 2145551234 2145551235 Thanks! -- ~Steve ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305646 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cftextarea and "Fckeditor"
Not sure. I screwed with the out of the box version for a few weeks and never got it to do what I want, and installed FCKEditor and it worked great. Even if they fix it, I am sticking with that is currently working. Like the saying goes, if it ain't broke, don't fix it. Bruce On Mon, May 19, 2008 at 10:29 AM, Eric Roberts wrote: Wasn't there recently an update that fixed that issue? I seem to remember reading that somewhere... ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305645 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Looking for a Job Board application
Has anybody already written a Coldfusion job board application similar to Elance.com or Guru.com? If so, please contact me at [EMAIL PROTECTED] ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305644 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cftextarea and "Fckeditor"
Wasn't there recently an update that fixed that issue? I seem to remember reading that somewhere... Eric /*-Original Message- /*From: Bruce Sorge [mailto:[EMAIL PROTECTED] /*Sent: Monday, May 19, 2008 12:00 PM /*To: CF-Talk /*Subject: Re: Cftextarea and "Fukeditor" /* /*I was having a lot of issue with CF's out of the box Richtext Editor. /*Biggest issue was that we could not use any of the image or file upload /*features, and the editor would not retain the layout of my pages when /*editing. I downloaded the most recent version of FCKEditor and am using /*the CFMODULE implementation, and it is working like a charm. I had to do /*a few mods so that documents and images go into the logged in users /*folders but overall it was a very easy and painless implementation. /* /*Bruce /* /* ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305643 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How to combine multiple fields into one alias?
Thanks for the tip, Mike... I'm sure that will be useful. > -Original Message- > From: Dawson, Michael [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 1:04 PM > To: CF-Talk > Subject: RE: How to combine multiple fields into one alias? > > That sounds very reasonable. You may also want to consider adding a > delimiter to your remarks so that they can be broken up at a later time. > > For example: > > SELECT CONCAT(col1, chr(9), col2, chr(9), coln, etc) AS newCol > > m!ke > > -Original Message- > From: Rick Faircloth [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 11:46 AM > To: CF-Talk > Subject: RE: How to combine multiple fields into one alias? > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305642 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How to combine multiple fields into one alias?
Thanks, Azadi, I'll check it out. > -Original Message- > From: Azadi Saryev [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 12:54 PM > To: CF-Talk > Subject: Re: How to combine multiple fields into one alias? > > depending on your needs you may find CONCAT_WS to be more useful: > http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_concat-ws > > Azadi Saryev > Sabai-dee.com > http://www.sabai-dee.com/ > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305641 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How to combine multiple fields into one alias?
That sounds very reasonable. You may also want to consider adding a delimiter to your remarks so that they can be broken up at a later time. For example: SELECT CONCAT(col1, chr(9), col2, chr(9), coln, etc) AS newCol m!ke -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 11:46 AM To: CF-Talk Subject: RE: How to combine multiple fields into one alias? Concerning the schema... I'm trying to merge the data from two different data providers' databases into one database. One provider has all remarks in a 'remarks' field and the second provider decided to divide their clients' remarks into four separate fields. (Don't know why they wanted to divide them up...) I'm going to merge the remarks in the four separate fields into one 'remarks' field in my db. Does that seem appropriate? Rick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305640 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 and a very basic drawing capability
check out ben nadel's blog for this and a lot more: www.bennadel.com Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Don L wrote: > Probably Flash and/or Flex can. But it would be nice if cf8 can do that as > well (not something fancy/full-blown), if this capability is already built in > with cf8, pls show me. Thanks. > > Process flow: a) simple draw --> b) the {cf image tag} capture it --> c) > store it... > Sorry if asking too much. > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305639 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cftextarea and "Fukeditor"
I was having a lot of issue with CF's out of the box Richtext Editor. Biggest issue was that we could not use any of the image or file upload features, and the editor would not retain the layout of my pages when editing. I downloaded the most recent version of FCKEditor and am using the CFMODULE implementation, and it is working like a charm. I had to do a few mods so that documents and images go into the logged in users folders but overall it was a very easy and painless implementation. Bruce ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305638 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 and a very basic drawing capability
Probably Flash and/or Flex can. But it would be nice if cf8 can do that as well (not something fancy/full-blown), if this capability is already built in with cf8, pls show me. Thanks. Process flow: a) simple draw --> b) the {cf image tag} capture it --> c) store it... Sorry if asking too much. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305637 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to combine multiple fields into one alias?
depending on your needs you may find CONCAT_WS to be more useful: http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_concat-ws Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Rick Faircloth wrote: > And yes, 'Concat' is a MySQL function and will work perfectly. > Just didn't know what to call what I needed. Haven't used that > function before. > > Thanks, m!ke! > > Rick > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305636 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cftextarea and "Fukeditor"
>Just download the Library and look under examples. There are a bunch of them >that work right out of the box. You pass just it a couple vars and you are >done. Very easy. > >There is also a custom tag version too if that is more to your liking. > >hth >G >Gerald Guido Thanks, Gerald, check it out tonight. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305635 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Could CFPDF tag edit a PDF file?
I just went through the cf documentation about this tag, did not come off as it is able to support a PDF document editing via web interface, a quick search of this forum did not yield an answer neither, hence, ask here. Thanks. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305634 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to combine multiple fields into one alias?
And yes, 'Concat' is a MySQL function and will work perfectly. Just didn't know what to call what I needed. Haven't used that function before. Thanks, m!ke! Rick > -Original Message- > From: Dawson, Michael [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 12:38 PM > To: CF-Talk > Subject: RE: How to combine multiple fields into one alias? > > After reading your original post, again, I think you may get quite a few > suggestions that you need to improve your database schema. > > If you have control over the database schema, you may be better of > storing your remarks in different records, rather than different fields. > In other words, store each remark in its own record, with an identifier > of the remark's "parent". > > m!ke > > -Original Message- > From: Dawson, Michael [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 11:32 AM > To: CF-Talk > Subject: RE: How to combine multiple fields into one alias? > > You need to "concatenate" the values. > > In DB2, you use ||. In SQL Server you use +. > > SELECT col1 || col2 AS newCol > SELECT col1 + col2 AS newCol > > I'm not sure about MySQL, but it should be similar. > > You might also find a CONCAT() database function with unlimited > arguments: > > SELECT CONTACT(col1, col2, coln) AS newCol > > m!ke ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305633 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to combine multiple fields into one alias?
Concerning the schema... I'm trying to merge the data from two different data providers' databases into one database. One provider has all remarks in a 'remarks' field and the second provider decided to divide their clients' remarks into four separate fields. (Don't know why they wanted to divide them up...) I'm going to merge the remarks in the four separate fields into one 'remarks' field in my db. Does that seem appropriate? Rick > -Original Message- > From: Dawson, Michael [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 12:38 PM > To: CF-Talk > Subject: RE: How to combine multiple fields into one alias? > > After reading your original post, again, I think you may get quite a few > suggestions that you need to improve your database schema. > > If you have control over the database schema, you may be better of > storing your remarks in different records, rather than different fields. > In other words, store each remark in its own record, with an identifier > of the remark's "parent". > > m!ke > > -Original Message- > From: Dawson, Michael [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 11:32 AM > To: CF-Talk > Subject: RE: How to combine multiple fields into one alias? > > You need to "concatenate" the values. > > In DB2, you use ||. In SQL Server you use +. > > SELECT col1 || col2 AS newCol > SELECT col1 + col2 AS newCol > > I'm not sure about MySQL, but it should be similar. > > You might also find a CONCAT() database function with unlimited > arguments: > > SELECT CONTACT(col1, col2, coln) AS newCol > > m!ke ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305632 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 json return....
You've got some code somewhere that is placing that doctype declaration into the output stream. As Gerald suggested, look for an include or something in application.cfc/cfm that is placing this there. On Mon, May 19, 2008 at 12:08 PM, adam j. sontag <[EMAIL PROTECTED]> wrote: > don't know if anyone has encountered this before, but I'm using CF8 > components to return JSON to my applications, but even when i specify > "dataType:'json'" on my ajax requests in JS, ColdFusion returns > something along the lines of the following: > - > > > > > {"userclassid":1.0,"unique_session_id":"19714_38786260"} > > > > > and jQuery's json parser can't parse it because of the doctype string on > the response. i've written a stupid utility function that finds the > beginning of the string and parses the json using json2.js, but it's > obviously an extra step that i'd like to get rid of. has anyone else > encountered this issue and solved it? > > --adam > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305631 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Why would this code return this error?
Why would I get an error, "Unknown column 'street number' in 'field list' (line 25). Line 25 is the last line in the insert query beginning with select mls_number, listing_office as listing_office_mls_id, listing_agent as listing_agent_mls_id, street_number, street_address as street_name from hmls_lots_land_temp insert into properties ( mls, mls_number, listing_office_mls_id, listing_agent_mls_id, street_number, street_name ) values ( , , , , , ) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305630 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How to combine multiple fields into one alias?
After reading your original post, again, I think you may get quite a few suggestions that you need to improve your database schema. If you have control over the database schema, you may be better of storing your remarks in different records, rather than different fields. In other words, store each remark in its own record, with an identifier of the remark's "parent". m!ke -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 11:32 AM To: CF-Talk Subject: RE: How to combine multiple fields into one alias? You need to "concatenate" the values. In DB2, you use ||. In SQL Server you use +. SELECT col1 || col2 AS newCol SELECT col1 + col2 AS newCol I'm not sure about MySQL, but it should be similar. You might also find a CONCAT() database function with unlimited arguments: SELECT CONTACT(col1, col2, coln) AS newCol m!ke -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 11:30 AM To: CF-Talk Subject: How to combine multiple fields into one alias? Hi, all... How do I combine multiple fields into one alias in my SQL (MySQL 5)? E.g., select remarks_01, remarks_02, remarks_03, remarks_04 as remarks That would give me remarks_04 an alias of "remarks". How do I combine all the remarks into one alias? Or should I do that in the value attribute in my insert query? value='#get_data.remarks_01# #get_data.remarks_02# #get_data.remarks_03# #get_data.remarks_04#' ??? Thanks, Rick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305629 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to combine multiple fields into one alias?
You need to "concatenate" the values. In DB2, you use ||. In SQL Server you use +. SELECT col1 || col2 AS newCol SELECT col1 + col2 AS newCol I'm not sure about MySQL, but it should be similar. You might also find a CONCAT() database function with unlimited arguments: SELECT CONTACT(col1, col2, coln) AS newCol m!ke -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 11:30 AM To: CF-Talk Subject: How to combine multiple fields into one alias? Hi, all... How do I combine multiple fields into one alias in my SQL (MySQL 5)? E.g., select remarks_01, remarks_02, remarks_03, remarks_04 as remarks That would give me remarks_04 an alias of "remarks". How do I combine all the remarks into one alias? Or should I do that in the value attribute in my insert query? value='#get_data.remarks_01# #get_data.remarks_02# #get_data.remarks_03# #get_data.remarks_04#' ??? Thanks, Rick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305628 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
How to combine multiple fields into one alias?
Hi, all... How do I combine multiple fields into one alias in my SQL (MySQL 5)? E.g., select remarks_01, remarks_02, remarks_03, remarks_04 as remarks That would give me remarks_04 an alias of "remarks". How do I combine all the remarks into one alias? Or should I do that in the value attribute in my insert query? value='#get_data.remarks_01# #get_data.remarks_02# #get_data.remarks_03# #get_data.remarks_04#' ??? Thanks, Rick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305627 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8 json return....
Just a guess... Look in your application.cfm or other include files. G On Mon, May 19, 2008 at 12:08 PM, adam j. sontag <[EMAIL PROTECTED]> wrote: > don't know if anyone has encountered this before, but I'm using CF8 > components to return JSON to my applications, but even when i specify > "dataType:'json'" on my ajax requests in JS, ColdFusion returns > something along the lines of the following: > - > > > > > {"userclassid":1.0,"unique_session_id":"19714_38786260"} > > > > > and jQuery's json parser can't parse it because of the doctype string on > the response. i've written a stupid utility function that finds the > beginning of the string and parses the json using json2.js, but it's > obviously an extra step that i'd like to get rid of. has anyone else > encountered this issue and solved it? > > --adam > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305626 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8 json return....
don't know if anyone has encountered this before, but I'm using CF8 components to return JSON to my applications, but even when i specify "dataType:'json'" on my ajax requests in JS, ColdFusion returns something along the lines of the following: - {"userclassid":1.0,"unique_session_id":"19714_38786260"} and jQuery's json parser can't parse it because of the doctype string on the response. i've written a stupid utility function that finds the beginning of the string and parses the json using json2.js, but it's obviously an extra step that i'd like to get rid of. has anyone else encountered this issue and solved it? --adam ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305625 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: a query
If you don't mind the page refreshing, there's no need to use JS. Here's a basic page: DELETE FROM yourTable WHERE id = SELECT * FROM yourTable #yourQuery.aColumn# On first loading you'll see your data with a delete button. Click delete and the form will post back to itself and delete the row you clicked on. There are loads of things you can do differently with something like this but this is about as basic as it gets. Adrian http://www.adrianlynch.co.uk/ -Original Message- From: Vishal . [mailto:[EMAIL PROTECTED] Sent: 19 May 2008 16:20 To: CF-Talk Subject: a query There is a page which will display data from a table. I have to add a delete button in the page so that after clicking on that delete button then it should refresh page and delete that data from the page and also delete that data from the table I can use javascript and coldfusion. Can u please help me in this ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305624 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cftextarea and "Fukeditor"
Just download the Library and look under examples. There are a bunch of them that work right out of the box. You pass just it a couple vars and you are done. Very easy. There is also a custom tag version too if that is more to your liking. hth G On Mon, May 19, 2008 at 11:09 AM, Don L <[EMAIL PROTECTED]> wrote: > >Don, > >I hear you. So far I have avoided using a lot of the Ajax features in CF 8 > >(save cfajaxproxy ) and sticking with their source libraries like EXT and > >FCKeditor and the like. If anything for the foot print. I am still a > sucker > >for cfform though. > > > >BTW FCKeditor has a CFC that works out of the box... very nice. > > > >I do like your misspelling btw... ;) > >Good editor... a poor choice of a name none the less. > > > >G > >(save cfajaxproxy ) > > Gerald, > > On cfajaxproxy, agree whole-heartedly that it's probably the most powerful > feature of all cf8 related ajax function/feature (at least to some of us). > One would hope that CF's next release would add more to this amazing tag as > well among others... > > On FCKeditor, I just didn't remember how to spell it and not bothering > looking it up. If one technique would work, which I haven't tested yet, a > very viable alternative work for an app of mine (on efficiency scale of at > 200% over FCKeditor but I'll stop right here, many likes this editor...). > On a similar note, I don't have the luxury to spend over 50% of time on > technical stuff... > ">BTW FCKeditor has a CFC that works out of the box... very nice." > Please tell me more about that (or probably the editor's web site would > have info on that but again your insight would be more valuable...) in case > one technique for the alternative does not work. > > > Regards, > > Don > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305623 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: reusable components
Well if you're bonkers, I'm bonkers too! Adrian -Original Message- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: 19 May 2008 15:50 To: CF-Talk Subject: Re: reusable components I'd say this was absolutley fine. I'd put the includes in OnApplicationStart and then put each udf into the application scope to avoid including the files on each request (well I'd actually use Model-Glue 3 but this is what I'd do if I was doing what you're doing); something like: ... ... ... Then, to avoid verbosity when calling a udf, I'd add this line in OnRequestStart() ... ... This has created a custom 'scope', if you will (its not but hey), called 'udfs' - Model-Glue 3 creates one called 'helpers' which might be another name you'd like. So now, when you need MyFunction1, you can call it cleanly as: That idea is off the top of my head and probably bonkers but it works for me ;) Nothing wrong with what you are doing. Dominic 2008/5/19 Richard White <[EMAIL PROTECTED]>: > > hi, > > just wondering how you guys deal with you reusable functions > > we were thinking that instead if having to look into what reusable functions we have, then decide which functions we need in a page and then including them within a page, that we just build our library and include everything in the application.cfc page > > then we will just need to look at what function we want and then use it. is this the right way to do it? > > thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305622 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQL Weirdness on text file query
James, I had the same problem. I was picking up a phone number from a flat file and getting a float out of it. Most annoying. I ended up with a function in TSQL. You can modify this to use simialar padding on the "area code" as I did on the number. /*** [dbo].[PhoneNumberToString] Parses a phone number out of a float. / CREATE FUNCTION [dbo].[PhoneNumberToString] (@PhoneNumber float) --RETURNS FLOAT RETURNS VARCHAR(20) AS BEGIN IF @PhoneNumber = 0.0 RETURN '' DECLARE @AREA VARCHAR(3) DECLARE @PREFIX VARCHAR(3) DECLARE @NUMBER VARCHAR(20) DECLARE @PREFIX_PORTION_OF_PHONE_NUMBER FLOAT DECLARE @AREA_PORTION_OF_PHONE_NUMBER FLOAT DECLARE @PHONE_NUMBER_WITHOUT_AREA FLOAT DECLARE @PHONE_NUMBER_WITHOUT_PREFIX FLOAT SELECT @AREA = '' SELECT @PREFIX = '' SELECT @NUMBER = '' SELECT @AREA = LEFT(CAST(@PhoneNumber/1 AS VARCHAR(20)), 3) --RETURN @AREA SELECT @AREA_PORTION_OF_PHONE_NUMBER = CAST(@AREA AS FLOAT) * 1000 SELECT @PHONE_NUMBER_WITHOUT_AREA = @PhoneNumber - @AREA_PORTION_OF_PHONE_NUMBER SELECT @PHONE_NUMBER_WITHOUT_AREA = @PHONE_NUMBER_WITHOUT_AREA * 1000 SELECT @PREFIX = LEFT(CAST(@PHONE_NUMBER_WITHOUT_AREA/1 AS VARCHAR(20)), 3) --RETURN @PHONE_NUMBER_WITHOUT_AREA SELECT @PREFIX_PORTION_OF_PHONE_NUMBER = CAST(@PREFIX AS FLOAT) * 1000 --RETURN @PREFIX_PORTION_OF_PHONE_NUMBER SELECT @PHONE_NUMBER_WITHOUT_PREFIX = @PHONE_NUMBER_WITHOUT_AREA - @PREFIX_PORTION_OF_PHONE_NUMBER --RETURN @PHONE_NUMBER_WITHOUT_PREFIX SELECT @NUMBER = CAST(@PHONE_NUMBER_WITHOUT_PREFIX / 1000 AS VARCHAR(20)) IF LEN(@NUMBER) = 3 SELECT @NUMBER = '0' + @NUMBER IF LEN(@NUMBER) = 2 SELECT @NUMBER = '00' + @NUMBER IF LEN(@NUMBER) = 1 SELECT @NUMBER = '000' + @NUMBER RETURN @AREA + '-' + @PREFIX + '-' + @NUMBER END GO ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305621 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: a query
There are several ways to do this.. 1) Look into Prototype AJAX handlers. Best way to do it IMHO so no reload is needed. 2) Look into CF AJAX if using CF8. 3) Have the form submit to a delete page and have that then reload the form. 4) Refer to itself and check to see if form.delete is passed to see if you should delete it. 5) Some other way I can't think of until I have my morning coffee. On Mon, May 19, 2008 at 8:19 AM, Vishal . <[EMAIL PROTECTED]> wrote: > There is a page which will display data from a table. I have to add a > delete button in the page so that after clicking on that delete button > then it should refresh page and delete that data from the page and also > delete that data from the table > > > > > I can use javascript and coldfusion. > > > > Can u please help me in this > > > > > > > > > > > > > > > DISCLAIMER: > --- > > The contents of this e-mail and any attachment(s) are confidential and > intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its affiliates. > Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the > opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, > distribution and / or publication of > this message without the prior written consent of the author of this e-mail > is strictly prohibited. If you have > received this email in error please delete it and notify the sender > immediately. Before opening any mail and > attachments please check them for viruses and defect. > > --- > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305620 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: reusable components
Dom, I think I follow. Loading them in memory like mini CFC's? Very interesting. I take it you can load the function in to memory like using an init method on a CFC... by calling the function with out the the "()" and not passing it any vars? Is this correct? G On Mon, May 19, 2008 at 10:50 AM, Dominic Watson < [EMAIL PROTECTED]> wrote: > I'd say this was absolutley fine. I'd put the includes in > OnApplicationStart and then put each udf into the application scope to > avoid including the files on each request (well I'd actually use > Model-Glue 3 but this is what I'd do if I was doing what you're > doing); something like: > > > ... > > > ... > > > > > > > ... > > > Then, to avoid verbosity when calling a udf, I'd add this line in > OnRequestStart() > > > ... > > ... > > > This has created a custom 'scope', if you will (its not but hey), > called 'udfs' - Model-Glue 3 creates one called 'helpers' which might > be another name you'd like. So now, when you need MyFunction1, you can > call it cleanly as: > > > > That idea is off the top of my head and probably bonkers but it works > for me ;) Nothing wrong with what you are doing. > > Dominic > > 2008/5/19 Richard White <[EMAIL PROTECTED]>: > > > > hi, > > > > just wondering how you guys deal with you reusable functions > > > > we were thinking that instead if having to look into what reusable > functions we have, then decide which functions we need in a page and then > including them within a page, that we just build our library and include > everything in the application.cfc page > > > > then we will just need to look at what function we want and then use it. > is this the right way to do it? > > > > thanks > > > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305619 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
a query
There is a page which will display data from a table. I have to add a delete button in the page so that after clicking on that delete button then it should refresh page and delete that data from the page and also delete that data from the table I can use javascript and coldfusion. Can u please help me in this DISCLAIMER: --- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. --- ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305618 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
FCKEditor and IE7
A couple of my clients have updated their browsers to IE7 and now complain that they cant see the Inline Rich Text Editor in their CMS - it's FCKEditor 2.5. I Look at the pages myself, and with Firefox and IE6 everything's working fine. But with IE7 the page just shows the blank space where FCKEditor must go. Has anyone met this problem and solved it?Suggestions as to what i can do? -- 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 ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305617 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: JMS & ActiveMQ
http://javaloader.riaforge.org/ On Mon, May 19, 2008 at 10:14 PM, Rich <[EMAIL PROTECTED]> wrote: >> On Sat, May 17, 2008 at 3:55 AM, Adam Haskell wrote: >> > Dependency conflicts are a fact of life as far as I have found. >> >> These can usually be avoided by getting everything into a classloader >> and calling the classes from that. > > Do you know of any samples / examples on how to do this? This is exactly > what I'm trying to determine how to accomplish. > > Rich > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305616 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Friday CF Puzzler...
Lol. I guess it depends on how friendly 's' is. Q doesn't touch him so I didn't count it. :) ~Brad how about that as an extra spin on the thing? and where's the 'q' in neighbours of 's'? :) Brad Wood wrote: > Passing in "s" to the neighbors function returns the following letters: > w,e,a,d,z,x > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305615 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cftextarea and "Fukeditor"
>Don, >I hear you. So far I have avoided using a lot of the Ajax features in CF 8 >(save cfajaxproxy ) and sticking with their source libraries like EXT and >FCKeditor and the like. If anything for the foot print. I am still a sucker >for cfform though. > >BTW FCKeditor has a CFC that works out of the box... very nice. > >I do like your misspelling btw... ;) >Good editor... a poor choice of a name none the less. > >G >(save cfajaxproxy ) Gerald, On cfajaxproxy, agree whole-heartedly that it's probably the most powerful feature of all cf8 related ajax function/feature (at least to some of us). One would hope that CF's next release would add more to this amazing tag as well among others... On FCKeditor, I just didn't remember how to spell it and not bothering looking it up. If one technique would work, which I haven't tested yet, a very viable alternative work for an app of mine (on efficiency scale of at 200% over FCKeditor but I'll stop right here, many likes this editor...). On a similar note, I don't have the luxury to spend over 50% of time on technical stuff... ">BTW FCKeditor has a CFC that works out of the box... very nice." Please tell me more about that (or probably the editor's web site would have info on that but again your insight would be more valuable...) in case one technique for the alternative does not work. Regards, Don ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305614 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: MMS in ColdFusion?
> I tried adding the project in Eclipse and it shows 100+ errors. So I > have mainly been messing with the standalone folder.. > I tried to compile the .java file using the command javac > MM7MessageSender.java and got this.. > > MM7MessageSender.java:507: cannot find symbol > symbol : class MessagingException > location: class TaskThread > } catch( MessagingException me ) { > ^ > 94 errors > 1 warning > The errors you are seeing is the project dependencies not being found by eclipse. After you create the project, right click > properties > Java Build Path, and select the libraries tab. Add the jars found in the lib directory and the problems should all disappear. The error you are getting above is due to missing dependencies that are required to build the project. The compiler is scanning the classpath and is not finding the class MessagingException, which is located in the mail.jar, which is not by default in your classpath. If you want to do this via the command line, you will need to use the -classpath arg of javac to add the /lib folder to your classpath. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305613 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: reusable components
I'd say this was absolutley fine. I'd put the includes in OnApplicationStart and then put each udf into the application scope to avoid including the files on each request (well I'd actually use Model-Glue 3 but this is what I'd do if I was doing what you're doing); something like: ... ... ... Then, to avoid verbosity when calling a udf, I'd add this line in OnRequestStart() ... ... This has created a custom 'scope', if you will (its not but hey), called 'udfs' - Model-Glue 3 creates one called 'helpers' which might be another name you'd like. So now, when you need MyFunction1, you can call it cleanly as: That idea is off the top of my head and probably bonkers but it works for me ;) Nothing wrong with what you are doing. Dominic 2008/5/19 Richard White <[EMAIL PROTECTED]>: > > hi, > > just wondering how you guys deal with you reusable functions > > we were thinking that instead if having to look into what reusable functions > we have, then decide which functions we need in a page and then including > them within a page, that we just build our library and include everything in > the application.cfc page > > then we will just need to look at what function we want and then use it. is > this the right way to do it? > > thanks > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305612 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: reusable components
On Monday 19 May 2008, Richard White wrote: > just wondering how you guys deal with you reusable functions Huge topic Richard :-) Do you mean you have several functions, not already in some object (i.e. 'utility' type stuff) ? Are there any dependencies or couplings between them ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305611 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MMS in ColdFusion?
I tried adding the project in Eclipse and it shows 100+ errors. So I have mainly been messing with the standalone folder.. I tried to compile the .java file using the command javac MM7MessageSender.java and got this.. MM7MessageSender.java:507: cannot find symbol symbol : class MessagingException location: class TaskThread } catch( MessagingException me ) { ^ 94 errors 1 warning On Mon, May 19, 2008 at 9:22 AM, Rich <[EMAIL PROTECTED]> wrote: > I found it in C:\vaspsdk\src\samples\standalone >> Same error.. >> http code 500 >> >> 235 [Thread-0] DEBUG com.openwave.mms.mm7.RelayConnection - [End >> Outgoing Requ >> est to Relay] >> APIException submitting message: http return code: 500(ClientError:2000) >> [End Thread[Thread-0,5,main] Iteration 0] >> Finished 1 threads each with 1 iterations >> 0 iterations succeeded >> Messages per sec: 1.8281536 > > Greg, > It depends on how you are executing the classes, if you are within an > Eclipse project and running the java from the IDE, executing the jar, or if > you are using the examples and send.bat. If you are using the samples, it > is executing the class files in the same directory (/examples/standalone), > and you will need to edit them and recompile to that directory. If you are > attempting to execute the jar file, you will need to edit the source under > /src and then export a new jar file to see your changes. > > HTH, > Rich Kroll > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305610 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: reusable components
I typically divide them up into separate CFCs based upon what they do. Like a string library, query library, and so on. I used to just have a UDFs library but quickly saw that as something to get too big. On Mon, May 19, 2008 at 9:24 AM, Richard White <[EMAIL PROTECTED]> wrote: > hi, > > just wondering how you guys deal with you reusable functions > > we were thinking that instead if having to look into what reusable > functions we have, then decide which functions we need in a page and then > including them within a page, that we just build our library and include > everything in the application.cfc page > > then we will just need to look at what function we want and then use it. is > this the right way to do it? > > thanks > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305609 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
reusable components
hi, just wondering how you guys deal with you reusable functions we were thinking that instead if having to look into what reusable functions we have, then decide which functions we need in a page and then including them within a page, that we just build our library and include everything in the application.cfc page then we will just need to look at what function we want and then use it. is this the right way to do it? thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305608 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: MMS in ColdFusion?
I found it in C:\vaspsdk\src\samples\standalone > Same error.. > http code 500 > > 235 [Thread-0] DEBUG com.openwave.mms.mm7.RelayConnection - [End > Outgoing Requ > est to Relay] > APIException submitting message: http return code: 500(ClientError:2000) > [End Thread[Thread-0,5,main] Iteration 0] > Finished 1 threads each with 1 iterations > 0 iterations succeeded > Messages per sec: 1.8281536 Greg, It depends on how you are executing the classes, if you are within an Eclipse project and running the java from the IDE, executing the jar, or if you are using the examples and send.bat. If you are using the samples, it is executing the class files in the same directory (/examples/standalone), and you will need to edit them and recompile to that directory. If you are attempting to execute the jar file, you will need to edit the source under /src and then export a new jar file to see your changes. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305607 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: MMS in ColdFusion?
>How can I add to the generated XML? there's not an option for it in >the send.bat file? You will need to modify the java source (MM7SenderAndReceiver.java) and add: request.setVasId(yourVasId); Then recompile, run it again, and you'll see it in the XML packet. HTH, Rich Kroll ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305606 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: JMS & ActiveMQ
> On Sat, May 17, 2008 at 3:55 AM, Adam Haskell wrote: > > Dependency conflicts are a fact of life as far as I have found. > > These can usually be avoided by getting everything into a classloader > and calling the classes from that. Do you know of any samples / examples on how to do this? This is exactly what I'm trying to determine how to accomplish. Rich ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305605 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: coldfusion printing to an Epson receipt printer
We did using this utility: http://www.download32.com/bersoft-html-print-i8522.html Jacob -Original Message- From: Toby King [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 6:05 AM To: CF-Talk Subject: coldfusion printing to an Epson receipt printer HI all I'm wondering if anyone has ever developed an application with one requirement being to print to an Epson receipt or any other type of receipt printer. I look forward to hearing from anyone who may have done this. Regards ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305604 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: **UPDATE** JRn 600MB+ shortly after boot up
There was a 100-150MB difference between the Memory Usage reported in CF Admin (which I'm assuming is taping directly into JVM?). Thanks for the tip with the Task Manager. I don't seem to have a PID for VM Size? -Original Message- From: Gaulin, Mark [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 8:24 AM To: CF-Talk Subject: RE: **UPDATE** JRn 600MB+ shortly after boot up If you are using Task Manager to judge sizes then be sure to notice the difference between "Mem Usage" and "VM Size"... Mem Usage is the amount of physical ram currently in use by a process, but VM Size is, well, different. If you have less physical ram on a machine then you may see less Mem Usage but more VM Size (and probably lots of page faults as memory is swapped in and out, seen in Task Manager as "PF Delta"). I always show both Mem Usage and VM Size in Task Manager to get a better picture of actual memory requirements. Thanks Mark -Original Message- From: Jason Durham [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 9:11 AM To: CF-Talk Subject: RE: **UPDATE** JRn 600MB+ shortly after boot up It seems odd to me because Jrun uses significantly less memory on both of my other development machines (my 1GB laptop runs at under 75MB on Vista Ultimate). The numbers I've been quoting are from Jrun just after boot (idle, no applications loaded) or after only running CFAdmin. Maybe Jrun needs some time to configure itself and requires extra memory when first installed? Maybe the same can be said for when the machine boots? I don't know, I'm merely asking. The new box is now running at 165MB. The settings are default (as verified earlier). I'm content with 165MB. -Original Message- From: Mark Kruger [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 5:31 PM To: CF-Talk Subject: RE: **UPDATE** JRn 600MB+ shortly after boot up What makes you think that is not right? If your Max is set to 512 and you load something as an application, the JVM will determine when to recover memory based on it's own timetable and settings. 427 megs could indeed be appropriate depending on the settings. There are some code snippets on this post that you can use to fiddle with the JVM gc operations - although I would not use them in production. http://www.coldfusionmuse.com/index.cfm/2008/2/12/leaky.heap.jvm If forcing a "stop the world" gc brings your memory back down you are probably worried about it for nothing... Since the JVM will eventually run a full gc on it's own. -Original Message- From: Jason Durham [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 2:03 PM To: CF-Talk Subject: RE: **UPDATE** JRn 600MB+ shortly after boot up I rebuilt my machine again. This time... no Windows updates, no antivirus, nothing... I immediately downloaded the latest installer from Adobe and installed it (Server config with all IIS websites). JRun is running at 427MB. This can't be right?? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305603 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: image editing
There is nothing to install. However, CFX's need to be registered with CF server. You drop it in the CFX dir under the CF install directory and go to the cf admin >> Extensions >> CFX Tags And point it to the executable cfx. It is standard fair and most reputable hosting companies will register a cfx for you as long they approve it. Most cf hosting companies I have dealt with (pre cf 8) will have a cfx for image processing. hth G On Mon, May 19, 2008 at 8:49 AM, daniel kessler <[EMAIL PROTECTED]> wrote: > >I don't think it uses java image library as previous versions predate > CFMX. > > > >http://www.kolumbus.fi/jukka.manner/ > > When I download this, I receive dll files. These need to be installed at > the server? I don't suspect it'll happen, if that's the case. > > I was hoping for something that I could just set in my directory (I guess > that's a CFC) and use without using any admin functions. > > thanks. > > daniel > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305602 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: coldfusion printing to an Epson receipt printer
On Monday 19 May 2008, AJ Mercer wrote: > From memory, you have to use a particular font and send down control > characters using ascii() These days CF8 has built in print support, and most label printers work just like a 'normal' printer but with a funny* page size. -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305601 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: coldfusion printing to an Epson receipt printer
I have many years ago - using asp >From memory, you have to use a particular font and send down control characters using ascii() On Mon, May 19, 2008 at 9:05 PM, Toby King <[EMAIL PROTECTED]> wrote: > HI all > > I'm wondering if anyone has ever developed an application with one > requirement being to print to an Epson receipt or any other type of receipt > printer. > > I look forward to hearing from anyone who may have done this. > > Regards > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305600 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: **UPDATE** JRn 600MB+ shortly after boot up
If you are using Task Manager to judge sizes then be sure to notice the difference between "Mem Usage" and "VM Size"... Mem Usage is the amount of physical ram currently in use by a process, but VM Size is, well, different. If you have less physical ram on a machine then you may see less Mem Usage but more VM Size (and probably lots of page faults as memory is swapped in and out, seen in Task Manager as "PF Delta"). I always show both Mem Usage and VM Size in Task Manager to get a better picture of actual memory requirements. Thanks Mark -Original Message- From: Jason Durham [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 9:11 AM To: CF-Talk Subject: RE: **UPDATE** JRn 600MB+ shortly after boot up It seems odd to me because Jrun uses significantly less memory on both of my other development machines (my 1GB laptop runs at under 75MB on Vista Ultimate). The numbers I've been quoting are from Jrun just after boot (idle, no applications loaded) or after only running CFAdmin. Maybe Jrun needs some time to configure itself and requires extra memory when first installed? Maybe the same can be said for when the machine boots? I don't know, I'm merely asking. The new box is now running at 165MB. The settings are default (as verified earlier). I'm content with 165MB. -Original Message- From: Mark Kruger [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 5:31 PM To: CF-Talk Subject: RE: **UPDATE** JRn 600MB+ shortly after boot up What makes you think that is not right? If your Max is set to 512 and you load something as an application, the JVM will determine when to recover memory based on it's own timetable and settings. 427 megs could indeed be appropriate depending on the settings. There are some code snippets on this post that you can use to fiddle with the JVM gc operations - although I would not use them in production. http://www.coldfusionmuse.com/index.cfm/2008/2/12/leaky.heap.jvm If forcing a "stop the world" gc brings your memory back down you are probably worried about it for nothing... Since the JVM will eventually run a full gc on it's own. -Original Message- From: Jason Durham [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 2:03 PM To: CF-Talk Subject: RE: **UPDATE** JRn 600MB+ shortly after boot up I rebuilt my machine again. This time... no Windows updates, no antivirus, nothing... I immediately downloaded the latest installer from Adobe and installed it (Server config with all IIS websites). JRun is running at 427MB. This can't be right?? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305599 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: **UPDATE** JRn 600MB+ shortly after boot up
It seems odd to me because Jrun uses significantly less memory on both of my other development machines (my 1GB laptop runs at under 75MB on Vista Ultimate). The numbers I've been quoting are from Jrun just after boot (idle, no applications loaded) or after only running CFAdmin. Maybe Jrun needs some time to configure itself and requires extra memory when first installed? Maybe the same can be said for when the machine boots? I don't know, I'm merely asking. The new box is now running at 165MB. The settings are default (as verified earlier). I'm content with 165MB. -Original Message- From: Mark Kruger [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 5:31 PM To: CF-Talk Subject: RE: **UPDATE** JRn 600MB+ shortly after boot up What makes you think that is not right? If your Max is set to 512 and you load something as an application, the JVM will determine when to recover memory based on it's own timetable and settings. 427 megs could indeed be appropriate depending on the settings. There are some code snippets on this post that you can use to fiddle with the JVM gc operations - although I would not use them in production. http://www.coldfusionmuse.com/index.cfm/2008/2/12/leaky.heap.jvm If forcing a "stop the world" gc brings your memory back down you are probably worried about it for nothing... Since the JVM will eventually run a full gc on it's own. -Original Message- From: Jason Durham [mailto:[EMAIL PROTECTED] Sent: Friday, May 16, 2008 2:03 PM To: CF-Talk Subject: RE: **UPDATE** JRn 600MB+ shortly after boot up I rebuilt my machine again. This time... no Windows updates, no antivirus, nothing... I immediately downloaded the latest installer from Adobe and installed it (Server config with all IIS websites). JRun is running at 427MB. This can't be right?? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305598 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
coldfusion printing to an Epson receipt printer
HI all I'm wondering if anyone has ever developed an application with one requirement being to print to an Epson receipt or any other type of receipt printer. I look forward to hearing from anyone who may have done this. Regards ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305597 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: image editing
>Check out CFIMAGE in the CF docs on the Adobe site. Upgrade now! The >image handling alone is reason enough! Rick, it's not important whether I want to upgrade. The University will do so when it does. I've made my thoughts known to them. However, until that time, I'm on 7.02 and need a solution that works there. I'm looking into image.cfc, but honestly, I've never used a cfc before and am not sure how to get it going. thanks for the thoughts. daniel ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305596 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: image editing
>I don't think it uses java image library as previous versions predate CFMX. > >http://www.kolumbus.fi/jukka.manner/ When I download this, I receive dll files. These need to be installed at the server? I don't suspect it'll happen, if that's the case. I was hoping for something that I could just set in my directory (I guess that's a CFC) and use without using any admin functions. thanks. daniel ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305595 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
odd log file issue (cf8)
hi all! im having an odd issue whereby a log file of some sort is filling up fairly quickly... the contents of this file, are growing by gigs... anyway, anyone know: 1. what this is? 2. how i can stop it? 3. how can i control its growth? below is a snippet... 2008-05-19 00:00:00 jrISAPI[2344:5060] ***HttpExtensionProc for JRun ISAPI Extension: uri is "/" 2008-05-19 00:00:00 jrISAPI[2344:5060] filtering / (/) HOST=null 2008-05-19 00:00:00 jrISAPI[2344:5060] filterRequest: no match 2008-05-19 00:00:00 jrISAPI[2344:5060] ExecUrl: request received: URL=/ 2008-05-19 00:00:00 jrISAPI[2348:5060] ***HttpExtensionProc for JRun ISAPI Extension: uri is "/index.cfm" 2008-05-19 00:00:00 jrISAPI[2348:5060] filtering /index.cfm (/index.cfm) HOST=null 2008-05-19 00:00:00 jrISAPI[2348:5060] filterRequest: matched *.cfm 2008-05-19 00:00:00 jrISAPI[2348:5060] ALL_RAW: Content-Length: 0 2008-05-19 00:00:00 jrISAPI[2348:5060] Headers and Values: 2008-05-19 00:00:00 jrISAPI[2348:5060] Content-Length: 0 2008-05-19 00:00:00 jrISAPI[2348:5060] 10.10.11.103:51000 selectProxy 2008-05-19 00:00:00 jrISAPI[2348:5060] 10.10.11.103:51000 proxy_handleRequest() 2008-05-19 00:00:00 jrISAPI[2348:5060] PROXY_SERVICE_40 -> 2008-05-19 00:00:00 jrISAPI[2348:5060] QUERY_STRING: (special) 2008-05-19 00:00:00 jrISAPI[2348:5060] REQUEST_METHOD: GET (special) 2008-05-19 00:00:00 jrISAPI[2348:5060] SCRIPT_NAME: /index.cfm 2008-05-19 00:00:00 jrISAPI[2348:5060] PATH_INFO: /index.cfm (special) 2008-05-19 00:00:00 jrISAPI[2348:5060] REMOTE_HOST: 10.10.11.80 2008-05-19 00:00:00 jrISAPI[2348:5060] REMOTE_ADDR: 10.10.11.80 2008-05-19 00:00:00 jrISAPI[2348:5060] SERVER_NAME: 10.10.11.202 2008-05-19 00:00:00 jrISAPI[2348:5060] SERVER_PORT: 80 2008-05-19 00:00:00 jrISAPI[2348:5060] SERVER_PROTOCOL: HTTP/0.9 2008-05-19 00:00:00 jrISAPI[2348:5060] PATH_TRANSLATED: S:\reports\version4.0\index.cfm (special) 2008-05-19 00:00:00 jrISAPI[2348:5060] SERVER_PORT_SECURE: 0 2008-05-19 00:00:00 jrISAPI[2348:5060] REMOTE_USER: 2008-05-19 00:00:00 jrISAPI[2348:5060] AUTH_TYPE: 2008-05-19 00:00:00 jrISAPI[2348:5060] 10.10.11.103:51000 pooled socket [752] returned 2008-05-19 00:00:00 jrISAPI[2348:5060] sent/avail/result 260/260/260 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] PROXY_PUT_CLUSTER_SEQ <- [752] seq 75 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] PROXY_GET_HEADER <- [752] 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 10/10/10 2008-05-19 00:00:00 jrISAPI[2348:5060] User-Agent: 2008-05-19 00:00:00 jrISAPI[2348:5060] sent/avail/result 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] PROXY_GET_HEADER <- [752] 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 15/15/15 2008-05-19 00:00:00 jrISAPI[2348:5060] Acrobat-Version: 2008-05-19 00:00:00 jrISAPI[2348:5060] sent/avail/result 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] PROXY_GET_REALPATH <- [752] 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 10/10/10 2008-05-19 00:00:00 jrISAPI[2348:5060] getRealPath(/index.cfm) = S:\reports\version4.0\index.cfm 2008-05-19 00:00:00 jrISAPI[2348:5060] sent/avail/result 35/35/35 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] PROXY_GET_HEADER <- [752] 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 15/15/15 2008-05-19 00:00:00 jrISAPI[2348:5060] SHOWTESTIMONIAL: 2008-05-19 00:00:00 jrISAPI[2348:5060] sent/avail/result 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] PROXY_GET_HEADER <- [752] 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] SHOW: 2008-05-19 00:00:00 jrISAPI[2348:5060] sent/avail/result 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] PROXY_GET_HEADER <- [752] 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] STEP: 2008-05-19 00:00:00 jrISAPI[2348:5060] sent/avail/result 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] PROXY_GET_REALPATH <- [752] 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/total 4/4/4 2008-05-19 00:00:00 jrISAPI[2348:5060] read/len/tot
Re: SQL Weirdness on text file query
OK, eventually found a fix.. SELECT *, STR("the-field") AS TheField FROM theTextFile Kind of works but still drops leading zeroes so I have to re add them after the select... -- Jay On Wed, May 14, 2008 at 12:11 PM, James Smith <[EMAIL PROTECTED]> wrote: > I am querying a text file and getting some annoying behaviour, when I > have a field containing the value "692619037803123" for example it is > reading it as a float value and then converting it into > 6.92619037803E+013 for storage in my MSSQL database as a varchar. I > need it to be a varchar because some values will be "00123456789" and > I need to maintain the leading "0" characters. > > I have tried modifying the text file query to... > > SELECT *, cast(['the-field'] AS VarChar(20)) AS theField > FROM theTextFile > > but that is throwing an error "Syntax error (missing operator) in > query expression", I have also tried using convert() but that throws > an undefined function error. > > Does any one know how I can get the text file odbc driver to read this > field as a varchar? > > -- > James Smith > IT Director > Music Express Ltd > -- James Smith IT Director Music Express Ltd ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305593 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4