RE: Ajax
One last comment .. made by Erik Arvidsson.. seems he agrees. Very, very, very hard indeed. Writing a mail application is hard using any toolkit. (Just look at Mozilla Thunderbird.) The same applies to Google maps. Sure some things might have been easier with WinForms, Avalon or Lazslo but the application in itself is the biggest part of the development time and cost. The biggest short coming with HTML/XML and scripting is indeed the lack of good reusable components (and sometime a unified application framework). I think if IE supported DOM level 2 and XBL2 I think it would totally kill the alternative frameworks (as long as some the different platforms are compatible enough with each other). Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199649 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cold fusion, pdf files and security
So if I wanted to secure this link using the CFContent tag a class=homeaa href=/documents/#docpath##doctitle#/a I would replace it with cfcontent type=application/pdf file=/documents/#docpath# #doctitle# Is this correct ?? Also what if there were multiple file types in the /documents directory such as .PDF, .DOC, .XLS etc. Would that rule CFCONTENT out ?? -Original Message- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: 21 March 2005 21:10 To: CF-Talk Subject: Re: cold fusion, pdf files and security yup, place the pdfs, or other files you want protected, in a dir OUTSIDE your web root. Then use a CF page and the CFCONTENT tag to deliver your files. Doug On Mon, 21 Mar 2005 16:00:43 -0500, Wurst, Keith D. [EMAIL PROTECTED] wrote: Hi everyone. I have a cf security question. I have a website and on that site are some pdfs. The site is password protected. On the site I have a pdf directory where I keep all my pdf's. I am concerned that if I emailed someone a link http://www.mysite.com/pdf/pdfname.pdf that they would be able to open the pdf without having to log into the site first. Is there a way to force users to have to login before they can open a ..pdf - and still email them a link in the format I have written above? Thanks so much for the help. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199650 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cold fusion, pdf files and security
Not quite, because /documents/ is still web accessible. You need a folder outside the web root for the best security, as Doug said. As for multiple file types, you can provide the correct mime type based on the file's extension, so you can mix file types as necessary. -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Tuesday, 22 March 2005 5:28 To: CF-Talk Subject: RE: cold fusion, pdf files and security So if I wanted to secure this link using the CFContent tag a class=homeaa href=/documents/#docpath##doctitle#/a I would replace it with cfcontent type=application/pdf file=/documents/#docpath# #doctitle# Is this correct ?? Also what if there were multiple file types in the /documents directory such as .PDF, .DOC, .XLS etc. Would that rule CFCONTENT out ?? -Original Message- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: 21 March 2005 21:10 To: CF-Talk Subject: Re: cold fusion, pdf files and security yup, place the pdfs, or other files you want protected, in a dir OUTSIDE your web root. Then use a CF page and the CFCONTENT tag to deliver your files. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199651 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: multi-lingual question
looked at that, thought about it... and this is first run, doesnt need to be too too intricate... but thank ya kindly! I really didn't think it was that intricate... Since running across Rays blog code, I have to admit that all our new sites use a similar approach to achieve their end goal even though, at the moment I have no requirement to do multi-lingual sites. We find it much easier when a client asks 'Can we change x, y or z?' to simply alter a properties file rather than go through all the pages where that may be and have to alter and re-upload all of the affected pages for what should be a simple text change... Also splitting out the logic from the pages makes life so easy from the functional maintenance side. In the long run, an approach like this takes a day or two longer for our initial development but our maintenance time and costs when following up a site are almost non-existant... Paul ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199652 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: french character problem
I just saw this message. How on earth do i convert ALL my files? One by one? You can use Ansi2UTF-8 to convert all your files in a batch... http://store.newmediadevelopment.net/development_tool.cfm?ProductID=18 Paul ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199653 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Scheduled task
While you're waiting for a better answer, set up one that runs at 11am, this calls a page that changes the schedule to run again at 2pm, which changes the schedule to run at 7:30pm, which changes That any good for you? Ade -Original Message- From: simmyana a [mailto:[EMAIL PROTECTED] Sent: 22 March 2005 04:09 To: CF-Talk Subject: Scheduled task Hi, I need to set scheduled task to run at specific time intervals like at 11:00 AM, 2:00 PM, 7:30 PM at 11:00 PM. How can i set a single scheduled task to run at these timings Thanks -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.0 - Release Date: 21/03/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199654 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Scheduled task
I need to set scheduled task to run at specific time intervals like at 11:00 AM, 2:00 PM, 7:30 PM at 11:00 PM. How can i set a single scheduled task to run at these timings Another lame way... Call it hourly and check the time and only do action if matches the time required? -- dc ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199655 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: multi-lingual question
The point about labeling can't be emphasized enough. You are effectively creating a variable when you say textLabel44, would that be how you would want to trouble shoot code you are working with? Why would you want to struggle with it in a configuration scenario? The reason that we all like to use meaningful names for functions, variables, etc. is to make it easier to maintain. And remember that something crazy like 70% of your application's lifetime will be in maintenance mode. - Calvin -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 1:08 AM To: CF-Talk Subject: Re: multi-lingual question so why not prepare for that? or at least maybe use this small app to learn some new i18n techniques? i might just do that... im about 35-40 days from RELEASE :( so, this worry on my part is unfortunately a bit last minute, since we are really in pre-release not that big of a deal, just gotta see if i can logistically fit it in... come on man... of course they do, and ive already got a dd/mm/ switch based on locale :) you should be using something more i18n than that. simple enough to use setLocale (en_US/en_GB/en_AU/en_CA/es_ES) and lsDateFormat w/one of the standard formats (full,long,medium,short, that way you can more easily parse the dates back to datetime objects). the new i18n stuff in mx is simply fantastic. rock solid. will do this ^^ looks easy enough in the docs. (never knew they existed... the functions that is) true... but, as long as the xml is there, and i can see what i've been down that road w/some jsp from one large GIS company. nobody easily knew what was what. always have to run back to the original text to figure things out. it was a mess to extend, a mess to debug. it's just not a good idea. yeah. i agree. hmph :| to the web page, then im good, right? i get that it would be EASIER from the code view to manipulate that... no doubt, but other than that, im not sure it has any merit? right, or am i missing something here? obviously you are missing something if you think easier code maintainence alone hasn't any merit. what if a toilet seat de-orbits onto your head knocks you into hamburger? want #textlabel44# on your headstone? might be a cool label, as long as the xml is available on the back of my headstone :) :) yes, dad! jk. true, true, all true! yes, but it's i18n, i get all excited about i18n stuff. if you want to be sloppy about plain cf, go ahead. if you get sloppy about i18n stuff, i can't help but comment. i know. in fact, i had an internal bet as to who would be first to reply ;) so you are suggesting, having a variable called application.adminBundle, that has 2 structures (or three or however in this case, i guess that's one structure with a bunch of keys. for complex apps we normally breakdown rb's into logical chunks (structs) then into groups within the rb itself (rb tool handles that we don't use these in app code but it makes things much easier to manage). in some cases we don't 100% normalize these as we've found it's easier on developers to deal with stuff in homogeneous chunks (thisRb, thisRb, thisRB, etc.) rather swapping back forth (thisRb, commonRB, thisRb, etc). in your case one rb with whatever logical groups your app needs is enough. and my last word on this, if you're dealing with currency symbols, use unicode rather than latin-1. gotcha. im thinking along these lines as well. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199656 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: multi-lingual question
hola cftalk! if you were making a website multi-lingual, how would you do it? my first idea, and what ive done so far, is to do this: 1. create an xml doc that has one node for each word/group of words/phrase/label that appear on the web app. 2. read that xml doc into a persistent scope (Session right now) 3. display #session.label_fortyThree# where the words might be is this the best? only? is there a better way? im thinking that loading both versions into application var structs (once on application start), and then displaying like i was in #3. im just thinking outloud here, and kinda just looking for a what do you do kinda answer. thank ya! The onTap framework has a built-in architecture for handling localized content and functionality. There are a handfull of functions (2 or maybe 3) for managing the data which essentially is simply stored in a structure in the request scope -- you can of course cache the data in the application scope if you have a large volume of frequently used data in one place. Once that structure is built, you just build your html like normal, exchanging the content you would normally write into the html elements with the names of the variables holding the data. It typically looks something like this: div div%tap_hello_world/div div%tap_someothercontent/div /div When this is displayed, %tap_hello_world and %tap_someothercontent are automatically replaced with the appropriate localized values. The choice of using %tap_ to prefix the variables is completely arbitrary -- it's just what I use to help make namespace conflicts less likely and more manageable. Beyond this, the framework also automatically includes localized directories for the current locale in each stage of the request. So if you're viewing an application page in en_US locale, the framework will automatically include code in /_local/_l10n/en/ followed by code in /_local/_l10n/us/ in the local stage of the request. If the country isn't included in the locale (i.e. the locale is en instead of en_US) the subsequent directories are omitted. The framework also automates the inclusion of locale-specific images. When you create an image using the framework's tools, you provide the image filename (img src=image.gif /) and the framework will automatically include /_images/_l10n/en/us/image.gif or /_images/_l10n/en/image.gif if they exist instead of /_images/image.gif. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://macromedia.breezecentral.com/p49777853/ http://www.sys-con.com/author/?id=4806 http://www.fusiontap.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199657 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Search and Replace DWMX 2004
All, I want to replace a datasource that's listed through many DWMX sites. I can do the search and get a list without any probelms. In fact, I can do the replace all and it will replace all the references for me. My question, the issue is how do I get the multiple files that have been changed locally up to the live site? These changes have taken place through the multiple levels below my webroot. Do I have to find the path for each and upload each file? How do I get the changed files from the local version of my site up to the live site quickly. My test search found 127 results. I don't want to manually find the path of 127 files to assure each file is uploaded. I can't upload the entire site, there is another developer that uses Homesite and I may overwrite their open pages. Thanks. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199658 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: multi-lingual question
**All** of the output on my site comes from the database. I have a languages table which can be completely maintained in my admin section. I do exactly like someone else mentioned a few posts ago. I load my languages into an application variable that's an array of structures. This makes everything so easy. When someone selects Spanish, I just set their session.useLanguage variable to 2 (Spanish is the database langID #2) and everywhere I output a bit of text it just comes right from that set of variables like this: cfoutput #application.language[session.useLanguage].welcomemessage# /cfoutput It really works out well and is incredibly easy to maintain and extend. --Ferg ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199659 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: french character problem
How on earth do i convert ALL my files? One by one? Wow, relax mon vieux ! ;-)) I had exactly the same reaction, but look at the second solution: 2º add this in your Application.cfm: CFSET CFversion = listGetAt(server.coldfusion.productVersion, 1) CFIF CFversion GT 5 cfcontent type=text/html; charset=ISO-8859-1 cfset setEncoding(url,ISO-8859-1) cfset setEncoding(form,ISO-8859-1) /CFIF Just put this in your Application.cfm. And why the hell did MM do something so F(*)ING STUPID. HELLO THE WORLD DOES NOT ONLY SPEAK ENGLISH. It is stupid indeed. In any decent system, any new feature in any new version is implemented in such a way it is compatible with previous versions. There should have been a some settings in the CF Administrator like Default character set which defaults to ISO-8859-1. Any one who wants to work in UTF-8 could set it to UTF-8 once for all. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199660 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: multi-lingual question
so, the general consensus is what i kinda figured, and what paul hastings and i were talking about... load them up into an application scope structure with two sets... and then display from there... :) cool. tw On Tue, 22 Mar 2005 07:50:23 -0600, Ken Ferguson [EMAIL PROTECTED] wrote: **All** of the output on my site comes from the database. I have a languages table which can be completely maintained in my admin section. I do exactly like someone else mentioned a few posts ago. I load my languages into an application variable that's an array of structures. This makes everything so easy. When someone selects Spanish, I just set their session.useLanguage variable to 2 (Spanish is the database langID #2) and everywhere I output a bit of text it just comes right from that set of variables like this: cfoutput #application.language[session.useLanguage].welcomemessage# /cfoutput It really works out well and is incredibly easy to maintain and extend. --Ferg ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199661 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Search and Replace DWMX 2004
The closest you might be able to get is to use the Synchronize function. Expand the Site view window and in the menu, select Site Synchronize. Be sure to make an offering of a sacrificial goat and have good backups first. -Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 7:48 AM To: CF-Talk Subject: Search and Replace DWMX 2004 All, I want to replace a datasource that's listed through many DWMX sites. I can do the search and get a list without any probelms. In fact, I can do the replace all and it will replace all the references for me. My question, the issue is how do I get the multiple files that have been changed locally up to the live site? These changes have taken place through the multiple levels below my webroot. Do I have to find the path for each and upload each file? How do I get the changed files from the local version of my site up to the live site quickly. My test search found 127 results. I don't want to manually find the path of 127 files to assure each file is uploaded. I can't upload the entire site, there is another developer that uses Homesite and I may overwrite their open pages. Thanks. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199662 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Search and Replace DWMX 2004
Sounds like you really need to implement a revision control tool, e.g. Subversion (http://subversion.tigris.org/, free, can be a little complicated to get started) or Perforce (http://www.perforce.com/, commercial, free for two users, very easy to use). With one of these you'll be able to keep track of all the changes you both make and ensure you don't accidentally erase each other's work. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199663 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Scheduled task
Why does it need to be a single task? If it's got to run four times, why not setup the same task 4 times to run at the specified times? Rick -Original Message- From: COLLIE David [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 6:41 AM To: CF-Talk Subject: RE: Scheduled task I need to set scheduled task to run at specific time intervals like at 11:00 AM, 2:00 PM, 7:30 PM at 11:00 PM. How can i set a single scheduled task to run at these timings Another lame way... Call it hourly and check the time and only do action if matches the time required? -- dc ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199664 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Grouped output with cfloop?
Is there any way to do grouped query output using cfloop? Reason is that I use a switch/case statement for my page, and wrap the entire thing in a cfoutput tag to make my code more readable. I would like to do something like: cfoutput query=foo group=groupcolumn h1#groupcolumndata#/h1 cfoutput #blah# /cfoutput /cfoutput But I would like to do it with cfloop or some other technique. Is this possible? Thanks Pete ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199665 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Search and Replace DWMX 2004
This is the handiest file synching utility I have found so far. It is not a version control app, however. http://www.fileware.com/ I think it cost about $15 to register, but it was well worth the cost. M!ke -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 7:48 AM To: CF-Talk Subject: Search and Replace DWMX 2004 All, I want to replace a datasource that's listed through many DWMX sites. I can do the search and get a list without any probelms. In fact, I can do the replace all and it will replace all the references for me. My question, the issue is how do I get the multiple files that have been changed locally up to the live site? These changes have taken place through the multiple levels below my webroot. Do I have to find the path for each and upload each file? How do I get the changed files from the local version of my site up to the live site quickly. My test search found 127 results. I don't want to manually find the path of 127 files to assure each file is uploaded. I can't upload the entire site, there is another developer that uses Homesite and I may overwrite their open pages. Thanks. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199666 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Grouped output with cfloop?
Yes, it's possible, but you need a few extra variables to store the current grouped value and a CFIF tag or two. Basically, you need to store the first grouped value in a temp variable. If the next value is the same as what you stored, you don't output it. You keep doing this until you get to a different value. Then, you store that new value and display it. Rinse and repeat. I had to build a pretty complicated grid recently. I started with a simple array that held my base values, then, I took a few extra steps to add bits of information to that array in the proper locations. Once I had that array completely built, all I had to do was loop over it and simply output everything. Maybe something like that would make sense for you? M!ke -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 8:54 AM To: CF-Talk Subject: Grouped output with cfloop? Is there any way to do grouped query output using cfloop? Reason is that I use a switch/case statement for my page, and wrap the entire thing in a cfoutput tag to make my code more readable. I would like to do something like: cfoutput query=foo group=groupcolumn h1#groupcolumndata#/h1 cfoutput #blah# /cfoutput /cfoutput But I would like to do it with cfloop or some other technique. Is this possible? Thanks Pete ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199667 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: french character problem
(which you know doesn't contain the euro symbol) Here we go again... ISO8859-1 does not contain oelig; either, used in many French words; Every body knows this and is able to use the HTML or numeric representation instead; same thing with the Euro symbol. Anyway, the windows-1252 code, which is a super set of ISO8859-1 does contain the euro (code = 128) and both MSIE and Mozilla display it, even when instructed to work with ISO8859-1. It appears that both Microsoft and Mozilla have decided to support Windows-1252 codes, even when in ISO8859-1 mode. Try this in an HTML file: META http-equiv=content-type content=text/html;charset=iso8859-1 put here a character code 128, and it works. Even my good old CF Studio 4.4 handles the Euro sign in ISO8859-1 correctly. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199668 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
cftransaction behavior
I've noticed some behavior from CFTRANSACTION that I wouldn't quite expect. Here is some pseudo code: CFSET transactionSuccess=false CFTRANSACTION action=BEGIN CFTRY many CFQUERY tags CFSET transactionSuccess=true CFCATCH CFTRANSACTION action=ROLLBACK /CFCATCH /CFTRY CFIF transactionSuccess CFTRANSACTION action=COMMIT /CFIF /CFTRANSACTION If I comment out the CFTRANSACTION action=COMMIT tag and the query completes without errors, the data is still written to the database. Shouldn't I have to explicitly use COMMIT in order for the data to be saved? At first glance it seems that the only time I'd want to ROLLBACK is in the event of an error, but if this is the expected behavior I'm not sure why I'd ever need to use CFTRANSACTION action=COMMIT. Anyone have any ideas? I'm using CFMX 6.1 on Solaris 9 with Oracle 9i Release 2. -Cliff ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199669 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: french character problem
Claude Schneegans wrote: (which you know doesn't contain the euro symbol) Here we go again... indeed. ISO8859-1 does not contain oelig; either, used in many French words; right. another thing to watch out for. Every body knows this and is able to use the HTML or numeric representation instead; no, i wouldn't say everybody knows. else the old i18n mm forums wouldn't have had so many postings on this subject. Anyway, the windows-1252 code, which is a super set of ISO8859-1 does right but again hardly everybody knows this. and both MSIE and Mozilla display it, even when instructed to work with ISO8859-1. and all the world's databases, etc.? It appears that both Microsoft and Mozilla have decided to support Windows-1252 codes, even when in ISO8859-1 mode. based on what evidence? Try this in an HTML file: META http-equiv=content-type content=text/html;charset=iso8859-1 put here a character code 128, and it works. html's not cf but you already know that. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199670 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cftransaction behavior
Using your pseudo code, I do the following... Never had a problem with it and I'm not dependent on varables being set etc... CFTRANSACTION action=BEGIN CFTRY many CFQUERY tags CFTRANSACTION action=COMMIT / CFCATCH CFTRANSACTION action=ROLLBACK / /CFCATCH /CFTRY /CFTRANSACTION Paul ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199671 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cftransaction behavior
It's expected behavior. The /cftransaction from CFTRANSACTION action=BEGIN will automatically commit if no error occurred or rollback if an error occurred. Pascal -Original Message- From: Cliff Meyers [mailto:[EMAIL PROTECTED] Sent: 22 March 2005 17:23 To: CF-Talk Subject: cftransaction behavior I've noticed some behavior from CFTRANSACTION that I wouldn't quite expect. Here is some pseudo code: CFSET transactionSuccess=false CFTRANSACTION action=BEGIN CFTRY many CFQUERY tags CFSET transactionSuccess=true CFCATCH CFTRANSACTION action=ROLLBACK /CFCATCH /CFTRY CFIF transactionSuccess CFTRANSACTION action=COMMIT /CFIF /CFTRANSACTION If I comment out the CFTRANSACTION action=COMMIT tag and the query completes without errors, the data is still written to the database. Shouldn't I have to explicitly use COMMIT in order for the data to be saved? At first glance it seems that the only time I'd want to ROLLBACK is in the event of an error, but if this is the expected behavior I'm not sure why I'd ever need to use CFTRANSACTION action=COMMIT. Anyone have any ideas? I'm using CFMX 6.1 on Solaris 9 with Oracle 9i Release 2. -Cliff ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199672 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cftransaction behavior
That is the expected behavior as I understand it. If you just wrap one or more query blocks inside a pair of basic cftransaction tags, the data will be committed if there are no failures, otherwise none of the data is committed. You do not need to use the begin, commit or rollback properties, unless you want to do more sophisticated processing during these various states. They are there to allow you to expand the functionality beyond just committing or not committing the queries, logging perhaps. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning -Original Message- From: Cliff Meyers [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 8:23 AM To: CF-Talk Subject: cftransaction behavior I've noticed some behavior from CFTRANSACTION that I wouldn't quite expect. Here is some pseudo code: CFSET transactionSuccess=false CFTRANSACTION action=BEGIN CFTRY many CFQUERY tags CFSET transactionSuccess=true CFCATCH CFTRANSACTION action=ROLLBACK /CFCATCH /CFTRY CFIF transactionSuccess CFTRANSACTION action=COMMIT /CFIF /CFTRANSACTION If I comment out the CFTRANSACTION action=COMMIT tag and the query completes without errors, the data is still written to the database. Shouldn't I have to explicitly use COMMIT in order for the data to be saved? At first glance it seems that the only time I'd want to ROLLBACK is in the event of an error, but if this is the expected behavior I'm not sure why I'd ever need to use CFTRANSACTION action=COMMIT. Anyone have any ideas? I'm using CFMX 6.1 on Solaris 9 with Oracle 9i Release 2. -Cliff ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199673 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: LDAP and Active Directory and getting the objectGUID
Hi Mike, Thanks for the info, I'm really hoping that Macromedia will fix this. Thanks again, - Charles On 3/18/05 5:05 AM, Dawson, Michael [EMAIL PROTECTED] wrote: That is a bug that has yet to be corrected by Macromedia. You could create a COM object that uses ADSI to pull that value into a meaningful state. M!ke -Original Message- From: Charles Heizer [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 5:42 PM To: CF-Talk Subject: LDAP and Active Directory and getting the objectGUID Hello, Does anyone have an example on how to translate the attribute objectGUID to a legible string? If I look at it in ADSI edit, it's in hex format, but if I use coldfusion is garbage. Thanks, - Charles ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199674 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfqueryparam question
On Sun, 13 Mar 2005 11:06:58 -0500, S. Isaac Dealey wrote: specifically I believe cfsqltype=cf_sql_longvarchar CF_SQL_CLOB is an undocumented type that is, I believe, more specifically designed for the text field, though longvarchar also works. I'm not sure if there's a significant difference between the two. Scott -- - Scott Brady http://www.scottbrady.net/ ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199675 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
32K span If possible, please refactor this component
From what I can tell this is a limit of the flash player. How can you fix this in cfmx 7 flash forms; other then breaking up the form into smaller parts. David ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199676 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfqueryparam question
I believe with Oracle in later than CF5 you could insert/update more than 4000 characters into a clob when using CF_SQL_CLOB. Not sure for CF5 though, for some reason I recall it failing beyond 4000 and requiring work arounds. On Tue, 22 Mar 2005 10:44:53 -0700, Scott Brady [EMAIL PROTECTED] wrote: On Sun, 13 Mar 2005 11:06:58 -0500, S. Isaac Dealey wrote: specifically I believe cfsqltype=cf_sql_longvarchar CF_SQL_CLOB is an undocumented type that is, I believe, more specifically designed for the text field, though longvarchar also works. I'm not sure if there's a significant difference between the two. Scott -- - Scott Brady http://www.scottbrady.net/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199677 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Message Board
Does anyone know where I can download Simple Message Board? The url on the exchange no longer offers the download. If not, can anyone suggest a good message board app? Thanks, Chris This email and its attachments may contain confidential information which is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby advised that any disclosure, copying, distribution or the taking of any action based on the contents of this information is prohibited. If you have received this transmission in error, please notify the sender and delete this email from your computer. Thank you. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199678 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Spam:Message Board
http://www.adersoftware.com/index.cfm?page=cfbb From: Chris Terrebonne [mailto:[EMAIL PROTECTED] Sent: Tue 3/22/2005 1:06 PM To: CF-Talk Subject: Spam:Message Board Does anyone know where I can download Simple Message Board? The url on the exchange no longer offers the download. If not, can anyone suggest a good message board app? Thanks, Chris This email and its attachments may contain confidential information which is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby advised that any disclosure, copying, distribution or the taking of any action based on the contents of this information is prohibited. If you have received this transmission in error, please notify the sender and delete this email from your computer. Thank you. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199679 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Spam:Message Board
Perfect! thanks [EMAIL PROTECTED] 03/22/05 12:14PM http://www.adersoftware.com/index.cfm?page=cfbb From: Chris Terrebonne [mailto:[EMAIL PROTECTED] Sent: Tue 3/22/2005 1:06 PM To: CF-Talk Subject: Spam:Message Board Does anyone know where I can download Simple Message Board? The url on the exchange no longer offers the download. If not, can anyone suggest a good message board app? Thanks, Chris This email and its attachments may contain confidential information which is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby advised that any disclosure, copying, distribution or the taking of any action based on the contents of this information is prohibited. If you have received this transmission in error, please notify the sender and delete this email from your computer. Thank you. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199680 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Message Board
Try Galleon: http://ray.camdenfamily.com/forums/ HTH, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server PrismAV - Virus scanning for ColdFusion applications Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm --- On Tuesday, March 22, 2005 1:06 PM, Chris Terrebonne scribed: --- Does anyone know where I can download Simple Message Board? The url on the exchange no longer offers the download. If not, can anyone suggest a good message board app? Thanks, Chris This email and its attachments may contain confidential information which is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby advised that any disclosure, copying, distribution or the taking of any action based on the contents of this information is prohibited. If you have received this transmission in error, please notify the sender and delete this email from your computer. Thank you. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199681 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
TAPI = Ugly
I have a requirement with our wonderful new Nortel system now to have the intranet application interact and dial the phones, pop up customer records on inbounds, etc. I know I need to do it via TAPI. Are there any xml compliant pieces one knows of that can send/interact with TAPI...or any pointers? Since this has to happen on each client machine, I prolly have to find a java/activex deal I suppose. Thanks if anyone has experience in this area! Regards, Eric J. Hoffman Eric J. Hoffman Market Connections 2081 Industrial Blvd. Stillwater MN 55082 http://www.marketconnections.us T: 651.207.1526 F: 651.207.1536 M: 952.210.9060 E: [EMAIL PROTECTED] This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199682 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Message Board
We are current inviting others to a BETA of our forum, please visit: http://www.aftershockweb.net/forums/threads.cfm/ForumId/9 Thank you, Aftershock Web Design, Inc. by: Stan Winchester President/Developer Does anyone know where I can download Simple Message Board? The url on the exchange no longer offers the download. If not, can anyone suggest a good message board app? Thanks, Chris ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199683 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
CFLib Down
Just a note to let folks know - CFLib is down and will be down for a few hours. -- === Raymond Camden, Director of Development for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : ray.camdenfamily.com Yahoo IM : cfjedimaster My ally is the Force, and a powerful ally it is. - Yoda ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199684 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: french character problem
Once again, you're completely OT. The question is NOT Is UTF-8 better than ISO8859-1? Everybody including myself will probabily say YES, The question is NOT should MM support UTF-8 or not? The question IS should MM force their users to convert all their applications which worked well using ISO8859-1? My answer is NO. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199685 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: TAPI = Ugly
Do they not have one already? we had a phone system (not nortel) that came with an app (that even interrated with Outlook that was connected to exchange) that did a similar thing This was done with IP settings/protocol rather than TAPI itself im pretty sure On Tue, 22 Mar 2005 13:11:26 -0600, Eric J. Hoffman [EMAIL PROTECTED] wrote: I have a requirement with our wonderful new Nortel system now to have the intranet application interact and dial the phones, pop up customer records on inbounds, etc. I know I need to do it via TAPI. Are there any xml compliant pieces one knows of that can send/interact with TAPI...or any pointers? Since this has to happen on each client machine, I prolly have to find a java/activex deal I suppose. Thanks if anyone has experience in this area! Regards, Eric J. Hoffman Eric J. Hoffman Market Connections 2081 Industrial Blvd. Stillwater MN 55082 http://www.marketconnections.us T: 651.207.1526 F: 651.207.1536 M: 952.210.9060 E: [EMAIL PROTECTED] This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199686 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: TAPI = Ugly
They have a software piece you install to enable integration (they say via TAPI), but no documentation I can find how to interact with it. Get data from it, etc, just a helpful (not) little personal call manager app. I did find a promising solution at www.tapiex.com ... This is new to me so just getting feet wet. Eric J. Hoffman Market Connections 2081 Industrial Blvd. Stillwater MN 55082 http://www.marketconnections.us T: 651.207.1526 F: 651.207.1536 M: 952.210.9060 E: [EMAIL PROTECTED] This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -Original Message- From: JediHomer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 1:31 PM To: CF-Talk Subject: Re: TAPI = Ugly Do they not have one already? we had a phone system (not nortel) that came with an app (that even interrated with Outlook that was connected to exchange) that did a similar thing This was done with IP settings/protocol rather than TAPI itself im pretty sure On Tue, 22 Mar 2005 13:11:26 -0600, Eric J. Hoffman [EMAIL PROTECTED] wrote: I have a requirement with our wonderful new Nortel system now to have the intranet application interact and dial the phones, pop up customer records on inbounds, etc. I know I need to do it via TAPI. Are there any xml compliant pieces one knows of that can send/interact with TAPI...or any pointers? Since this has to happen on each client machine, I prolly have to find a java/activex deal I suppose. Thanks if anyone has experience in this area! Regards, Eric J. Hoffman Eric J. Hoffman Market Connections 2081 Industrial Blvd. Stillwater MN 55082 http://www.marketconnections.us T: 651.207.1526 F: 651.207.1536 M: 952.210.9060 E: [EMAIL PROTECTED] This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199687 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: TAPI = Ugly
Well, I am up and running already after giving that little activex control (interfacing via dynamic DHTML) a try. Hope it helps someone else in the future having it in the archives. Eric J. Hoffman Market Connections 2081 Industrial Blvd. Stillwater MN 55082 http://www.marketconnections.us T: 651.207.1526 F: 651.207.1536 M: 952.210.9060 E: [EMAIL PROTECTED] This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -Original Message- From: Eric J. Hoffman [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 1:36 PM To: CF-Talk Subject: RE: TAPI = Ugly They have a software piece you install to enable integration (they say via TAPI), but no documentation I can find how to interact with it. Get data from it, etc, just a helpful (not) little personal call manager app. I did find a promising solution at www.tapiex.com ... This is new to me so just getting feet wet. Eric J. Hoffman Market Connections 2081 Industrial Blvd. Stillwater MN 55082 http://www.marketconnections.us T: 651.207.1526 F: 651.207.1536 M: 952.210.9060 E: [EMAIL PROTECTED] This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -Original Message- From: JediHomer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 1:31 PM To: CF-Talk Subject: Re: TAPI = Ugly Do they not have one already? we had a phone system (not nortel) that came with an app (that even interrated with Outlook that was connected to exchange) that did a similar thing This was done with IP settings/protocol rather than TAPI itself im pretty sure On Tue, 22 Mar 2005 13:11:26 -0600, Eric J. Hoffman [EMAIL PROTECTED] wrote: I have a requirement with our wonderful new Nortel system now to have the intranet application interact and dial the phones, pop up customer records on inbounds, etc. I know I need to do it via TAPI. Are there any xml compliant pieces one knows of that can send/interact with TAPI...or any pointers? Since this has to happen on each client machine, I prolly have to find a java/activex deal I suppose. Thanks if anyone has experience in this area! Regards, Eric J. Hoffman Eric J. Hoffman Market Connections 2081 Industrial Blvd. Stillwater MN 55082 http://www.marketconnections.us T: 651.207.1526 F: 651.207.1536 M: 952.210.9060 E: [EMAIL PROTECTED] This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199688 Archives:
Runing VBv6 Apps from within CF
Has anyone ported VB6 applications to the Web through CF pages? We have a bunch of Visual Basic v6 applications that need to be ported to our Web site. Has anyone had any experience do this? I'm the CF developer and we have another person that is the VB developer. Between the two of us, we need to find a way to offer our clients the abilty to use the app from theWeb site or from the stand alone VB app. Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199689 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: french character problem
Claude Schneegans wrote: The question IS should MM force their users to convert all their applications which worked well using ISO8859-1? My answer is NO. My answer to that question would be no too. But MM didn't force it, MM just made UTF-8 a changeable default. Therefore the question would be OT as well. Jochem ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199690 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Runing VBv6 Apps from within CF
Unless there are command-line versions of these VB programs or they have COM interface in them, I think you're out of luck. You're going to need to write a CF version of each of these programs, unless you redevelop them altogether - I suggest .NET for code reuse between the windows and web apps. - Matt Small -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 2:50 PM To: CF-Talk Subject: Runing VBv6 Apps from within CF Has anyone ported VB6 applications to the Web through CF pages? We have a bunch of Visual Basic v6 applications that need to be ported to our Web site. Has anyone had any experience do this? I'm the CF developer and we have another person that is the VB developer. Between the two of us, we need to find a way to offer our clients the abilty to use the app from theWeb site or from the stand alone VB app. Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199691 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Coldfusion/ArcIMS Metadata Explorer
Just wondering if anyone knows how to use the ArcIMS javabeans to retrieve metadata tags from the metadata xml documents. This is what I am trying to do. If you go to www.geographynetwork.com and do a search on something it will give you something like this. Publisher: ESRI Content Title: World Snow Cover Coverage Area: World Map Scale: 1:1500 Service Type: ArcIMS Image Service Latest Status: Service Running The content as seen above (ie. ESRI, World Snow Cover, etc) comes from the Metadata XML document that is generated by the metadata service when you do a search for something. cffunction access=public name=findMetadataTag output=no hint=finds metadata tag words from a document !---Need to pass in a docID string, document URL, or a dataset from the metadata document--- cfargument name=docID required=yes type=string cfargument name=connection required=yes cfargument name=tag required=yes type=string cfscript var browse=createobject(java,com.esri.aims.mtier.model.metadata.query.Browse); var collectioninfo=createobject(java,com.esri.aims.mtier.model.metadata.query.CollectionInfo); //? //Need to somehow pass in the URL path to the XML document, docID Number of the metadata document, or just the dataset object itself. //? browse.setConnectionProxy(connection); collectioninfo.setCollectionType(collectioninfo.WORDS); collectioninfo.setTagPath(javacast(string,arguments.tag)); arrCollectionValues = arraynew(1); arrCollectionValues = browse.getCollectionInfoValues(collectioninfo); return arrCollectionValues; /cfscript /cffunction Thanks for you help. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199692 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFHTTP Connection Failure
This looks like something I could really get some use out of to debug some of my CFHTTP requests. But is there a way to get it to see ones sent from the internal CFMX web server, the one that runs on port 8500? Still trying to figure out how to do this, any ideas?? --- MJS ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199693 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Message Board
Howie Hamlin wrote: Try Galleon: http://ray.camdenfamily.com/forums/ I second this! Galleon is real nice, and free! Some stuff that's free sucks (like my project, cfmbb), but Galleon is good. =) - rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199694 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Message Board
Cfbb seems very fast. Does anyone know how well it scales? (is there file-based caching of pages, etc, or scopecache-like speed optimization)? -dbk -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 3:32 PM To: CF-Talk Subject: Re: Message Board Howie Hamlin wrote: Try Galleon: http://ray.camdenfamily.com/forums/ I second this! Galleon is real nice, and free! Some stuff that's free sucks (like my project, cfmbb), but Galleon is good. =) - rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199695 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Message Board
I very much like cfbb. I can't speak to scale but Andrew (the guy who wrote it) does have a fairly extensive set of users and refers to a couple other sites which have even more. I don't know about the caching of pages. Been a while since I looked at the source files, but can remember is uses a myriad of includes. Cheers, John Interested in Hiking in Washington State? Check out http://www.attrition.ws From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] Sent: Tue 3/22/2005 12:32 PM To: CF-Talk Subject: RE: Message Board Cfbb seems very fast. Does anyone know how well it scales? (is there file-based caching of pages, etc, or scopecache-like speed optimization)? -dbk -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 3:32 PM To: CF-Talk Subject: Re: Message Board Howie Hamlin wrote: Try Galleon: http://ray.camdenfamily.com/forums/ I second this! Galleon is real nice, and free! Some stuff that's free sucks (like my project, cfmbb), but Galleon is good. =) - rick ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199696 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
regex help for grabbing values of html tag attributes
Does anyone have a regex already written (or would any of you regex gurus like you put something up) that could take the source code of an HTML file and grab the value of an attribute given the tag and the attribute that would be grabbed. For instance, if I wanted to get the value of any classes used on a span tag, it would search for span tags and search for a class attribute and return the value within the quotes after class=. Or, for images, it would search for the img tag and find the src attribute and return the url listed in there? I have tried a few things but haven't had a whole lot of luck. Any help would be great. Thanks! John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199697 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Whitespace Woes
CF5/IIS5 I have a CFML tag constructed to produce as little white space as possible - or so I thought. Basically, as shown bellow. Much more complex, including many queries, but the key is that only one cfoutput block gets executed between the cfsetting tags. The whole tag should produce only about 50 characters of output. cfsetting enablecfoutputonly=yes cfinclude template=constants.cfm cfscript /cfscript cfif somecondition cfscript ... /cfscript cfoutputa href=../a/cfoutput cfelse cfscript ... /cfscript cfoutputa href=../a/cfoutput /cfif cfsetting enablecfoutputonly=no But the tag is producing a _lot_ of white space, both before and after the executed cfoutput block, and I cannot figure out where it's coming from. Everything within the cfinclude'd template shown above is itself contained within a cfsilent block, as it only sets some variables. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199698 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Message Board
Just an FYI, the machine hosting Galleon is having issues. If you can't download it, email me at [EMAIL PROTECTED] On Tue, 22 Mar 2005 13:47:51 -0500, Howie Hamlin [EMAIL PROTECTED] wrote: Try Galleon: http://ray.camdenfamily.com/forums/ HTH, -- Howie Hamlin - inFusion Project Manager On-Line Data Solutions, Inc. - www.CoolFusion.com inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server PrismAV - Virus scanning for ColdFusion applications Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm --- On Tuesday, March 22, 2005 1:06 PM, Chris Terrebonne scribed: --- Does anyone know where I can download Simple Message Board? The url on the exchange no longer offers the download. If not, can anyone suggest a good message board app? Thanks, Chris This email and its attachments may contain confidential information which is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby advised that any disclosure, copying, distribution or the taking of any action based on the contents of this information is prohibited. If you have received this transmission in error, please notify the sender and delete this email from your computer. Thank you. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199699 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: regex help for grabbing values of html tag attributes
What version of CF? --Ben Burns, John D wrote: Does anyone have a regex already written (or would any of you regex gurus like you put something up) that could take the source code of an HTML file and grab the value of an attribute given the tag and the attribute that would be grabbed. For instance, if I wanted to get the value of any classes used on a span tag, it would search for span tags and search for a class attribute and return the value within the quotes after class=. Or, for images, it would search for the img tag and find the src attribute and return the url listed in there? I have tried a few things but haven't had a whole lot of luck. Any help would be great. Thanks! John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199700 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Whitespace Woes
The standard answer for this question is Did you check any application.cfm files? -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 4:10 PM To: CF-Talk Subject: Whitespace Woes CF5/IIS5 I have a CFML tag constructed to produce as little white space as possible - or so I thought. Basically, as shown bellow. Much more complex, including many queries, but the key is that only one cfoutput block gets executed between the cfsetting tags. The whole tag should produce only about 50 characters of output. cfsetting enablecfoutputonly=yes cfinclude template=constants.cfm . cfscript . /cfscript cfif somecondition cfscript ... /cfscript cfoutputa href=../a/cfoutput cfelse cfscript ... /cfscript cfoutputa href=../a/cfoutput /cfif . cfsetting enablecfoutputonly=no But the tag is producing a _lot_ of white space, both before and after the executed cfoutput block, and I cannot figure out where it's coming from. Everything within the cfinclude'd template shown above is itself contained within a cfsilent block, as it only sets some variables. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199701 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
CFOUTPUT carries across includes and tags for enableCFOUTPUTonly processing. So if the tag is called within a CFOUTPUT block, your CFSETTING tag will have no effect. Since that info is outside the scope of what the tag can possibly know, you're better off skipping CFSETTING and only using CFSILENT inside custom tags. It might be overkill sometimes, but it's always guarenteed to work. cheers, barneyb On Tue, 22 Mar 2005 14:09:54 -0700, Jim McAtee [EMAIL PROTECTED] wrote: CF5/IIS5 I have a CFML tag constructed to produce as little white space as possible - or so I thought. Basically, as shown bellow. Much more complex, including many queries, but the key is that only one cfoutput block gets executed between the cfsetting tags. The whole tag should produce only about 50 characters of output. cfsetting enablecfoutputonly=yes cfinclude template=constants.cfm cfscript /cfscript cfif somecondition cfscript ... /cfscript cfoutputa href=../a/cfoutput cfelse cfscript ... /cfscript cfoutputa href=../a/cfoutput /cfif cfsetting enablecfoutputonly=no But the tag is producing a _lot_ of white space, both before and after the executed cfoutput block, and I cannot figure out where it's coming from. Everything within the cfinclude'd template shown above is itself contained within a cfsilent block, as it only sets some variables. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199702 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: regex help for grabbing values of html tag attributes
6.1. I was looking at the archives and have come up with this but it's erroring I'm using the img instance because it's easier to test on pages that have multiple images... #refindnocase(img[^]*src=([^]*)*,cfhttp.fileContent,0,true)# John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 4:14 PM To: CF-Talk Subject: Re: regex help for grabbing values of html tag attributes What version of CF? --Ben Burns, John D wrote: Does anyone have a regex already written (or would any of you regex gurus like you put something up) that could take the source code of an HTML file and grab the value of an attribute given the tag and the attribute that would be grabbed. For instance, if I wanted to get the value of any classes used on a span tag, it would search for span tags and search for a class attribute and return the value within the quotes after class=. Or, for images, it would search for the img tag and find the src attribute and return the url listed in there? I have tried a few things but haven't had a whole lot of luck. Any help would be great. Thanks! John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199703 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
Application.cfm is entirely within a cfsilent block as well. - Original Message - From: Gaulin, Mark [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, March 22, 2005 2:16 PM Subject: RE: Whitespace Woes The standard answer for this question is Did you check any application.cfm files? -Original Message- From: Jim McAtee [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 4:10 PM To: CF-Talk Subject: Whitespace Woes CF5/IIS5 I have a CFML tag constructed to produce as little white space as possible - or so I thought. Basically, as shown bellow. Much more complex, including many queries, but the key is that only one cfoutput block gets executed between the cfsetting tags. The whole tag should produce only about 50 characters of output. cfsetting enablecfoutputonly=yes cfinclude template=constants.cfm . cfscript . /cfscript cfif somecondition cfscript ... /cfscript cfoutputa href=../a/cfoutput cfelse cfscript ... /cfscript cfoutputa href=../a/cfoutput /cfif . cfsetting enablecfoutputonly=no But the tag is producing a _lot_ of white space, both before and after the executed cfoutput block, and I cannot figure out where it's coming from. Everything within the cfinclude'd template shown above is itself contained within a cfsilent block, as it only sets some variables. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199704 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
I think that's it. Thanks Barney. - Original Message - From: Barney Boisvert [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, March 22, 2005 2:18 PM Subject: Re: Whitespace Woes CFOUTPUT carries across includes and tags for enableCFOUTPUTonly processing. So if the tag is called within a CFOUTPUT block, your CFSETTING tag will have no effect. Since that info is outside the scope of what the tag can possibly know, you're better off skipping CFSETTING and only using CFSILENT inside custom tags. It might be overkill sometimes, but it's always guarenteed to work. cheers, barneyb On Tue, 22 Mar 2005 14:09:54 -0700, Jim McAtee [EMAIL PROTECTED] wrote: CF5/IIS5 I have a CFML tag constructed to produce as little white space as possible - or so I thought. Basically, as shown bellow. Much more complex, including many queries, but the key is that only one cfoutput block gets executed between the cfsetting tags. The whole tag should produce only about 50 characters of output. cfsetting enablecfoutputonly=yes cfinclude template=constants.cfm cfscript /cfscript cfif somecondition cfscript ... /cfscript cfoutputa href=../a/cfoutput cfelse cfscript ... /cfscript cfoutputa href=../a/cfoutput /cfif cfsetting enablecfoutputonly=no But the tag is producing a _lot_ of white space, both before and after the executed cfoutput block, and I cannot figure out where it's coming from. Everything within the cfinclude'd template shown above is itself contained within a cfsilent block, as it only sets some variables. Donations Support: http://www.houseoffusion.com/tiny.cfm/54 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199705 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
CF5/IIS5 I have a CFML tag constructed to produce as little white space as possible - another way is to use this custom tag: StripWhiteSpace.cfm !--- = --- CFSETTING ENABLECFOUTPUTONLY=YES!--- Suspend whitespace output --- CFPARAM NAME=Attributes.StrengthMode DEFAULT=Maximum !--- Make sure a closing tag exists in calling template --- CFIF NOT ThisTag.HasEndTag CFABORT SHOWERROR=You need to supply a closing lt;CF_FileWriteTextgt; tag. /CFIF !--- When the closing tag is encountered... --- CFIF ThisTag.ExecutionMode is End !--- Replace multiple whitespace characters with a single space --- CFSWITCH EXPRESSION=#Attributes.StrengthMode# CFCASE VALUE=Maximum CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, [[:space:]]{2,}, , ALL) /CFCASE CFCASE VALUE=Literate CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, ([#Chr(13)##Chr(10)#][^[:graph:]]*[#Chr(13)##Chr(10)#]), #Chr(13)##Chr(10)#, ALL) CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, [ #Chr(9)#]{2,}, , ALL) /CFCASE CFCASE VALUE=Medium CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, ([#Chr(13)##Chr(10)#][^[:graph:]]*[#Chr(13)##Chr(10)#]), #Chr(13)##Chr(10)#, ALL) CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, [ #Chr(9)#]{2,}, , ALL) /CFCASE CFCASE VALUE=Light CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, ([#Chr(13)##Chr(10)#][^[:graph:]]*[#Chr(13)##Chr(10)#]), #Chr(13)##Chr(10)#, ALL) /CFCASE CFCASE VALUE=Off /CFCASE CFDEFAULTCASE CFABORT SHOWERROR=Error in CF_StripWhitespace tag. Invalid MODE attribute. /CFDEFAULTCASE /CFSWITCH /CFIF CFSETTING ENABLECFOUTPUTONLY=NO!--- Re-enable whitespace output --- !--- = --- I'm not sure who originally wrote it, but it works well. If you place it in the same directory as the calling template you can call it like this: CF_StripWhitespace StrengthMode=maximum !--- your code goes here --- /CF_StripWhitespace ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199706 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
Ironically, this tag has exactly the problem I illustrated, and consequently will usually end up rendering a bunch of extra whitespace itself. cheers, barneyb On Tue, 22 Mar 2005 16:34:08 -0400, Andrew Grosset [EMAIL PROTECTED] wrote: CF5/IIS5 I have a CFML tag constructed to produce as little white space as possible - another way is to use this custom tag: StripWhiteSpace.cfm !--- = --- CFSETTING ENABLECFOUTPUTONLY=YES!--- Suspend whitespace output --- CFPARAM NAME=Attributes.StrengthMode DEFAULT=Maximum !--- Make sure a closing tag exists in calling template --- CFIF NOT ThisTag.HasEndTag CFABORT SHOWERROR=You need to supply a closing CF_FileWriteText tag. /CFIF !--- When the closing tag is encountered... --- CFIF ThisTag.ExecutionMode is End !--- Replace multiple whitespace characters with a single space --- CFSWITCH EXPRESSION=#Attributes.StrengthMode# CFCASE VALUE=Maximum CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, [[:space:]]{2,}, , ALL) /CFCASE CFCASE VALUE=Literate CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, ([#Chr(13)##Chr(10)#][^[:graph:]]*[#Chr(13)##Chr(10)#]), #Chr(13)##Chr(10)#, ALL) CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, [ #Chr(9)#]{2,}, , ALL) /CFCASE CFCASE VALUE=Medium CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, ([#Chr(13)##Chr(10)#][^[:graph:]]*[#Chr(13)##Chr(10)#]), #Chr(13)##Chr(10)#, ALL) CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, [ #Chr(9)#]{2,}, , ALL) /CFCASE CFCASE VALUE=Light CFSET ThisTag.GeneratedContent = REReplace(ThisTag.GeneratedContent, ([#Chr(13)##Chr(10)#][^[:graph:]]*[#Chr(13)##Chr(10)#]), #Chr(13)##Chr(10)#, ALL) /CFCASE CFCASE VALUE=Off /CFCASE CFDEFAULTCASE CFABORT SHOWERROR=Error in CF_StripWhitespace tag. Invalid MODE attribute. /CFDEFAULTCASE /CFSWITCH /CFIF CFSETTING ENABLECFOUTPUTONLY=NO!--- Re-enable whitespace output --- !--- = --- I'm not sure who originally wrote it, but it works well. If you place it in the same directory as the calling template you can call it like this: CF_StripWhitespace StrengthMode=maximum !--- your code goes here --- /CF_StripWhitespace -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199707 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Seperate a Form Text Variable into Multiple Variables?
This should be fairly simple but I'm drawing a blank. How do I divide a form variable into multiple variables based on spacing? For example, say a submitted text form variable's value is blue sky what would be the easiest way to seperate this into two variables named Word1 and Word2 with Word1's value set to blue and Word2's value set to sky? Any ideas are appreciated. Thanks -Paul ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199708 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
What I've decided to do is build the output of the tag within a string and use: cfsilent !--- tag body: build tag ouput string) --- /cfsilentcfoutput#tagout#/cfoutput But the old tag had a conditional where it would call another tag cfif something cfoutputcf_anothertag attr1=... attr2=.../cfoutput /cfif Can I capture the output of that called tag and place it into the tagout string variable? - Original Message - From: Jim McAtee [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, March 22, 2005 2:25 PM Subject: Re: Whitespace Woes I think that's it. Thanks Barney. - Original Message - From: Barney Boisvert [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, March 22, 2005 2:18 PM Subject: Re: Whitespace Woes CFOUTPUT carries across includes and tags for enableCFOUTPUTonly processing. So if the tag is called within a CFOUTPUT block, your CFSETTING tag will have no effect. Since that info is outside the scope of what the tag can possibly know, you're better off skipping CFSETTING and only using CFSILENT inside custom tags. It might be overkill sometimes, but it's always guarenteed to work. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199709 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: regex help for grabbing values of html tag attributes
Well, I see a couple of problems with what you're using. First, you've not got a closing on the attribute. Second, you've wrapped a regex that contains a in 's, which will error out if you don't escape the inner 's. You can wrap it with single quotes to fix that. Also, the last * boggles me. I don't know why it's there. Or, try this: '#tag#.*?#att#=(.*?).*?' where (should be obvious) tag and att are defined as the tag and attribute you want. Please note that if you define them as span and class and you have this: spanstuff in betweenspan class=bob the whole tag match will return both span tags and the stuff in between. The attribute match will return bob. So, if this might be the case, lemme know and we'll tweak the regex. Not tested, your miles may vary, trix are for kids, etc. --Ben Burns, John D wrote: 6.1. I was looking at the archives and have come up with this but it's erroring I'm using the img instance because it's easier to test on pages that have multiple images... #refindnocase(img[^]*src=([^]*)*,cfhttp.fileContent,0,true)# ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199710 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Seperate a Form Text Variable into Multiple Variables?
Treat the value as a list listFirst(myVar, ) listRest(myVar, ) or listLast(myVar, ) or listGetAt(myVar, pos, ) -Original Message- From: Paul Henderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, 23 March 2005 9:47 a.m. To: CF-Talk Subject: Seperate a Form Text Variable into Multiple Variables? This should be fairly simple but I'm drawing a blank. How do I divide a form variable into multiple variables based on spacing? For example, say a submitted text form variable's value is blue sky what would be the easiest way to seperate this into two variables named Word1 and Word2 with Word1's value set to blue and Word2's value set to sky? Any ideas are appreciated. Thanks -Paul ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199711 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
CFSAVECONTENT will do exactly what you need. If the output is going to take a lot of steps to create, you might want to look at not using raw string concatenation. Check http://www.barneyb.com/blog/archives/2004_12.jsp#000250 for a couple methods for avoiding it. cheers, barneyb On Tue, 22 Mar 2005 14:50:20 -0700, Jim McAtee [EMAIL PROTECTED] wrote: What I've decided to do is build the output of the tag within a string and use: cfsilent !--- tag body: build tag ouput string) --- /cfsilentcfoutput#tagout#/cfoutput But the old tag had a conditional where it would call another tag cfif something cfoutputcf_anothertag attr1=... attr2=.../cfoutput /cfif Can I capture the output of that called tag and place it into the tagout string variable? -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199712 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Seperate a Form Text Variable into Multiple Variables?
Use ColdFusion list functions. Ie, cfset numberofwords = listLen(form.foo, ) That will give you how many words are in the value of form.foo, where words are defined as being separated by spaces. On Tue, 22 Mar 2005 16:46:51 -0500, Paul Henderson [EMAIL PROTECTED] wrote: This should be fairly simple but I'm drawing a blank. How do I divide a form variable into multiple variables based on spacing? For example, say a submitted text form variable's value is blue sky what would be the easiest way to seperate this into two variables named Word1 and Word2 with Word1's value set to blue and Word2's value set to sky? Any ideas are appreciated. Thanks -Paul ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199714 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Seperate a Form Text Variable into Multiple Variables?
On Tue, 22 Mar 2005 16:46:51 -0500, Paul Henderson wrote: For example, say a submitted text form variable's value is blue sky what would be the easiest way to seperate this into two variables named Word1 and Word2 with Word1's value set to blue and Word2's value set to sky? cfset myArrray = ListToArray(FORM.myField, ) That will create an array, with each individual word in the list as a separate item in the array. Scott -- - Scott Brady http://www.scottbrady.net/ ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199714 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
Ironically, this tag has exactly the problem I illustrated, and consequently will usually end up rendering a bunch of extra whitespace itself. cheers, barneyb Hmmm I can't give you an example but using MX6.1 and with strengthmode on maximum it will eliminate 99% of whitespace and output all the html on one line Andrew. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199715 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: regex help for grabbing values of html tag attributes
Ben, I can see what you've got (I think) and it makes sense, but for some reason, it's not working. I'm grabbing the html from www.google.com and running it on it and this is what I've got in my code: #refindnocase('img.*?src=(.*?).*?',cfhttp.fileContent,0,true)# I'm using cfdump to display that info and what I see are 2 arrays (len and pos) and both have values of 1 and 0. I thought that if the first value was 1, the second value would be the position of the occurrence of the search string. I know google has an image, and I'm displaying the cfhttp.filecontent in a textarea above so that I can ensure the results are coming back as expected. Any ideas? Am I doing something wrong? John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: Ben Doom [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 4:54 PM To: CF-Talk Subject: Re: regex help for grabbing values of html tag attributes Well, I see a couple of problems with what you're using. First, you've not got a closing on the attribute. Second, you've wrapped a regex that contains a in 's, which will error out if you don't escape the inner 's. You can wrap it with single quotes to fix that. Also, the last * boggles me. I don't know why it's there. Or, try this: '#tag#.*?#att#=(.*?).*?' where (should be obvious) tag and att are defined as the tag and attribute you want. Please note that if you define them as span and class and you have this: spanstuff in betweenspan class=bob the whole tag match will return both span tags and the stuff in between. The attribute match will return bob. So, if this might be the case, lemme know and we'll tweak the regex. Not tested, your miles may vary, trix are for kids, etc. --Ben Burns, John D wrote: 6.1. I was looking at the archives and have come up with this but it's erroring I'm using the img instance because it's easier to test on pages that have multiple images... #refindnocase(img[^]*src=([^]*)*,cfhttp.fileContent,0,true)# ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199716 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
If you call the tag within a CFOUTPUT tag, then you'll get a few extra lines of whitespace above the whitespace-suppressed content. The actual suppression won't be affected, but the tag itself will generate a few extra lines. If it's not within a CFOUTPUT tag, then it won't put those extra few lines in there. cheers, barneyb On Tue, 22 Mar 2005 17:02:15 -0400, Andrew Grosset [EMAIL PROTECTED] wrote: Hmmm I can't give you an example but using MX6.1 and with strengthmode on maximum it will eliminate 99% of whitespace and output all the html on one line Andrew. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199717 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: regex help for grabbing values of html tag attributes
Try refindnocase('img.*?src=(.*?).*?',cfhttp.fileContent,1,'true') I think the 0 and the non-quoted true are confusing it. Just a guess, though. Also, have you verified the contents of cfhttp.filecontent? --Ben Burns, John D wrote: Ben, I can see what you've got (I think) and it makes sense, but for some reason, it's not working. I'm grabbing the html from www.google.com and running it on it and this is what I've got in my code: #refindnocase('img.*?src=(.*?).*?',cfhttp.fileContent,0,true)# I'm using cfdump to display that info and what I see are 2 arrays (len and pos) and both have values of 1 and 0. I thought that if the first value was 1, the second value would be the position of the occurrence of the search string. I know google has an image, and I'm displaying the cfhttp.filecontent in a textarea above so that I can ensure the results are coming back as expected. Any ideas? Am I doing something wrong? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199718 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Creating and returning queries from Java to CF
Hello, I have the following problem: I want to create a query object in Java *manually* and return in to CF. Lesser problem is to send a query to Java from CF. I looked all over the web and I was unable to find any example that would explain how to do in java simple things like “queryAddRow() and querySetCell()”. It seems that ResultSet is a read-only object to be used with queries executed against DB only. Also, there is not much on coldfusion.sql.QueryTable and almost nothing on coldfusion.sql.Table. Any help would be appreciated. What I am trying to do is bust performance of my CF page by using Java to do some heavy computation. TK ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199719 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Old CF Tag L2QColumns
Does anyone have a copy of this older custom tag. It used to be on the Allaire site way back in the day (2000 - 2001). I really am desperate (otherwise I have to rewrite a lot). Thanks! EvoVII ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199720 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFMX cfform format html
We have to touch each field so the default value will have the mask applied to it. If you view source you'll see the setFocus() code after the form. If you add your setFocus() after the setFocus() that we run your will be last and it will end on the field you want. ---nimer -Original Message- From: David Brown [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 11:42 PM To: CF-Talk Subject: CFMX cfform format html I am trying to use validate and mask with cfinput. But each time I do the focus is set to the field. If I remove the mask option then the focus is set to the body onload event field. Why would adding mask to the cfinput set focus? CFINPUT type=text NAME=PhoneHome SIZE=12 maxlength=12 MESSAGE=Please enter a phone number at which you can be reached. xxx-xxx- mask=999-999- validateat=onSubmit validate=telephone required=yes ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199721 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: french character problem
MM just made UTF-8 a changeable default. I'm just very curious about what you call a changeable default? Isn't default the value of something changeable when it is not changed? ;-)) ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199722 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: regex help for grabbing values of html tag attributes
What you're trying to do is far from being trivial, however, I'm pretty sure that CF_REextract should help you a lot. See the link below. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199723 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
me thinks it's not a good idea to call any tag within a CFOUTPUT tag...at least I'd try not to if at all possible. Andrew. If you call the tag within a CFOUTPUT tag, then you'll get a few extra lines of whitespace above the whitespace-suppressed content. The actual suppression won't be affected, but the tag itself will generate a few extra lines. If it's not within a CFOUTPUT tag, then it won't put those extra few lines in there. cheers, barneyb On Tue, 22 Mar 2005 17:02:15 -0400, Andrew Grosset [EMAIL PROTECTED] com wrote: Hmmm I can't give you an example but using MX6.1 and with strengthmode on maximum it will eliminate 99% of whitespace and output all the html on one line Andrew. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199724 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
In general, I'd agree. But that's not a reason to make your custom tags dependant on that fact, particularly one whose purpose is to reduce whitespace. http://www.spike.org.uk/blog/index.cfm?mode=entryentry=CC663650-D565-E33F-3DA8032FED9A0DC8 Spike's got a nice method for ensuring that your tags aren't called from within CFOUTPUT. might be a good candidate for that tag. cheers, barneyb On Tue, 22 Mar 2005 18:57:07 -0400, Andrew Grosset [EMAIL PROTECTED] wrote: me thinks it's not a good idea to call any tag within a CFOUTPUT tag...at least I'd try not to if at all possible. Andrew. -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199725 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Grouped output with cfloop?
You could put your grouped output in a separate file and cfinclude it... -Brad - Original Message - From: Pete Ruckelshaus [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, March 22, 2005 9:53 AM Subject: Grouped output with cfloop? Is there any way to do grouped query output using cfloop? Reason is that I use a switch/case statement for my page, and wrap the entire thing in a cfoutput tag to make my code more readable. I would like to do something like: cfoutput query=foo group=groupcolumn h1#groupcolumndata#/h1 cfoutput #blah# /cfoutput /cfoutput But I would like to do it with cfloop or some other technique. Is this possible? Thanks Pete ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199726 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Download a file
I want to automate downloading a file from a public webserver. I would prefer to save it to a client, but saving to the webserver will also work. Now I am using an a href=http://server/file.txtfile.txt/a and manually saving from a browser. Any ideas for automating it from CF (or other common technologies)? Rodger ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199727 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Download a file
You can use cfhttp to grab the file off another site and save it to your web server. Russ -Original Message- From: Rodger [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 8:02 PM To: CF-Talk Subject: Download a file I want to automate downloading a file from a public webserver. I would prefer to save it to a client, but saving to the webserver will also work. Now I am using an a href=http://server/file.txtfile.txt/a and manually saving from a browser. Any ideas for automating it from CF (or other common technologies)? Rodger ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199728 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Email problem
That was the problem, thanks everyone. Rodger At CrystalTech, from needs to be a valid and active email address at the domain that you are sending from. Pete From what I remember, FROM has to be a valid email syntax, but not a valid email address. MySolutions4You is not valid email syntax. M!ke ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199729 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Email problem
That was the problem, thanks everyone. Rodger -Original Message- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 6:41 AM To: CF-Talk Subject: Re: Email problem At CrystalTech, from needs to be a valid and active email address at the domain that you are sending from. Pete -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 8:11 PM To: CF-Talk Subject: RE: Email problem From what I remember, FROM has to be a valid email syntax, but not a valid email address. MySolutions4You is not valid email syntax. M!ke ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199730 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Security permissions, fusebox 4 and cold fusion 5
I'm trying to understand a piece of code I came across from a while ago and attempting to apply it to my current situation. Here's the deal. My testing server is mx but work only has version 5 installed, which (unless I'm wrong) means I cannot use cflogin. So, I'm attempting to do this in a more traditional way Here's the code snippet... fuseaction name=validateLogin set name=isValidLogin value=#application.loginManager.checkUserCredentials( attributes.userName, attributes.password )# / if condition=#isValidLogin# true set value=#application.userManager.createUserSession( attributes.userName )# / relocate url=index.cfm?fuseaction=main.loginWelcome / /true false relocate url=index.cfm?fuseaction=main.loginForm / /false /cfif /fuseaction This is referencing what seems to be a cfc called checkUserCredentials (in the login manager fuse) and then sets the value in another cfc when passed (createUserSession in the user manager fuse). First question - do I have this correct so far? And if so, how would I alter this to validate against the results of a query as opposed to a cfc? I'm a little lost and don't want to jump in using cfcs just yet (I'm still getting my head around fusebox 4). Alternatively, if anyone has a good tutorial or reference on security and validating login information with fusebox 4 I would be most grateful. Regards Mark ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199731 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Grouped output with cfloop?
I'd, first of all, select all the data I needed in one chunk. Nice, locally cached dataset, in RAM, speedy delivery. What happens from there is different based on your first query... is it ordered by your group-by value? If not, I'd do this: Run a query-of-queries to do a distinct select against the column I wanted to loop by. Then, I'd loop over that query using CFLOOP and for every iteration, I'd run a QofQ to select my data from the first query and loop that for output. I know, I know... performance, performance! Yeah, whatever. It's squeaky clean, readable, sensible code. The first query is locally cached and the subsequent queries could be written with CFQUERYPARAM with should enhance performance. If it is... I'd do what Mr. Dawson recommends... just loop over your query and use a cfif to detect whether the currentrow.column value is the same as your groupValue variable. If it's different, output the groupby value, update the variable, and keep looping. If it's the same, skip the group-by value and only output the data. The real question is WHY you wouldn't want to use the cfoutput groupby= parameter... that's what it's there for. Laterz! J On Tue, 22 Mar 2005 09:53:36 -0500, Pete Ruckelshaus [EMAIL PROTECTED] wrote: Is there any way to do grouped query output using cfloop? Reason is that I use a switch/case statement for my page, and wrap the entire thing in a cfoutput tag to make my code more readable. I would like to do something like: cfoutput query=foo group=groupcolumn h1#groupcolumndata#/h1 cfoutput #blah# /cfoutput /cfoutput But I would like to do it with cfloop or some other technique. Is this possible? Thanks Pete ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199732 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Flash datagrid, similar to CF 7
I was thinking of writing a custom tag that would allow users of CFMX 6 and maybe CF 5 to use the Flash datagrid kind of like how CFMX 7 uses datagrids. Has anyone written something like this already? Bob Everland ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199733 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Security permissions, fusebox 4 and cold fusion 5
If you are on CF 5 you can't use CFCs anyway, so there is no question of jumping into them. You'll have to do the query and see if any rows matching the username and password are returned. You'll also have to rewrite any functionality in CreatUserSession(). -Original Message- From: Mark Henderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, 23 March 2005 9:46 To: CF-Talk Subject: Security permissions, fusebox 4 and cold fusion 5 I'm trying to understand a piece of code I came across from a while ago and attempting to apply it to my current situation. Here's the deal. My testing server is mx but work only has version 5 installed, which (unless I'm wrong) means I cannot use cflogin. So, I'm attempting to do this in a more traditional way Here's the code snippet... fuseaction name=validateLogin set name=isValidLogin value=#application.loginManager.checkUserCredentials( attributes.userName, attributes.password )# / if condition=#isValidLogin# true set value=#application.userManager.createUserSession( attributes.userName )# / relocate url=index.cfm?fuseaction=main.loginWelcome / /true false relocate url=index.cfm?fuseaction=main.loginForm / /false /cfif /fuseaction This is referencing what seems to be a cfc called checkUserCredentials (in the login manager fuse) and then sets the value in another cfc when passed (createUserSession in the user manager fuse). First question - do I have this correct so far? And if so, how would I alter this to validate against the results of a query as opposed to a cfc? I'm a little lost and don't want to jump in using cfcs just yet (I'm still getting my head around fusebox 4). Alternatively, if anyone has a good tutorial or reference on security and validating login information with fusebox 4 I would be most grateful. Regards Mark ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199734 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Security permissions, fusebox 4 and cold fusion 5
On Wed, 23 Mar 2005 13:46:19 +1200, Mark Henderson [EMAIL PROTECTED] wrote: I'm trying to understand a piece of code I came across from a while ago and attempting to apply it to my current situation. Here's the deal. My testing server is mx but work only has version 5 installed, which (unless I'm wrong) means I cannot use cflogin. So, I'm attempting to do this in a more traditional way Here's the code snippet... fuseaction name=validateLogin set name=isValidLogin value=#application.loginManager.checkUserCredentials( attributes.userName, attributes.password )# / if condition=#isValidLogin# true set value=#application.userManager.createUserSession( attributes.userName )# / relocate url=index.cfm?fuseaction=main.loginWelcome / /true false relocate url=index.cfm?fuseaction=main.loginForm / /false /cfif /fuseaction This is referencing what seems to be a cfc called checkUserCredentials (in the login manager fuse) and then sets the value in another cfc when passed (createUserSession in the user manager fuse). First question - do I have this correct so far? Seems like it And if so, how would I alter this to validate against the results of a query as opposed to a cfc? You probably need to take the functionality out of the CFC and put into a circuit -- probably one fuseaction per CFC method. You could basically make a circuit in the model portion of your MVC app that maps onto the CFC. Or if it's just these two CFC methods, you could consider just using two UDFs. I'm a little lost and don't want to jump in using cfcs just yet Ummm, if production is CF5, then it's a moot point -- you can't use CFCs in CF5 obviously so you've got no real choice. So cflogin isn't your only problem :) (I'm still getting my head around fusebox 4). Alternatively, if anyone has a good tutorial or reference on security and validating login information with fusebox 4 I would be most grateful. Regards Mark ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199735 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Security permissions, fusebox 4 and cold fusion 5
Ok thanks guys, and pardon my ignorance. I hear what you are saying John Paul, and had figured I'd simply have to check for a recordcount from the query and then use that for my true false switch. snip Ummm, if production is CF5, then it's a moot point -- you can't use CFCs in CF5 obviously so you've got no real choice. So cflogin isn't your only problem :) /snip It's been a while since I've looked at this, but for some reason I thought the old solar system example (running on the 4.0 core files) used cfcs. http://www.cwc.co.nz/fbx/SolarSystem/ adieu Mark ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199736 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Extracting/Replacing URL's from text
Hi folks, I have a routine that needs to scan a body of text, grab all URL's in that text, replace them with a different URL and append the URL found on to the end of the new one. I'm looking specifically for function of CF Tag that will 'replace' URL's in a body of text or at the very least 'extract' them (then I can do the replace with replacenocase). Anyone know of anything? Thanks! Sincerely, Dave Phillips ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199737 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Whitespace Woes
it's not a good idea to call any tag within a CFOUTPUT tag Why not gracious Lord? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199738 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: 32K span If possible, please refactor this component
Anyone have any suggestions? Somone suggested that there might be a limit with the get method, but not the post method. I checked our form method and we are using post. But still get the 32k span error. Given our form is rather large around 6 tabs with full pages of form elements. David - Original Message - From: David Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, March 22, 2005 12:47 PM Subject: 32K span If possible, please refactor this component From what I can tell this is a limit of the flash player. How can you fix this in cfmx 7 flash forms; other then breaking up the form into smaller parts. David ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199739 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: 32K span If possible, please refactor this component
I can say I saw a similar error when tooling around with Flex. Had to do with a hard limit on the size of an xml file used as a model. D On Tue, 22 Mar 2005 22:32:05 -0500, David Brown [EMAIL PROTECTED] wrote: Anyone have any suggestions? Somone suggested that there might be a limit with the get method, but not the post method. I checked our form method and we are using post. But still get the 32k span error. Given our form is rather large around 6 tabs with full pages of form elements. David - Original Message - From: David Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, March 22, 2005 12:47 PM Subject: 32K span If possible, please refactor this component From what I can tell this is a limit of the flash player. How can you fix this in cfmx 7 flash forms; other then breaking up the form into smaller parts. David ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199740 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Extracting/Replacing URL's from text
Does this help? cfset newUrl = http://www.newurl.com; cfset urlToReplace = http://www.oldurl.com; cfset body = String with links in it cfset body = replaceNoCase(body,urlToReplace,(newUrl urlToReplace),ALL) Very small modifications should be made if you are working with url parameters. Micha Schopman Project Manager Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 - Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl - -Original Message- From: Dave Phillips [mailto:[EMAIL PROTECTED] Sent: woensdag 23 maart 2005 4:03 To: CF-Talk Subject: Extracting/Replacing URL's from text Hi folks, I have a routine that needs to scan a body of text, grab all URL's in that text, replace them with a different URL and append the URL found on to the end of the new one. I'm looking specifically for function of CF Tag that will 'replace' URL's in a body of text or at the very least 'extract' them (then I can do the replace with replacenocase). Anyone know of anything? Thanks! Sincerely, Dave Phillips ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199741 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Extracting/Replacing URL's from text
Actually, this is a bit too simplified because what I needed was a way to search for url's in a body of text without knowing what they are. Here's what I came up with...a little custom tag called CF_GetLinkList. If anyone can find holes in this, let me know...so far it seems to be working fairly well...basically, it will take a body of text (html obviously) and pull out all the URL's from that body of text. I'm sure there's something else out there (and maybe something a bit more sophisticated) but this is working for me, for now. After using this tag to get the links, I then loop through the LinkList and replace each one with my new link. Here's the code for the tag in case anyone's interested (this assumes that the first character at the end of an 'href' value will always be either a space, a single quote, a double quote, or a greater than sign. If I need to check for any other possibility, please let me know. !--- cf_getlinksfromtext REQUIRED ATTRIBUTES: TEXT = body of text you wish to search for links OPTIONAL ATTRIBUTES: VAR = name of variable to store the link list - defaults to: LinkList --- CFPARAM NAME=ATTRIBUTES.Var DEFAULT=LinkList CFSET EndListToCheck = chr(32) chr(34) chr(39) chr(62) CFSET NewText = ATTRIBUTES.TEXT CFSET Hit = findnocase(href=,newtext) CFSET temp = SetVariable(caller. ATTRIBUTES.VAR,) CFLOOP CONDITION=Hit CFSET NewText = mid(newtext,Hit+5,len(newtext)) CFIF left(newtext,1) EQ chr(34) OR left(newtext,1) EQ chr(39) CFSET newtext = mid(newtext,2,len(newtext)) /CFIF CFSET EndHit = FindOneOf(EndListToCheck,NewText) CFIF EndHit CFIF NOT ListFindNoCase(Evaluate(Caller. attributes.Var),left(newtext,EndHit-1)) CFSET temp = SetVariable(Caller. attributes.Var,ListAppend(Evaluate(Caller. ATTRIBUTES.VAR),left(newtext,EndHit-1))) /CFIF CFSET NewText = mid(NewText,EndHit,len(NewText)) CFSET Hit = findnocase(href=,NewText) CFELSE CFBREAK /CFIF /CFLOOP ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199742 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54