Is this failing on production site or on your developer machine.
I believe Charlie hinted at this with the CFIDE.

I completed a project a couple of months ago where I ran into this issue
not working on production site, but working correctly on development
machine.
Issue was that there was no mapping at all to CFIDE on this particular
production site,but was correct on developer machine.
Since I control the server the answer was mapping the CFIDE directory
properly.
Not really magic as I did have to walk through the errors to find the
problem.
I found this out buy trying other CF tags that have resources generated by
CFIDE.

My particular error that was working on developer machine but not site was
the cffile tag.
You might think that has nothing to do with CFIDE, but I was using the
uploadAll which generates the files to use flash version.
Tested another tag using these resources namely the cfwindow tag an sure
enough nothing.
Used firebug to walk through errors to realize no javascript, css, flash or
CFIDE resources were being generated.

If server doesn't know the path to CFIDE or it is wrong then the resources
needed to generate these tags may be broken.

This may not be your current issue, but just wanted to comment on the CFIDE
Charlie mentioned as it threw me for a loop when I ran into this problem.


On Fri, Apr 27, 2012 at 10:54 AM, <[email protected]> wrote:

> Charlie:
>
> I copied and pasted the code snippet from the ColdFusion 9 reference (see:
> http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-79e6.html
> ).
>
> When the page executes on the browser I get:
>
> "Error processing JavaScript in markup for element mywindow_body: [Enable
> debugging by adding 'cfdebug' to your URL parameters to see more
> information"
>
> for each <cfwindow> tag. Of course adding "cfdebug" does nothing. I don't
> think I have mis-installed a hotfix.
>
> Sincerely, Brooks
>
>
>
> *ADS* develops & supports effiective, efficient and secure software
> solutions
> *
> ------------------------------------------------------------------------------
> *
> *Federal Reserve Bank of Atlanta *** *Application Delivery Services
> 1000 Peachtree Street NE * Atlanta,Georgia * 30309-4470 ( 404-498-8178
>
>
>
>
>
> From:        "Charlie Arehart" <[email protected]>
> To:        <[email protected]>,
> Date:        04/27/2012 10:31 AM
> Subject:        RE: [ACFUG Discuss] cfwindow - how to change the grey
> border in the header?
> Sent by:        [email protected]
> ------------------------------
>
>
>
> Good call on recommending a tool like Firebug, Brooks.
>
> As for your feeling that "cf9 messed up" a tag, I'll just throw out that
> when I hear an assertion that, especially about a tag that involves CF
> generating HTML that calls back to the server for files like these might,
> I'd suggest there's possibly not a problem with CF itself, rather with that
> mechanism that's calling back to the server. And that often has its root in
> one of two possible problems.
>
> First, there could be a problem in the configuration of the web site, so
> that the browser calling back to the needed CFIDE directories may be
> finding the wrong one for the version of CF being executed for the page.
> It's easy for some people to tweak their web config to have a given site
> point to a virtual directory for CFIDE (which could be the wrong version)
> or they may have made a duplicate of the CFIDE (for use by a given site)
> but then forgot to update that when they updated CF.
>
> Second, related to that last point above, there could be a problem that
> was introduced when a hotfix was added: it's very easy to apply hotfixes
> either only to one CFIDE, or to the wrong one. I discuss that and related
> matters in a blog entry here:
> *
> **
> http://www.carehart.org/blog/client/index.cfm/2011/10/21/why_chfs_may_break
> *<http://www.carehart.org/blog/client/index.cfm/2011/10/21/why_chfs_may_break>
>
> Of course, in this case, a tool like Firebug may still show a "successful"
> communication between the browser and server, but the version of the file
> or library obtained by the server may just not be the "right" one for the
> other HTML/JS/CSS that CF generated, when it assumed it was generating it
> for a specific version of such files/libraries.
>
> Hope that may help, whether Dusty, Brooks, or anyone else.
>
> /charlie
>
> PS Besides Firebug, there are also now built-in tools in most modern
> browsers that can help to see the communications. I blogged recently about
> that:
> *
> **
> http://www.carehart.org/blog/client/index.cfm/2012/3/20/builtin_browser_proxy_sniffer_tools
> *<http://www.carehart.org/blog/client/index.cfm/2012/3/20/builtin_browser_proxy_sniffer_tools>
>
> I also list there a link to my cf411 category on still other such browser
> proxy/sniffer tools that can be added, if needed.
>
> *From:* [email protected] [mailto:[email protected] <[email protected]>] *On
> Behalf Of *[email protected]*
> Sent:* Friday, April 27, 2012 10:09 AM*
> To:* [email protected]*
> Subject:* Re: [ACFUG Discuss] cfwindow - how to change the grey border in
> the header?
>
> Dusty:
>
> First off, I can't seem to get <cfwindow> to work properly, it looks like
> CF9 has messed that tag up. I've seen that with <cflayoutarea> as well.
>
> That being said, I think the solution to your problem can be accomplish by
> overriding the "x-window-header" and "x-window-body" styles that ColdFusion
> is using. I would try to wrap the <cfwindow> tag in a named <div> element
> like this:
>
> <div id='myStuff'>
>  <cfwindow name="window1">
>    blah, blah, blah
>  </cfwindow>
> </div>
>
> Then include a stylesheet entry like
>
> #myStuff .x-window-header {
> border: 1px solid blue; /* or whatever */
> }
>
> #myStuff .x-window-body {
> border: 1px solid blue; /* or whatever */
> }
>
> Firefox - FireBug plugin is really good at letting you see (and
> dynamically) change the styles for a page element. This should get you
> started.
>
> Sincerely, Brooks
>
>
>
>
> -------------------------------------------------------------
> To unsubscribe from this list, manage your profile @ *
> **http://www.acfug.org?fa=login.edituserform*<http://www.acfug.org?fa=login.edituserform>
>
> For more info, see 
> *http://www.acfug.org/mailinglists*<http://www.acfug.org/mailinglists>
> Archive @ 
> *http://www.mail-archive.com/discussion%40acfug.org/*<http://www.mail-archive.com/discussion%40acfug.org/>
> List hosted by *FusionLink* <http://www.fusionlink.com/>
> -------------------------------------------------------------
>
>

<<image/jpeg>>

Reply via email to