Re: isdefined on a web service?
try, and (isDefined("") and len()) scenario since the existence of it doesnt necessarily mean the presence of it. make sense? i dont know how to do this in cfscript, but in cfmx code its quite easy. let me know if the above works, if not i can show you how in cfmx code (but you may already know this) tony On 4/6/06, Anthony Prato <[EMAIL PROTECTED]> wrote: > I'm working on using an address validation web service. It's giving me > trouble because if it doesn't find something, it just doesn't return > that field at all. I wrapped isdefined around everything but now I get > this error... > > > Element FIRM is undefined in ARESPONSEARR. > > The error occurred in C:\Inetpub\wwwroot\address_verify.cfm: line 36 > > 34 :if (isdefined("aResponseArr.LLCertainty")) > {aResponse.LLCertainty = aResponseArr.LLCertainty;} > 35 :if (isdefined("aResponseArr.CountyNum")) {aResponse.CountyNum = > aResponseArr.CountyNum;} > 36 :if (isdefined("aResponseArr.Firm")) {aResponse.Firm = > aResponseArr.Firm;} > > --- > > Why am i getting a undefined error when using isdefined? isn't that > the point of the function? > > I guess I'll have to use try/catch... whats the syntax for that in > cfscript again? > > > Anthony > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237159 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: SQL 2005 and getiing data out
In SQLServer2005 they've done away with DTS ( which annoys me because it was the primary task i used Enterprise Manager for in the SQL2K database) and replaced it with SSIS - a "far more flexible and programmable" method of data import and export. It can loop through fields, have quite a lot of logic in it, and might do what you need. It's terrible for doing what I do most - copying databases from one server to another but it's brilliant for exporting data to other formats, such as CSVfiles, Access databases, Xcel spreadsheets, even simple text files. There are examples in the Books on Line and in a great many web sites - i know i've found them all while i'm looking for something to show me how to export and import tables between servers. So in short, to do what you want SSIS may be what you want. Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237158 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Error Translation Request...
It means you are trying to reference an array subscript with a non-numeric value...like array[x] (and x is not a defined variable) instead of array[1] or array[#x#]. Eric -Original Message- From: Brian Polackoff [mailto:[EMAIL PROTECTED] Sent: Thursday, 06 April 2006 15:46 To: CF-Talk Subject: Error Translation Request... I have an error message that randomly appears on a template that I would like some translation for. Can someone assist? Error Message: You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members Thanks, Brian ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237157 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
How to format the print view like a phone book?
Hi, I am trying to format a 2-column page to make a pdf print version. The problem is that if I use a 2-column table, then first record would display in the first column and the second record would display in the second column. Is there a way to display it so it would run to the end of the page on the first column first and then continue on the second column and then continue on the next page? I am using CFMX 7. Is there a custom or something to make this easier? Johnny ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237156 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: OT: mail to fax?
Working on automating faxes myself. I plan to generate and store pdf's of invoices and use one of the following services: (cut and paste from an internal email) Fax Services Innoport http://www.innoport.com/services_features_business.asp Outbound Web Service 8 cents/page. Corporate customers get a discount based on total amount spent the previous month. They also have a bulk service which supports mail merge although I don't think the mail merge will support our invoices. They support html and pdf but I can't find info about html support of CSS Inbound they fax=>email and fax=>ftp. There is a monthly fee that increases based on the number of inbound fax lines. InterFAX http://www.interfax.net/scripts/prices.asp?lang=en Outbound Web Service. Tiered pricing with a number of included pages. The per page overage cost varies (11c-7c) between the tiers. See the link above for details. Inbound fax=>email and ??? waiting for a call back Inbound has a monthly fee and 15 cents per page after receiving 200 pages in a month Data on Call http://www.dataoncall.com/internet-fax-service/ent-pricing.jsp?rcvtype=3 (enterprise inbound prices) Outbound supports email, web post, and xml post and Inbound supports email, ftp and xml post (xml post would be the most desirable if we go with a service) The url lists inbound prices outbound is 9 cents/page <5000 pages/month and 7 cents/page >5000 pages/month On 4/5/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > I've got a client with a loan application form on her site. She'd like the > processing of the form to be sent to her as a fax. Not really sure why, but > does anyone know of, or have, something like this? > > I think it can be done, but I've never used anything of this nature before. > > andy matthews > web developer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --//-> > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237155 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
isdefined on a web service?
I'm working on using an address validation web service. It's giving me trouble because if it doesn't find something, it just doesn't return that field at all. I wrapped isdefined around everything but now I get this error... Element FIRM is undefined in ARESPONSEARR. The error occurred in C:\Inetpub\wwwroot\address_verify.cfm: line 36 34 :if (isdefined("aResponseArr.LLCertainty")) {aResponse.LLCertainty = aResponseArr.LLCertainty;} 35 :if (isdefined("aResponseArr.CountyNum")) {aResponse.CountyNum = aResponseArr.CountyNum;} 36 :if (isdefined("aResponseArr.Firm")) {aResponse.Firm = aResponseArr.Firm;} --- Why am i getting a undefined error when using isdefined? isn't that the point of the function? I guess I'll have to use try/catch... whats the syntax for that in cfscript again? Anthony ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237154 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFCHART
As I have already sent I have a solution on Webcharts3D Java application as I sent in XML format. The question is that: How can I define and populate these "COL" elements that I have on XML by using CFCHART. :) -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Freitag, 7. April 2006 00:54 To: CF-Talk Subject: RE: CFCHART I'm wondering if it is even possible to do this with cfchart...have you looked at the WebCharts3D website to see if they have any clues? I know that might not really help you with cfchart, but maybe you can learn something that would point you in the right direction... > -Original Message- > From: Oßuz_Demirkapñ [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 06, 2006 4:44 PM > > Thanks for your answer. > > This is what I have already. And when you think just for one > cfchartseries, there is no problem. But I have 4 of them. > > But these for have 5 different values in every query. > > Please check again my sample graph and code to understand question. > > > -Original Message- > From: Munson, Jacob [mailto:[EMAIL PROTECTED] > Sent: Freitag, 7. April 2006 00:37 > > In a chart I built, I put the data for the columns into the > valuecolumn field of your cfchartseries tag. For example, > here's my query: > > select descr as choice, count(answerid) as totAnswers > from tblpollvotes > > > And I used totAnswers for my valuecolmn field: >type="bar" > query="pollResults" > itemcolumn="choice" > valuecolumn="totAnswers" > paintStyle="light" > seriesColor="FEFDE0"> > > Does that answer your question? This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237153 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFCHART
I'm wondering if it is even possible to do this with cfchart...have you looked at the WebCharts3D website to see if they have any clues? I know that might not really help you with cfchart, but maybe you can learn something that would point you in the right direction... > -Original Message- > From: OÄuz_Demirkapı [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 06, 2006 4:44 PM > > Thanks for your answer. > > This is what I have already. And when you think just for one > cfchartseries, there is no problem. But I have 4 of them. > > But these for have 5 different values in every query. > > Please check again my sample graph and code to understand question. > > > -Original Message- > From: Munson, Jacob [mailto:[EMAIL PROTECTED] > Sent: Freitag, 7. April 2006 00:37 > > In a chart I built, I put the data for the columns into the > valuecolumn field of your cfchartseries tag. For example, > here's my query: > > select descr as choice, count(answerid) as totAnswers > from tblpollvotes > > > And I used totAnswers for my valuecolmn field: >type="bar" > query="pollResults" > itemcolumn="choice" > valuecolumn="totAnswers" > paintStyle="light" > seriesColor="FEFDE0"> > > Does that answer your question? This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237152 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFCHART
Thanks for your answer. This is what I have already. And when you think just for one cfchartseries, there is no problem. But I have 4 of them. But these for have 5 different values in every query. Please check again my sample graph and code to understand question. -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Freitag, 7. April 2006 00:37 To: CF-Talk Subject: RE: CFCHART In a chart I built, I put the data for the columns into the valuecolumn field of your cfchartseries tag. For example, here's my query: select descr as choice, count(answerid) as totAnswers from tblpollvotes And I used totAnswers for my valuecolmn field: Does that answer your question? > -Original Message- > From: Oßuz_Demirkapñ [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 06, 2006 4:23 PM > To: CF-Talk > Subject: RE: CFCHART > > An extra information: > > When I check WebChats3D XML syntax, I have something like following. > > > > 2000 > 2001 > 2002 > 2003 > 2004 > col4="200.0">Sample 0: > col4="250.0">Sample 1: > col4="300.0">Sample 2: > col4="350.0">Sample 3: > > > Here we have "COL" values and I just need to populate these > values in CFCHART. > > But how? This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237151 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfform and bad tabindexes - wtf?
Yep, I do... I posted the code in a previous thread, but nobody responded, so I figured nobody knew... anyway, this was the original code: All the records start out with zeros, and only the right-most two columns are editable... So when I fill in all 12 rows with real data (non-zero) I know that all 12 rows have been changed, but when the form submits, there are only 5 rows of data represented on the following page. Thanks Ryan, > Isaac, you realize that it only passes the fields that > have changed to > the action page right? > Maybe some code will help us better understand your > problem. > On 4/6/06, Kevin Aebig <[EMAIL PROTECTED]> wrote: >> Are you talking about Flash forms? >> >> !k >> >> -Original Message- >> From: S.Isaac Dealey [mailto:[EMAIL PROTECTED] >> Sent: April 6, 2006 12:06 PM >> To: CF-Talk >> Subject: Re: cfform and bad tabindexes - wtf? >> >> Apparently. :) Reminding myself why I avoid them in the >> first place... >> christ, these things are total garbage... I don't care >> what anybody >> says about the new flash widgets or new validation >> features, they just >> suck. The only improvement has been xforms, and that >> shipped with a >> major (albeit easily fixed) bug in the default XSL sheet. >> >> > They do it to piss you off :) >> >> > On 4/6/06, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: >> >> >> >> Why is cfform still so screwed? >> >> >> >> I generally avoid it, but I'm working on one for this >> >> small project >> >> because I'm already losing money on the project. It >> >> was >> >> originally set >> >> up with a cfgrid and the problem was that when 12 rows >> >> of >> >> data were >> >> entered in the grid, only 5 of those rows were passed >> >> to >> >> the submit >> >> page. So I got rid of the grid in favor of simple text >> >> fields and >> >> wanted to use cfinput to validate their being numeric. >> >> But I also >> >> wanted to make it easier for the user by applying tab >> >> indexes to the >> >> fields, and discovered that all the tabindex values >> >> have >> >> .0 added to >> >> them by cfinput, which of course makes the browser >> >> ignore >> >> them. Why is >> >> this screwed up? This is completely basic! s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237150 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfform and bad tabindexes - wtf?
The grid I replaced was a flash grid embedded in a standard cfform element. I have no idea why but I wasn't able to get it to render the form with format="flash" in the cfform tag. > Are you talking about Flash forms? > !k > -Original Message- > From: S.Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: April 6, 2006 12:06 PM > To: CF-Talk > Subject: Re: cfform and bad tabindexes - wtf? > Apparently. :) Reminding myself why I avoid them in the > first place... > christ, these things are total garbage... I don't care > what anybody > says about the new flash widgets or new validation > features, they just > suck. The only improvement has been xforms, and that > shipped with a > major (albeit easily fixed) bug in the default XSL sheet. >> They do it to piss you off :) >> On 4/6/06, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: >>> >>> Why is cfform still so screwed? >>> >>> I generally avoid it, but I'm working on one for this >>> small project >>> because I'm already losing money on the project. It was >>> originally set >>> up with a cfgrid and the problem was that when 12 rows >>> of >>> data were >>> entered in the grid, only 5 of those rows were passed to >>> the submit >>> page. So I got rid of the grid in favor of simple text >>> fields and >>> wanted to use cfinput to validate their being numeric. >>> But I also >>> wanted to make it easier for the user by applying tab >>> indexes to the >>> fields, and discovered that all the tabindex values have >>> .0 added to >>> them by cfinput, which of course makes the browser >>> ignore >>> them. Why is >>> this screwed up? This is completely basic! >>> >>> s. isaac dealey 434.293.6201 >>> new epoch : isn't it time for a change? >>> >>> add features without fixtures with >>> the onTap open source framework >>> >>> http://www.fusiontap.com >>> http://coldfusion.sys-con.com/author/4806Dealey.htm >>> >>> >>> >> ~ >> ~ >> > ~~ > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237149 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFCHART
In a chart I built, I put the data for the columns into the valuecolumn field of your cfchartseries tag. For example, here's my query: select descr as choice, count(answerid) as totAnswers from tblpollvotes And I used totAnswers for my valuecolmn field: Does that answer your question? > -Original Message- > From: OÄuz_Demirkapı [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 06, 2006 4:23 PM > To: CF-Talk > Subject: RE: CFCHART > > An extra information: > > When I check WebChats3D XML syntax, I have something like following. > > > > 2000 > 2001 > 2002 > 2003 > 2004 > col4="200.0">Sample 0: > col4="250.0">Sample 1: > col4="300.0">Sample 2: > col4="350.0">Sample 3: > > > Here we have "COL" values and I just need to populate these > values in CFCHART. > > But how? This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237148 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFCHART
An extra information: When I check WebChats3D XML syntax, I have something like following. 2000 2001 2002 2003 2004 Sample 0: Sample 1: Sample 2: Sample 3: Here we have "COL" values and I just need to populate these values in CFCHART. But how? TIA! -Original Message- From: Oßuz_Demirkapñ [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 6. April 2006 23:57 To: CF-Talk Subject: RE: CFCHART Sorry for HTML mail. You can reach sample graph via http://demirkapi.net/cfchart/mygraph01.png TIA! -Original Message- From: Oðuz_Demirkapý [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 6. April 2006 23:54 To: CF-Talk Subject: CFCHART Hi, I have a CFCHART problem. I am just trying to populate an Agri-Bar type chart from my database. I have 4 queries to populate my cfchartseries and my queries get 5 col from database. I have a graph like following. I can get my values from database but what about X-Axis labels (1-5)? How can I populate these labels from my database? When I use "myvalues" field from my queries, I have just 4 query but 5 X-Axis. :-( Any idea? TIA! Sincerely, Oðuz Demirkapý ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237147 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Error Translation Request...
I get this a lot when I initialize a variables as, say, an empty string, but later intend to populate it with a structure. Bad form, in my opinion, but I'm human and it happens. When I do that and something happens that the structure never gets assigned to the variable then I get the message you're seeing. On 4/6/06, Ian Skinner <[EMAIL PROTECTED]> wrote: > Error Message: > > You have attempted to dereference a scalar variable of type class > java.lang.String as a structure with members > > > There is a variable with a sting value. > > Joe = "Foobar" > > You are trying to access it as a structure > Joe.Foobar or Joe["Foobar"] > > This is not allowed. > > I would guess that a structure variable is somewhere getting recast as a > simple string. > > If you can turn on robust exception handling it the error message should give > the line number of the offending line of code. > > > -- > Ian Skinner > Web Programmer > BloodSource > www.BloodSource.org > Sacramento, CA > > - > | 1 | | > - Binary Soduko > | | | > - > > "C code. C code run. Run code run. Please!" > - Cynthia Dunning > > Confidentiality Notice: This message including any > attachments is for the sole use of the intended > recipient(s) and may contain confidential and privileged > information. Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the > intended recipient, please contact the sender and > delete any copies of this message. > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237146 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Multithreading within a request
I've done this using Java. Started doing it in 6.0 and have continued using the same code through 7.0x because gateways require CF Enterprise and not all of my customers run enterprise. I don't have the code handy, but take a look at the java.util.URLConnection class. There are obviously some other classes I'm using around that, but I'm pretty sure that they're all in the java.util package and URLConnection is the core of how I solved the problem. On 4/6/06, Andrew Dixon <[EMAIL PROTECTED]> wrote: > Hi All. > > Is it possible to multithread within a single request. For example, I would > like to make multiple http requests to a web service, but at the moment they > run one after the other, taken about 3 seconds each, but if I could run them > both at the same time it would improve the performance of the script > greatly, any ideas on how this could be done? > > Kind regards, > > Andrew > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237145 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfform and bad tabindexes - wtf?
Isaac, you realize that it only passes the fields that have changed to the action page right? Maybe some code will help us better understand your problem. On 4/6/06, Kevin Aebig <[EMAIL PROTECTED]> wrote: > Are you talking about Flash forms? > > !k > > -Original Message- > From: S.Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: April 6, 2006 12:06 PM > To: CF-Talk > Subject: Re: cfform and bad tabindexes - wtf? > > Apparently. :) Reminding myself why I avoid them in the first place... > christ, these things are total garbage... I don't care what anybody > says about the new flash widgets or new validation features, they just > suck. The only improvement has been xforms, and that shipped with a > major (albeit easily fixed) bug in the default XSL sheet. > > > They do it to piss you off :) > > > On 4/6/06, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: > >> > >> Why is cfform still so screwed? > >> > >> I generally avoid it, but I'm working on one for this > >> small project > >> because I'm already losing money on the project. It was > >> originally set > >> up with a cfgrid and the problem was that when 12 rows of > >> data were > >> entered in the grid, only 5 of those rows were passed to > >> the submit > >> page. So I got rid of the grid in favor of simple text > >> fields and > >> wanted to use cfinput to validate their being numeric. > >> But I also > >> wanted to make it easier for the user by applying tab > >> indexes to the > >> fields, and discovered that all the tabindex values have > >> .0 added to > >> them by cfinput, which of course makes the browser ignore > >> them. Why is > >> this screwed up? This is completely basic! > >> > >> s. isaac dealey 434.293.6201 > >> new epoch : isn't it time for a change? > >> > >> add features without fixtures with > >> the onTap open source framework > >> > >> http://www.fusiontap.com > >> http://coldfusion.sys-con.com/author/4806Dealey.htm > >> > >> > >> > > > ~~ > > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237144 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfform and bad tabindexes - wtf?
Are you talking about Flash forms? !k -Original Message- From: S.Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: April 6, 2006 12:06 PM To: CF-Talk Subject: Re: cfform and bad tabindexes - wtf? Apparently. :) Reminding myself why I avoid them in the first place... christ, these things are total garbage... I don't care what anybody says about the new flash widgets or new validation features, they just suck. The only improvement has been xforms, and that shipped with a major (albeit easily fixed) bug in the default XSL sheet. > They do it to piss you off :) > On 4/6/06, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: >> >> Why is cfform still so screwed? >> >> I generally avoid it, but I'm working on one for this >> small project >> because I'm already losing money on the project. It was >> originally set >> up with a cfgrid and the problem was that when 12 rows of >> data were >> entered in the grid, only 5 of those rows were passed to >> the submit >> page. So I got rid of the grid in favor of simple text >> fields and >> wanted to use cfinput to validate their being numeric. >> But I also >> wanted to make it easier for the user by applying tab >> indexes to the >> fields, and discovered that all the tabindex values have >> .0 added to >> them by cfinput, which of course makes the browser ignore >> them. Why is >> this screwed up? This is completely basic! >> >> s. isaac dealey 434.293.6201 >> new epoch : isn't it time for a change? >> >> add features without fixtures with >> the onTap open source framework >> >> http://www.fusiontap.com >> http://coldfusion.sys-con.com/author/4806Dealey.htm >> >> >> > ~~ > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237143 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFCHART
Sorry for HTML mail. You can reach sample graph via http://demirkapi.net/cfchart/mygraph01.png TIA! -Original Message- From: Oðuz_Demirkapý [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 6. April 2006 23:54 To: CF-Talk Subject: CFCHART Hi, I have a CFCHART problem. I am just trying to populate an Agri-Bar type chart from my database. I have 4 queries to populate my cfchartseries and my queries get 5 col from database. I have a graph like following. I can get my values from database but what about X-Axis labels (1-5)? How can I populate these labels from my database? When I use "myvalues" field from my queries, I have just 4 query but 5 X-Axis. :-( Any idea? TIA! Sincerely, Oðuz Demirkapý ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237142 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CFCHART
Hi, I have a CFCHART problem. I am just trying to populate an Agri-Bar type chart from my database. I have 4 queries to populate my cfchartseries and my queries get 5 col from database. I have a graph like following. I can get my values from database but what about X-Axis labels (1-5)? How can I populate these labels from my database? When I use "myvalues" field from my queries, I have just 4 query but 5 X-Axis. :-( Any idea? TIA! Sincerely, Oðuz Demirkapý ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237141 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Combine or separate GetOne and GetAll queries
Coding convention/best practice question here. In my component, I've got GetOneRecord and GetAllRecords functions. Is it best to combine those functions and use some CFIF logic around a WHERE statement, or should I keep them separate? Here's the combined code: SELECT * FROM table WHERE recordID = ORDER BY recordName Thoughts, anyone? Thanks, Cameron ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237140 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Error Translation Request...
Error Message: You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members There is a variable with a sting value. Joe = "Foobar" You are trying to access it as a structure Joe.Foobar or Joe["Foobar"] This is not allowed. I would guess that a structure variable is somewhere getting recast as a simple string. If you can turn on robust exception handling it the error message should give the line number of the offending line of code. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237139 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: selecting XmlAttribute of child node
That did it! > 34. > 35. > > Which child do you want? XmlChildren is the array of all the children > nodes. > > You would need something like: > cnThisAlbum.XmlChildren[1].XmlAttributes["src"] to get the src > attribute of the first img child node. > > If you want all of them, you will need a loop or something. > > > -- > Ian Skinner > Web Programmer > BloodSource > www.BloodSource.org > Sacramento, CA > > - > | 1 | | > - Binary Soduko > | | | > - > > "C code. C code run. Run code run. Please!" > - Cynthia Dunning > > Confidentiality Notice: This message including any > attachments is for the sole use of the intended > recipient(s) and may contain confidential and privileged > information. Any unauthorized review, use, disclosure or > distribution is prohibited. If you are not the > intended recipient, please contact the sender and > delete any copies of this message. > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237138 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: selecting XmlAttribute of child node
I would recommend using an xpath. It may or may not make your life easier. :) ~Brad -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 3:31 PM To: CF-Talk Subject: RE: selecting XmlAttribute of child node 34. 35. Which child do you want? XmlChildren is the array of all the children nodes. You would need something like: cnThisAlbum.XmlChildren[1].XmlAttributes["src"] to get the src attribute of the first img child node. If you want all of them, you will need a loop or something. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237137 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Error Translation Request...
I have an error message that randomly appears on a template that I would like some translation for. Can someone assist? Error Message: You have attempted to dereference a scalar variable of type class java.lang.String as a structure with members Thanks, Brian ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237136 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Multithreading within a request
I haven't used it in the same context but I run a scheduled task which puts the cfhttp in a separate thread. Running it like below runs the task once as soon as it's created so it might work. - Original Message - From: "Andrew Dixon" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Thursday, April 06, 2006 9:11 PM Subject: Multithreading within a request Hi All. Is it possible to multithread within a single request. For example, I would like to make multiple http requests to a web service, but at the moment they run one after the other, taken about 3 seconds each, but if I could run them both at the same time it would improve the performance of the script greatly, any ideas on how this could be done? Kind regards, Andrew ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237135 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How to create a Java Class for CF?
So noted (and correction ;)) Thanks. Joelle Rob Wilkerson wrote: > Are you literally trying to create a new file named "user.class"? If > so, that's your first problem. You need to create user.jar and > compile it to produce user.class. > > It sounds like you're pretty new to Java development, so it might be > worthwhile to spend some time reading and learning first. Java > development isn't all *that* much different - at least not in terms of > its file system architecture. A couple of nuances around "packages", > classpaths and jar files, but for getting started, understanding the > classpath should be sufficient. That's pretty core - even for initial > development. > > On 4/6/06, Joelle Tegwen <[EMAIL PROTECTED]> wrote: > >> background: I've been using eclipse for a while as an ASP developer but >> this one project is going to be done in CF. We're eventually moving to >> J2EE (we think) so I'd like to learn how to use Java oriented things >> when possible. >> >> So I was going to make a Java Class to put my data in. I started a >> project and then created a folder called "class" and then created a file >> inside it called user.class >> >> When I open the class I get an error: "Unable to create this part due to >> an internal error. Reason for the failure: The classfile is not on the >> classpath" I looked it up online and they talk about how to set things >> up right for a Java project, but what about for a CF project? >> >> Are there any resources out there to help me figure out how to set all >> of this up (both for CF and for Eclipse)? >> >> Thanks >> Joelle >> >> >> >> >> >> >> > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237134 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Newbie Model Glue Questions
Can someone help me answer these questions? 1) I set 'refresh' to false in the block, but it doesn't seem to work. The framework keeps reloading on every request. 2) As same above for 'debug'. 3) There can only be one ModelGlue.xml file per application. Is this correct? 4) If #3 is true, ModelGlue.xml file size can get really large. Wouldn't this be a pain to manage or maintain tons of event-handlers? 5) Are all CFC calls invoked through /controller/controller.cfc, which has references of business or other CFCs? 6) Lastly, would someone, who has a fairly large site in production that is using MG, be willing to give me a copy of ModelGlue.xml to look at? Thanks. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237133 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: selecting XmlAttribute of child node
34. 35. Which child do you want? XmlChildren is the array of all the children nodes. You would need something like: cnThisAlbum.XmlChildren[1].XmlAttributes["src"] to get the src attribute of the first img child node. If you want all of them, you will need a loop or something. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237132 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Multithreading within a request
>> Is it possible to multithread within a single request. For >> example, I would like to make multiple http requests to a web >> service, but at the moment they run one after the other, >> taken about 3 seconds each, but if I could run them both at >> the same time it would improve the performance of the script >> greatly, any ideas on how this could be done? > http://www.cftagstore.com/tags/cfxhttp5.cfm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237131 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multithreading within a request
I believe you could do this with an event gateway. They're asynchronous requests and can have multiple threads. -Original Message- From: Andrew Dixon [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 3:11 PM To: CF-Talk Subject: Multithreading within a request Hi All. Is it possible to multithread within a single request. For example, I would like to make multiple http requests to a web service, but at the moment they run one after the other, taken about 3 seconds each, but if I could run them both at the same time it would improve the performance of the script greatly, any ideas on how this could be done? Kind regards, Andrew ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237130 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Unable to initialize Graphing service jdk1.5.0_04
I have a slight emergency, of course. We just upgraded our BEA Weblogic server to version 9.1 running on Solaris, which came bundled with JDK 1.5.0_04. Using the same CFMX (7.01) workaround as previously used in the WLS 8.1 (running on JDK1.4.1) environment no longer works to allow the graphing service to initialize (and thus allow access to the administrator). (TechNote http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=ceb0e519) Now when starting up the WLS server which starts ColdFusion, the following error displays: 04/05 17:24:04 Error [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] - Unable to initialize Graphing service: java.lang.NoClassDefFoundError: sun/awt/font/NativeFontWrapper And of course, the Administrator does not load and throws an error. Has anyone run it on this java version successfully? I found the following on one of Sun's java forums: * quote: The class sun.awt.font.NativeFontWrapper is no longer part of JRE in Version 5.0 AFAICS, so I need to find another way to locate the files. Any suggestions? ** Re: J2SE 5.0 & FontPath Author: uhilger Jan 2, 2005 6:52 AM (reply 1 of 1) with J2SE 5 it is now String sPath = sun.font.FontManager.getFontPath(false); *** Is what is calling that compiled (I'm guessing in that webchartsJava2D.jar file)? Or is there something I can edit? I can't go backwards on my JRE or my appserver won't run at all. Any input or workaround appreciated. Thanks! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237129 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
selecting XmlAttribute of child node
I can't seem to get the "src" attribute of the node. I get the following error: Element XMLCHILDREN.XMLATTRIBUTES is undefined in CNTHISALBUM. 35 : 1. 2. 3. 4. 5. 6. 8. 9. 10. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32.#cnAlbumName# 33. 34. 35. 36. 37. 38. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237128 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Multithreading within a request
I'm stuck using MX6.1, so the gateway is not an option. Andrew. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237127 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CF interacting with Teradata Server
It is a, if you will, a baby copy of Informatica (informatica is the 800 pound guirella in the ETL market). - Original Message From: "Munson, Jacob" <[EMAIL PROTECTED]> To: CF-Talk Sent: Thursday, April 6, 2006 2:04:33 PM Subject: RE: CF interacting with Teradata Server > There is an application that is built entirely in Coldfusion > for doing ETL (Extraction Transformation and Loading) of data > from one database into another. I'm off topic from your original post, but what is this CF based ETL? I had no idea such an animal existed...or is that what you are trying to build? --- [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237126 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Multithreading within a request
You can't do it with CF natively, as CF doesn't expose any threading capabilities. You have to use Java to do it, though Sean Corfield built a concurrency toolkit that leveraged event gateways to let you get some functionality from native CF (since he wrote the Java). I don't know where to find it off hand, but a quick googling should turn it up. cheers, barneyb On 4/6/06, Andrew Dixon <[EMAIL PROTECTED]> wrote: > Hi All. > > Is it possible to multithread within a single request. For example, I would > like to make multiple http requests to a web service, but at the moment they > run one after the other, taken about 3 seconds each, but if I could run them > both at the same time it would improve the performance of the script > greatly, any ideas on how this could be done? > > Kind regards, > > Andrew -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237125 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Multithreading within a request
> Is it possible to multithread within a single request. For > example, I would like to make multiple http requests to a web > service, but at the moment they run one after the other, > taken about 3 seconds each, but if I could run them both at > the same time it would improve the performance of the script > greatly, any ideas on how this could be done? CFMX 7 Enterprise Edition allows you to do asynchronous processing using Event Gateways. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237124 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: getting the closest number to an increment of 25,000
>> Closest number (round): >> > >You can just use round for this, instead of adding an then using int: > > > >cheers, >barneyb > >On 4/6/06, One User <[EMAIL PROTECTED]> wrote: > > >-- >Barney Boisvert Of course. I use int(0.5+... because that Java rounding (MX and up), sometimes gives strange results. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237123 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Multithreading within a request
Hi All. Is it possible to multithread within a single request. For example, I would like to make multiple http requests to a web service, but at the moment they run one after the other, taken about 3 seconds each, but if I could run them both at the same time it would improve the performance of the script greatly, any ideas on how this could be done? Kind regards, Andrew ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237122 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CF interacting with Teradata Server
> There is an application that is built entirely in Coldfusion > for doing ETL (Extraction Transformation and Loading) of data > from one database into another. I'm off topic from your original post, but what is this CF based ETL? I had no idea such an animal existed...or is that what you are trying to build? --- [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237121 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFEXECUTE
Try to use "cscript.exe" instead of "wscript.exe" ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237120 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CF interacting with Teradata Server
Hello All, this is a question that may fall beyond what is this mailing list is for,so my apologies for doing that. But, I am in a dilemma. There is an application that is built entirely in Coldfusion for doing ETL (Extraction Transformation and Loading) of data from one database into another. Now, in order to test this tool on a real time project, there is an unrelated issue that is taking time. We need to design the database in Teradata and then use this tool to map data from SQL Server tables into Teradata tables. In order to create the database design, I have been asked to find out the best Logical Data Models there are in the industry. The company is willing to pay money to purchase those models. We are looking for retail LDM samples in general and coupon business related in particular. I do not know how to do the research and find the best commercial LDM out there. Can someone guide me on this? Thank You. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237119 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
SOT: Dreamweaver check in/check out issues, "File activity incomplete".
I have run into a very perplexing problem today with Dreamweaver 8.0.1, I can't find a thing about it on MM's site, and I'm wondering if anyone else has experienced this and might know what causes it. This has to do with Dreamweaver "losing" the latest version of my files or reverting them back to an old version after an error. I am using Dreamweaver check in/check out, there is 1 other developer working on the same project. We are developing on a separate Win2K3 dev server and keeping local copies. We are connecting to the server via local file system. A couple hours ago I checked out a file, made some changes, and when I attempted to upload it, I received a Dreamweaver error in the "Background file activity" window that said "File activity incomplete. 1 file(s) or folder(s) were not completed." There were no additional details shown. I could not check in the file. I restarted Dreamweaver which did not fix the problem. I rebooted which did not fix the problem. I went into the server and manually deleted the file on the server, and was then able to upload the file. However when I went back to work on other files I had been working on all morning, I discovered that all my local files and all the files on the server had reverted back to what I started with first thing this morning. For what it's worth, I hadn't been running much of the code on the server, I was writing a bunch of interdependent cfc's that needed to be complete before they could run, so I was doing a lot of local writing and not a lot of server testing, meaning I can't remember what the latest version on the server actually was. I did receive this DW error when I opened the files after restarting: "The document (my doc) has changed since the last time you opened it in Dreamweaver. The starting and ending points of collapsed code may have shifted, and you may not be able to see the changes. Do you want to expand all collapsed code so that you can reset collapsible fragments?" (I did have chunks of collapsed code). Then when I opened the file it was old. There were still check-in "lock/lck" files on the server showing the timestamp from the latest version, but the files themselves were old and timestamped from yesterday. Both the other developer and I had edited the troublesome file (happened to be Application.cfm) during the time this occurred, but files that I lost had not been touched by the other developer. Luckily my system admin was able to recover my work from a backup about a half hour before the data loss occured. I started working again and am now again encountering the same problem, once again I cannot upload this file. I just tried opening one of my other files and I'm getting the same "the document has changed" error. Has anyone ever seen anything like this? I've had issues in the past with Dreamweaver not putting the latest version of my files due to incorrect timestamps, but I applied the 8.0.1 updater and haven't had the issue since. Not sure if this is related or not. Anyone who can shed some light on this will be my hero :) Thanks! Rachel Maxim - - - - - - - - - - - - - - - - - - - - - - - - Creative Director Case Design/Remodeling, Inc. & Case Handyman Services, LLC. CaseDesign.com - CaseHandyman.com ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237118 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: getting the closest number to an increment of 25,000
> Closest number (round): > You can just use round for this, instead of adding an then using int: cheers, barneyb On 4/6/06, One User <[EMAIL PROTECTED]> wrote: > Closest number, which is SMALLER than a given "num" (round down): > > > Closest number, which is LARGER than a given "num" (round up): > > > Closest number (round): > > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237117 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: getting the closest number to an increment of 25,000
Closest number, which is SMALLER than a given "num" (round down): Closest number, which is LARGER than a given "num" (round up): Closest number (round): ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237116 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfform and bad tabindexes - wtf?
Apparently. :) Reminding myself why I avoid them in the first place... christ, these things are total garbage... I don't care what anybody says about the new flash widgets or new validation features, they just suck. The only improvement has been xforms, and that shipped with a major (albeit easily fixed) bug in the default XSL sheet. > They do it to piss you off :) > On 4/6/06, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: >> >> Why is cfform still so screwed? >> >> I generally avoid it, but I'm working on one for this >> small project >> because I'm already losing money on the project. It was >> originally set >> up with a cfgrid and the problem was that when 12 rows of >> data were >> entered in the grid, only 5 of those rows were passed to >> the submit >> page. So I got rid of the grid in favor of simple text >> fields and >> wanted to use cfinput to validate their being numeric. >> But I also >> wanted to make it easier for the user by applying tab >> indexes to the >> fields, and discovered that all the tabindex values have >> .0 added to >> them by cfinput, which of course makes the browser ignore >> them. Why is >> this screwed up? This is completely basic! >> >> s. isaac dealey 434.293.6201 >> new epoch : isn't it time for a change? >> >> add features without fixtures with >> the onTap open source framework >> >> http://www.fusiontap.com >> http://coldfusion.sys-con.com/author/4806Dealey.htm >> >> >> > ~~ > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237115 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfform and bad tabindexes - wtf?
They do it to piss you off :) On 4/6/06, S. Isaac Dealey <[EMAIL PROTECTED]> wrote: > > Why is cfform still so screwed? > > I generally avoid it, but I'm working on one for this small project > because I'm already losing money on the project. It was originally set > up with a cfgrid and the problem was that when 12 rows of data were > entered in the grid, only 5 of those rows were passed to the submit > page. So I got rid of the grid in favor of simple text fields and > wanted to use cfinput to validate their being numeric. But I also > wanted to make it easier for the user by applying tab indexes to the > fields, and discovered that all the tabindex values have .0 added to > them by cfinput, which of course makes the browser ignore them. Why is > this screwed up? This is completely basic! > > s. isaac dealey 434.293.6201 > new epoch : isn't it time for a change? > > add features without fixtures with > the onTap open source framework > > http://www.fusiontap.com > http://coldfusion.sys-con.com/author/4806Dealey.htm > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237114 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
cfform and bad tabindexes - wtf?
Why is cfform still so screwed? I generally avoid it, but I'm working on one for this small project because I'm already losing money on the project. It was originally set up with a cfgrid and the problem was that when 12 rows of data were entered in the grid, only 5 of those rows were passed to the submit page. So I got rid of the grid in favor of simple text fields and wanted to use cfinput to validate their being numeric. But I also wanted to make it easier for the user by applying tab indexes to the fields, and discovered that all the tabindex values have .0 added to them by cfinput, which of course makes the browser ignore them. Why is this screwed up? This is completely basic! s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237113 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: SQL 2005 and getiing data out
I need something I can run in a .bat file as it loads in a batch server. These databases have about 20 million records and the files can be quite large. CFFILE might time out, trying to write out a file with 80 fields and 50,000 records. Jeremy -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 10:45 AM To: CF-Talk Subject: RE: SQL 2005 and getiing data out What about using CF to do it? Query the DB and use cffile to dump out a csv. > -Original Message- > From: Jeremy Bunton [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 06, 2006 8:12 AM > > I have an application that needs to run a query against a > 2005 database and > then export that data to a .csv file. I tried BCP first and > it didn't do > what I needed really so then I moved to sqlcmd, which had the > options I > needed. The problem is sometimes the queries the users build in the > interface to pull the records get quite large. Some have IN > clauses with > several thousand items in the list. Both bcp and sqlcmd die > on these because > the command arguments are too long. The quires run fine in > coldfusion and in > the query analyzer, I just can't find a method to pull out > the records. Any > ideas?? [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237112 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Ray's Sounding app - anyone tried allowing question branching?
That's a nice feature request Kay. We use sounding pretty heavily with a national food company. It's usually tied into their mailings which have surpassed the 100,000 subscriber mark. There's always a freebie for those that complete the survey so unfortunately the link to the survey is always leaked out to slickdeals and fatwallet. These 2 sites have a near Slashdot effect on a server. The first time this happened we ended up having to move their results off to a dedicated server just so we could wait out the 6+ hours it took to create the excel dump. Which in turn was filled with useless garbage because people just clicked buttons and filled out gibberish to get to the freebie. I would love question #1 to be "Where did you hear about us" and those that select either of those 2 sites could just get forwarded to a coupon finish. It might not help the processing time but it certainly would help the server load after the initial mailer. Either way Ray. Stay on course with the N questions feature. It would really add to the end user experience for those of us who are launching 80 question surveys. As always, thanks for the great work. Emmet -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 10:26 AM To: CF-Talk Subject: Re: Ray's Sounding app - anyone tried allowing question branching? I can tell you my thoughts on it. The idea I had was that a question would have a dependancy. The dependancy would be a string like question1 eq 2 The current question would only run if the dependancy was true. I think that may be the right path, but I haven't really worked on it. My next big update for Soundings was to allow for N questions per page. On 4/5/06, Kay Smoljak <[EMAIL PROTECTED]> wrote: > I've implemented Ray's Soundings app into a FarCry CMS site - I > stripped out most of the menus etc and put the limited items that I do > need into the FarCry menu system. It does the job quite nicely. > > The client is asking though if they can have question branching - eg, > if Answer N is selected on Question X, jump directly to Question Y. > > Has anyone done anything like this? Has anyone got any idea how I'd go about it? > > Cheers, > K. > > -- > Kay Smoljak > http://kay.smoljak.com/ > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237111 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Creating Random HEX values
How awesome is that?!?! Great idea Ken. Let us know how it works. -Original Message- From: Ken Fused [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 10:33 AM To: CF-Talk Subject: Re: Creating Random HEX values Thank you Andy this works great. Thank you. I removed the 0 and now I get random 6 digit hex values that do not contain Zeros. As the numbers are generated I'll check them against the values that exist in the DB before adding them to the db to ensure uniqueness. I could have used UUID, but the length was overkill. I could have used listfirst() and pulled the first 8 characters and had it not been for Andy's solution I would have gone that way. So thank you form bringing up the use of UUID. This will be used for a project for my 5 year old daughter (ok at daddy's urging). Today is her birthday. I have rented a helium tank for a year. Everyday we are going to launch balloons with a plastic easter egg attached to them. Inside the egg will be a laminated piece of paper with the 6 digit registration number, a website address and directions to register when and where the balloon was found. The registration number will be used as a unique id to tie the found data with the launch informaiton, when the balloon was launched, where, time of day, weather conditions, wind information, etc... It will be fun for her to make meet other people and see were they live in comparison to where the balloon was launched. Initially for her it will be about people finding her balloons and making friends. I wouldn't mind keeping this up for god only knows how long. Then as she gets into science classes etc.. she can use the data for school projects... I am hoping to use google maps to show the locations of where the balloons were launched and found. But I've not started on the piece yet. >I have a function that I wrote for this very purpose. > > > /** >* Returns a random hexadecimal color >* @return Returns a string. >* @author andy matthews ([EMAIL PROTECTED]) >* @version 1, 7/22/2005 >*/ > > function randomHexColor() { > var chars = "0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f"; > var totalChars = 6; > var hexCode = ''; > > for ( step=1;step LTE totalChars; step = step + 1) { > hexCode = hexCode & > ListGetAt(chars,RandRange(1,ListLen(chars))); > } > return hexCode; > } > > >andy matthews >web developer >ICGLink, Inc. >[EMAIL PROTECTED] >615.370.1530 x737 >--//-> > >-Original Message- >From: Ken Fused [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 06, 2006 9:47 AM >To: CF-Talk >Subject: Creating Random HEX values > > >I need to create random six digit Hex values for a assigning unique, >non-sequential values as IDs. > >I would prefer not to use zeros. Althought I could replace o(ohs) with >0(zeros) when the number is manually entered back into the system. > >Any ideas? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237110 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Creating Random HEX values
What a cool project. On 4/6/06, Ken Fused <[EMAIL PROTECTED]> wrote: > Thank you > > Andy this works great. Thank you. > > I removed the 0 and now I get random 6 digit hex values that do not contain > Zeros. As the numbers are generated I'll check them against the values that > exist in the DB before adding them to the db to ensure uniqueness. > > > I could have used UUID, but the length was overkill. I could have used > listfirst() and pulled the first 8 characters and had it not been for Andy's > solution I would have gone that way. So thank you form bringing up the use of > UUID. > > This will be used for a project for my 5 year old daughter (ok at daddy's > urging). Today is her birthday. I have rented a helium tank for a year. > Everyday we are going to launch balloons with a plastic easter egg attached > to them. > > Inside the egg will be a laminated piece of paper with the 6 digit > registration number, a website address and directions to register when and > where the balloon was found. > > The registration number will be used as a unique id to tie the found data > with the launch informaiton, when the balloon was launched, where, time of > day, weather conditions, wind information, etc... > > It will be fun for her to make meet other people and see were they live in > comparison to where the balloon was launched. Initially for her it will be > about people finding her balloons and making friends. > > I wouldn't mind keeping this up for god only knows how long. Then as she gets > into science classes etc.. she can use the data for school projects... > > I am hoping to use google maps to show the locations of where the balloons > were launched and found. But I've not started on the piece yet. > > > > > >I have a function that I wrote for this very purpose. > > > > > > /** > >* Returns a random hexadecimal color > >* @return Returns a string. > >* @author andy matthews ([EMAIL PROTECTED]) > >* @version 1, 7/22/2005 > >*/ > > > > function randomHexColor() { > > var chars = "0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f"; > > var totalChars = 6; > > var hexCode = ''; > > > > for ( step=1;step LTE totalChars; step = step + 1) { > > hexCode = hexCode & > > ListGetAt(chars,RandRange(1,ListLen(chars))); > > } > > return hexCode; > > } > > > > > > >andy matthews > >web developer > >ICGLink, Inc. > >[EMAIL PROTECTED] > >615.370.1530 x737 > >--//-> > > > >-Original Message- > >From: Ken Fused [mailto:[EMAIL PROTECTED] > >Sent: Thursday, April 06, 2006 9:47 AM > >To: CF-Talk > >Subject: Creating Random HEX values > > > > > >I need to create random six digit Hex values for a assigning unique, > >non-sequential values as IDs. > > > >I would prefer not to use zeros. Althought I could replace o(ohs) with > >0(zeros) when the number is manually entered back into the system. > > > >Any ideas? > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237109 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFLDAP Question ?
If I were to do this, I would create an inner loop that looped over the proxyAddresses list (using the correct delimiter, of course). Then, within that inner loop, I would use a regular expression to test for the correct syntax of email address. Once I found the correct address, I would save it, then break out of the inner loop. Then, that would be the value I would insert into the mailNickname attribute. Others may choose to eschew the inner loop in favor of a more-complicated regex, but I would make it easy for me using the inner loop and looking at only one proxyAddress email at a time. ;) Just remember to set the SEPARATOR="|" attribute in your first CFLDAP query. That will make sure your proxyAddresses are returned like below. I think the default comma separator would work since you can't have a comma in an email address, but I always choose to use the pipe to make it stand out more. Example proxyAddresses value: "[EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]|etc..." M!ke -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 9:41 AM To: CF-Talk Subject: RE: CFLDAP Question ? Mike The following code seems to work, however it does not update everybody in the OU correctly because with some users it is picking up the second smtp address hy079 for example and populating the mailnickname with that? This may be because in some of the proxyaddresses users have Smtp[EMAIL PROTECTED] Smtp[EMAIL PROTECTED] etc.. Could the script be used to ignore the hy079 type suffixes (i.e. the suffixes without a .) ? And only use the a.testuser3 type suffixes ? s = "#adresult.proxyAddresses#"; re = "SMTP:([EMAIL PROTECTED]).*"; s = reReplaceNoCase(s, re, "\1"); writeoutput("#s#"); Any ideas? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237108 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Creating Random HEX values
This project sounds awesome, and I'm glad to see that there truly are people out there that care about their kids (or even care to /have/ kids, for that matter). :D > -Original Message- > From: Ken Fused [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 06, 2006 9:33 AM > > This will be used for a project for my 5 year old daughter > (ok at daddy's urging). Today is her birthday. I have > rented a helium tank for a year. Everyday we are going to > launch balloons with a plastic easter egg attached to them. > > Inside the egg will be a laminated piece of paper with the 6 > digit registration number, a website address and directions > to register when and where the balloon was found. > > The registration number will be used as a unique id to tie > the found data with the launch informaiton, when the balloon > was launched, where, time of day, weather conditions, wind > information, etc... > > It will be fun for her to make meet other people and see were > they live in comparison to where the balloon was launched. > Initially for her it will be about people finding her > balloons and making friends. > > I wouldn't mind keeping this up for god only knows how long. > Then as she gets into science classes etc.. she can use the > data for school projects... > > I am hoping to use google maps to show the locations of where > the balloons were launched and found. But I've not started > on the piece yet. This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237107 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How to create a Java Class for CF?
LOL. Yes it should. Thanks, James. On 4/6/06, James Holmes <[EMAIL PROTECTED]> wrote: > That should be "user.java" not user.jar. > > On 4/6/06, Rob Wilkerson <[EMAIL PROTECTED]> wrote: > > Are you literally trying to create a new file named "user.class"? If > > so, that's your first problem. You need to create user.jar and > > compile it to produce user.class. > > -- > CFAJAX docs and other useful articles: > http://jr-holmes.coldfusionjournal.com/ > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237106 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How to create a Java Class for CF?
That should be "user.java" not user.jar. On 4/6/06, Rob Wilkerson <[EMAIL PROTECTED]> wrote: > Are you literally trying to create a new file named "user.class"? If > so, that's your first problem. You need to create user.jar and > compile it to produce user.class. -- CFAJAX docs and other useful articles: http://jr-holmes.coldfusionjournal.com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237105 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Creating Random HEX values
Thank you Andy this works great. Thank you. I removed the 0 and now I get random 6 digit hex values that do not contain Zeros. As the numbers are generated I'll check them against the values that exist in the DB before adding them to the db to ensure uniqueness. I could have used UUID, but the length was overkill. I could have used listfirst() and pulled the first 8 characters and had it not been for Andy's solution I would have gone that way. So thank you form bringing up the use of UUID. This will be used for a project for my 5 year old daughter (ok at daddy's urging). Today is her birthday. I have rented a helium tank for a year. Everyday we are going to launch balloons with a plastic easter egg attached to them. Inside the egg will be a laminated piece of paper with the 6 digit registration number, a website address and directions to register when and where the balloon was found. The registration number will be used as a unique id to tie the found data with the launch informaiton, when the balloon was launched, where, time of day, weather conditions, wind information, etc... It will be fun for her to make meet other people and see were they live in comparison to where the balloon was launched. Initially for her it will be about people finding her balloons and making friends. I wouldn't mind keeping this up for god only knows how long. Then as she gets into science classes etc.. she can use the data for school projects... I am hoping to use google maps to show the locations of where the balloons were launched and found. But I've not started on the piece yet. >I have a function that I wrote for this very purpose. > > > /** >* Returns a random hexadecimal color >* @return Returns a string. >* @author andy matthews ([EMAIL PROTECTED]) >* @version 1, 7/22/2005 >*/ > > function randomHexColor() { > var chars = "0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f"; > var totalChars = 6; > var hexCode = ''; > > for ( step=1;step LTE totalChars; step = step + 1) { > hexCode = hexCode & > ListGetAt(chars,RandRange(1,ListLen(chars))); > } > return hexCode; > } > > >andy matthews >web developer >ICGLink, Inc. >[EMAIL PROTECTED] >615.370.1530 x737 >--//-> > >-Original Message- >From: Ken Fused [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 06, 2006 9:47 AM >To: CF-Talk >Subject: Creating Random HEX values > > >I need to create random six digit Hex values for a assigning unique, >non-sequential values as IDs. > >I would prefer not to use zeros. Althought I could replace o(ohs) with >0(zeros) when the number is manually entered back into the system. > >Any ideas? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237104 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: How to create a Java Class for CF?
Are you literally trying to create a new file named "user.class"? If so, that's your first problem. You need to create user.jar and compile it to produce user.class. It sounds like you're pretty new to Java development, so it might be worthwhile to spend some time reading and learning first. Java development isn't all *that* much different - at least not in terms of its file system architecture. A couple of nuances around "packages", classpaths and jar files, but for getting started, understanding the classpath should be sufficient. That's pretty core - even for initial development. On 4/6/06, Joelle Tegwen <[EMAIL PROTECTED]> wrote: > background: I've been using eclipse for a while as an ASP developer but > this one project is going to be done in CF. We're eventually moving to > J2EE (we think) so I'd like to learn how to use Java oriented things > when possible. > > So I was going to make a Java Class to put my data in. I started a > project and then created a folder called "class" and then created a file > inside it called user.class > > When I open the class I get an error: "Unable to create this part due to > an internal error. Reason for the failure: The classfile is not on the > classpath" I looked it up online and they talk about how to set things > up right for a Java project, but what about for a CF project? > > Are there any resources out there to help me figure out how to set all > of this up (both for CF and for Eclipse)? > > Thanks > Joelle > > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237103 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Creating Random HEX values
Well, I correct my original statement. I didn't intend for this to be used as a login or user id, but literally as a random hex value: http://www.andyandjaime.com/uploads/am.cfm -Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 10:02 AM To: CF-Talk Subject: Re: Creating Random HEX values Looking at this, though, I don't see any indication that randomness is guaranteed which might become a problem if these values are being used for IDs. Ken, is there any reason you can't just use a UUID? On 4/6/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > I have a function that I wrote for this very purpose. > > > /** > * Returns a random hexadecimal color > * @return Returns a string. > * @author andy matthews ([EMAIL PROTECTED]) > * @version 1, 7/22/2005 > */ > > function randomHexColor() { > var chars = "0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f"; > var totalChars = 6; > var hexCode = ''; > > for ( step=1;step LTE totalChars; step = step + 1) { > hexCode = hexCode & ListGetAt(chars,RandRange(1,ListLen(chars))); > } > return hexCode; > } > > > andy matthews > web developer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --//-> > > -Original Message- > From: Ken Fused [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 06, 2006 9:47 AM > To: CF-Talk > Subject: Creating Random HEX values > > > I need to create random six digit Hex values for a assigning unique, > non-sequential values as IDs. > > I would prefer not to use zeros. Althought I could replace o(ohs) with > 0(zeros) when the number is manually entered back into the system. > > Any ideas? > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237102 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
How to create a Java Class for CF?
background: I've been using eclipse for a while as an ASP developer but this one project is going to be done in CF. We're eventually moving to J2EE (we think) so I'd like to learn how to use Java oriented things when possible. So I was going to make a Java Class to put my data in. I started a project and then created a folder called "class" and then created a file inside it called user.class When I open the class I get an error: "Unable to create this part due to an internal error. Reason for the failure: The classfile is not on the classpath" I looked it up online and they talk about how to set things up right for a Java project, but what about for a CF project? Are there any resources out there to help me figure out how to set all of this up (both for CF and for Eclipse)? Thanks Joelle ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237101 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Creating Random HEX values
Yes, initially they are. However, I will be checking the randomly created number against the DB to ensure it is not already in use. >"random" and "unique" are mutually exclusive. > >-Original Message- >From: Ken Fused [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 06, 2006 10:47 AM >To: CF-Talk >Subject: Creating Random HEX values > > >I need to create random six digit Hex values for a assigning unique, >non-sequential values as IDs. > >I would prefer not to use zeros. Althought I could replace o(ohs) with >0(zeros) when the number is manually entered back into the system. > >Any ideas? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237100 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Creating Random HEX values
Looking at this, though, I don't see any indication that randomness is guaranteed which might become a problem if these values are being used for IDs. Ken, is there any reason you can't just use a UUID? On 4/6/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > I have a function that I wrote for this very purpose. > > > /** > * Returns a random hexadecimal color > * @return Returns a string. > * @author andy matthews ([EMAIL PROTECTED]) > * @version 1, 7/22/2005 > */ > > function randomHexColor() { > var chars = "0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f"; > var totalChars = 6; > var hexCode = ''; > > for ( step=1;step LTE totalChars; step = step + 1) { > hexCode = hexCode & > ListGetAt(chars,RandRange(1,ListLen(chars))); > } > return hexCode; > } > > > andy matthews > web developer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --//-> > > -Original Message- > From: Ken Fused [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 06, 2006 9:47 AM > To: CF-Talk > Subject: Creating Random HEX values > > > I need to create random six digit Hex values for a assigning unique, > non-sequential values as IDs. > > I would prefer not to use zeros. Althought I could replace o(ohs) with > 0(zeros) when the number is manually entered back into the system. > > Any ideas? > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237099 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Creating Random HEX values
I have a function that I wrote for this very purpose. /** * Returns a random hexadecimal color * @return Returns a string. * @author andy matthews ([EMAIL PROTECTED]) * @version 1, 7/22/2005 */ function randomHexColor() { var chars = "0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f"; var totalChars = 6; var hexCode = ''; for ( step=1;step LTE totalChars; step = step + 1) { hexCode = hexCode & ListGetAt(chars,RandRange(1,ListLen(chars))); } return hexCode; } -Original Message- From: Ken Fused [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 9:47 AM To: CF-Talk Subject: Creating Random HEX values I need to create random six digit Hex values for a assigning unique, non-sequential values as IDs. I would prefer not to use zeros. Althought I could replace o(ohs) with 0(zeros) when the number is manually entered back into the system. Any ideas? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237098 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Creating Random HEX values
"random" and "unique" are mutually exclusive. -Original Message- From: Ken Fused [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 10:47 AM To: CF-Talk Subject: Creating Random HEX values I need to create random six digit Hex values for a assigning unique, non-sequential values as IDs. I would prefer not to use zeros. Althought I could replace o(ohs) with 0(zeros) when the number is manually entered back into the system. Any ideas? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237097 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: SQL 2005 and getiing data out
What about using CF to do it? Query the DB and use cffile to dump out a csv. > -Original Message- > From: Jeremy Bunton [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 06, 2006 8:12 AM > > I have an application that needs to run a query against a > 2005 database and > then export that data to a .csv file. I tried BCP first and > it didn't do > what I needed really so then I moved to sqlcmd, which had the > options I > needed. The problem is sometimes the queries the users build in the > interface to pull the records get quite large. Some have IN > clauses with > several thousand items in the list. Both bcp and sqlcmd die > on these because > the command arguments are too long. The quires run fine in > coldfusion and in > the query analyzer, I just can't find a method to pull out > the records. Any > ideas?? [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A2 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237096 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Creating Random HEX values
I need to create random six digit Hex values for a assigning unique, non-sequential values as IDs. I would prefer not to use zeros. Althought I could replace o(ohs) with 0(zeros) when the number is manually entered back into the system. Any ideas? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237095 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFLDAP Question ?
Mike The following code seems to work, however it does not update everybody in the OU correctly because with some users it is picking up the second smtp address hy079 for example and populating the mailnickname with that? This may be because in some of the proxyaddresses users have Smtp[EMAIL PROTECTED] Smtp[EMAIL PROTECTED] etc.. Could the script be used to ignore the hy079 type suffixes (i.e. the suffixes without a .) ? And only use the a.testuser3 type suffixes ? s = "#adresult.proxyAddresses#"; re = "SMTP:([EMAIL PROTECTED]).*"; s = reReplaceNoCase(s, re, "\1"); writeoutput("#s#"); Any ideas? -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: 06 April 2006 15:16 To: CF-Talk Subject: RE: CFLDAP Question ? You have two CFLOOPs in your code. Both your block and second query should be in the same block. Just remove the first and the second and you should be fine. What it's doing is you are looping through all of your results and setting each one to your "s" variable. Then, when that first loop is complete, "s" holds the last value. Then, you start over with the second loop which is using the "s" from the previous group. M!ke ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237094 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Ray's Sounding app - anyone tried allowing question branching?
I can tell you my thoughts on it. The idea I had was that a question would have a dependancy. The dependancy would be a string like question1 eq 2 The current question would only run if the dependancy was true. I think that may be the right path, but I haven't really worked on it. My next big update for Soundings was to allow for N questions per page. On 4/5/06, Kay Smoljak <[EMAIL PROTECTED]> wrote: > I've implemented Ray's Soundings app into a FarCry CMS site - I > stripped out most of the menus etc and put the limited items that I do > need into the FarCry menu system. It does the job quite nicely. > > The client is asking though if they can have question branching - eg, > if Answer N is selected on Question X, jump directly to Question Y. > > Has anyone done anything like this? Has anyone got any idea how I'd go about > it? > > Cheers, > K. > > -- > Kay Smoljak > http://kay.smoljak.com/ > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237093 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Asp calling ColdFusion
One possibility would be to use an iframe and some JS to pull in the various parameters and pass those along to the ASP page. hth, larry -- Larry C. Lyons Web Analyst Biodefense & Emerging Infections Research Resources Repository American Type Culture Collection email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- >-Original Message- >From: Michael Dinowitz [mailto:[EMAIL PROTECTED] >Sent: Wednesday, April 05, 2006 5:14 PM >To: CF-Talk >Subject: OT: Asp calling ColdFusion > > >Is there any simple way to make Asp (not .net) call a CF page for >processing? CF can use the getPageContext.include() to cause an asp page to >be processed inside the CF context. Is there something on the Asp side that >allows a CF page to be processed inside the Asp context? > >I want to have Asp call a CF page to do a monthly DB cleanup and I can't >move from Asp to CF for this (yet. its for a client) > >Thanks ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237092 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFLDAP Question ?
You have two CFLOOPs in your code. Both your block and second query should be in the same block. Just remove the first and the second and you should be fine. What it's doing is you are looping through all of your results and setting each one to your "s" variable. Then, when that first loop is complete, "s" holds the last value. Then, you start over with the second loop which is using the "s" from the previous group. M!ke -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 8:04 AM To: CF-Talk Subject: RE: CFLDAP Question ? Mike When running the script below, it changes the mailnickname(alias) but all to the same value which seems to be the last user in the ou's proxyaddresses which in this case is a.testuser3 So all 3 users in this OU now have an mailnickname(alias) of a.testuser3 instead of it picking the correct mail suffix from each of their proxyaddresses. Any ideas why this is happening from the code below ? s = "#adresult.mailNickname#"; re = "SMTP:([EMAIL PROTECTED]).*"; s = reReplaceNoCase(s, re, "\1", "all"); writeoutput("#s#"); Changes Completed ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237091 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: cfencode question
Taking the 'template' header out kills the code, all function is lost. Steve -Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 12:20 PM To: CF-Talk Subject: Re: cfencode question I'll add this semi-related note: I believe there's a /h switch that says it's supposed to supply a header. I've tried using that to change the value you're trying to remove, but had no luck.I didn't care enough to pursue that option vigorously, though, so maybe that can be of some help if it's a bigger deal to you. On 4/5/06, Nathan Strutz <[EMAIL PROTECTED]> wrote: > Steve, > > Interesting question. I would shoot for trial & error. Maybe take it out. > Maybe replace it with other ASCII characters. My guess is that it has to > stay in there, but it's worth a shot. > > -nathan strutz > http://www.dopefly.com/ > > > On 4/4/06, Steve Kahn <[EMAIL PROTECTED]> wrote: > > > > Im using cfencode, do I have to leave the 'Allaire Cold Fusion Template' > > statement at the top for it to work or can I delete it? > > > > Thanks > > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237090 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Updating JRE on MX701
I don't see how it can be "tested and certified" if CF LDAP wont work after _05 Jim Watkins -- Sent from my Clarkesville Office 706 754-7850 -Original Message- From: Stephen Moretti [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 21, 2006 11:03 AM To: CF-Talk Subject: Re: Updating JRE on MX701 Andy Allan wrote: > Actually, you'll find it's: > Tested and certified with Sun JDK 1.4.2_05, 1.4.2_07 and 1.4.2_09. > > http://www.macromedia.com/software/coldfusion/productinfo/systemreqs/ > > hmmm so it is Maybe I'm remembering CFMX6 stuff Something we both agree on though - anything ldap is chuffed after version 1.4.2_05 ;) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237089 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Upgrading JVM to 1.4.2_09
I run LDAP, Webservices, and XML. Java Version 1.4.2_05 with MX version 7,0,1,116466 on Windows 2003 and have some Java crashes. I would like to know if I upgrade to _09 will it cause issues? Jim Watkins -- Sent from my Clarkesville Office 706 754-7850 -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 9:19 AM To: CF-Talk Subject: Re: Upgrading JVM to 1.4.2_09 Just to be sure (and safe - we live and die on XML here) - as long as I stick with upgrading to 1.4.2_09 the only known gray area is LDAP, right? XML is OK? I'll try to get a statement out of the Adobe/MM support person about official support for LDAP with 1.4.2_09, since it sounds like others have seen problems with the _06 through _08 versions. >Aaaand I'm late to another thread. Sorry, didn't see your question earlier. > >Scott, > >Java 5 is incompatible with the Apache Axis stuff that's built into CF. >Basically, you can kiss your web services goodbye if you upgrade past 1.4. >That fact is pretty well confirmed. I heard (but have no proof) that >people were having trouble with XML and LDAP as well. I did it to my >test server a while ago, and it was fine. Everything was running great, >but I wasn't doing anything with XML, web services, LDAP or anything special, really. > >-nathan strutz >http://www.dopefly.com/ > > > >On 4/5/06, Scott Stewart <[EMAIL PROTECTED]> wrote: >> ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237088 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
SQL 2005 and getiing data out
I have an application that needs to run a query against a 2005 database and then export that data to a .csv file. I tried BCP first and it didn't do what I needed really so then I moved to sqlcmd, which had the options I needed. The problem is sometimes the queries the users build in the interface to pull the records get quite large. Some have IN clauses with several thousand items in the list. Both bcp and sqlcmd die on these because the command arguments are too long. The quires run fine in coldfusion and in the query analyzer, I just can't find a method to pull out the records. Any ideas?? Thanks Jeremy ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237087 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Where can I download CF 6.1?
Never mind. Didn't think that Adobe would still make it available on their site: http://www.macromedia.com/software/coldfusionmx61/downloads/ -Original Message- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 9:01 AM To: CF-Talk Subject: Where can I download CF 6.1? I'm reinstalling my local computer's dev server and need to get a copy of CF 6.1 to mirror our remote server's environment. Does anyone know where I can get a copy of it online? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237086 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Where can I download CF 6.1?
I'm reinstalling my local computer's dev server and need to get a copy of CF 6.1 to mirror our remote server's environment. Does anyone know where I can get a copy of it online? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237085 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Upgrading JVM to 1.4.2_09
Scott, I'm not nathan, but we did upgrade to 1.5 and have been running that in production for a while now. It's very stable and after the latest jrun updates there aren't any issues that we have experienced. We do use xml functionality, but not really any web services so I can't tell you about that. Leon -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 11:37 AM To: CF-Talk Subject: RE: Upgrading JVM to 1.4.2_09 Nathan, When you upgraded to 1.5, what errors did you see? Thanks Scott Scott A. Stewart Webmaster/ Developer GlobalNet Services, Inc http://www.gnsi.com 11820 Parklawn Dr Rockville, MD 20852 Voice: (301) 770-9610 x 335 Fax: (301) 770-9611 The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. -Original Message- From: Nathan Strutz [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 12:10 PM To: CF-Talk Subject: Re: Upgrading JVM to 1.4.2_09 I've upgraded my JVM a number of times, had no problems, ever. As long as you stay in the 1.4.2 space, the _#s are just bugfixes mostly, and you can safely upgrade on CFMX 6 or 7 (just watch out for 1.5 if you like web services and XML). I won't say that upgrading my JVM solved every one of my problems with servers crashing, but it did help. Really, the way to go is to see about re-architecting your applications, upgrading your servers (Java can use almost 2GB of RAM on a 32bit server), or considering network load balancing. -nathan strutz http://www.dopefly.com/ On 4/5/06, powell @ nauticom. net powell @ nauticom. net < [EMAIL PROTECTED]> wrote: > > We've been having a rash of JVM crashes (1 per day usually) for the > past 7-10 days. That's better than what it was before then (4-5 per > day). We opened a ticket with Adobe/MM and made some jvm.config > changes they suggested for heap memory handling (and also moved the > client var database from Access to SQL Server), and that changed the > frequency and nature of the > crashes. The JVM crashes we're seeing now have the JVM apparently > running out of memory (NT memory, not heap memory) and stopping in it's tracks. The > latest suggestion from Adobe/MM is to upgrade to version 1.4.2_09 of > the JVM, since this could in fact be a JVM bug. > > Anyone out there done this and know of any gotchas before I do this? > > TIA, > Reed > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237084 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Asp calling ColdFusion
Try an http request with no parameters? -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 5:14 PM To: CF-Talk Subject: OT: Asp calling ColdFusion Is there any simple way to make Asp (not .net) call a CF page for processing? CF can use the getPageContext.include() to cause an asp page to be processed inside the CF context. Is there something on the Asp side that allows a CF page to be processed inside the Asp context? I want to have Asp call a CF page to do a monthly DB cleanup and I can't move from Asp to CF for this (yet. its for a client) Thanks ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237083 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: CFOPEN!!!
I emailed Ray... cfopen should be back soon =) Ray West wrote: > Fixed, should be back shortly. > > R > > > Rick Root wrote: > >> hey ray, is cfopen gone for good? Domain expired yesterday. >> >> Rick >> >> > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237082 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CFOPEN!!!
Where did CFOPEN go!??? www.cfopen.org is now a generic search engine type thing. Looks like Ray let the domain expire! http://www.pir.org/Search/WhoisSearchResults.aspx?txtWhoIsSearch=cfopen.org Rick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237081 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Upgrading JVM to 1.4.2_09
Just to be sure (and safe - we live and die on XML here) - as long as I stick with upgrading to 1.4.2_09 the only known gray area is LDAP, right? XML is OK? I'll try to get a statement out of the Adobe/MM support person about official support for LDAP with 1.4.2_09, since it sounds like others have seen problems with the _06 through _08 versions. >Aaaand I'm late to another thread. Sorry, didn't see your question earlier. > >Scott, > >Java 5 is incompatible with the Apache Axis stuff that's built into CF. >Basically, you can kiss your web services goodbye if you upgrade past 1.4. >That fact is pretty well confirmed. I heard (but have no proof) that people >were having trouble with XML and LDAP as well. I did it to my test server a >while ago, and it was fine. Everything was running great, but I wasn't doing >anything with XML, web services, LDAP or anything special, really. > >-nathan strutz >http://www.dopefly.com/ > > > >On 4/5/06, Scott Stewart <[EMAIL PROTECTED]> wrote: >> ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237080 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFLDAP Question ?
Mike When running the script below, it changes the mailnickname(alias) but all to the same value which seems to be the last user in the ou's proxyaddresses which in this case is a.testuser3 So all 3 users in this OU now have an mailnickname(alias) of a.testuser3 instead of it picking the correct mail suffix from each of their proxyaddresses. Any ideas why this is happening from the code below ? s = "#adresult.mailNickname#"; re = "SMTP:([EMAIL PROTECTED]).*"; s = reReplaceNoCase(s, re, "\1", "all"); writeoutput("#s#"); Changes Completed -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: 06 April 2006 12:47 To: CF-Talk Subject: RE: CFLDAP Question ? You don't need a query around the first CFLDAP tag. You only need to loop around the second CFLDAP tag using the query results from the first CFLDAP tag. I think your first CFLDAP tag is fine, as long as it returns the correct results for you. Your second CFLDAP tag was just updating the "same" AD object since you were only setting the DN, one time, "outside" of the loop when you should have been using it "within" the loop. This is the basic layout: That structure should do it for you. Just remember that CFLDAP will let you return many records, but CFLDAP will "only" let you modify a "single" record. Hence, the need for a loop. M!ke ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237079 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: ColdFusion and Visio
Are you referring to MS Project? If so, what advantages would tying Visio to MS Project have? Thanks for all of your help. --Anne >You don't need to use it with visual studio. I don't, I use CF Eclipse for >writing CF. > >It's a better application for doing diagrams, although you will not find it >as feature rich when trying to generate reports and wireframes and things. >Now if you tie it in with project > > >-- >Timothy Heald >Analyst, Architect, Developer >[EMAIL PROTECTED] >W: 202-228-8372 >C: 703-300-3911 >-Original Message- >From: Anne Girardeau [mailto:[EMAIL PROTECTED] >Sent: Wednesday, April 05, 2006 5:28 PM >To: CF-Talk >Subject: Re: ColdFusion and Visio > >Lol, I agree Adalon isn't perfect but I want to make sure that Vizio will be >as good or better. My supervisor is actually recommending the enterprise >architect edition. How has your experience been planning CF apps with it? >Does it require using MS Visual Studio? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237078 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFLDAP Question ?
You don't need a query around the first CFLDAP tag. You only need to loop around the second CFLDAP tag using the query results from the first CFLDAP tag. I think your first CFLDAP tag is fine, as long as it returns the correct results for you. Your second CFLDAP tag was just updating the "same" AD object since you were only setting the DN, one time, "outside" of the loop when you should have been using it "within" the loop. This is the basic layout: That structure should do it for you. Just remember that CFLDAP will let you return many records, but CFLDAP will "only" let you modify a "single" record. Hence, the need for a loop. M!ke -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 06, 2006 5:02 AM To: CF-Talk Subject: RE: CFLDAP Question ? 2.) What loop would I need around the first cfldap query below ? I thought a query would search through all records without the need of a cfloop ? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237077 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Verity operators are great - but what are they in Arabic/french/german/chinese???
> When you search a collection in a language other than English, you > must translate operators such as AND and OR into the language of the > collection. > > Where do we find these operators? Does anyone have an exhaustive list > they would like to share? Google for "localized query language" Some of the documents suggest you can use English operators by using <#AND> instead of AND etc - I haven't tried it. Nick ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237076 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: CFLDAP Question ?
2.) What loop would I need around the first cfldap query below ? I thought a query would search through all records without the need of a cfloop ? -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: 05 April 2006 16:19 To: CF-Talk Subject: RE: CFLDAP Question ? 2. Yes. In your CFLDAP Modify tag, you should use DN="#adresult.dn#" rather than DN="#session.fixeddn#". 3. If they have multiple proxyAddress values, you need to determine a way to find the "correct" address. 4. OK. We set our username to also be the same as our email address, (md40 is my username and [EMAIL PROTECTED] is my email). M!ke -Original Message- From: Ian Vaughan [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 9:08 AM To: CF-Talk Subject: RE: CFLDAP Question ? Mike 1.) It has access to modify the AD, as I have done this before on changing/adding cn names etc. 2.) True, would I need to put a cfloop around this ? 3.) From the proxy address all I want to extract would be i.vaughn, and some users have multi proxyaddresses. 4.) The reason being is that the mailNickname is currently set to say 'user92' when it should be i.vaughn and so on... ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237075 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Convert ASP to CFM?
Seeing some of the code in ASP out there, I would be doubtful. ASP can be VBScripted or JScripted (I am not even going to get into .NET) and there are many ways of doing things... so for example is easy.. db connections in ASP could amount to a whole bunch of stuff, I do wish you luck as I want to do exactly the same with a client's app... MD On 4/5/06, Yves Arsenault <[EMAIL PROTECTED]> wrote: > > I haven't found such an animal > > It would be a pretty handy app to have. > > Yves > > On 4/5/06, Jeff Horne <[EMAIL PROTECTED]> wrote: > > > > We're in the beginning stages of combining functionality from an ASP > based > > site to our existing CFM based site. We know nothing about ASP but can > run > > some as ASP but others will have to be rewritten as CFM pages. I found > Ben > > Forta's document and Tom Muck's from the Adobe site comparing the two > > languages and how things in ASP are done in CFM. I need to finish this > > project by early May and would love to use a utility that converts ASP > to > > CFM but I haven't found anything. Does such an animal exist? > > > > Thanks. > > > > Jeff > > > > > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237074 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Asp calling ColdFusion
>> CF can use the getPageContext.include() to >> cause an asp page to be processed inside the CF context. > >I'm pretty certain that this is incorrect. > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ As far as i know, that will only work to execute a jsp or servlet - ie some (other) java resource running in the same web container. If someone ever writes a java based ASP engine... /t ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237073 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54