Ok guys...
http://67.199.9.107/reports/t8report.cfm
Select Summer 2007 Evaluation.
Then everytime you select a division, dept, or subject, it should be making
ajax calls.
It does on MY machine, just not on the CT server.
Thanks much,
Will
Oh, and I have a much simpler ajax call on another page. Heck, IT doesn't even
work now.
I emailed CT support so we'll see where it goes.
Thanks,
Will
~|
Check out the new features and enhancements in the
latest product
Your script refers to www.metricsoundings.com for the ajax calls -
you've sent us to the IP address. XmlHTTPRequests don't work well
cross-domain.
Ok, James, CT fixed it apparently. Just after I emailed em, the server went
down for a while.
I sent *you* guys an ip link so google wouldnt
Rey,
I think CT fixed somethin on the server. It's all workin now all of a sudden
after I emailed support.
I've been using the metricsoundings.com domain as the page, and it never
worked. James pointed out making the ajax call via cross domain doesn't work
well.
Anyway, it's all workin.
Oh, I'm an idiot!
Gotcha james. the www bein left off screws it up. That's kinda tricky aint it?
Stick the www on the domain and bingo.
You rock dude!
Thanks,
Will
~|
ColdFusion 8 - Build next generation apps
today, with
Anyone using the CFX_ImageCR know if it is possible to write text ontop on
the image?
Kind of a water mark.
Is this somethin' Rick's imageCFC can handle for you?
http://imagecfc.riaforge.org/
Will
~|
Get involved in the
Can anybody point out still existing documentation that describes what
registry settings one plays with to reset the administrator password for
CF4.5?
TIA
Ian Skinner
My goodness. When I saw this thread, I figured it was a Rick Faircloth post.
But I think he's CF4. :)
I'm messing round with cflayout, and ran across this problem.
My cflayoutarea is using a source file as its content. That source file
contains a form that submits to itself.
When you submit the form, it opens the page as a new page in the browser, and
the cflayouts are gone.
Is there a way
Another weird thing about cflayout is it looks like they're the only thing
that can go on the page.
You don't put'em between body tags? When I tried it, major problems. I stripped
out all the html, stuck in the cflayouts, worked fine.
That's kinda freaky.
Will
LMAO!!
Vista rocks!! :)
Will
~|
Enterprise web applications, build robust, secure
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps
Archive:
I'm thinkin you should be able to do this with some CSS/JS.
IE and FF support CSS opacity.
http://www.mandarindesign.com/opacity.html
Will
~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for
I'm trying to get my login/logouts workin with a frameset and having trouble
with it.
In the frameset page, I check the SESSION.isLoggedin status and display the
login form.
The user logs in and it loads up everything correctly.
the problem is the logout link. It's placed in the left menu
Ok, I think I've got it with this.
cfif StructKeyExists(URL, logout)
script language=JavaScript
top.location=index.cfm?logout=yes;
/script
/cfif
Will
~|
ColdFusion 8 - Build next generation apps
today, with easy PDF
Easy question here... just wanna make sure I don't screw this up cause it's
kinda important. :)
Here's my current statement.
cfif getSection.DeliveryMethod EQ Web-Enhanced AND
getWebEnhancedAddonQuestions.recordcount
Show questions blah blah...
/cfif
What I need it to say is, if the
Thanks much guys! :)
Will
~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive:
Thanks guys!
Will
~|
ColdFusion is delivering applications solutions at at top companies
around the world in government. Find out how and where now
Who's a good, reputable authorize.net reseller?
Thanks,
Will
~|
ColdFusion is delivering applications solutions at at top companies
around the world in government. Find out how and where now
He thought you were me, and couldn't control himself. :)
Will
~|
ColdFusion is delivering applications solutions at at top companies
around the world in government. Find out how and where now
The same could happen if you drink too much starbucks.
Gulp down 42.81 cups of Starbucks Tall
Coffeehttp://www.energyfiend.com/caffeine-content/starbucks-tall-coffeeand
you're history.
And the same could happen if I drink too much water, or beer, or tea. :)
So, hands up all those who do *not* have this excellent CF site as their
homepage?
http://www.coffeereview.com/
Shame on you! What could be more perfect - CF and coffee?
Shame on them. They need better error handling. :)
http://www.coffeereview.com/allreviews.cfm?search=aaa
Not I.. hate coffee
I'd likely shrivel up and die without my daily cups of starbucks.
they need some cfqueryparam's on that site too...
~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features -
Hey Will,
Your email has been bouncing and your domain expired back on the 7th. :-(
Bill
Shoot me an email Bill. It's back up.
Thanks,
Will
~|
Enterprise web applications, build robust, secure
scalable apps today - Try
What is the best way to generate Excel and PDF formatted reports in
CF7?
I need to generate a report that is written in ColdFusion and give the
user an option to Export the report to Excel and PDF and hopefully
preserve the look of the report (adding headers and footer will work),
but
That sure sounds cool.
What is it?
www.justfuckinggoogleit.com
LMAO!!!
~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
yep Jim, you nailed it.
Thanks much dude,
Will
~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
I'm visiting a friend's site with IE7, and getting a strange JS error from
their live chat graphic.
Don't spend much time on this it just kinda bugs me as to what would be
causing it.
www.a-cappella.com
FF shows no errors.
Thanks,
Will
And I'm wonderin if that missing Doctype could cause the JS error...
~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
Also your original logic says _all_ of the values must have a length
0. So if even one of those values is empty, it will always hit the
second step. There is nothing in the code that says skip the row if
all the values are emtpy. Make sense?
ooh ooh oooh! Yeah, it does now! I think I
Janet,
The problem is, it shouldn't even be *getting* to the second step - building
the bad data query.
I know I'm workin with a one row spreadsheet. How can 3 rows of empty strings
get into the bad data query from that.
It's likely some hidden ascii chars, but I haven't had time to test
Maybe not. Say you enter a value in a cell, then clear it. Visually
the row would appear empty, but POI may still pick up that row. Does
the code you're using test for empty rows?
I think this is what's happening. And no, I'm not testing for empty rows.
Thanks much,
Will
ok, I'm tryin to implement the same mxAjax coolness with radio buttons instead
of my select menu. My problem is, getelementbyid() is using the first radio
button value only.
I have about 10 radio buttons, all with different values. When I select one, it
needs to feed getelementbyid() with its
Thanks much James! Never done it before but I'll give it a shot!
Will
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive:
I just ended up realizing it didnt HAVE to use radio buttons.
Heck, I just switched it to a select menu, looks/works fine.
Thanks james,
Will
~|
ColdFusion MX7 and Flex 2
Build sales marketing dashboard RIAâs for your
I'm tryin to check and see if some fields have any data in a spreadsheet, using
Ben's POI utility.
cfif Len(instructorid) AND Len(lastname) AND Len(firstname) AND Len(URL.EID)
Add data to the db
cfelse
Build a query in cf memory of bad data
/cfif
The problem is, empty strings are slippin
Hmm...
I'm wonderin if it has more to do with the spreadsheet data itself.
I can upload a different one, with no errors.
~|
CF 8 â Scorpio beta now available,
easily build great internet experiences â Try it now on Labs
I tried
cfif Len(trim(instructorid)) AND Len(trim(lastname)) AND Len(trim(firstname))
And rows of empty strings still get thru to cfelse and added to the query.
There's somethin I'm not seeing here...
Thanks,
Will
~|
Ian,
Everything you say makes total sense. Here's what's throwin me.
The spreadsheet I'm testing has one row.
How are 3 empty rows even getting into the cfelse in the first place?
Other spreadsheets flow thru perfectly. That's why I'm thinking there's
somethin funky with this spreadsheet.
I tried pretty much every idea posted.
I've come to the conclusion that I'm reading a one row spreadsheet with the POI
utility, but it's spittin out 3 records with empty strings. This is impossible.
It's like it's a spreadsheet issue. I dunno.
Thanks for everyone's help.
Will
Not knowing what your data is, but could it potentially contain something
like a line feed or a carriage return? That would come up as a 0 length
string that still has length...
I'm leaning towards this being the case.
Thanks,
Will
I've done some movies but converted them to flv's, then displayed them with
flash.
http://wtomlinson.com/london/movies.cfm
It seemed to work nicely.
Will
~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into
I don't use queryNew() and querySetCell() much, but just found a good use for
it in a SESSION variable.
My issue is, what's the best way to clear it out after I loop thru and insert
the data to my db?
I set it up like this:
cfif NOT StructKeyExists(SESSION, comments)
cfset SESSION.comments =
Just re-create the query using QueryNew() with the same name.
Thanks Neil! Worked like a charm...
Will
~|
Create Web Applications With ColdFusion MX7 Flex 2.
Build powerful, scalable RIAs. Free Trial
I do have another question Neil.
Sorry if this is a dumb question, but how do you go about querying that query?
Can I run a SELECT on it?
Thanks,
Will
~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe
Yeah guy! Works sweet...
Thank you!
Will
~|
CF 8 â Scorpio beta now available,
easily build great internet experiences â Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta
Archive:
I'm outputting dynamic images. I'm assigning each one its own ID.
I added an onclick to call a function that should switch the image out with
another when called.
onclick=switchImage('#questionid#');
In the function, I can't figure out howta use that argument variable to switch
out the
I got it figured out!
script type=text/javascript
function switchImage(theimage)
{
document.getElementById(theimage).src='../images/commentred.png';
}
/script
That works.
Thanks.
Will
~|
Create Web Applications With
cfheader name=content-disposition value=attachment; filename=foo.
xls ?
This is what I've decided to do. Instead of streaming the content to the
browser to do whatever with it, I'll create a temp file for dload. Thought I
could get around it, but IE is gonna screw me yet again.
I think that
Hey, this worked.
cfheader name=content-disposition value=attachment
cfcontent type=application/vnd.ms-excel
cfoutput#SESSION.coreReport#/cfoutput
Still think I'm gonna go the create a temp file route tho.
Will
~|
How about using POI?
Eric
I originally was gonna use Ben's POI utility. Then figured it'd be easier using
my existing html tabular output, then letting excel read the tables and convert
it all over.
That part it workin nicely, just had the IE trouble. I think I fixed it just by
adding the
I can't figure out why creating a temp file would help me here. I can create
the user's content. I can force a dload by usin this:
cfset thisDate = DateFormat(Now(),m-dd-)
cfheader name=content-disposition
value=attachment;filename=CoreReport_#thisDate#.xls
cfcontent
Ahh ok.
yeah, my naming of the file will work best in this case. I'm generating a
report, naming it with the type and date.
I guess if 10 people hit this page at the same time, it shouldn't blow up. I've
never built anything like this before.
Thanks Dave!
Will
It looks almost as if the width of the left side floated item is too wide to
accomodate the right. So it pushes it down below it. Just for the heckuvit,
shrink the width of the left side to see if it brings the right back up.
Will
Does nesting table tags work ?
Tom, I figured out a way around it. I simply stuck each table in it's own side
by side td. Duh!!
Seems to be formatting perfectly!
Anyone ever seen an easier way to export to excel than this?
cfcontent type=application/vnd.ms-excel
Dunno about BD, but I usually just use an Application.cfc in the subfolder of
the restricted pages.
OnRequest()
Will
~|
ColdFusion 8 beta â Build next generation applications today.
Free beta download on Labs
It works great if you only need the basics of layout, color etc.
I indeed did get it working. My main issue is I have a few side-by-side tables.
Excel wants to stack these vertically.
Is there a trick to getting excel to read them like td's?
thanks,
Will
I'm just using cfcontent to force excel to open a .cfm page with some
generated tabular output. No problem with that part.
My problem is I have some nested side-by-side tables. Excel is reading those in
and stacking them vertically.
I tried sticking some special characters in the output,
I made the mistake of testing my mxAjax dropdown menus with FF. All works fine.
The menu contains a few hundred options.
I just checked with IE6 and IE7 and both bog down while loading the menu. It
takes about 10 seconds and is kinda goofy.
I tried cfflush with no luck.
Here's my code:
I don't think I can provide a link.
By goofy, I mean the page sits there while IE is doin whatever with the menu.
It takes up to 15 seconds to load this menu.
I started the task manager and can watch IE's memory slowly climb for the
duration as it's loading.
But when you view the page in
Will, is this an autocomplete, where you type one letter, and it spits back
the results? Or is there some other mechanism to retrieve the data?
It's selects that populate other selects.
I was able to help it out by doin what James told me to do a while back - Don't
load up all the options
Just an ideatry rearranging the select output by putting the
cfoutput query and everything inside it on one line this will minimise
the whitespace (I was going to write it out here but it will wrap),
I've no idea weather it will work but it might.
Man, I really thought this would work,
Can you use a robots.txt file to tell google to ignore these pages?
Will
~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7.
Free Trial.
Has anyone had any experience with hiding certain things on a page
from google and other search engines?
oops, just noticed the certain things on a page part.
robots.txt is useless to you. Like other things are to me - vista! :)
Will
I have a fairly complex query that generates a fairly complex report in the
browser.. just html tables with some data, some nested tables with its own
data, etc. No problem with that part.
The part I'm havin trouble tryin to figure out is how to generate some
downloadable reports out of it.
Using a cfsavecontent could get you around that, perhaps
write the content to a file, push the user to a page with a link to
the newly created file? That would get around some of the security
issues inherent with streaming the content immediately.
This is the solution I've been leaning towards.
Just ran across this:
http://svnservice.riaforge.org/
Will
~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7.
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV
I have 3-4 pages that handle some processes of adding data to the db.
I need to be able to keep track of a referring page, so once the user is
finished with this process, they'll be routed back to their starting point.
At first, I started creating URL variables, passing them from one page to
Thanks guys! It's done. :)
Will
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive:
Yeah, the CGI.http_referer doesn't quite work like I need.
I just ended up storing the originating page in SESSION, so it's readily
available to any template that's involved in this process.
Seems to work fine so far.
Thanks,
Will
Hi guys,
Is there a recommended way / suggested best way of migrating a CF application
from MS Access to a proper SQL db like SQL*Server or Oracle?
If I were using sql server 2000, i'd just use DTS to import that baby in.
Make sure your SQL still works. Dunno all the differences between
I figured since some of you guys don't think Vista has problems, I should start
taking some screen caps. I can't cap some of them cause I don't think you can
print screen when it's blue. :)
This one just happened tonight.
http://www.wtomlinson.com/vistaisJunk.htm
Will
Hey Jim,
Next time I'll try and get a cap of Vista freezing up on me.
I doubt it'll work tho. :)
~|
CF 8 â Scorpio beta now available,
easily build great internet experiences â Try it now on Labs
1) I donât think ANYONE to this point has said vista doesnât have any
problems
2) That's what you get for using iTunes
I'm workin on a movie of Vista tryin' to unzip a 250KB ZIP file.
It should be posted by tomorrow morn. :)
Thanks jim, It's the end of the night for me, but I'll have a look at this
tomorrow.
Very interesting!
Will
~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade see new features.
I need help in how to troubleshoot this issue. I get this error when
trying to do an insert.
Can you manually enter the data into the table?
~|
Create Web Applications With ColdFusion MX7 Flex 2.
Build powerful, scalable
My advise to jenny and will is to ditch dw for cfe, but i cant say if
it runs on vista because I havent tried it.
Dude, not a viable option. Hell, I can't even get Vista to run on Vista! lol!
Will
~|
Create Web
Heck, remove adobe/DW from the equation.
I'd just like to be able to unzip a small ZIP in less than 20 minutes.
No more 20 questions when I'm copying/pasting files.
No more freeze ups. No more blue screens of death.
No more asking me questions everytime I make a move.
No more goofy
Not gonna waste both our time with this, because nobody will ever be able to
convince me vista doesn't suck, except vista itself. And so far, it isn't doin
a good job.
I'm not exagerating with the ZIP. I ended up downloading a free utility for
unzipping. It unzipped a file in 5 seconds that
Shouldn't you just stop your whining and uninstall it for an OS you like?
Well there's a red herring. The discussion is about vista runnin' like a '78
AMC Pacer. Whether I'm whining or not doesn't really change anything.
Jenny brought up a valid discussion on Vista's uselessness. I simply
More a case of coming down on Vista (granted I run it on VM so it runs like
slow anyway but it's not unusable!). To say it's totally useless is not
really an accurate assumption imo.
Heck! I forgot to even mention its slowness! lol!
It's SLOW!!
:)
So just like that, you take it as granted that it doesn't work?
Lol
Vista is a complete pile of junk. I'm reminded of it everytime my puter crashes
and sends microshaft an error report.
Will
~|
Deploy Web Applications
No, it doesn't require a specific web server or OS. It's just Java.
I guess it's much like ben nadel's POI utility for workin with spreadsheets.
Pretty slick I must say.
http://www.bennadel.com/blog/624-ColdFusion-POIUtility-cfc-Updates-And-Bug-Fixes.htm
Will
I have Vista running since about a month after it came
out. The current installation I am using was installed about 2-3 months ago
when I bought my laptop.
You're one of the lucky ones...
~|
Create Web Applications With
I've run into this before with FF. I think when I made my changes, I cleared
the cache and reloaded the page. Then it started working.
I also like using cfselect selected=#someValue#
Will
~|
ColdFusion MX7 by Adobe®
Hi All,
I'm populating the select box using cfquery. I want a particular value
to be selected as default. How can i do that??
It's very urgent. Please help
me!!!
Are you using cfselect? If so, it has an attribute called selected.
cfselect name=thename query=thequery selected=#somevalue#
Does any one have code or suggestions on using CFFTP to check an FTP
server to see if a file exists on the FTP server?
I've never done this before, but just setup a test using cfhttp
cfhttp url=http://208.106.220.252/somenonexistentpage.cfm; result=thepage
cfdump var=#thepage#
That gives
How would an HTTP request tell you anything about what's on an FTP server?
Thanks for making my point Dave. :)
Will
~|
ColdFusion MX7 and Flex 2
Build sales marketing dashboard RIAâs for your business. Upgrade now
cfoutput#CGI.Script_Name #/cfoutput
That should do the trick for you, there are a whole loads of other CGI
variables, it may be worth you checking them out too.
And it looks like he just needs the name, minus the file ext., in which he
could do this.
cfoutput#ListFirst(CGI.Script_Name,
Verity? ... since that's already on the box running the site?
... or something else?
I think your number of records is beyond what verity can handle.
Will
~|
Deploy Web Applications Quickly across the enterprise with
I just don't see a standard form with Search for title, author,
publisher getting it here, though that's the simple front end the
client has asked for.
Could you just use LIMIT 100 (or some number) to limit the number of search
results?
Index all searchable fields. Use SELECT SQL_BIG_RESULT,
I have an evaluations table that has an opendate, and closedate field, both of
which are dates, per evaluation.
I need to give the user a dropdown menu of evaluations so they can select one
and view its results. Whether the user can see evals that are currently open
(active), depends on their
Does it have anything to do with Transferring data
widgets.developercircuit.com
appearing in the status bar the whole time?
Will
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
We use xramp. Seems to work just fine.
https://www.securetrust.com/sslcertificates/
Will
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
Vista HAS to be the biggest, slowest, most crashinest pile of garbage I've ever
used.
There's my vent for the day!
Will
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
does anyone know how to make one of those server programs to retrieve
a web page and save it as an image?
This is CF8, but it's cool as heck!
http://www.coldfusionjedi.com/index.cfm/2007/6/13/ColdFusion-8-URL-Thumbnails
Will
I'm working with two dates coming out of some mysql fields. They're formatted
like 2007-05-26.
I want to check and see if the current time is in between those dates. if it
is, I needta flag it, relocate, etc.
What I've got KINDA workin is this:
cfif DateFormat(Now(), -mm-dd) GTE
Ok, I've made some progress. This seems to work better.
cfif datecompare(Now(), getEvalDetails.evalopendate, d) EQ 1 AND
datecompare(Now(), getEvalDetails.evalclosedate, d) EQ -1
Yep now is in between!cfabort
/cfif
Any better suggestions?
Thanks,
Will
Hopefully James will spot this thread.
Everything works perfectly on my ajax related selects form, but I need to add
one last related select. This one would be populated by the course selected.
Let's say I built a new function in the ajax cfc called, getInstructors. I
don't expect anyone to
Most excellent! I'll give this a whirl in the next day or so James!
You dunno how much I appreciate the help dude!
Will
~|
Create Web Applications With ColdFusion MX7 Flex 2.
Build powerful, scalable RIAs. Free Trial
James,
I have it all mostly working. My only issue is this. I'm trying to grab the
value of the course menu, set it to a JS var, so it can be sent in the
arguments.
function populateInstructors() {
var course = document.getElementById(course).value;
more stuff
Do you have a link we can look at?
I setup a test page: http://208.106.220.252/soundings/T8Reporttest.cfm
Click Test eval 1. You'll see it error on the undefined form item. If you
select some data, the error goes away. I assume this is because the course item
is on the page at that point. I
401 - 500 of 1735 matches
Mail list logo