Re: ColdFusion and Flex Integration - up to 10x gain, avoid cf object creation

2006-11-24 Thread Tom Chiverton
On Friday 24 November 2006 00:15, greg h wrote: I am trying to learn what the options are. Have you had call to rethink things on an RIA due to large data sets? If so, what did you do? Not yet - our extranet / internet apps only have a few tens of items at present. Internally we've found

Re: ColdFusion and Flex Integration - up to 10x gain, avoid cf object creation

2006-11-24 Thread Tom Chiverton
On Thursday 23 November 2006 23:04, Mark Mandel wrote: How did this manage to change in the Flex world? CF queries can't be sent out via remote methods. -- Tom Chiverton Helping to synergistically drive end-to-end synergies This email is

cfdocument text all page width

2006-11-24 Thread Dani Garcia
Hi!! I am making pdf with cfdocument but my text dont go to the end of the page width. I tried to put it into divs or tables and is the same. You know why?? I am from spain and the pagetype I use is A4. Thanks. ~|

Re: ColdFusion and Flex Integration - up to 10x gain, avoid cf object creation

2006-11-24 Thread Rick Root
Tom Chiverton wrote: I still maintin that if you are even trying to send 2000 of anything down to the client (HTML, WebService or Flex), you need to rethink things - there is no way a user can cope with 2000 things at once, so why send them all at once ? I hate seeing responses like

Re: ColdFusion and Flex Integration - up to 10x gain, avoid cf object creation

2006-11-24 Thread Rick Root
Tom Chiverton wrote: On Thursday 23 November 2006 23:04, Mark Mandel wrote: How did this manage to change in the Flex world? CF queries can't be sent out via remote methods. Yeah, but coldfusion converts them to array collections, which are arrays of objects. (I think the coldfusion flex

Re: ColdFusion and Flex Integration - up to 10x gain, avoid cf object creation

2006-11-24 Thread Tom Chiverton
On Friday 24 November 2006 12:36, Rick Root wrote: There *ARE* reasons to bring back large amounts of data sometimes. Maybe. Maybe you could bring back twice the number of visible rows in the datagrid to start with, and page in more in the background though. A revised search cancels the current

Quick gateway question

2006-11-24 Thread Neil Middleton
If I chance the CFC that a asynchronous gateway points at - do I need to restart the gateway? -- Neil Middleton Visit feed-squirrel.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,

Re: Cart qty discounts

2006-11-24 Thread Will Tomlinson
I knew this'd be the problem. The question is harder to ask than actually figuring out the solution. lol! Will ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information

Homesite question?

2006-11-24 Thread Doug Brown
I installed the tag update for homesite+ and was wondering how you would ad those tags to the list of tags that come up in the tag insight dropdown list. I know where to add them for tag completion, but do not know where to do the other. Is their some XML file that I need to edit? Doug B.

Re: Homesite question?

2006-11-24 Thread Doug Brown
Never mindfound it!!! Doug - Original Message - From: Doug Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, November 24, 2006 8:11 AM Subject: Homesite question? I installed the tag update for homesite+ and was wondering how you would ad those tags

SOT: Plot points on the circumference of a circle.

2006-11-24 Thread Ian Skinner
Anybody mathematically inclined on duty today? I'm trying to remember my high school trig/geometry/algebra. How would one calculate/plot the points of the circumference of a circle given its center coordinates and radius? I'm trying to space small divisions in a circle around a given point,

RE: Plot points on the circumference of a circle.

2006-11-24 Thread Brad Wood
Circumference is pi times diameter Is that what you mean? ~Brad -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Friday, November 24, 2006 11:05 AM To: CF-Talk Subject: SOT: Plot points on the circumference of a circle. Anybody mathematically inclined on duty

passing request object to CFC

2006-11-24 Thread Aslan Namdar
short and simple this is what i want to do. i have a CFC which goes through my form fields and does some work on them. the form fields are dynamic. is there anything like java's HttpServletRequest object that i can pass to my CFC or i have to loop through my fields manually ? Thank you Aslan

Re: SOT: Plot points on the circumference of a circle.

2006-11-24 Thread Claude Schneegans
How would one calculate/plot the points of the circumference of a circle given its center coordinates and radius? Given that R is the radius, X and Y the coordinates of the center, you can do a loop on the angle A, say by increments of 10deg from 0 to 360, then each point (px, py) is given by

RE: Plot points on the circumference of a circle.

2006-11-24 Thread Ian Skinner
Circumference is pi times diameter Is that what you mean? ~Brad No, I was looking for something like Claude's solution. How to calculate the series of x,y points that would make up the circumference of the circle. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org

Re: Plot points on the circumference of a circle.

2006-11-24 Thread Jon Clausen
Ian, Depending on your database technology, you may be able to map those points by passing the point and radius to the database and using a spatial function to convert the coordinates. For MySQL, you can see: http://dev.mysql.com/doc/refman/5.0/en/spatial-extensions.html Postgres , SQL

RE: Plot points on the circumference of a circle.

2006-11-24 Thread Ian Skinner
Postgres , SQL Server 2000/5, and Oracle have their own set of spatial extensions as well. Jon That would be interesting, but my current requirement has nothing to do with a database. I am creating pure display, arranging a series of divisions in a circle around a point. --

RE: passing request object to CFC

2006-11-24 Thread Ian Skinner
Not an object, but you can pass in the entire form structure in one swoop, either is a single argument or a series of arguments. FORM as single argument. cfset something = myObject.myFormFunction(form) OR cfinvoke component=#myObject# method=myFormFunction formArg=#form#/ OR cfinvoke

Re: Cart qty discounts

2006-11-24 Thread Patrick McElhaney
You don't work for Old Navy do you? My wife just bought to shirts that were on sale, 2 for $10, but she didn't get the discount because they were different sizes! :) Okay, so you know the quantity for each SKU, right? And given a SKU (1007.blu.sm), you know it's product number (1007). So you can

cfexecute calling *.js wsh

2006-11-24 Thread D F
has anyone got this working? I have a JS file that runs under WSH, but it does not seem to be running as it should. I'm not getting any errors, so its a good sign that something is happening... I'm calling it like this... cfexecute name=C:\WINDOWS\System32\CScript.exe

RE: Plot points on the circumference of a circle.

2006-11-24 Thread Kevin Aebig
Convert this from AS to CF and you're good to go (watch for wrap)... placeOnCircle = function (numberItems:Number, radius:Number, x:Number, y:Number, clipid:String, attachTo:MovieClip, depth:Number) { var segment:Number = 2 * Math.PI / numberItems; for (var i=1; i(numberItems+1); i++) {

RE: Plot points on the circumference of a circle.

2006-11-24 Thread Kevin Aebig
On second thought, that looks somewhat confusing to a non-Flasher. I don't have time to do it for you right now, but if you give me the language you're using and the circumstances, I can put it together pretty easily... Cheers, Kevin -Original Message- From: Kevin Aebig [mailto:[EMAIL

How do I get number of birthdays?

2006-11-24 Thread Rick Faircloth
Hi, all.yes, some of us are working today. I'm trying to output client info for clients who have birthdates between two designated months and days.not years. For example, I need to return all clients who have a birthday including and between Nov 27 and Dec 3, no matter what year. I tried

Re: How do I get number of birthdays?

2006-11-24 Thread Jim Wright
Rick Faircloth wrote: Hi, all.yes, some of us are working today. I'm trying to output client info for clients who have birthdates between two designated months and days.not years. For example, I need to return all clients who have a birthday including and between Nov 27 and Dec 3, no

Re: Web service error, pls help

2006-11-24 Thread Scott Krebs
Hi Michael, I recently ran into what I believe is the same problem that you are. The problem is that CF is weakly-typed, and the WSDL is describing complex data types that CF cannot figure out what to do with. The bottom line is that CF *can't* consume that web service using CFML, you must do

Re: Cart qty discounts

2006-11-24 Thread Will Tomlinson
You don't work for Old Navy do you? My wife just bought to shirts that were on sale, 2 for $10, but she didn't get the discount because they were different sizes! :) Thanks patrick! phewww! Finally somebody that GETS my question. WISH I worked for old navy but I don't. That's interesting that

RE: cfexecute calling *.js wsh

2006-11-24 Thread Dave Watts
I have a JS file that runs under WSH, but it does not seem to be running as it should. I'm not getting any errors, so its a good sign that something is happening... I'm calling it like this... cfexecute name=C:\WINDOWS\System32\CScript.exe arguments=C:\Inetpub\wwwroot\mysite\NEAT.js

RE: Plot points on the circumference of a circle.

2006-11-24 Thread Ian Skinner
Cheers, Kevin Thanks Kevin, but I was able to use Claude's formula to do what I wanted. I was creating a circle of small divisions around a specific center. It is working well so far. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 |

RE: How do I get number of birthdays?

2006-11-24 Thread Rick Faircloth
Thanks, Jim. I'll give it a try. Rick -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Friday, November 24, 2006 4:22 PM To: CF-Talk Subject: Re: How do I get number of birthdays? I think this will work...check the logic, though. WHERE ((Month(Client_Birth_Date) =

Design question (Database etc)

2006-11-24 Thread Doug Brown
I am in the process of re-designing a classifieds system and was just wondering a few things. Currently there is just one standard for to fill out for the ads. I am thinking of designing it to where it is more useful. I would like to make the form as dynamic as possible by having different

Re: Design question (Database etc)

2006-11-24 Thread Doug Brown
Maybe some clarification is in order. Once the form submits, it all goes into a advertisements table. In order to have hundreds of different fields for different categories, I would have to have hundreds of different columns in the table. I hope I am thinking right. Too much turkey...Makes you

RE: multiple selection drop down list

2006-11-24 Thread Pete
Hi there I have now got part of this working. Basically I have got 3 tables in the database now: Tbl_staff, tbl_practiceareas and tbl_staffpracareas Tbl_staffpracareas is a link table to link staff to practice areas. I have got the following query: cfquery

Re: Design question (Database etc)

2006-11-24 Thread Jon Clausen
Doug, Just a suggestion, but, if you need have multiple categories per item, maybe instead add a category and secondary category column to the advertisements table and then just manage each as a delimited list. On your form, if you keep the names of the form selects the same and your

Question about importing into access from tab delimited txt file

2006-11-24 Thread Steve Good
After a number of hours of searching and banging my head against the wall I found out how to get my teab delimited file to import into access and populate teh table with the correct data. However I have 2 problems. 1. Line 1 of the txt file contains what used to be column names from excel.

RE: Design question (Database etc)

2006-11-24 Thread Snake
I think you just need a category lookup table. advertID CategoryID Russ -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: 25 November 2006 00:18 To: CF-Talk Subject: Design question (Database etc) I am in the process of re-designing a classifieds system and was just

RE: multiple selection drop down list

2006-11-24 Thread Pete
What have I got wrong. I can display everything correctly and can also change selections. All that's left is to update the database but its falling over. Here's what I have. First the section of code that displays/changes the selections. cfquery name=qGetPracticeAreas

Re: passing request object to CFC

2006-11-24 Thread Aslan Namdar
Not an object, but you can pass in the entire form structure in one swoop, either is a single argument or a series of arguments. FORM as single argument. cfset something = myObject.myFormFunction(form) OR cfinvoke component=#myObject# method=myFormFunction formArg=#form#/ OR cfinvoke

Re: multiple selection drop down list

2006-11-24 Thread Jim Wright
Pete wrote: td width=10%input cfif (#staffid# IS NOT )checked=checked/cfif name=#qGetPracticeAreas.practicearea# type=checkbox value='1'/td I would actually make the check boxes have the same name, and then just work off the list of values that is submitted... inputcfif (#staffid#

Re: Design question (Database etc)

2006-11-24 Thread Doug Brown
Jon, I think I may have confused the subject. In the ad posting, a user fills out the form to place a classified ad and every form is the same no matter what the category is. What I want to do is have different types of forms for different types of categories. Each category would have it's

RE: Design question (Database etc)

2006-11-24 Thread Bobby Hartsfield
TblCategories CatID categoryTitle tbl_CategoryDetails DetailID CatID DetailTitle FormType tblCategories 1 Real Estate 2 Automotive tblCategoriesDetails

Re: Question about importing into access from tab delimited txt file

2006-11-24 Thread Will Tomlinson
1. Line 1 of the txt file contains what used to be column names from excel. is there a way to remove line 1 so it stops inserting column names into my database? Can you create a counter before your loop starts, then increment it as the loop proceeds. cfset ctr = ctr +1 cfif ctr NEQ 1

Re: Design question (Database etc)

2006-11-24 Thread Patrick McElhaney
You should be able to pull it off with three tables. The first one defines the categories. Categories --- CategoryID (PK) Name Description etc. The next one defines what fields are associated with each category. CategoryFields -- FieldID (PK) CategoryID (FK -

RE: How do I get number of birthdays?

2006-11-24 Thread Rick Faircloth
Jim, I started trying to understand the logic of the code and gave up, but it seems to work as written! Thanks! Rick -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Friday, November 24, 2006 4:22 PM To: CF-Talk Subject: Re: How do I get number of birthdays? I think

Re: Question about importing into access from tab delimited txt file

2006-11-24 Thread Jim Wright
Steve Good wrote: 2. Using code i'll put below, i get this error, and i am baffled. Here is the error: Invalid list index 17. In function ListGetAt(list, index [, delimiters]), the value of index, 17, is not a valid as the first argument (this list has 16 elements). Valid indexes are

Re: Design question (Database etc)

2006-11-24 Thread Patrick McElhaney
Now that I've answered your question, let me throw in an opinion. If you're building a generic classified system, you might be better off with category, description and maybe a couple fields for contact information. That seems to have worked for craigslist. Patrick On 11/24/06, Doug Brown

RE: Web service error, pls help

2006-11-24 Thread Michael Nguyen
Thank you very much. What you're saying is exactly what I wanted to try. Rob's article is great and it is what I've been looking for. I have been trying consume ws using WTP in eclipse but let me have a good try after this and hope that I will get some more help if I have some questions...

RE: A good email validator?

2006-11-24 Thread Bobby Hartsfield
I don’t know how I missed this post but thanks for that link. Some good stuff on that site. ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Patrick McElhaney [mailto:[EMAIL PROTECTED] Sent: Thursday, November 23, 2006 10:05 AM To: CF-Talk

RE: Capture Alternatives

2006-11-24 Thread Bobby Hartsfield
What's the word Ben? Everything still working out for you? ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 8:33 AM To: CF-Talk Subject: RE: Capture Alternatives Bobby, I

Re: Design question (Database etc)

2006-11-24 Thread Doug Brown
Thanks for the insight Patrick. What I am attempting to do is get this classifieds application going, and then I would like to be able to design an auction system off the same application with very few changes. I believe you are on the right track though and now the only problem is the