RE: Textarea that uploads images from Word docs behind the scenes.

2006-11-01 Thread Ben Nadel
Xstandard does this I am pretty sure. www.xstandard.com -or- http://www.bennadel.com/blog/tags/15-XStandard-WYSIWYG-blog-entries.htm .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/

RE: CFHTTP within CFC issue..

2006-11-01 Thread Ben Nadel
Dave, I don't follow. Wouldn't CFHTTP.FileContent just contain an XML string (not an object)? I though CFHTTP can either return a binary or a string, not a ColdFusion XML data type? .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion

RE: CFHTTP within CFC issue..

2006-11-01 Thread Dave Watts
I don't follow. Wouldn't CFHTTP.FileContent just contain an XML string (not an object)? Yes. You can't put a string containing a well-formed XML document within CFXML, because a well-formed XML document contains an XML declaration: ?xml version=1.0 ... ? CFXML creates that for you, and won't

RE: CFMX 7 Licensing question

2006-11-01 Thread Dave Watts
I disagree. If you don't install x-windows and turn off unnecessary running services, Linux can run with a LOT less RAM than Windows. Considering that the minimum memory requirements to run CF on Linux or Windows is 512MB, I don't think you'll find that it makes much of a difference when

RE: CFHTTP within CFC issue..

2006-11-01 Thread Ben Nadel
Dave, I just tried this and it works fine for me: !--- Create XML Doc. --- cfxml variable=xmlData dude nameBen Nadel/name /dude /cfxml !--- Get XML String (Including ?xml string). --- cfset strXmlData = ToString( xmlData ) / !--- Check XML string. ---

RE: CFMX 7 Licensing question

2006-11-01 Thread Munson, Jacob
Considering that the minimum memory requirements to run CF on Linux or Windows is 512MB, I don't think you'll find that it makes much of a difference when you're trying to get 4 or 5 VMs on an ESX server. What's that from, the sys reqs? If it truly is that much I'd agree. But I'll bet you

RE: CFMX 7 Licensing question

2006-11-01 Thread Munson, Jacob
But you understand this server stuff a lot better than I do Dave. I'm just saying that from my experience, and what I have heard from professionals that run hosting companies, it's a lot cheaper to run a Linux box, partially because you can squish a lot more sites on one box. In response

RE: CFHTTP, SSL and Certificates (Obligatory Oh My)

2006-11-01 Thread kola.oyedeji
Hi I came across this post: http://www.talkingtree.com/blog/index.cfm?mode=entryentry=25AA75A4-45A6-284 4-7CA3EECD842DB576 There is possibly a bug with the version of the JVM 1.4.2-b28. I've tried everything except this - which I'll try in the morning when I get back into the office... Let

Re: Java ListIterator to CF Variable

2006-11-01 Thread Dan Plesse
Neil, You asked this question What is the process for looping through a Java iterator in CF? My response was a solution to that question. and Now only thing to see is if there is a way to get the iterator length ;-) As I stated before there is no special method to gather length() or

RE: CFMX 7 Licensing question

2006-11-01 Thread Dave Watts
What's that from, the sys reqs? If it truly is that much I'd agree. Yeah, it's from the Adobe system requirements. But in practice, for production servers, it tends to be significantly higher. But I'll bet you don't really need that much. I'm just running a developer server locally here,

Re: CFMX 7 Licensing question

2006-11-01 Thread Jordan Michaels
Munson, Jacob wrote: Check the licensing agreement... I believe it's per physical processor, so you're even allowed to run multiple virtual machines each with a copy of cf Wow. I wonder if that applies to hosting too. If I buy one copy of CF, I could host multiple VPS accounts on one

very off referencing of session variables

2006-11-01 Thread Richard White
hi, i am trying to reference session variables in javascript and cant work out why i am getting an error: the code i am getting an error on is: for(i=1; i=cfoutput#structcount(session.milestone)#/cfoutput;i++) { alert(cfoutput#session.milestone[i].name#/cfoutput); } the milestone array in

*.dateLastModified -- could not convert to a date

2006-11-01 Thread Ioannis Papanikolaou
Hello, This is my first post as I am fairly new to ColdFusion. I am using ColdFusionMX 7.1 on Ubuntu and apache 2.2. What I am trying to do with the if statement is to identify if there is a file in the directory and if it is, to delete it if it is older than 15 minutes. The code is running on a

RE: CFMX 7 Licensing question

2006-11-01 Thread Munson, Jacob
CFMX7 is a memory hog. We have to specially tweak it to get it to run stable on our 256 MB VPS's. Even then, if you do anything that's slightly memory intensive, we will recommend you get something bigger then a basic VPS. So, unless you're doing dumb things (things like huge text processing

Re: very off referencing of session variables

2006-11-01 Thread Charlie Griefer
cfoutput#structcount(session.milestone)#/cfoutput drop the quotes. On 11/1/06, Richard White [EMAIL PROTECTED] wrote: hi, i am trying to reference session variables in javascript and cant work out why i am getting an error: the code i am getting an error on is: for(i=1;

Re: CFMX 7 Licensing question

2006-11-01 Thread Rick Root
Dave Watts wrote: Yeah, it's from the Adobe system requirements. But in practice, for production servers, it tends to be significantly higher. No doubt. Like Jordan said, you *CAN* run it on a 256MB VPS with some tweaks ... but I wouldn't try to run anything more than a single, low

RE: very off referencing of session variables

2006-11-01 Thread Dave Watts
the code i am getting an error on is: for(i=1; i=cfoutput#structcount(session.milestone)#/cfoutput;i++) You're telling JavaScript that it's a string, with those double quotes. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber

RE: *.dateLastModified -- could not convert to a date

2006-11-01 Thread Munson, Jacob
I think your problem is in this line: cfset MyDateLastModified=#aMyUrls[3][i]#.dateLastModified The right side becomes a string, where I think you meant it to be the date. Later when you do the date compare, you are trying to compare this string InGrrdf.dateLastModified to 15 minutes ago.

RE: CFMX 7 Licensing question

2006-11-01 Thread Russ
Either way... with Linux you can use Xen or one of the other virtual machine technologies which I believe use very little ram. I think just the kernel runs in a separate space or something... never really played with it. With windows, you can't even run windows on 256mb of ram. I accidentally

Re: *.dateLastModified -- could not convert to a date

2006-11-01 Thread Doug Brown
try using this. You do not need to use # signs for your variables. Also it works better to use LTE instead. cfif MyRecordCount IS NOT 0 and DateCompare(MyDateLastModified, DateAdd(n, -15, Now())) LTE 0 - Original Message - From: Ioannis Papanikolaou [EMAIL PROTECTED] To: CF-Talk

RE: very off referencing of session variables

2006-11-01 Thread Brad Wood
You can't mix JavaScript and ColdFusion like that. All the CF is ran server side, and then ONLY HTML and JS are sent to the browser. The ColdFusion array is not accessible to your browser's JavaScript. JavaScript and CF do not execute side by side at the same time. The

RE: OT - CSS Float Image Bottom Right corner of DIV

2006-11-01 Thread Bobby Hartsfield
You have to do a table within a table, and hack a little, but it's a lot easier than with a div. http://www.oakcitygraphics.com/image_align_right_bottom.html That’s a horrible hack... especially the actual placement of the bottom right table needing to be scrupulously placed into the text

Re: very off referencing of session variables

2006-11-01 Thread Richard White
You're telling JavaScript that it's a string, with those double quotes. thanks dave but even if i take them away it still says the same error :( ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,

Re: very off referencing of session variables

2006-11-01 Thread Richard White
thanks for the replies if i take the quotes away when using the array it doesnt work: alert(cfoutput#session.milestone[1].name#/cfoutput); this doesnt work but if i put the quotes it does: alert(cfoutput#session.milestone[1].name#/cfoutput); even if i try it both ways with the i for the index

Re: very off referencing of session variables

2006-11-01 Thread Richard White
thanks brad that makes alot of sense actually. so just to make sure that i have it right, you can access a normal variable such as session.name but not an array such as the one that i specified above session.module[index] thanks very much

Re: very off referencing of session variables

2006-11-01 Thread Charlie Griefer
alert(string); alert(number); alert(boolean); that's why it works with the alert. strings in an alert need to be in quotes. other values such as numerics or booleans do not. can you do me a favor and view the source of your page and copy/paste the rendered JavaScript? or if possible give a

Re: very off referencing of session variables

2006-11-01 Thread Richard White
do you maybe have a simple example or suggesstion on how i can create an array or something that javascript can access. The only thing is the control i am using too populate with the data from the array in the session variable must be done in javascript. i could use a cfloop on the server but

Re: very off referencing of session variables

2006-11-01 Thread Charlie Griefer
as far as i can tell, your code is fine (as far as mixing CF and JS). you're not using JS to try and manipulate the CF variables, so i there shouldn't be any issues there. On 11/1/06, Richard White [EMAIL PROTECTED] wrote: thanks brad that makes alot of sense actually. so just to make sure

Re: *.dateLastModified -- could not convert to a date

2006-11-01 Thread Ioannis Papanikolaou
I think your problem is in this line: cfset MyDateLastModified=#aMyUrls[3][i]#.dateLastModified The right side becomes a string, where I think you meant it to be the date. Later when you do the date compare, you are trying to compare this string InGrrdf.dateLastModified to 15 minutes ago.

Re: very off referencing of session variables

2006-11-01 Thread Charlie Griefer
Oops. My bad. Brad was spot-on (sorry Brad). Here's a snippet taking a CF array and converting it to a JS array, which can then be looped over by the JS. cfset myArray = arrayNew(1) / cfset myArray[1] = Tom / cfset myArray[2] = Dick / cfset myArray[3] = Harry / cfoutput script

Re: very off referencing of session variables

2006-11-01 Thread Richard White
thanks charlie if i view the page source it stops when getting to that stage as says for(i=1; i=4;i++) { alert( the code i am using to get that is: for(i=1; i=cfoutput#structcount(session.milestone)#/cfoutput;i++) { alert(cfoutput#session.milestone[i].name#/cfoutput); }

Re: *.dateLastModified -- could not convert to a date

2006-11-01 Thread Ioannis Papanikolaou
try using this. You do not need to use # signs for your variables. Also it works better to use LTE instead. cfif MyRecordCount IS NOT 0 and DateCompare(MyDateLastModified, DateAdd(n, -15, Now())) LTE 0 - Original Message - From: Ioannis Papanikolaou [EMAIL PROTECTED] To: CF-Talk

Adobe Captivate

2006-11-01 Thread Snake
Anyone used this? Just been using it today to make some flash tutorials. I am not using full video mode, just snapshot mode to show how to use a web based app, so it only records each page and mouse clicks etc. But the flash file is still coming out at 8MB, which seems rather large compared to

Re: CFMX 7 Licensing question

2006-11-01 Thread Jordan Michaels
Munson, Jacob wrote: CFMX7 is a memory hog. We have to specially tweak it to get it to run stable on our 256 MB VPS's. Even then, if you do anything that's slightly memory intensive, we will recommend you get something bigger then a basic VPS. So, unless you're doing dumb things (things like

Re: very off referencing of session variables

2006-11-01 Thread Richard White
strangely enough if i use a different variable such as index then it says that variable index is undefined even if i decalre it above it with var index = 1; and then use it within the loop ~| Introducing the Fusion Authority

Re: very off referencing of session variables

2006-11-01 Thread Richard White
thanks charlie, really appreciate it, i have been tearing my hair out over this for hours :) thanks brad and charlie ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion

Re: OT - CSS Float Image Bottom Right corner of DIV

2006-11-01 Thread Josh Nathanson
I said originally it was a hack, and I wasn't the one who said I'd use a table, that was Denny. I just provided an admittedly hack method to achieve the desired result given certain circumstances. But, I would use a table anyway. I can't be stuffed with css layouts most of the time. Call me

RE: CFHTTP within CFC issue..

2006-11-01 Thread Dave Watts
I just tried this and it works fine for me: !--- Create XML Doc. --- cfxml variable=xmlData dude nameBen Nadel/name /dude /cfxml !--- Get XML String (Including ?xml string). --- cfset strXmlData = ToString( xmlData ) / !--- Check XML string. ---

Re: very off referencing of session variables

2006-11-01 Thread Richard White
works perfect thanks :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year.

RE: CFMX 7 Licensing question

2006-11-01 Thread Dave Watts
I would assume it's similar on Windows... but when do you ever run Windows without a GUI huh? It's pretty rare in my experience, but Windows Server 2003 does this, if you want. You could run previous versions of Windows (NT, 2000) without video cards, using the embedded toolkit. But since most

Re: Java ListIterator to CF Variable

2006-11-01 Thread Andrew Scott
Neil, I believe there is a size or length method for the object in question. On 11/2/06, Dan Plesse [EMAIL PROTECTED] wrote: Neil, You asked this question What is the process for looping through a Java iterator in CF? My response was a solution to that question. and Now only

Re: *.dateLastModified -- could not convert to a date

2006-11-01 Thread Doug Brown
Ok just for the hell of it... cfset MyDateLastModified=#LSDateFormat(aMyUrls[3][i])# - Original Message - From: Ioannis Papanikolaou [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, November 01, 2006 4:04 PM Subject: Re: *.dateLastModified -- could not convert

Re: *.dateLastModified -- could not convert to a date

2006-11-01 Thread Doug Brown
Actually, do not try that. It will not work. BRAIN FART!! If you output to the screen cfoutput #aMyUrls[3][i]# /cfoutput What do you get? - Original Message - From: Doug Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, November 01, 2006 5:56 PM Subject:

Re: CFMX 7 Licensing question

2006-11-01 Thread Jordan Michaels
Dave Watts wrote: I would assume it's similar on Windows... but when do you ever run Windows without a GUI huh? It's pretty rare in my experience, but Windows Server 2003 does this, if you want. You could run previous versions of Windows (NT, 2000) without video cards, using the embedded

Re: Java ListIterator to CF Variable

2006-11-01 Thread Mark Mandel
http://java.sun.com/j2se/1.4.2/docs/api/java/util/ListIterator.html HTH Mark On 11/2/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Thanks, but as noted I fixed it using the search API. Thanks for the 101, how nice :-) I rarely use (or have need) pure Java in ColdFusionoutside

Re: Java ListIterator to CF Variable

2006-11-01 Thread Dan Plesse
Please reread the method summary :) only 9 methods to speak of :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four

RE: Adobe Captivate

2006-11-01 Thread Dawson, Michael
I have a Captivate movie that has 8 frames of a web browser output. It runs about 1 minute and is 660KB in size. It has no full-motion video, either. I resized the movie, using Captivate, to 716 x 537px to make it a bit smaller in size and file size. Are you accidentally recording audio with

RE: OT - CSS Float Image Bottom Right corner of DIV

2006-11-01 Thread Bobby Hartsfield
Ahh ok sorry. I overlooked the names. SO maybe the person who DID say it can offer an example? I don’t really think this falls under the to 'CSS' or to 'Table' debate though. :-) if you can do it in either... id like to see it. -Original Message- From: Josh Nathanson [mailto:[EMAIL

RE: Adobe Captivate

2006-11-01 Thread Snake
Well mine is 70+ frames -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: 02 November 2006 02:09 To: CF-Talk Subject: RE: Adobe Captivate I have a Captivate movie that has 8 frames of a web browser output. It runs about 1 minute and is 660KB in size. It has no

RE: Java ListIterator to CF Variable

2006-11-01 Thread Richard Kroll
..nextIndex() the index of the element that would be returned by a subsequent call to next, or list size if list iterator is at end of list it's not technically a length() or size() call, but you can get the same functionality from it :P Rich Kroll -Original Message- From: Dan Plesse

Re: CFMX 7 Licensing question

2006-11-01 Thread Oğuz Demirkapı
I have installed BlueDragon onto one of the Server4you Linux VPS which has 256 MB Ram without any problem. If you plan to use VPS, I would also recommend to consider a Linux based solution. But nowadays dedicated server prices are also acceptable. You can find a Linux dedicated server around

CF-Moodle- Elearning Project

2006-11-01 Thread Aldon Moore
CF-Gurus, I have to opportunity to design an eLearning application and I am considering weather to build using CF from the ground up! Question: Is any one open to work on a project of the nature? I have looked at moodle (moodle.org) as an alternate solution since I am still in search of

Re: Java ListIterator to CF Variable

2006-11-01 Thread Dan Plesse
Interesting! It says you can get the list size if and only if the iterator is at the end of the list. So if *hasNexthttp://java.sun.com/j2se/1.4.2/docs/api/java/util/ListIterator.html#hasNext%28%29 *() == false { int get = nextIndex() ; }

Re: Java ListIterator to CF Variable

2006-11-01 Thread Robertson-Ravo, Neil (RX)
Thanks, will bear this in mind next time I am using converting the API calls to ColdFusion from Java. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It

CFHTTP Expert Needed For Problem Today

2006-11-01 Thread Tch3
I have code that I need fixed and I'm willing to pay $250 to the first person who gets it (probably a very simple problem). I am also willing to pay $50 for your time if you solve it and are not the first to solve it, but are within the first five people to solve it. The code, which is

Re: CFHTTP Expert Needed For Problem Today

2006-11-01 Thread s. isaac dealey
This is a wild stab in the dark, and may have nothing to do with your issue, but looking at the code I would recommend changing Find('offerToken=' in your GetToken1 helper function with FindNoCase. I don't think eBay is likely to have that string in their page more than once with different

<    1   2