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/
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
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
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
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. ---
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
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
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
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
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,
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
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
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
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
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;
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
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
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.
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
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
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
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
Thats a horrible hack... especially the actual placement of the bottom
right table needing to be scrupulously placed into the text
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,
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
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
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
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
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
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.
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
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);
}
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
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
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
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
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
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
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. ---
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.
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
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
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
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:
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
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
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
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
Ahh ok sorry. I overlooked the names. SO maybe the person who DID say it can
offer an example?
I dont 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
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
..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
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-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
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() ;
}
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
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
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
101 - 156 of 156 matches
Mail list logo