XSL transformation with parameters (please test this UDF)
Hello folks, I hope you don't mind if I ask for a test of a UDF that I just wrote. It basically allows XSL transformations with the ability to pass parameters to the XSL template. The UDF is available on the italian CFUG website: http://www.cfmentor.com/code/index.cfm?action=scriptid=123 In case you would like to see it in action please try this: http://www.massimocorner.com/demos/xslTransformPlus.zip It include a copy of the UDF and a sample demo. Any feedback is appreciated. BTW Due to the way CF return struct's keys without being case sensitive, I forced all the parameters's names to be lower case. I would be more than glad to hear about any alternative Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Very unsatisfied with Macromedia's support attention ...
I believe the connector scripts are intended to take care of that. - Original Message - From: Doug White [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, June 08, 2003 8:53 AM Subject: Re: Very unsatisfied with Macromedia's support attention ... snip Third, how does one convert the stand alone installation to a normal IIS installation? Am I stuck with ports 8500? snip ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
get path to root for any node using Xpath
How can I get the absolute path to the root node for any given element in an XML doc? For example, using the sample xml data below: root car engine/ tyres/ gears/ /car /root I want to know all of the parents/ancestors of the tyres node and get it's absolute path. i.e. \root\car\tyres. Can you use Axes with CFMX http://www.w3.org/TR/xpath#axes Thanks ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Regex
Yet another regex... Is there a tutorial anywhere on them so I can learn to do them myself? Right, basically I'm using the CGI.SCRIPT_NAME variable to determine the directory that a file is in, and do some database selecting as appropriate... So, I need to strip the CGI.SCRIPT_NAME variable to just give me the first directory... Ie /blah/index.cfm blah TIA Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Regex
How about something like CFSET sDir = ListLast(GetDirectoryFromPath(GetCurrentTemplatePath()), /) HTH -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 10:36 To: CF-Talk Subject: Regex Yet another regex... Is there a tutorial anywhere on them so I can learn to do them myself? Right, basically I'm using the CGI.SCRIPT_NAME variable to determine the directory that a file is in, and do some database selecting as appropriate... So, I need to strip the CGI.SCRIPT_NAME variable to just give me the first directory... Ie /blah/index.cfm blah TIA Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Regex
The only initial trouble with this is that if the file is in the root of the site this function will return the wwwroot or whatever your root folder is called... And I just noticed the delimiter should be \ CFSET sDir = ListLast(GetDirectoryFromPath(GetCurrentTemplatePath()), \) HTH -Original Message- From: Mike Townend [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 10:44 To: CF-Talk Subject: RE: Regex How about something like CFSET sDir = ListLast(GetDirectoryFromPath(GetCurrentTemplatePath()), /) HTH -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 10:36 To: CF-Talk Subject: Regex Yet another regex... Is there a tutorial anywhere on them so I can learn to do them myself? Right, basically I'm using the CGI.SCRIPT_NAME variable to determine the directory that a file is in, and do some database selecting as appropriate... So, I need to strip the CGI.SCRIPT_NAME variable to just give me the first directory... Ie /blah/index.cfm blah TIA Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Regex
It won't be in the wwwroot, so that¹s great. Thanks. Ryan On 9/6/03 10:48, Mike Townend [EMAIL PROTECTED] wrote: The only initial trouble with this is that if the file is in the root of the site this function will return the wwwroot or whatever your root folder is called... And I just noticed the delimiter should be \ CFSET sDir = ListLast(GetDirectoryFromPath(GetCurrentTemplatePath()), \) HTH -Original Message- From: Mike Townend [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 10:44 To: CF-Talk Subject: RE: Regex How about something like CFSET sDir = ListLast(GetDirectoryFromPath(GetCurrentTemplatePath()), /) HTH -Original Message- From: Ryan Mitchell [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 10:36 To: CF-Talk Subject: Regex Yet another regex... Is there a tutorial anywhere on them so I can learn to do them myself? Right, basically I'm using the CGI.SCRIPT_NAME variable to determine the directory that a file is in, and do some database selecting as appropriate... So, I need to strip the CGI.SCRIPT_NAME variable to just give me the first directory... Ie /blah/index.cfm blah TIA Ryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
0ut 0f 0ffice Dates
Hi, Sorry for the x-post I was wondering if anyone has an idea as to how I can do this. Currently I have a task system whereby you can allocate jobs to users, we have a table that can record that you are 0ut of the 0ffice for a specified time, I need to workout if a user is 0ut of the 0ffice between Now() and a deadline so that an administrator can be informed... Currently I have this as a query SELECT * FROM 0ut0f0ffice WHERE UserID = 6 AND (0ut0f0fficeFrom = {d '2003-06-06'} AND 0ut0f0fficeTo = {d '2003-06-10'}) Now this works if you are 0ut of the 0ffice between now and the deadline in one go. i.e. 05/06/2003 - 13/06/2003 - Seminar. But if a person sets up their out of office like this: 05/06/2003 - 08/06/2003 - Seminar 1 09/06/2003 - 13/06/2003 - Seminar 1 They are 0ut of the 0ffice and so cant get the task done, but the above query wont pick this up therefore cannot inform anyone. Has any one got any ideas as to how to tackle this? BTW if the users OOO setup is something like.. 05/06/2003 - 06/06/2003 - Seminar 1 09/06/2003 - 13/06/2003 - Seminar 1 Then they are in the office at some point therefore could do the task so I don't want this to be included in the query... TIA Mikey ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: 0ut 0f 0ffice Dates
Mike Townend wrote: Sorry for the x-post x-posted to what? I was wondering if anyone has an idea as to how I can do this. Currently I have a task system whereby you can allocate jobs to users, we have a table that can record that you are 0ut of the 0ffice for a specified time, I need to workout if a user is 0ut of the 0ffice between Now() and a deadline so that an administrator can be informed... Currently I have this as a query SELECT * FROM 0ut0f0ffice WHERE UserID = 6 AND (0ut0f0fficeFrom = {d '2003-06-06'} AND 0ut0f0fficeTo = {d '2003-06-10'}) Now this works if you are 0ut of the 0ffice between now and the deadline in one go. i.e. 05/06/2003 - 13/06/2003 - Seminar. But if a person sets up their out of office like this: 05/06/2003 - 08/06/2003 - Seminar 1 09/06/2003 - 13/06/2003 - Seminar 1 They are 0ut of the 0ffice and so cant get the task done, but the above query wont pick this up therefore cannot inform anyone. Has any one got any ideas as to how to tackle this? Does your database support the OVERLAPS predicate? Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: 0ut 0f 0ffice Dates
It was sent to cf-sql.. We're using SQLServer 2K -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 13:10 To: CF-Talk Subject: Re: 0ut 0f 0ffice Dates Mike Townend wrote: Sorry for the x-post x-posted to what? I was wondering if anyone has an idea as to how I can do this. Currently I have a task system whereby you can allocate jobs to users, we have a table that can record that you are 0ut of the 0ffice for a specified time, I need to workout if a user is 0ut of the 0ffice between Now() and a deadline so that an administrator can be informed... Currently I have this as a query SELECT * FROM 0ut0f0ffice WHERE UserID = 6 AND (0ut0f0fficeFrom = {d '2003-06-06'} AND 0ut0f0fficeTo = {d '2003-06-10'}) Now this works if you are 0ut of the 0ffice between now and the deadline in one go. i.e. 05/06/2003 - 13/06/2003 - Seminar. But if a person sets up their out of office like this: 05/06/2003 - 08/06/2003 - Seminar 1 09/06/2003 - 13/06/2003 - Seminar 1 They are 0ut of the 0ffice and so cant get the task done, but the above query wont pick this up therefore cannot inform anyone. Has any one got any ideas as to how to tackle this? Does your database support the OVERLAPS predicate? Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Microsoft Excel DSN
Hi, I'm unable to make dsn in CFMX of Microsoft Excel sheet. If I do it through ODBC Datasource Administrator, then CF does not recognise it and throws error Data source 'import' could not be found. Actually I'm uploading an excel sheet from client's m/c renaming it to my dsn file name and then thru cfquery tag I read the records in it. The same thing I did it w/ cfobject tag but till date I'm unable to resolve MX issues related to COM objects(working fine in CF5.0), so I thought doing it ODBC way. regards, badal Tyagi, HCL Perot Systems, Noida, India ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to add shortcuts to snippets in DW MX
Massimo, Since you seem to know a lot about some pretty complicated issues in dreamweaver maybe you can provide an answer. Do you know of any way to add the Ctrl-M feature of CFStudio and Homesite (when in a tag, jump to it's closing tag)? I have to review and maintain a LOT of code created by contractors and this feature is critical. It's the only reason why I haven't moved to dreamweaver mx (it's installed, just not used). I'm using homesite+ instead. Thanks, Steve -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 10:37 AM To: CF-Talk Subject: How to add shortcuts to snippets in DW MX I know many people complain about this, so, since I tried to cover the issue in the past, I summarized everything in a single post. I hope it could be help to fellow developers. Please be free to share this everywhere and post it on blogs as you see fit (if possible include the whole post, no editing please) Adding keyboard shortcuts to snippets is possible with DW MX as well, it's just a painful process... Here it is: 1) Go in Design View (in order to enable the History Panel) 2) Insert a Snippet 3) Now inside the History Panel you should have an entry for the snippets insertion 4) Select the entry in the panel and, from the contextual menu, choose Copy Steps 5) Open an external text editor (Notepad would be fine) and paste 6) Inside the text editor you should now see the API call to the snippet, something like this: dw.snippetPalette.insertSnippet('MyFolder\\MySnippet.csn'); 7) Quit DW 8) Open the monster menus.xml file inside you local configuration, typically: C:\Documents and Settings\username\Application Data\Macromedia\Dreamweaver MX\Configuration\Menus\Menus.xml For more details read: http://www.macromedia.com/support/dreamweaver/ts/documents/multiuser.htm 9) At the very top of the monster menus.xml you can find many entries for keyboard shortcuts, add something along these lines: shortcut key=your key combination here command=dw.snippetPalette.insertSnippet('MyFolder\\MySnippet.csn') name=My powerful snippet id=anUniqueID / 10) Restart DW, you are done Final notes: - Be careful editing menus.xml, never open it in DW! - Always back up the menus file, DW does it automatically (see Menus.xbk) - Be careful identifying keyboard combination not already in use - Each id inside menus.xml must be unique, valid JavaScript variable name My considerations: Q: Is it worth? A: It depends, for me it isn't, but I am definitely a mouse user Q: Is it a painstaking process? A: Yes, it is Q: Shouldn't be easier? A: Yes, sure, anything is better than this Q: Shouldn't DW expose this capability from a GUI? A: Sure, I vote for it! Q: What we can do? A: Ask MM, send them hundreds of requests: http://www.macromedia.com/support/email/wishform/ Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: 0ut 0f 0ffice Dates
Mike Townend wrote: We're using SQLServer 2K If it support OVERLAPS (check the manual) it would be something like: WHERE UserID = 6 AND (0ut0f0fficeFrom,0ut0f0fficeTo) OVERLAPS ('2003-06-06','2003-06-10') Else, how about: SELECT * FROM 0ut0f0ffice WHERE UserID = 6 AND 0ut0f0fficeFrom BETWEEN '2003-06-06' AND '2003-06-10' OR 0ut0f0fficeTo BETWEEN '2003-06-06' AND '2003-06-10' Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Named Pipes
In CF 5 can I specify named pipes instead of the ip address for an odbc datasource? I don't see the option so I'm just double-checking. TIA, Rob _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: 0ut 0f 0ffice Dates
Ok, I now have DECLARE @Now AS DateTime DECLARE @DeadLine AS DateTime DECLARE @UserID AS Int SET @Now = {d '2003-05-15'} SET @Deadline = {d '2003-05-25'} SET @UserID = 6 SELECT * FROM OutOfOffice WHERE UserID = @UserID AND ( (OutOfOfficeTo BETWEEN @Now AND @DeadLine) OR (OutOfOfficeFrom BETWEEN @Now AND @DeadLine) ) Which gets me all OOO periods between 2 dates, what I need to do now is check that if there is more than one, that the dates are sequential is this possible? Or should I do the processing on the CF side? -Original Message- From: Mike Townend [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 13:25 To: CF-Talk Subject: RE: 0ut 0f 0ffice Dates It was sent to cf-sql.. We're using SQLServer 2K ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Named Pipes
You can configure that from Control Panel/ODBC. And, from my experience, once you configure a SQL datasource as TCP/IP in ODBC all subsequent datasources are configured the same way. 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 is Coming ((())) Please vote for iMS here: http://www.sys-con.com/coldfusion/readerschoice2003/index.cfm Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm - Original Message - From: Robert Shaw [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 9:02 AM Subject: Named Pipes In CF 5 can I specify named pipes instead of the ip address for an odbc datasource? I don't see the option so I'm just double-checking. TIA, Rob _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Verity Indexing and Searching
I have created a Verity (SQL Data) that I index once a day separate from the search. Then on the website I run the CFSEARCH tag against it but it doesn't search out all keywords. If I search for Blue I get back anything with Blue in it. If I search for Blue Ear I get back anything with Blue Ear but not My ear is blue I thought Verity was supposed to return results in that matter by relevance? This is the search tag on the search page. cfsearch collection=BE_SearchAll criteria=#criteria# name=SearchResults type=EXPLICIT I also tried Simple. !--- The file that runs daily is: --- cfquery datasource=BlueNew name=QryGetNewPost SELECT ListMessages.MessageGUID, ListMessages.EntryDate, ListMessages.Subject, ListMessages.Body, ListMessages.MemberID FROM ListMessages WHERE (Blocked = 0 AND Hold = 0) /cfquery cfindex query=QryGetNewPost action=UPDATE key=MessageGUID collection=BE_SearchAll title=Subject type=CUSTOM body=Subject,Body custom1=EntryDate custom2=MemberID Rick ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: 0ut 0f 0ffice Dates
Mike Townend wrote: SELECT * FROM OutOfOffice WHERE UserID = @UserID AND ( (OutOfOfficeTo BETWEEN @Now AND @DeadLine) OR (OutOfOfficeFrom BETWEEN @Now AND @DeadLine) ) Which gets me all OOO periods between 2 dates, what I need to do now is check that if there is more than one, that the dates are sequential is this possible? Or should I do the processing on the CF side? How about checking that the number of days somebody is OOO is equal to the number of days between now and the deadline? If that serves your purpose, use the query below (check the datediff syntax, I don't use non-standard date functionality very often). SELECT SUM(DateDiff(d,MAX(OutOfOfficeFrom, @Now),Min(OutOfOfficeTo, @DeadLine))) FROM OutOfOffice WHERE UserID = @UserID AND ( (OutOfOfficeTo BETWEEN @Now AND @DeadLine) OR (OutOfOfficeFrom BETWEEN @Now AND @DeadLine) ) Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: 0ut 0f 0ffice Dates
Like the sound of the logic, however the code doesn't run on SQL2K as the Max (and therefore Min) functions only take the one parameter and so is not running :( -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 14:26 To: CF-Talk Subject: Re: 0ut 0f 0ffice Dates How about checking that the number of days somebody is OOO is equal to the number of days between now and the deadline? If that serves your purpose, use the query below (check the datediff syntax, I don't use non-standard date functionality very often). SELECT SUM(DateDiff(d,MAX(OutOfOfficeFrom, @Now),Min(OutOfOfficeTo, @DeadLine))) FROM OutOfOffice WHERE UserID = @UserID AND ( (OutOfOfficeTo BETWEEN @Now AND @DeadLine) OR (OutOfOfficeFrom BETWEEN @Now AND @DeadLine) ) Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Where DO you put beta software?
On Friday, Jun 6, 2003, at 15:57 US/Pacific, Mike Kear wrote: And what do you do on the beta machines? DO you do 'real' work on them to test them in 'real life' situations or do you only do dummy work on them? Since all my installations are CFMX for J2EE, I have a bunch of different versions installed on the same machine since they cannot interfere with each other. Sean A Corfield -- http://www.corfield.org/blog/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: 0ut 0f 0ffice Dates
Mike Townend wrote: Like the sound of the logic, however the code doesn't run on SQL2K as the Max (and therefore Min) functions only take the one parameter and so is not running :( Use CASE. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Regex
I saw that you got an answer to this, and it's basically the same one I would have given, so I won't talk about script names. I will say that there are a number of places to learn about regex. If you are running CFMX, or if you want to learn about regex in general, and not necessarily CF regex specifically, then I'd reccommend Mastering Regular Expressions 2ed from O'Reilly. Pretty good book, and the best I've seen about RE. If you are running CF5 (or IIRC CF 4.5) you should check out Micheal Dinowitz's tutorial on House of Fusion. It's pretty decent as a beginner's guide as I recall. Either way, if you want to learn about them, I highly reccommend the HoF RegEx list: http://www.houseoffusion.com/cf_lists/index.cfm?method=threadsforumid=21 where several of us (by which I mean really sharp regex people) are happy to discuss how to do something and why that works. They've even helped me debug a new, more accurate email validation regex (check the archives, folks!), so they are pretty useful guys. :-) HTH. -- Ben Doom Programmer General Lackey Moonbow Software, Inc : -Original Message- : From: Ryan Mitchell [mailto:[EMAIL PROTECTED] : Sent: Monday, June 09, 2003 5:36 AM : To: CF-Talk : Subject: Regex : : : Yet another regex... Is there a tutorial anywhere on them so I : can learn to : do them myself? : : Right, basically I'm using the CGI.SCRIPT_NAME variable to determine the : directory that a file is in, and do some database selecting as : appropriate... : : So, I need to strip the CGI.SCRIPT_NAME variable to just give me the first : directory... : : Ie /blah/index.cfm blah : : TIA : Ryan : : ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Named Pipes
In CF 5 can I specify named pipes instead of the ip address for an odbc datasource? I don't see the option so I'm just double-checking. Yes, in CF 5, if you're using ODBC to talk to SQL Server, for example, you can use any networking protocol that SQL Server and ODBC support. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: 0ut 0f 0ffice Dates
Thanks very much, what I have at the moment is DECLARE @Now AS DateTime DECLARE @DeadLine AS DateTime DECLARE @UserID AS Int SET @Now = {d '2003-05-15'} SET @Deadline = {d '2003-05-25'} SET @UserID = 6 SELECT SUM(DateDiff(d, CASE WHEN OutOfOfficeFrom = @Now THEN OutOfOfficeFrom WHEN @Now = OutOfOfficeFrom THEN @Now END, CASE WHEN OutOfOfficeTo = @DeadLine THEN OutOfOfficeTo WHEN @DeadLine = OutOfOfficeTo THEN @DeadLine END)) AS iDaysOut, DateDiff(d, @Now, @DeadLine) AS iDifference FROM OutOfOffice WHERE UserID = @UserID AND ( (OutOfOfficeTo BETWEEN @Now AND @DeadLine) OR (OutOfOfficeFrom BETWEEN @Now AND @DeadLine) ) And this seems to be working :) Thanks again Jochem -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 14:42 To: CF-Talk Subject: Re: 0ut 0f 0ffice Dates Mike Townend wrote: Like the sound of the logic, however the code doesn't run on SQL2K as the Max (and therefore Min) functions only take the one parameter and so is not running :( Use CASE. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfc woes
Unfortunately, CF will only check the local directory for the CFC, or the cfc/custom tag mappings in the administrator. It will not search recursively down from the current folder, i.e.: testSite.cfcs.client. You should ask your hosting provider to set up at least one mapping for you. I'd recommend they map / as the folder that they store everyone else's websites in, since most providers use other folders besides the default webroot. This way you, and everyone else on the (assumed) shared server, can do exactly what you are talking about. If they won't do this for you, then you need to change up your hosting partners- Tyler - Original Message - From: Michael Tangorre [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, June 06, 2003 10:44 PM Subject: cfc woes Can someone help me figure out why this is not working.. cfset clientObj = CreateObject(component,testSite.cfcs.client) / My directory structure is set up as follows: C:\inetpub\wwwroot\testSite\cfcs I get an error saying Could not find the ColdFusion Component testSite.cfcs.client Am I not using the correct notation? TIA, Mike ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Path to CFC working on dev, not QA
You know, I saw the thread on creating a mapping for the CFC, but for some reason, I thought my problem was different. Turns out my problem wasn't that different. And, apparently, if I'd bothered to search my host's knowledge base, I could have avoided sending out the e-mail entirely. Thanks! Scott Brady (who feels a bit silly right now) - Scott Brady http://www.scottbrady.net/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to add shortcuts to snippets in DW MX
Do you know of any way to add the Ctrl-M feature of CFStudio and Homesite (when in a tag, jump to it's closing tag)? I don't know a way to do it, sorry Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to add shortcuts to snippets in DW MX
Does the feature exist in Dreamweaver? Ie theres a menu option somewhere that does this? -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 15:32 To: CF-Talk Subject: Re: How to add shortcuts to snippets in DW MX Do you know of any way to add the Ctrl-M feature of CFStudio and Homesite (when in a tag, jump to it's closing tag)? I don't know a way to do it, sorry Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to add shortcuts to snippets in DW MX
You can graphically emulate it using the code inspector. What's nice about that is, you can tell at a glance, which tags aren't closed. -Original Message- From: Mike Townend [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 9:39 AM To: CF-Talk Subject: RE: How to add shortcuts to snippets in DW MX Does the feature exist in Dreamweaver? Ie theres a menu option somewhere that does this? -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Monday, June 9, 2003 15:32 To: CF-Talk Subject: Re: How to add shortcuts to snippets in DW MX Do you know of any way to add the Ctrl-M feature of CFStudio and Homesite (when in a tag, jump to it's closing tag)? I don't know a way to do it, sorry Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Verity Indexing and Searching
Rick, here's what I run on my search input before submitting it to cfsearch. There may be an attribute in cfsearch that does this automatically, but I wasn't sure of what it was. cfif NOT (findnocase( AND ,attributes.criteria) OR findnocase( OR ,attributes.criteria)) cfset variables.searchCriteria = ListChangeDelims(attributes.searchCriteria, AND , ) /cfif cfsearch name = searchResults collection = dbContent,fileContent criteria = #lcase(variables.searchCriteria)# Adam. -Original Message- From: cfhelp [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 8:20 AM To: CF-Talk Subject: Verity Indexing and Searching I have created a Verity (SQL Data) that I index once a day separate from the search. Then on the website I run the CFSEARCH tag against it but it doesn't search out all keywords. If I search for Blue I get back anything with Blue in it. If I search for Blue Ear I get back anything with Blue Ear but not My ear is blue I thought Verity was supposed to return results in that matter by relevance? This is the search tag on the search page. cfsearch collection=BE_SearchAll criteria=#criteria# name=SearchResults type=EXPLICIT I also tried Simple. !--- The file that runs daily is: --- cfquery datasource=BlueNew name=QryGetNewPost SELECT ListMessages.MessageGUID, ListMessages.EntryDate, ListMessages.Subject, ListMessages.Body, ListMessages.MemberID FROM ListMessages WHERE (Blocked = 0 AND Hold = 0) /cfquery cfindex query=QryGetNewPost action=UPDATE key=MessageGUID collection=BE_SearchAll title=Subject type=CUSTOM body=Subject,Body custom1=EntryDate custom2=MemberID Rick ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Very unsatisfied with Macromedia's support attention ...
Third, how does one convert the stand alone installation to a normal IIS installation? Am I stuck with ports 8500? No, you can configure CFMX to use whatever web server you like, after installing CFMX - you don't have to do it during the CFMX installation: http://www.macromedia.com/support/coldfusion/ts/documents/connector_install_ faq.htm Once you've configured your web server, you can disable the built-in web server if you like: http://www.macromedia.com/support/coldfusion/adv_development/config_builtin_ webserver/ Personally, when installing CFMX on Windows, I've generally done the web server configuration after installing CFMX and Updater 3. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to add shortcuts to snippets in DW MX
Control M would be a nice feature. You may already know about this feature which is similar. Beneath the file name tabs and above the properties window is a list of tags in the document. If you click one of these tags, it will highlight everything between the tags. -Original Message- From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 8:50 AM To: CF-Talk Subject: RE: How to add shortcuts to snippets in DW MX Massimo, Since you seem to know a lot about some pretty complicated issues in dreamweaver maybe you can provide an answer. Do you know of any way to add the Ctrl-M feature of CFStudio and Homesite (when in a tag, jump to it's closing tag)? I have to review and maintain a LOT of code created by contractors and this feature is critical. It's the only reason why I haven't moved to dreamweaver mx (it's installed, just not used). I'm using homesite+ instead. Thanks, Steve -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 10:37 AM To: CF-Talk Subject: How to add shortcuts to snippets in DW MX I know many people complain about this, so, since I tried to cover the issue in the past, I summarized everything in a single post. I hope it could be help to fellow developers. Please be free to share this everywhere and post it on blogs as you see fit (if possible include the whole post, no editing please) Adding keyboard shortcuts to snippets is possible with DW MX as well, it's just a painful process... Here it is: 1) Go in Design View (in order to enable the History Panel) 2) Insert a Snippet 3) Now inside the History Panel you should have an entry for the snippets insertion 4) Select the entry in the panel and, from the contextual menu, choose Copy Steps 5) Open an external text editor (Notepad would be fine) and paste 6) Inside the text editor you should now see the API call to the snippet, something like this: dw.snippetPalette.insertSnippet('MyFolder\\MySnippet.csn'); 7) Quit DW 8) Open the monster menus.xml file inside you local configuration, typically: C:\Documents and Settings\username\Application Data\Macromedia\Dreamweaver MX\Configuration\Menus\Menus.xml For more details read: http://www.macromedia.com/support/dreamweaver/ts/documents/multiuser.htm 9) At the very top of the monster menus.xml you can find many entries for keyboard shortcuts, add something along these lines: shortcut key=your key combination here command=dw.snippetPalette.insertSnippet('MyFolder\\MySnippet.csn') name=My powerful snippet id=anUniqueID / 10) Restart DW, you are done Final notes: - Be careful editing menus.xml, never open it in DW! - Always back up the menus file, DW does it automatically (see Menus.xbk) - Be careful identifying keyboard combination not already in use - Each id inside menus.xml must be unique, valid JavaScript variable name My considerations: Q: Is it worth? A: It depends, for me it isn't, but I am definitely a mouse user Q: Is it a painstaking process? A: Yes, it is Q: Shouldn't be easier? A: Yes, sure, anything is better than this Q: Shouldn't DW expose this capability from a GUI? A: Sure, I vote for it! Q: What we can do? A: Ask MM, send them hundreds of requests: http://www.macromedia.com/support/email/wishform/ Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: How to add shortcuts to snippets in DW MX
Can I assign the Alt key to snippets with this method? I really really want to use the alt+3 for ##. I have a series of snippets mapped to alt keystrokes. Not being able to assign the snippets to the keyboard shortcuts I use in studio is one of the main reasons that I have not moved to DW. And I WILL NOT until this is fixed. Yes, I know that I could learn new shortcuts but, my big meaty hands hurt trying to contort to use ctrl+shift+3 for ##. Mark W. Breneman -Macromedia Certified ColdFusion Developer -Network / Web Server Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 -Original Message- From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 7:50 AM To: CF-Talk Subject: RE: How to add shortcuts to snippets in DW MX Massimo, Since you seem to know a lot about some pretty complicated issues in dreamweaver maybe you can provide an answer. Do you know of any way to add the Ctrl-M feature of CFStudio and Homesite (when in a tag, jump to it's closing tag)? I have to review and maintain a LOT of code created by contractors and this feature is critical. It's the only reason why I haven't moved to dreamweaver mx (it's installed, just not used). I'm using homesite+ instead. Thanks, Steve -Original Message- From: Massimo, Tiziana e Federica [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 10:37 AM To: CF-Talk Subject: How to add shortcuts to snippets in DW MX I know many people complain about this, so, since I tried to cover the issue in the past, I summarized everything in a single post. I hope it could be help to fellow developers. Please be free to share this everywhere and post it on blogs as you see fit (if possible include the whole post, no editing please) Adding keyboard shortcuts to snippets is possible with DW MX as well, it's just a painful process... Here it is: 1) Go in Design View (in order to enable the History Panel) 2) Insert a Snippet 3) Now inside the History Panel you should have an entry for the snippets insertion 4) Select the entry in the panel and, from the contextual menu, choose Copy Steps 5) Open an external text editor (Notepad would be fine) and paste 6) Inside the text editor you should now see the API call to the snippet, something like this: dw.snippetPalette.insertSnippet('MyFolder\\MySnippet.csn'); 7) Quit DW 8) Open the monster menus.xml file inside you local configuration, typically: C:\Documents and Settings\username\Application Data\Macromedia\Dreamweaver MX\Configuration\Menus\Menus.xml For more details read: http://www.macromedia.com/support/dreamweaver/ts/documents/multiuser.htm 9) At the very top of the monster menus.xml you can find many entries for keyboard shortcuts, add something along these lines: shortcut key=your key combination here command=dw.snippetPalette.insertSnippet('MyFolder\\MySnippet.csn') name=My powerful snippet id=anUniqueID / 10) Restart DW, you are done Final notes: - Be careful editing menus.xml, never open it in DW! - Always back up the menus file, DW does it automatically (see Menus.xbk) - Be careful identifying keyboard combination not already in use - Each id inside menus.xml must be unique, valid JavaScript variable name My considerations: Q: Is it worth? A: It depends, for me it isn't, but I am definitely a mouse user Q: Is it a painstaking process? A: Yes, it is Q: Shouldn't be easier? A: Yes, sure, anything is better than this Q: Shouldn't DW expose this capability from a GUI? A: Sure, I vote for it! Q: What we can do? A: Ask MM, send them hundreds of requests: http://www.macromedia.com/support/email/wishform/ Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Xalan and ColdFusion
Does anyone know where the class files are stored for Xalan in CFMX? I ask because I'm using some Xalan functions in my XSLT's and if I wanted to update Xalan to another version where would I have to look to update the class files. Thanks Bryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to add shortcuts to snippets in DW MX
Does the feature exist in Dreamweaver? Ie theres a menu option somewhere that does this? No, it doesn't, that's why my answer is negative. Assigning a shortcut to an existing command isn't a problem, but in this case the command isn't available. It could be emulated with a dedicated extension, but it's not a piece of cake Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How to add shortcuts to snippets in DW MX
Mark W. Breneman [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can I assign the Alt key to snippets with this method? Sure. But you first of all need to be sure the same combination isn't used elsewhere. You can do this both editing menus.xml and using: Edit Keyboard Shortcuts -- Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Recipes Application?
I have a recipes app that's pretty nice. It has a large set of features and room to grow. Written in Fusebox 3 and currently uses an access DB. Let me know Chris if you want a copy, i'll send it to you via email or something. Mike Mertsock Alfred University Web Team [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
looking for cold fusion server5.0
looking for license and discs for server 5.0, our 4.5 is letting us down, contact me at [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfpop
Can anyone shed some light into my issue: I am using CFPOP to poll an email account and get the attachments from the email onto the server into a directory. I have verified that: the email does have an attachment the directory to save the attached file is correct a copy of the email is left on the server (so I can verify it through outlook.. and I have verified that the attachment is there). When I output the query.attachmentfiles and query.attachmentments nothing is output... in addition, no files are in the directory specified to save the attachments too. Code is below: cfpop action=GETALL name=getReport [EMAIL PROTECTED] password=somepassword server=someserver.com attachmentpath=D:\http\somesite\reportFiles cfoutput query=getReport #getReport.header# br #getReport.attachments# #getReport.attachmentFiles#br /cfoutput The header information is displayed, but nothing about the attachment. Any ideas? Mike ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Very unsatisfied with Macromedia's support attention ...
Hehe I hear ya...but I didn't realize my short fuse until I yelled at my dog for the stupidest thing today...she just looked at me like, ok buddy what's your problem?? hehe...poor lil' pooch. It's ok though, I went out and bought her some denti-bones. ;) I support your efforts, Stacy, and others who are quitting smoking (and wish you the best of luck). But the conversation is now Way off Topic for this technical list. So please keep all comments strictly technical or move it to community. Thanks, Judith ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Context validation error for tag cfif
Received this error this morning when browsing to cfm pages. As far as I can tell, nothing has changed, but this error has suddenly shown up out of nowhere, and no cfm pages can be viewed. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Context validation error for tag cfif
Received this error this morning when browsing to cfm pages. As far as I can tell, nothing has changed, but this error has suddenly shown up out of nowhere, and no cfm pages can be viewed. Do you have an error in your Application.cfm? The error message should give you an idea where the error might be. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfform problem
Hello All, I'm running into a problem with cfform after we moved to MX... users are getting object expected js errors now. Any ideas? Here is how I'm using it: cfinput type=Text Required=Yes Message=Total Number of Leases Expiring in 60 Days is a required field and must be a whole number. name=Exp60 value=#Variables.iExp60# size=4 tabindex=65 validate=integer Thanks, Tim ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Context validation error for tag cfif
Speaking of application.cfm, don't stop considering that if there is no application.cfm in the directory in question. If ColdFusion does not find an application.cfm in the current directory, I believe it will begin searching parent folders for an application.cfm and will run the first one it finds. It may even traverse up beyond your web root folder. (Thank you whomever posted this fact - I read about this initially on cf-talk a while ago). So be sure to consider this fact. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Recipes Application?
I've got about 4 replies asking for copies, so I'm putting a copy available through the web. It's at http://jobs.alfred.edu/~mjm2/recipes.zip. The app is fully operational. It's meant for personal use - within a household, more or less. I'm not sure how well it would scale to a public multi-user environment. A few other notes: * When I first created it, I misspelled recipes as recipies. There are still a few misspelled files and such in the zip file attached. * The worst part of it is adding/removing ingredients and preparation steps. The current interface works nicely but it's not very intuitive - I definitely agree with other posts that it is hard to design a good interface for creating recipes. Mike Mertsock Alfred University Web Team [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Recipes Application?
Hey Mike... thanks for syaing hi :-) Email me off list sometime. - Original Message - From: Mike Mertsock [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:57 PM Subject: Recipes Application? I've got about 4 replies asking for copies, so I'm putting a copy available through the web. It's at http://jobs.alfred.edu/~mjm2/recipes.zip. The app is fully operational. It's meant for personal use - within a household, more or less. I'm not sure how well it would scale to a public multi-user environment. A few other notes: * When I first created it, I misspelled recipes as recipies. There are still a few misspelled files and such in the zip file attached. * The worst part of it is adding/removing ingredients and preparation steps. The current interface works nicely but it's not very intuitive - I definitely agree with other posts that it is hard to design a good interface for creating recipes. Mike Mertsock Alfred University Web Team [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Context validation error for tag cfif
Apparently something is hosed deep in our server. At 12:48 PM 6/9/2003 -0400, you wrote: Speaking of application.cfm, don't stop considering that if there is no application.cfm in the directory in question. If ColdFusion does not find an application.cfm in the current directory, I believe it will begin searching parent folders for an application.cfm and will run the first one it finds. It may even traverse up beyond your web root folder. (Thank you whomever posted this fact - I read about this initially on cf-talk a while ago). So be sure to consider this fact. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
checking if cfapplication has run
Hi, I have a custom tag that wants to use application variables (for performance). Since you need to run a cfapplication tag to use the application scope, it needs to somehow check if that tag has run. I have no clue how to do this. Is it possible? Also, just to make sure - custom tags do have normal access to the application scope, correct? Thank you Mike Mertsock Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: checking if cfapplication has run
Custom tags have application scope access. To check for existance, I've always used: isDefined(application.applicationname) --- Barney Boisvert, Senior Development Engineer AudienceCentral (formerly PIER System, Inc.) [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com -Original Message- From: Mike Mertsock [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 10:02 AM To: CF-Talk Subject: checking if cfapplication has run Hi, I have a custom tag that wants to use application variables (for performance). Since you need to run a cfapplication tag to use the application scope, it needs to somehow check if that tag has run. I have no clue how to do this. Is it possible? Also, just to make sure - custom tags do have normal access to the application scope, correct? Thank you Mike Mertsock Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Tracking Sessions
What strategies does everyone use for tracking who is on your site at a given time? For instance, let's say someone wanted a count of the users who are currently logged in, how should one go about doing this? Currently, what I do is create a application array that stores a username and the time the user last requested a Web page (called tolr). With each page request, the system purges records in the array whose tolr has exceeded the session timeout for the application. This doesn't seem to me like the best way to handle the matter - obviously, users could leave the site long before their tolr runs out. Anyone have any ideas? M ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Program spec
I need to make up a program spec, does anyone have one that they have made and would like to share so I can see how to make one. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Permissions
On a *nix based system, can the permissions of the various files associated with Cold Fusion affect its ability to run? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
On a *nix based system, can the permissions of the various files associated with Cold Fusion affect its ability to run? Of course it can, if I'm reading your statement correctly. If the user that ColdFusion runs under doesn't have permission to read/write/execute a particular file, the application server will rightly choke on startup. Can you post some examples of what you're talking about if you're having problems? _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: get path to root for any node using Xpath
Paul Wilson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] root car engine/ tyres/ gears/ /car /root I want to know all of the parents/ancestors of the tyres node and get it's absolute path. i.e. \root\car\tyres. Can you use Axes with CFMX http://www.w3.org/TR/xpath#axes Sure, you can use Axes. Just keep in mind that XmlSearch() always pretend to return a nodelist, in case the XPath expression return a string or a number, it throws an error (I learned it the hard way) Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
checking if cfapplication has run
I tried it out and gave the error The requested scope application has not been enabled. This was with absolutely no cfapplication tag on any included template or in application.cfm. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
How about if the mail files in the /coldfusion/mail/spool directory aren't 'moveable' by CF, it pukes itself to death? ;) On a *nix based system, can the permissions of the various files associated with Cold Fusion affect its ability to run? Of course it can, if I'm reading your statement correctly. If the user that ColdFusion runs under doesn't have permission to read/write/execute a particular file, the application server will rightly choke on startup. Can you post some examples of what you're talking about if you're having problems? _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfpop issue appended :-)
I am polling an email box using cfpop to get to an email containing a report I need to parse. Here is the issue: when the 3rd party service provider sends the email, I notice the following: Thanks, Michael Tangorre [EMAIL PROTECTED] www.realmagnet.com work - 202-244-7845 fax - 202-244-7926 cell - 607-426-9277 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: SQLXML
John, cool stuff indeed. Do you have the SOAP toolkit 2.0 or 3.0 installed on the server? Does it matter? Adam. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 7:38 PM To: CF-Talk Subject: SQLXML Just a quick note for anyone who hasn't gotten a chance to play with MSSQL SQLXML yet, here is snippet showing how to get SQL Server to return XML to CF. The MS SOAP Toolkit and SQLXML both need to be installed on the server before this will work. cfquery datasource=northwind name=xml SELECT Customers.CustomerID, Orders.OrderID, Customers.ContactName FROM Customers, Orders WHERE Customers.CustomerID = Orders.CustomerID FOR XML AUTO /cfquery cfset column = xml.columnList cfset xmlStr = '' cfloop from=1 to=#xml.recordCount# index=i cfset xmlStr = xmlStr xml[column][i] /cfloop root cfoutput#xmlStr#/cfoutput /root That's it...piece of cake. The only weird things are the name of the column that is returned by default is a bit odd, so I had to work around that, and multiple records are returned representing one xml document so they need to be concatenated. If anyone has any info on how to change that or why that is, I'm all ears. -- mailto:[EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
I'm basically just grasping at straws here. Every single file within the cfusion directory is owned by the user 'cfusion'. Cfusion is run by the same user. I'm still receiving the same error I've received before -- Cold Fusion is just not being interpreted, even though my JRun logs show that the Cold Fusion interpreter started normally with no errors. The error I receive whenever I go to a Cold Fusion page on my server is Context validation error for tag cfelse (though I've also seen cfif in place of cfelse). It's the Context validation error part that seems to be relevant. I've disabled HTTP status codes per David Watts's suggestion, but that has not affected output. At 01:42 PM 6/9/2003 -0400, you wrote: On a *nix based system, can the permissions of the various files associated with Cold Fusion affect its ability to run? Of course it can, if I'm reading your statement correctly. If the user that ColdFusion runs under doesn't have permission to read/write/execute a particular file, the application server will rightly choke on startup. Can you post some examples of what you're talking about if you're having problems? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfpop appended
Sorry for the last post that was incomplete.. it was sent before I finished typing. At anyrate, here is what I nticed when viewing the header information from the email I retrieve: Content-Type: multipart/mixed; boundary=PART.BOUNDARY.1055181506 However, if I forward this message containing the attachments to itself, and then use cfpop and pull the message in, I can see the attachments in the attachment list... the header information from the forwarded message looks like this: Content-Type: multipart/mixed; boundary==_NextPart_000_0005_01C32E8F.44385790 Could this be the issue? I am not up to speed on header info and mime types and such, so I could use a quick explanation and workaround if possible. Anyone have any thoughts? Ideas? Thanks, Mike ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfpop issue appended :-)
Looks like the line monster got ya Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Michael Tangorre [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:06 AM Subject: cfpop issue appended :-) I am polling an email box using cfpop to get to an email containing a report I need to parse. Here is the issue: when the 3rd party service provider sends the email, I notice the following: Thanks, Michael Tangorre [EMAIL PROTECTED] www.realmagnet.com work - 202-244-7845 fax - 202-244-7926 cell - 607-426-9277 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Error in DWMX with files created in CFStudio 5.0
Does this error message from DWMX 6.1 mean anything to anyone? A script in file c:\Program Files\Macromedia\Dreamweaver MX\Configuration\Translators\TMCallback.js has been running for a long time. Do you want to continue? We get this message when we use DWMX 6.1 to open or save files created in Studio 5.0 on one particular workstation (we use sites . . .). When we try to open one of these files we get the hourglass and nothing happens for a rather long time, then we get the message. If we answer Yes to the message we get into this loop with the error message that continues as long as we click on Yes. If we answer No to the error message it goes away and the file opens and we can edit the file. When we try to save the file DWMX freezes (no hourglass, just the regular cursor), a rather long period of time goes by, then the same error reappears. If we answer Yes to the message we get the same loop behavior as before. If we answer No to the error message it goes away and DWMX saves the file. Occasionally this process will lockup DWMX altogether during either the file open or file save and we have to Ctl-Alt-Del to shut it down. The person on whose workstation the files are created in Studio does not get the error when she opens the files in DWMX on her workstation, but the rest of us do. And using DWMX on our workstations we can open each others files created in Studio 5.0 with no problem. It seems to be just files created in Studio 5.0 on this one workstation that are causing this problem . . . Any ideas what might be going on? George [EMAIL PROTECTED] ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Error in DWMX with files created in CFStudio 5.0
Earl, George [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does this error message from DWMX 6.1 mean anything to anyone? A script in file c:\Program Files\Macromedia\Dreamweaver MX\Configuration\Translators\TMCallback.js has been running for a long time. Do you want to continue? Seems like DW is going crazy trying to translate some piece of CFML that it's unusual for it... I would suggest to report a bug: http://www.macromedia.com/support/email/wishform/ Explain that you are willing to send the whole file, they should get in contact with you about it (usually they do, they really read those reports) -- Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfpop appended
Michael Tangorre wrote: Sorry for the last post that was incomplete.. it was sent before I finished typing. At anyrate, here is what I nticed when viewing the header information from the email I retrieve: Content-Type: multipart/mixed; boundary=PART.BOUNDARY.1055181506 However, if I forward this message containing the attachments to itself, and then use cfpop and pull the message in, I can see the attachments in the attachment list... the header information from the forwarded message looks like this: Content-Type: multipart/mixed; boundary==_NextPart_000_0005_01C32E8F.44385790 Mail me the full message (all headers and the body) offlist and I will have a look. Jochem ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQLXML
Shouldn't matter, the stuff I was reading was based off 2.0, but I installed 3.0 and it worked fine. -- jon mailto:[EMAIL PROTECTED] Monday, June 9, 2003, 2:06:27 PM, you wrote: CA John, cool stuff indeed. Do you have the SOAP toolkit 2.0 or 3.0 installed CA on the server? Does it matter? CA Adam. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 7:38 PM To: CF-Talk Subject: SQLXML Just a quick note for anyone who hasn't gotten a chance to play with MSSQL SQLXML yet, here is snippet showing how to get SQL Server to return XML to CF. The MS SOAP Toolkit and SQLXML both need to be installed on the server before this will work. cfquery datasource=northwind name=xml SELECT Customers.CustomerID, Orders.OrderID, Customers.ContactName FROM Customers, Orders WHERE Customers.CustomerID = Orders.CustomerID FOR XML AUTO /cfquery cfset column = xml.columnList cfset xmlStr = '' cfloop from=1 to=#xml.recordCount# index=i cfset xmlStr = xmlStr xml[column][i] /cfloop root cfoutput#xmlStr#/cfoutput /root That's it...piece of cake. The only weird things are the name of the column that is returned by default is a bit odd, so I had to work around that, and multiple records are returned representing one xml document so they need to be concatenated. If anyone has any info on how to change that or why that is, I'm all ears. -- mailto:[EMAIL PROTECTED] CA ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
I'm basically just grasping at straws here. Every single file within the cfusion directory is owned by the user 'cfusion'. Cfusion is run by the same user. I'm still receiving the same error I've received before -- Cold Fusion is just not being interpreted, even though my JRun logs show that the Cold Fusion interpreter started normally with no errors. The error I receive whenever I go to a Cold Fusion page on my server is Context validation error for tag cfelse (though I've also seen cfif in place of cfelse). It's the Context validation error part that seems to be relevant. I've disabled HTTP status codes per David Watts's suggestion, but that has not affected output. Ahh, that's a bit different. So CFMX starts up OK (which is what I thought your problem was), but a particular piece of codes isn't running correctly? Can you post the code? Also beware that MX is not a good as displaying the exact line of code that's throwing the error as previous versions are. I only say that because maybe the line it's pin-pointing isn't actually the culprit. Can you post the code, error message, and stack trace? Regards, Dave. _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Xalan and ColdFusion
It's in cfmx/runtime/lib/jrun.jar you can use zip utilities such as winzip to extract and create jar files. You just have to make sure the directories stay intact. Also keep in mind that if your altering jrun.jar when you run an updater it may overwrite jrun.jar with a new one. _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:18 AM To: CF-Talk Subject: Xalan and ColdFusion Does anyone know where the class files are stored for Xalan in CFMX? I ask because I'm using some Xalan functions in my XSLT's and if I wanted to update Xalan to another version where would I have to look to update the class files. Thanks Bryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Program spec
Whatever you do, make sure you specify the color depth requirement ;P Adam. -Original Message- From: Robert Everland [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:05 PM To: CF-Talk Subject: Program spec I need to make up a program spec, does anyone have one that they have made and would like to share so I can see how to make one. Robert Everland III Web Developer Extraordinaire Dixon Ticonderoga Company http://www.dixonusa.com ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Xalan and ColdFusion
Thanks Pete! I found it. I've been extracting and searching jar files on and off for a week. Thanks! -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:00 PM To: CF-Talk Subject: RE: Xalan and ColdFusion It's in cfmx/runtime/lib/jrun.jar you can use zip utilities such as winzip to extract and create jar files. You just have to make sure the directories stay intact. Also keep in mind that if your altering jrun.jar when you run an updater it may overwrite jrun.jar with a new one. _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:18 AM To: CF-Talk Subject: Xalan and ColdFusion Does anyone know where the class files are stored for Xalan in CFMX? I ask because I'm using some Xalan functions in my XSLT's and if I wanted to update Xalan to another version where would I have to look to update the class files. Thanks Bryan ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
As I mentioned, the error gets thrown no matter what CFML code is being interpreted. Actually, at this point it all seems moot. Loading any page now presents a index/size error, and deleting the appropriate files from the cache just makes things worse. I have no idea why our department chose to go with Cold Fusion. It has given us nothing but heartache ever since we made that decision. There are plenty of more stable and usable technologies out there that don't crash if you look at them sideways. At 02:53 PM 6/9/2003 -0400, you wrote: Ahh, that's a bit different. So CFMX starts up OK (which is what I thought your problem was), but a particular piece of codes isn't running correctly? Can you post the code? Also beware that MX is not a good as displaying the exact line of code that's throwing the error as previous versions are. I only say that because maybe the line it's pin-pointing isn't actually the culprit. Can you post the code, error message, and stack trace? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
cold fusion aka coldfusion is wonderful. go try those other more stable and usable technologies and we will see ya back here soon;) as was suggested how about posting some code so we can help you - Original Message - From: Richard Crawford [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:23 PM Subject: Re: Permissions As I mentioned, the error gets thrown no matter what CFML code is being interpreted. Actually, at this point it all seems moot. Loading any page now presents a index/size error, and deleting the appropriate files from the cache just makes things worse. I have no idea why our department chose to go with Cold Fusion. It has given us nothing but heartache ever since we made that decision. There are plenty of more stable and usable technologies out there that don't crash if you look at them sideways. At 02:53 PM 6/9/2003 -0400, you wrote: Ahh, that's a bit different. So CFMX starts up OK (which is what I thought your problem was), but a particular piece of codes isn't running correctly? Can you post the code? Also beware that MX is not a good as displaying the exact line of code that's throwing the error as previous versions are. I only say that because maybe the line it's pin-pointing isn't actually the culprit. Can you post the code, error message, and stack trace? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cf studio users
I got an interesting article in my email today written by Ben Forta called extending coldfusion studio from ColdFusionProNews. If anyone is interested in it, let me know and I will forward it to you. :) dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cf studio users
ColdFusionProNews is? === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 1:39 PM To: CF-Talk Subject: cf studio users I got an interesting article in my email today written by Ben Forta called extending coldfusion studio from ColdFusionProNews. If anyone is interested in it, let me know and I will forward it to you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf studio users
At 03:39 PM 6/9/03 -0400, Dave Lyons wrote: I got an interesting article in my email today written by Ben Forta called extending coldfusion studio from ColdFusionProNews. If anyone is interested in it, let me know and I will forward it to you. I'd like to read it. T Tired of your bookmarks/favourites being limited to one computer? Move them to the Net! www.stuffbythane.com/webfavourites makes it easy to keep all your favourites in one place and access them from any computer that's attached to the Internet. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf studio users
its a service i get through eweek i believe. I get that flashnewz which is really good too - Original Message - From: Raymond Camden [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:44 PM Subject: RE: cf studio users ColdFusionProNews is? === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 1:39 PM To: CF-Talk Subject: cf studio users I got an interesting article in my email today written by Ben Forta called extending coldfusion studio from ColdFusionProNews. If anyone is interested in it, let me know and I will forward it to you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cf studio users
ColdFusionProNews is? a newsletter: http://www.coldfusionpronews.com/ _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf studio users
i think you can go to http://www.coldfusionpronews.com/ Like i said the flash one is usually really good too - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:39 PM Subject: cf studio users I got an interesting article in my email today written by Ben Forta called extending coldfusion studio from ColdFusionProNews. If anyone is interested in it, let me know and I will forward it to you. :) dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cf studio users
http://coldfusionpronews.com/ Adam Wayne Lehman Web Systems Developer Johns Hopkins Bloomberg School of Public Health Distance Education Division -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:50 PM To: CF-Talk Subject: Re: cf studio users its a service i get through eweek i believe. I get that flashnewz which is really good too - Original Message - From: Raymond Camden [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:44 PM Subject: RE: cf studio users ColdFusionProNews is? === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email: [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Dave Lyons [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 1:39 PM To: CF-Talk Subject: cf studio users I got an interesting article in my email today written by Ben Forta called extending coldfusion studio from ColdFusionProNews. If anyone is interested in it, let me know and I will forward it to you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf studio users
Very interested, please send Thanks. == Stop spam on your domain, use our gateway! For hosting solutions http://www.clickdoug.com ISP rated: http://www.forta.com/cf/isp/isp.cfm?isp_id=772 == If you are not satisfied with my service, my job isn't done! - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 2:39 PM Subject: cf studio users | I got an interesting article in my email today written by Ben Forta called extending coldfusion studio from ColdFusionProNews. | If anyone is interested in it, let me know and I will forward it to you. | | :) | dave | | | ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
At 03:35 PM 6/9/2003 -0400, you wrote: cold fusion aka coldfusion is wonderful. go try those other more stable and usable technologies and we will see ya back here soon;) (My rant in response is at the bottom of this e-mail. You may ignore or flame me as you see fit, but I think it would be best to keep replies off-list.) as was suggested how about posting some code so we can help you Here is some code that will cause an error on my system currently: cfif hello IS hello Hello /cfif ...and some more: cfinclude page2.cfm # Yes, page2.cfm exists. ...and some more: cfparam name=message default= In other words, the very first bit of code that the interpreter encounters when loading a page causes the Context validation error; any code at all, well-formed or not, will cause this error. Since it shows up for every page, regardless of the code that is within it, I didn't think that the specifics of the code itself were relevant. However, the context validation error itself is irrelevant at this point. When getting to the front page of my site -- the login page, where I must login to proceed, produces this error: Index: 216, Size: 81 The only error log which seems to echo this error is the default-event.log. When encountering this error in the past, I was able to delete relevant iles from the ${JRUN_HOME}/servers/default/cfusion/WEB-INF/classes directory; in this case, though, when I do that I receive file not found errors, or directory browsing forbidden errors. 06/09 12:49:52 error Index: 216, Size: 81 java.lang.IndexOutOfBoundsException: Index: 216, Size: 81 at java.util.ArrayList.RangeCheck(ArrayList.java:508) at java.util.ArrayList.get(ArrayList.java:320) at coldfusion.compiler.ClassReader.readAttributes(ClassReader.java:203) at coldfusion.compiler.ClassReader.readAttributes(ClassReader.java:191) at coldfusion.compiler.ClassReader.rewrite(ClassReader.java:283) at coldfusion.compiler.NeoTranslator.rewriteLineNumberTable(NeoTranslator.java:390) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:327) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:171) at coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:225) at coldfusion.util.LruCache.get(LruCache.java:188) at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:200) at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58) at coldfusion.util.SoftCache.get(SoftCache.java:81) at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:322) at coldfusion.filter.PathFilter.invoke(PathFilter.java:49) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:27) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:51) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.CfmServlet.service(CfmServlet.java:99) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) == Rant mode on: I've used PHP for years with hardly any problems at all... and when problems showed up, I had very little trouble finding a solution. This is just my opinion. I don't like using Cold Fusion. It has been nothing but frustration for me. I find it unstable, I find the server incomprehensible and impossible to configure without the frequently-malfunctioning web-based admin page. If the admin page crashes, you're in hot water if you need to try adjusting configurations to make anything work again. Unfortunately, I am currently in a job where the tool of choice is Cold Fusion, and my job is to get it working on our production server. After four weeks of pain, it has not worked for more than a couple of days without something or other going wrong. I have followed all of the documentation faithfully, but I have also found that support which goes beyond the official documentation is
RE: SQLXML
As far as I know you don't even need Soap, At least with MS SQL2000. I believe it has a built in function that returns XML Shawn Regan -Original Message- From: jon hall [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:35 AM To: CF-Talk Subject: Re: SQLXML Shouldn't matter, the stuff I was reading was based off 2.0, but I installed 3.0 and it worked fine. -- jon mailto:[EMAIL PROTECTED] Monday, June 9, 2003, 2:06:27 PM, you wrote: CA John, cool stuff indeed. Do you have the SOAP toolkit 2.0 or 3.0 installed CA on the server? Does it matter? CA Adam. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 7:38 PM To: CF-Talk Subject: SQLXML Just a quick note for anyone who hasn't gotten a chance to play with MSSQL SQLXML yet, here is snippet showing how to get SQL Server to return XML to CF. The MS SOAP Toolkit and SQLXML both need to be installed on the server before this will work. cfquery datasource=northwind name=xml SELECT Customers.CustomerID, Orders.OrderID, Customers.ContactName FROM Customers, Orders WHERE Customers.CustomerID = Orders.CustomerID FOR XML AUTO /cfquery cfset column = xml.columnList cfset xmlStr = '' cfloop from=1 to=#xml.recordCount# index=i cfset xmlStr = xmlStr xml[column][i] /cfloop root cfoutput#xmlStr#/cfoutput /root That's it...piece of cake. The only weird things are the name of the column that is returned by default is a bit odd, so I had to work around that, and multiple records are returned representing one xml document so they need to be concatenated. If anyone has any info on how to change that or why that is, I'm all ears. -- mailto:[EMAIL PROTECTED] CA ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cf studio users
Very interested, please send There is a direct link to the article here: http://www.devnewz.com/devnewz-3-20030603ExtendingColdFusionStudio.html Looks like the article was written a while ago, mentions allaire and JRun Studio, CF4, etc. _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
you may wanna try this cfinclude template=page2.cfm instead of cfinclude page2.cfm dave - Original Message - From: Richard Crawford [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:56 PM Subject: Re: Permissions At 03:35 PM 6/9/2003 -0400, you wrote: cold fusion aka coldfusion is wonderful. go try those other more stable and usable technologies and we will see ya back here soon;) (My rant in response is at the bottom of this e-mail. You may ignore or flame me as you see fit, but I think it would be best to keep replies off-list.) as was suggested how about posting some code so we can help you Here is some code that will cause an error on my system currently: cfif hello IS hello Hello /cfif ...and some more: cfinclude page2.cfm # Yes, page2.cfm exists. ...and some more: cfparam name=message default= In other words, the very first bit of code that the interpreter encounters when loading a page causes the Context validation error; any code at all, well-formed or not, will cause this error. Since it shows up for every page, regardless of the code that is within it, I didn't think that the specifics of the code itself were relevant. However, the context validation error itself is irrelevant at this point. When getting to the front page of my site -- the login page, where I must login to proceed, produces this error: Index: 216, Size: 81 The only error log which seems to echo this error is the default-event.log. When encountering this error in the past, I was able to delete relevant iles from the ${JRUN_HOME}/servers/default/cfusion/WEB-INF/classes directory; in this case, though, when I do that I receive file not found errors, or directory browsing forbidden errors. 06/09 12:49:52 error Index: 216, Size: 81 java.lang.IndexOutOfBoundsException: Index: 216, Size: 81 at java.util.ArrayList.RangeCheck(ArrayList.java:508) at java.util.ArrayList.get(ArrayList.java:320) at coldfusion.compiler.ClassReader.readAttributes(ClassReader.java:203) at coldfusion.compiler.ClassReader.readAttributes(ClassReader.java:191) at coldfusion.compiler.ClassReader.rewrite(ClassReader.java:283) at coldfusion.compiler.NeoTranslator.rewriteLineNumberTable(NeoTranslator.java: 390) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:327) at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:171) at coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:225) at coldfusion.util.LruCache.get(LruCache.java:188) at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateCla ssLoader.java:200) at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58) at coldfusion.util.SoftCache.get(SoftCache.java:81) at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:32 2) at coldfusion.filter.PathFilter.invoke(PathFilter.java:49) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence Filter.java:27) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:51) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.CfmServlet.service(CfmServlet.java:99) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java: 348) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451 ) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29 4) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) == Rant mode on: I've used PHP for years with hardly any problems at all... and when problems showed up, I had very little trouble finding a solution. This is just my opinion. I don't like using Cold Fusion. It has been nothing but frustration for me. I find it unstable, I find the server incomprehensible and impossible to configure without the frequently-malfunctioning web-based admin page. If the admin page crashes, you're in hot water if you need to try adjusting configurations to make anything work again. Unfortunately, I am currently in a job where the tool of choice is Cold Fusion,
Re: cf studio users
http://www.coldfusionpronews.com/2003/0609.html == Stop spam on your domain, use our gateway! For hosting solutions http://www.clickdoug.com ISP rated: http://www.forta.com/cf/isp/isp.cfm?isp_id=772 == If you are not satisfied with my service, my job isn't done! - Original Message - From: Thane Sherrington [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 2:44 PM Subject: Re: cf studio users | At 03:39 PM 6/9/03 -0400, Dave Lyons wrote: | I got an interesting article in my email today written by Ben Forta called | extending coldfusion studio from ColdFusionProNews. | If anyone is interested in it, let me know and I will forward it to you. | | I'd like to read it. | | T | | | Tired of your bookmarks/favourites being limited to one computer? Move | them to the Net! | www.stuffbythane.com/webfavourites makes it easy to keep all your | favourites in one place and | access them from any computer that's attached to the Internet. | | ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf studio users
heres the actual link to the article http://www.coldfusionpronews.com/2003/0609.html - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:39 PM Subject: cf studio users I got an interesting article in my email today written by Ben Forta called extending coldfusion studio from ColdFusionProNews. If anyone is interested in it, let me know and I will forward it to you. :) dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Newbyish Question (FORMS)
Hey, A bit out of practice, whats the best way to manage mulitple choice 'Search' forms Its for an accomodation guide... I.E.1. Accomodation Types 2. Hotel 3. Guest Houses 4. Bed Breakfast 5. Self Catering A user picks 1 5 from the checkboxes How should i set up my dbase to keep the info... and home do i do the multiple choice question.. I've been doing some project management in a completely unrelated field (transport!) and my mind has gone blank. Were using MX. Kind Regards, Mark Stephenson New Media Director Evolution Internet T: 0870 757 1631 F: 0870 757 1632 W: www.evolutioninternet.co.uk E: [EMAIL PROTECTED] WARNING: --- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. AVIS IMPORTANT: --- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
multiple select drop down from query
This seems to be a very common requirement for me so I'm sure someone can tell me how to do this most efficiently. I have pages that can be in one or more sections. I have a Pages table and I have a Sections table. They are joined with a join table called Page_Sections. I want to enable a HTML SELECT element with multiple selections enabled to update the page assignments. What I have been doing is shown below, and it seems messy. Basically aside from the Query grabbing the individual page info, I do separate queries to populate the dropdown and a query of the join table to see which section names the page is in so I can pre-select them. Trouble is now i have an edit form with several of these many-to-many relationships and I'd have a whole bunch of these little queries if I kept doing it this way. Anyone have a better suggestion? Thanks John Venable !--- Get all sections --- cfquery name=qSections datasource=content dbtype=OLEDB SELECT section_id, Section_Name FROM ap_Sections ORDER BY section_name /cfquery !--- Get all sections for this page --- cfif NOT newrecord cfquery name=qPageSections datasource=content dbtype=OLEDB SELECT section_id FROM Page_Sections WHERE page_id = #pageid# /cfquery cfset sectionsForThisPage = ValueList(qPageSections.section_id) /cfif !--- Build a select element of all sections, pre-selecting the sections for this page --- cfif NOT newrecord select name=section size=25 multiple cfoutput query=qSections option value=#section_id# cfif ListFind(sectionsForThisPage,section_id)selected/cfif#section_name#/opt ion /cfoutput /select cfelse select name=section size=25 multiple cfoutput query=qSections option value=#section_id##section_name#/option /cfoutput /select /cfif --- John Venable Director of Web Architecture Epilepsy Foundation ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf studio users
Looks like the article was written a while ago, mentions allaire and JRun Studio, CF4, etc. Definitely not a recent article :-))) BTW Under the hood DW MX use VTML as well, just check: Dreamweaver MX\Configuration\TagLibraries\CFML Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf studio users
It certainly is useful info, but *looks* to be a re-tread. The link on forta.com to the article points to an allaire.com address, which in turn goes to a MM page with the article there. Still, its good to keep this stuff in mind, at least for the forseeable future I'm not switching editors without a fight :D --- Matt Robertson, [EMAIL PROTECTED] MSB Designs, Inc. http://mysecretbase.com --- -- Original Message -- From: Dave Lyons [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 9 Jun 2003 16:04:59 -0400 heres the actual link to the article http://www.coldfusionpronews.com/2003/0609.html - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:39 PM Subject: cf studio users I got an interesting article in my email today written by Ben Forta called extending coldfusion studio from ColdFusionProNews. If anyone is interested in it, let me know and I will forward it to you. :) dave ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SQLXML
msSql2k does have built in XML capabilities. Just search from XML in the BOL. Eric - Original Message - From: Shawn Regan [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:59 PM Subject: RE: SQLXML As far as I know you don't even need Soap, At least with MS SQL2000. I believe it has a built in function that returns XML Shawn Regan -Original Message- From: jon hall [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:35 AM To: CF-Talk Subject: Re: SQLXML Shouldn't matter, the stuff I was reading was based off 2.0, but I installed 3.0 and it worked fine. -- jon mailto:[EMAIL PROTECTED] Monday, June 9, 2003, 2:06:27 PM, you wrote: CA John, cool stuff indeed. Do you have the SOAP toolkit 2.0 or 3.0 installed CA on the server? Does it matter? CA Adam. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 7:38 PM To: CF-Talk Subject: SQLXML Just a quick note for anyone who hasn't gotten a chance to play with MSSQL SQLXML yet, here is snippet showing how to get SQL Server to return XML to CF. The MS SOAP Toolkit and SQLXML both need to be installed on the server before this will work. cfquery datasource=northwind name=xml SELECT Customers.CustomerID, Orders.OrderID, Customers.ContactName FROM Customers, Orders WHERE Customers.CustomerID = Orders.CustomerID FOR XML AUTO /cfquery cfset column = xml.columnList cfset xmlStr = '' cfloop from=1 to=#xml.recordCount# index=i cfset xmlStr = xmlStr xml[column][i] /cfloop root cfoutput#xmlStr#/cfoutput /root That's it...piece of cake. The only weird things are the name of the column that is returned by default is a bit odd, so I had to work around that, and multiple records are returned representing one xml document so they need to be concatenated. If anyone has any info on how to change that or why that is, I'm all ears. -- mailto:[EMAIL PROTECTED] CA ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf studio users
oh well, lol i use dw but i know a lot of people on here dont so i thought i'd share before deleting. old or not it still could be new to someone:) btw~ Massimo, i cursed MM for ya! dave - Original Message - From: Massimo, Tiziana e Federica [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 4:12 PM Subject: Re: cf studio users Looks like the article was written a while ago, mentions allaire and JRun Studio, CF4, etc. Definitely not a recent article :-))) BTW Under the hood DW MX use VTML as well, just check: Dreamweaver MX\Configuration\TagLibraries\CFML Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
Here is some code that will cause an error on my system currently: cfif hello IS hello Hello /cfif ...and some more: cfinclude page2.cfm # Yes, page2.cfm exists. ...and some more: cfparam name=message default= It should be: cfinclude template=page2.cfm I'm not sure if that was a typo or not, but that would definitely cause your error, as the MX compiler wouldn't even be able to compile that, let alone cause a run-time error. In other words, the very first bit of code that the interpreter encounters when loading a page causes the Context validation error; any code at all, well-formed or not, will cause this error. Since it shows up for every page, regardless of the code that is within it, I didn't think that the specifics of the code itself were relevant. However, the context validation error itself is irrelevant at this point. When getting to the front page of my site -- the login page, where I must login to proceed, produces this error: Index: 216, Size: 81 The only error log which seems to echo this error is the default-event.log. When encountering this error in the past, I was able to delete relevant iles from the ${JRUN_HOME}/servers/default/cfusion/WEB-INF/classes directory; in this case, though, when I do that I receive file not found errors, or directory browsing forbidden errors. Hmmm. What updater are you running of CFMX? I know there were page context bug issues that would cause similar errors as above, some of which were resolved in Updater 3. I'm not sure if one of these resolved issues is your problem, but I used to get those errors before I applied the updater, and haven't seen them since. Regards, Dave. _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: checking if cfapplication has run
- Original Message - From: Mike Mertsock [EMAIL PROTECTED] I tried it out and gave the error The requested scope application has not been enabled. This was with absolutely no cfapplication tag on any included template or in application.cfm. --- Have you tried this? cftry cfset insideApplication = IsDefined(application.applicationname) cfcatch type=Any cfset insideApplication = false /cfcatch /cftry Should deal with all eventualities... (?) Gyrus [EMAIL PROTECTED] work: http://tengai.co.uk play: http://norlonto.net PGP key available ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Newbyish Question (FORMS)
How I handle this is I pass the form search values to a action page for processing and I feed the multiple form vars as delimited file using (#ListQualify(form.vars,')#) I also check to see if a useable value is passed and build the query on that. so it would look something like this SELECT pid1, pid2 FROM pid_table WHERE pid_display = 'Yes' cfif form.search1 NEQ '' AND pid1 in (#ListQualify(form.search1,')#) /cfif cfif form.search2 NEQ '' AND pid1 in (#ListQualify(form.search2,')#) /cfif -Original Message- From: Mark Stephenson - Evolution Internet [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 3:02 PM To: CF-Talk Subject: Newbyish Question (FORMS) Hey, A bit out of practice, whats the best way to manage mulitple choice 'Search' forms Its for an accomodation guide... I.E.1. Accomodation Types 2. Hotel 3. Guest Houses 4. Bed Breakfast 5. Self Catering A user picks 1 5 from the checkboxes How should i set up my dbase to keep the info... and home do i do the multiple choice question.. I've been doing some project management in a completely unrelated field (transport!) and my mind has gone blank. Were using MX. Kind Regards, Mark Stephenson New Media Director Evolution Internet T: 0870 757 1631 F: 0870 757 1632 W: www.evolutioninternet.co.uk E: [EMAIL PROTECTED] WARNING: --- The information contained in this document and attachments is confidential and intended only for the person(s) named above. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution, or any other use of the information is strictly prohibited. If you have received this document by mistake, please notify the sender immediately and destroy this document and attachments without making any copy of any kind. AVIS IMPORTANT: --- Les informations contenues dans le present document et ses pieces jointes sont strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation, distribution, copie, ou autre utilisation de ces informations est strictement prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait communiquer immediatement avec l'expediteur et detruire ce document sans en faire de copie sous quelque forme. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Permissions
At 04:23 PM 6/9/2003 -0400, you wrote: cfinclude page2.cfm # Yes, page2.cfm exists. It should be: cfinclude template=page2.cfm I'm not sure if that was a typo or not, but that would definitely cause your error, as the MX compiler wouldn't even be able to compile that, let alone cause a run-time error. Sorry, it was a typo on my part. The code in question is cfinclude template=page2.cfm The point is that any code, whether valid or not, causes this error. Hmmm. What updater are you running of CFMX? I know there were page context bug issues that would cause similar errors as above, some of which were resolved in Updater 3. I'm not sure if one of these resolved issues is your problem, but I used to get those errors before I applied the updater, and haven't seen them since. Hm. I am simply running the version that came on the CD. Updater 3 is not installed on this system. I should point out that this behavior is new. The system was working relatively fine this morning until about 8:30. Are there logs I can check from the command line that would indicate errors that I can look at? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: checking if cfapplication has run
I have a custom tag that wants to use application variables (for performance). Since you need to run a cfapplication tag to use the application scope, it needs to somehow check if that tag has run. I have no clue how to do this. Is it possible? I would think that you should be able to do this: cfif IsDefined(Application) ... the application scope exists! Woohoo! ... /cfif Also, just to make sure - custom tags do have normal access to the application scope, correct? Yes, although in general, when you write code modules, you may want to limit access to and from the modules to defined inputs and outputs. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
client variables problem on MX
Hi all. I have a ticket into Crystal Tech support on this, but I thought I'd try for some feedback here also. What is happening is, client.cfid and client.cftoken are coming up blank. This is only on Windows on IE 5 and 6, and only when cookies are enabled. At login I set a client variable of client.mem_id. When the next user comes to the site using IE on Windows, he is automatically logged in as the previous user because CFID and CFTOKEN match for both (they are blank). UGH! Anyone run into this? Is this supposed to be happening? I'd expect not because it only happens on IE. Is there a way to check if cfid and/or cftoken are blank and manually set them? -- Bud Schneehagen - Tropical Web Creations, Inc. _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Web Based Solutions / eCommerce Development Hosting http://www.twcreations.com/ - http://www.cf-ezcart.com/ 954.721.3452 - Toll Free: 877.207.6397 - Fax: 954.721.7493 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Permissions
As I mentioned, the error gets thrown no matter what CFML code is being interpreted. Actually, at this point it all seems moot. Loading any page now presents a index/size error, and deleting the appropriate files from the cache just makes things worse. Are you using one of the standalone versions - CFMX Enterprise, CFMX Professional, etc - of CFMX? Or are you using CFMX for J2EE? If you're using CFMX for J2EE, do JSP pages work correctly? Are you using an external web server (IIS, Apache, etc), or are you using the built-in web server which listens on port 8500? If you haven't already, can you try using the built-in web server? I have no idea why our department chose to go with Cold Fusion. It has given us nothing but heartache ever since we made that decision. There are plenty of more stable and usable technologies out there that don't crash if you look at them sideways. I'm sorry to hear that you've had such problems with ColdFusion. However, your problems are atypical; most CF users don't have these sorts of problems, and if they did, they'd abandon the product I suspect. I realize that won't make you feel any better, but there it is. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Mechanisms for stopping a running script
I've been thinking about some ideas on how to stop running scripts, like an ABORT button. This is the first thought I came up with. Any other ideas? This comes up for me because I have several LONG running scripts that occassionally, I might want to stop w/o having to bounce the cf server to do so... !--- check if aborting (run when the abort button is pressed) --- CFIF VAL(abort) CFFILE action=dete file=flag.txt CFABORT !--- this just ends the page processing from the button press --- /CFIF !--- start of script --- CFFILE action=write file=flag.txt content=1 !--- create abort button --- FORM INPUT TYPE=hidden NAME=abort VALUE=1 INPUT TYPE=submit VALUE=ABORT /FORM CFLOOP ...main script processing... !--- test if aborting --- CFIF NOT FileExists('flag.txt') CFABORT /CFIF /CFLOOP !--- end script --- Tony Schreiber, Senior Partner Man and Machine, Limited mailto:[EMAIL PROTECTED] http://www.technocraft.com http://www.is300.net The Enthusiast's Home of the Lexus IS300 since 1999 * PARTS STORE NOW OPEN * http://www.is300.net/store/ http://www.simplemessageboard.comFree Forum Software for Cold Fusion ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Mechanisms for stopping a running script
but wouldn't your abort be a seperate thread from the long running one? (i.e. you start the long running process and then you hit your abort button which just stops the page from running again and starting a second long running process). At least that's how I'm reading what you've laid out Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] - Macromedia Associate Partner www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Tony Schreiber [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, June 09, 2003 2:13 PM Subject: Mechanisms for stopping a running script I've been thinking about some ideas on how to stop running scripts, like an ABORT button. This is the first thought I came up with. Any other ideas? This comes up for me because I have several LONG running scripts that occassionally, I might want to stop w/o having to bounce the cf server to do so... !--- check if aborting (run when the abort button is pressed) --- CFIF VAL(abort) CFFILE action=dete file=flag.txt CFABORT !--- this just ends the page processing from the button press --- /CFIF !--- start of script --- CFFILE action=write file=flag.txt content=1 !--- create abort button --- FORM INPUT TYPE=hidden NAME=abort VALUE=1 INPUT TYPE=submit VALUE=ABORT /FORM CFLOOP ...main script processing... !--- test if aborting --- CFIF NOT FileExists('flag.txt') CFABORT /CFIF /CFLOOP !--- end script --- Tony Schreiber, Senior Partner Man and Machine, Limited mailto:[EMAIL PROTECTED] http://www.technocraft.com http://www.is300.net The Enthusiast's Home of the Lexus IS300 since 1999 * PARTS STORE NOW OPEN * http://www.is300.net/store/ http://www.simplemessageboard.comFree Forum Software for Cold Fusion ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4