Hi Azadi Saryev,
Have you used latest cfimage
hotfix(http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403411).
Kindly try with this hotfix. If you still get the same issue please provide us
sample images and code.
Thanks
Kunal Saini
Adobe ColdFusion Team
can somebody please
Hi Brad,
good idea - I'll give SeeFusion a try.
Nevertheless, I wonder if that will solve the font size problem...
bye,
marcus
Brad Wood schrieb:
It looks like you need to find out what your server is doing during those 10
minutes. I would recommend installing SeeFusion or Fusion-Reactor
I hate to be pessimistic, but your font problem has a good chance of being
an old fashioned bug.
If it is reproducible, submit it to Adobe:
http://www.adobe.com/go/wish
~Brad
- Original Message -
From: Marcus Raphelt [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent:
On Tuesday 09 Sep 2008, Al Musella, DPM wrote:
then when it comes times for upgrades - crack down. Have the
upgrade count how many users are in the database and refuse to
install if more than the licensed # of users are using it.. and if it
Broadly, your upgrade process has the same problem
Thanks for the response, I used the scores as an example for the post
just to keep things simple, I am actually passing back an array of
answers :)
On 10 Sep 2008, at 02:52, s. isaac dealey wrote:
Assuming that you're sticking with passing back value objects, I would
think an array would
What's not working, JS, CF? What does the source look like in the browser?
Some tips for you... you don't need the ToString() calls in CF and it's
Javascript not Java (big difference).
Adrian
-Original Message-
From: Jessica Kennedy [mailto:[EMAIL PROTECTED]
Sent: 09 September 2008
more-serious-face
I didn't!
/more-serious-face
:OD
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
serious face
there's probably not one of us on this list that didn't used to use
evaluate() before being taught to look at other alternatives (and i'm sure
some
Hi all,
update:
While generating the report as a flashpaper, I noticed that the CPU wait
time rises up and waves around 90%.
The reason for this is that CF fills up /tmp with about 20GB (yes,
gigabytes) of temporary files... what the hell is it doing there?
I also had the idea to generate the
On Monday 08 Sep 2008, Jason Durham wrote:
It seems it may have been simpler just to treat the birthday field as a
string, rather than convert it into a date. Any help is very much
appreciated!
As birthdays rarely change, I'd make an over night job that converts the char
to a proper data and
As someone who used to always pounce on folks for using evaluate, I
believe I remember reading recently a blog entry from an Adobian that
points out that evaluate is not nearly as slow as it used to be.
Now when I recommend against Evaluate I do so on readability terms
rather than performance.
Good thing my names Adrian then! :O.
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: 10 September 2008 14:33
To: CF-Talk
Subject: Re: using dynamic variable in cfset statement
As someone who used to always pounce on folks for using evaluate, I
believe I remember
I hope no one Evaluates() this thread or I'll get a CF- ;).~David
_
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
Ray,
As I recall no evaluate( ) used to be engraved on your family crest. How
times have changed :)
-mark
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2008 8:33 AM
To: CF-Talk
Subject: Re: using dynamic variable in cfset statement
The following articles, from early 2006, provide some guidance as to
performance tuning CFMX on Windows.
ColdFusion MX: Tips for performance and scalability
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18540
Windows platform-specific performance settings
Jamie,
Testing and experience are your best guides. I have a post on this topic
here
http://www.coldfusionmuse.com/index.cfm/2006/5/4/higher.simultaneous.request
s
-Mark
Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
Ray wrote:
As someone who used to always pounce on folks for using evaluate, I believe
I remember reading recently a blog entry from an Adobian that points out
that evaluate is not nearly as slow as it used to be. Now when I recommend
against Evaluate I do so on readability terms rather
Hello,
I would like to have all mail going out of our CF servers to be redirected
to another mail destination: we have a bunch of applications running that
use data from db to send mail, and often our developpers just copy tables
from prod db to test a new functionality. Result is some clients
SELECT *
FROM Contacts
WHERE Contacts.ContactType = 'Physician'
AND Contacts.#FORM.Field# = '#FORM[FORM.Field]#'
ORDER BY Contacts.LastName
And then throw in some cfqueryparams.
But what's more interesting is how to protect against SQL injection with
Contacts.#FORM.Field#! Is it a problem?
If
Thanks for the link. I read through your and Steven's blog posts.
However, something that complicates things (I think) is that our
environment is like that of a web host: We have multiple CF instances
per server, and in many cases, many sites per instance. It would be
hard to do a real-world load
So FORM[FORM.FIELD] didn't work instead of Evaluate(FORM.#FORM.Field#)?
On Wed, Sep 10, 2008 at 11:03 PM, David Moore, Jr. wrote:
How then would you approach the following without Evaluate, because it was
the only way I could get it to work: (oh, let the fun begin, the shame. I
probably
You need to make sure form.field contains a valid column and kill the query
if it doesn't. Your use of evaluate is not the worst thing about this sample
query (ha).
Try this..
cfset colList = col1,col2,col3/
cfquery name=getPhysicianRecords datasource=#DSN#
SELECT *
FROM
I think I would work with the import routines and define them better.
For example, force the developers to import using a DTS package that has
some queries as a task to update all the emails to test email addresses. I
would not create some kind of work around routine that tries to figure out
Adrian Wrote:
SELECT * FROM Contacts WHERE Contacts.ContactType = 'Physician' AND
Contacts.#FORM.Field# = '#FORM[FORM.Field]#' ORDER BY Contacts.LastName
What is the [] for. How would they be used. I have never used them at all. What
is the protocal. Is that CF or SQL or... And then throw
Jamie,
So you are running JRUN/Multi-server? Is that correct? Does each instance
have it's own JVM settings or do they all share the same JVM.config file?
Also, if you are running JRUN multi-server the settings for the simultaneous
threads available to JRUN is very important. It is set to 50 by
Good question.
[] are CF constructs. These two are equivalent:
FORM.someVar = 101
and
FORM[someVar] = 101
You'd use the latter for dynamic variable names:
FORM[someVar i]
Deffo use cfqps, have a look back in the cf-talk archives to see a bunch of
trouble caused by the lack of them in SQL
David Moore, Jr. wrote:
What is the [] for. How would they be used.
That is called 'Array Notation'. All ColdFusion variables are now
structures AKA 'Associative Array' or 'Hash' or many other names. But
it means that you can dynamically reference the elements of complex
variables by using
I'm trying to create a CFDOCUMENT format=pdf that puts a border around each
page of the document. The content spans several pages.
When I place a background-image in the body and include the
backgroundvisible='yes' property, the border doesn't span the pages properly.
Even if I get the image
While we are on the subject. I know I have asked this before But I still
haven't figured out a way to do this.
I have a bunch of CFC's loaded in memory that I want to call based on the
The table name. Is there a way to avoid using evaluate in cases like this:
cfset MyServiceObj =
David,
Everything in CF (starting with CFMX and partially before that) is an
object that has a parent.
For example, if I do the following:
cfset x = 10/
I have created a member of the variables scope (variables is the
object and x is the member).
So I could do the following with x:
Gerald Guido wrote:
cfset MyServiceObj = evaluate(Application.#arguments.MyTable#Service)/
cfset mystring = MyServiceObj.save#arguments.MyTable#(myBeanObj) /
cfreturn evaluate(mystring) /
Many TIA
Well I think the first line could be...
cfset MyServiceObe = Application[arguments.MyTable
A little correction:
cfoutput#variables[x]#/cfoutput
should be:
cfoutput#variables[x]#/cfoutput
Adrian
-Original Message-
From: Mark Kruger [mailto:[EMAIL PROTECTED]
Sent: 10 September 2008 16:19
To: CF-Talk
Subject: RE: How NOT to Evaluate (moved from cfset so not to confuse
topic)
Try...
cfset myService = APPLICATION[ARGUMENTS.myTable Service]
This would be nice:
cfset myService[save ARGUMENTS.myTable](myBeanObj)
But instead you have to do:
cfinvoke component=#myService# method=save#ARGUMENTS.myTable#
returnvariable=aVarIfYouWantOne
cfinvokeargument
Adrian Lynch wrote:
A little correction:
cfoutput#variables[x]#/cfoutput
should be:
cfoutput#variables[x]#/cfoutput
Adrian
OR
cfset x = x
cfoutput#variable[x]#/cfoutput
:)
But yea, what does that really gain for you.
Oh and you might also try this:
cfset theMethodIWantToRun = myService[save#ARGUMENTS.myTable#]
cfset theMethodIWantToRun(myBeanObj)
I have a feeling this doesn't work as I remember doing something like this
in the past and then went back to using cfinvoke.
Adrian
-Original Message-
Right... And doh!
Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2008 10:27 AM
To: CF-Talk
Subject: RE: How NOT to Evaluate (moved
Thanx Adrian and Ian. That worked. First try even..That was the secret
handshake I was looking for.
~G~
On Wed, Sep 10, 2008 at 11:25 AM, Ian Skinner [EMAIL PROTECTED] wrote:
Gerald Guido wrote:
cfset MyServiceObj =
evaluate(Application.#arguments.MyTable#Service)/
cfset mystring =
A bit off topic - but a warning. I seem to remember a bug with
cfqueryparam and array syntax on structs. Ie
cfqueryparam value=#form[key]#
If I remember right, a single quote would end up throwing an error. I
seem to remember this in 7.0.0, and it was probably fixed in an
updater.
I'm just
On 9/10/08, Mark Kruger [EMAIL PROTECTED] wrote:
Jamie,
So you are running JRUN/Multi-server? Is that correct?
Yes.
Does each instance
have it's own JVM settings or do they all share the same JVM.config file?
It seems they all share D:\JRun4\bin\jvm.config. Is it
possible/advisable to do
It's back!!
original post:
So we just moved a bunch of client sites to a VPS (HostMySite) and all
has gone well.
One of the sites we moved has a small web app for building content for
an HTML e-bulletin that gets mailed out once a week. It went out fine
last week (after moving from
You people are just scary smart. At least I have my good looks to fall back on
:) (I wish)...
~David
_
See how Windows connects the people, information, and fun that are part of your
life.
There is an order of precedence (which I don't remember offhand) that CF
looks at when a variable isn't scoped. It goes down the list until it finds
a variable with a value.
Mark...I do have a question, with your cfoutput statements below...are you
saying that those three would output the same?
lol
Shouldn't that be:
cfset x = x
cfoutput#variable[variable.x]#/cfoutput
/lol
-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2008 11:37 AM
To: CF-Talk
Subject: Re: How NOT to Evaluate (moved from cfset so not to
Well, if you'll were trying to make it clearer - it's darker than pitch now.
Smart - but confusing. Seriously. I'm, lost again.
Let's just do this one:
cfoutput query=getPhysicianSubTypes startrow=#Evaluate(start)#
maxrows=#Evaluate(end)#
and this one, which is from a tag I got of Adobe 2
Ok... Thanx All. Now this one is kicking my butt.
cfset mystring = MyServiceObj.delete#arguments.MyTable#(#arguments.MyPK#
= myBeanObj.get#arguments.MyPK#()) /
cfreturn evaluate(mystring) /
Using tblUsers it would render this
cfset MyServiceObj.deleteTableUsers (UserID =
If it's the arguments that's causing trouble, try this:
[Do the cfinvoke thing here to get the user ID]
cfset args = StructNew()
cfset args[arguments.MyPK] = userID
Then pass that structure into the method:
cfset MyServiceObj.deleteTableUsers(argumentCollection = args)
Adrian
-Original
What's wrong with cfinvoke? Any reason you don't want to use that?
On Wed, Sep 10, 2008 at 11:29 AM, Gerald Guido [EMAIL PROTECTED] wrote:
Ok... Thanx All. Now this one is kicking my butt.
cfset mystring = MyServiceObj.delete#arguments.MyTable#(#arguments.MyPK#
=
this code get executed on CF7 , but display blank in cf8
cfinvoke component=Erik.navigation method=mainMenu
returnvariable=GetMenuHead /cfinvoke
cfdump var=#GetMenuHead#
sfdds
cfoutput query=GetMenuHead
a href=?childID=#menuID##label#/abr /
/cfoutput
PLease help
What's wrong with cfinvoke? Any reason you don't want to use that?
No good reason... other than I want to have it all be in CFscript when I am
done. More of a personal confronting my demons and pushing my limits
thing than anything else. Kinda like your code contests. Sorry if this is
using too
Untested but should work:
cfquery name=getPhysicianRecords datasource=#DSN#
SELECT * FROM Contacts
WHERE Contacts.ContactType = 'Physician'
cfif Len(form.field) AND StructKeyExists(form,form.field)
AND Contacts.#FORM.Field# = '#Trim(form[form.field])#'
cfelse
1 = 0
/cfelse
ORDER BY
Judah wrote: Untested but should work: cfquery name=getPhysicianRecords
datasource=#DSN# SELECT * FROM Contacts WHERE Contacts.ContactType =
'Physician' cfif Len(form.field) AND StructKeyExists(form,form.field) AND
Contacts.#FORM.Field# = '#Trim(form[form.field])#' cfelse 1 = 0 /cfelse
ORDER
I had this exact problem a couple of months ago. Someone answered the question
in the original post, you need to have the maintain connections box either
checked or unchecked (i can't remember which, but process of elimination should
lead you to the answer!) This should clear up the problem.
Well, the CF seems to be functioning properly, so I suppose the js is the
problem. I am not getting any error messages, however. I don't think the
function is running at all, as I added a popup message to either scenario and
still got no results. The tostring() i had to add because i was
cfinvoke component=#myService#
method=save#ARGUMENTS.myTable#
returnvariable=aVarIfYouWantOne
cfinvokeargument name=myBeanObj value=#myBeanObj#
/cfinvoke
I found on one of Ben Nadel's blog recently that you can (at least with
CF8 and the latest updater) use 1 as the name of the argument.
The ToString would do it's work before it got to the browser so it's
probably something else.
View the source of the page and see if all the functions and calls to
functions are named correctly.
Adrian
-Original Message-
From: Jessica Kennedy [mailto:[EMAIL PROTECTED]
Sent: 10 September
Showing my ignorance again, but it is already showing so why not.
What does the 1 = 0 do?
Evaluates to false and returns no records in the query.
--
s. isaac dealey ^ new epoch
isn't it time for a change?
ph: 781.769.0723
http://onTap.riaforge.org/blog
Ah, sorry, didn't explain fully. I did a StructKeyExists and a Len to make
sure that the field you are going to evaluate really exists in the form. If
it doesn't, you don't want your cfquery to throw a gnarly error (most
likely) so if the assertion is false, the WHERE clause becomes WHERE 1 = 0
Thanks for the response, I used the scores as an example for the post
just to keep things simple, I am actually passing back an array of
answers :)
Ahh, well there would be a case where you need the individual entries. :)
--
s. isaac dealey ^ new epoch
isn't it time for a change?
I spent more time than I like to think on a similar problem, just had one page
but it was still very difficult to convince coldfusion to render the image at
the size I needed.
cfdocument format=pdf pageheight=11 pagewidth=8.5 marginbottom=0
marginleft=0 marginright=0 margintop=0
To force the
Hi,
We are working on a migration project of hosting a CF application developed in
MX6.1 to 8. The code analyzer did not list out any issues. But some of the
functionality is not working as expected with respect to Struct and Arrays. In
version 6, we were returning a struct where array was
Hi,
We are working on a migration project of hosting a CF application developed in
MX6.1 to 8. The code analyzer did not list out any issues. But some of the
functionality is not working as expected with respect to Struct and Arrays. In
version 6, we were returning a struct where array was
Thanks Jessica,
I was the one that answered my own post in the first place...hehebut
it turns out it didn't work. :(
Any chance you can check with your hosting company on the specifics?
As I stated earlierHostMySite said to uncheck maintain connections
and set the validation query to
The info seems to be appearing correctly in the page source:
form name=form id=form action=runform.cfm method=post onsubmit=return
_CF_checkform(this)
input name=2 type=text id=2 / input name=chk2 type=text id=chk2
/John Doe 2br /
script type=text/javascript
function java2(form) {
Now I am having one of those v8Aha!/v8 moments.
Thank you...
~David
Judah wrote: Ah, sorry, didn't explain fully. I did a StructKeyExists and a
Len to make sure that the field you are going to evaluate really exists in the
form. If it doesn't, you don't want your cfquery to throw a
We are working on a migration project of hosting a CF
application developed in MX6.1 to 8. The code analyzer did
not list out any issues. But some of the functionality is not
working as expected with respect to Struct and Arrays. In
version 6, we were returning a struct where array was
I figured it out... the #javaint# field was all numeric, javascript didn't like
that. I just added a few characters to the beginning and it took care of it.
The info seems to be appearing correctly in the page source:
form name=form id=form action=runform.cfm method=post
onsubmit=return
Wow, that's a lot of data. I'm curious if you look in the temp file while
creating the HTML version what you would see.
It sounds like and endless loop or something.
Again, I think getting a stack trace here is key to figuring out what is
going on.
Can you post the code somewhere to
Hi Brad,
the HTML file appeared to me as if CF was recreating the report using
1x1-Pixel-TDs, i can post an extract of it tomorrow.
If the temp files in /tmp don't contain too much binary junk (I didn't
look into them yet), I'll post an extract of one of them, too.
Could it be that CF works
On Wed, Sep 10, 2008 at 8:10 AM, Beru wrote:
- One way is to define rules on the smtp server to rewrite the destination
address to a unique junk email box, but this means we have to fiddle with
smtp rules... p...
Ouch.
- The other way around would have been to use cfmailparam to do
Problem getting Verity Spider to work for CF8
Is there any good documentation or a .cfm or .cfc that has been written
already.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the
Well according to a quick (iterative) test on CF 8.0.1 evaluate seems to be
about 5 times slower than the array notation.
Of course, we're still talking about the difference between 1 ms and 5 ms's.
I think that is very good information to know and use, but frankly I would
agree that
Can you get them to replace the MySQL driver with a newer version?
That's my shot in the dark.
Driver issue.
:D
--
Dialectic thought is an attempt to break through the coercion of logic
by its own means.
Theodor Adorno
On Wed, Sep 10, 2008 at 11:40 AM, Bryan Stevenson
[EMAIL PROTECTED]
On Wed, 2008-09-10 at 15:21 -0600, denstar wrote:
Can you get them to replace the MySQL driver with a newer version?
That's my shot in the dark.
Driver issue.
:D
Yep...after some more searchinga LOT of folks are having this issue
and Adobe ain't doing a damn thing about it. I
I just consider Evaluate to be sloppy coding. It is (almost) never needed as
it basically tells coldfusion to do something it already is doing: look at
this and see if its a variable. It is by no means the worst thing in the
world but to the extent that you can cut it out of your code, I think
Eric,
Yes.. (and sorry for the delay in answering)... You are correct... It was a
typo. It should have read cfoutput#variables[x]#/cfoutput ... My bad
:)
Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com
-Original Message-
From:
hi,
I need to change the color of text in a particular column to blue. I tried
textcolor option in cfgridcolumn . no joy :(
can anyone help...
Regards,
Loshy
~|
Adobe® ColdFusion® 8 software 8 is the most important and
Bryan,
What version of mySQL are you using?
Dan
On Wed, Sep 10, 2008 at 5:42 PM, Bryan Stevenson
[EMAIL PROTECTED] wrote:
On Wed, 2008-09-10 at 15:21 -0600, denstar wrote:
Can you get them to replace the MySQL driver with a newer version?
That's my shot in the dark.
Driver issue.
:D
On Wed, Sep 10, 2008 at 4:42 PM, Bryan Stevenson wrote:
If it persists I will have no choice but to drop MySQL and port the DB
to MS SQL Server.
That would be a very wise move, in my opinion. :-)
~|
Adobe® ColdFusion® 8
If it persists I will have no choice but to drop MySQL and port the DB
to MS SQL Server.
i haven't been following this thread very closely but have you tried the latest
mysql jdbc connector from mysql as other?
Does anyone know how to find what version, including updater, of JRun I have
installed?
I have installed CF801 and am trying to determine if I should install
updater 7 for JRun4.
--
AJ Mercer
Web Log: http://webonix.net
Once you come to the realisation that everyone is crazy,
You will never
for those playing at home *JRun Updater 7* should not be applied if
ColdFusion 8.0.1 is installed.
http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403823
On Thu, Sep 11, 2008 at 1:10 PM, AJ Mercer [EMAIL PROTECTED] wrote:
Does anyone know how to find what version, including
80 matches
Mail list logo