FireFox and XStandard CSS File Linkage

Posted April 14, 2006 at 12:00 AM by Ben Nadel

Tags: ColdFusion, XStandard WYSIWYG

I use XStandard to create rich content on my and my clients' sites. For those who don't know what it is, XStandard (www.xstandard.com) is a WYSIWYG editor that outputs XHtml compliant code. It's a really amazing editor and it does a fantastic job. The only problem I had was getting the CSS (it renderes CSS quite well in its ActiveX object) to link properly in FireFox browsers. It was working fine in IE browsers, so of course, it was hard to debug.

I finally figured it out. Basically, my CSS file is actually a CFM file that creates the required styles dynamically. You have to log in to use the Admin (where this tool is located) and the CFM (css) file is in this Admin. The problem was that FireFox was requesting the CSS file and for some reason, it appeared to the browser that it was not logged in. I don't know why IE did this fine.

So anyway, the end result was that I just had to remove security checks for that one CFM (css) file and all is well. If any of you create rich content areas, I highly suggest taking a look as XStandard. It's without a doubt the best editor I have seen to-date.



Reader Comments

Sep 1, 2009 at 4:31 PM // reply »
2 Comments

If XS uses Windows API (or IE com objects, its been awhile since I read up on all that) for accessing resources, it would make sense that logging in with firefox wouldn't necessarily allow XS to use that same context.

Did you ever try logging in using with IE, then switching over to FF while your IE session was still active?


Post A Comment

Comment Etiquette: Please do not post spam. Please keep the comments on-topic. Please do not post unrelated questions or large chunks of code. And, above all, please be nice to each other - we're trying to have a good conversation here.

Please review the following issues:

Author Name:


Author Email:

Author Website:

Comment:

Supported HTML tags for formatting: <strong>bold</strong>   <em>italic</em>   <code>code</code>







  • Help Wanted - Find Your Next ColdFusion Job
Ben Nadel's Company - Epicenter Consulting Recent Blog Comments
May 22, 2013 at 12:44 PM
Ask Ben: Query Loop Inside CFScript Tags
In cf10, if you call a function that has: local.result = {}; local.result.msg = ""; local.svc = new query(); local.svc.setSQL("SELECT * FROM..."); local.obj = local.svc.exe ... read »
May 22, 2013 at 12:29 PM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Ben: What version of Java are you using? Also, did you test users.id to see what Java reports as the data type? I wonder if it's not a Java primitive data type, but getting returned as something ... read »
May 22, 2013 at 11:47 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Dana, Awesome - so it looks like this bug was fixed in ColdFusion 10. Thanks so much for double-checking that. ... read »
May 22, 2013 at 11:37 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
When I c&p and run on cf10, I get: Selected User IDs: 1,4 User 1 selected: YES - YES User 2 selected: NO - NO User 3 selected: NO - NO User 4 selected: YES - YES User 5 selected: NO - ... read »
May 22, 2013 at 11:27 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Tom, Good thought, but no dice. Both of these still exhibit the same behavior: users.id[ users.currentRow ] users[ "id" ][ users.currentRow ] It's just something whacky happening with ... read »
May 22, 2013 at 11:07 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
Could your problem be that "users.id" is actually an ARRAY, not a single value? Perhaps try it again with "users.id[1]" (I only have CF8 here at work). ... read »
May 22, 2013 at 7:52 AM
Nested Views, Routing, And Deep Linking With AngularJS
Hi, Just a quick thank you. As it happens, for my own purposes, the pending ui-router work being done in native angular is likely the one I'll adopt, but your exploration, code and documentation of ... read »
May 22, 2013 at 4:43 AM
How Do You Use The ColdFusion CFParam Tag?
'<cfparam>' or 'isDefined()and <cfset>' performs the same task.Is there any difference? ... read »
InVision App - Prototyping Made Beautiful With Prototyping Tools