try something like this, Pete:
cfoutput
[script type=text/javascript]
var extW = ColdFusion.Window.getWindowObject('albumwin');
extW.setSize({width: #imgInfo.width#, height: #imgInfo.height#});
[/script]
/cfoutput
you may have to make it into a js function and call it using
ajaxonload() from
I can output the value of the session vars like so:
cfloop query=memberInfoFields
cfoutput#session.memberRegister[STRFIELDNAME]#br/cfoutput
but this is not working correctly:
cfloop query=memberInfoFields
input type=text name=#STRFIELDNAME#
value=#session.memberRegister[STRFIELDNAME]# size=30
Is it possible the value of those keys is actually blank? In previous code you
were setting the default value to .
Output the value before the inputs. What do you see?
cfoutput
cfloop query=memberInfoFields
Debug value of #STRFIELDNAME# = #session.memberRegister[STRFIELDNAME]#
input
I get the results when I user your code
Debug value of strInstUsername =
Debug value of strLanguage =
Debug value of strInstEmail = m...@aol.com
Debug value of strGender = Female
Debug value of strDegrees = Associate Degree
Debug value of strEmployeeNum =
Debug value of strDepartment =
Debug
What's the best way to deal with latency issues when pulling data from other
websites? For example, if we are pulling an image from amazon's web services,
and for whatever reason, that image takes 10 or 20 seconds to retrieve because
of internet network congestion or router problems, then that
I figured it out:
I had code that was resetting the values:
cfif NOT isDefined(session.memberRegister.STRFIELDNAME)
cfset session.memberRegister.#STRFIELDNAME# =
/cfif
On Sat, Oct 30, 2010 at 3:24 PM, Monique Boea moniqueb...@gmail.com wrote:
I get the results when I user your
If you are using cfhttp to retrieve the image, add a timeout value to it and
code for the case in which id doesn't come back in time. Or you can utilize
ajax to do your retrievable so the entire page is presented, and then a
secondary process retrieves the files post page load.
Regards,
David
cfset session.memberRegister.#STRFIELDNAME# =
Good job.
BTW: Consider using associative array notation, it is easier on the eyes ;-)
~|
Order the Adobe Coldfusion Anthology now!
Ideally do not use CF to get the image.
Either link to it directly using the img tag or use ajax then it all happens
client side and will not stop your page loading.
Russ
-Original Message-
From: Richard Steele [mailto:r...@photoeye.com]
Sent: 30 October 2010 20:20
To: cf-talk
Subject:
Russ, I would assume he's using Amazon services for files that need more
than just loading images on a web page, but for something like a image
gallery, or something else that requires loading on the server side, which
is why his question is about requesting the file using CF.
On Sat, Oct 30,
Ok I must have missed the first email.
You can in that case use CFTHREAD to free up the current request so that it
does not delay the page load, or you can still use ajax. Ajax is simply a
client side call to a server side component, so you can still execute CFML
and load your files.
Russ
11 matches
Mail list logo