General Interface is an open source project hosted by the Dojo Foundation

GI Contributor Blog Blog from Apr 01, 2011

  2011/04/01
Running GI 3.9.0 on Firefox 4
Last Changed by Darren Hwang, Apr 27, 2011 18:27
Labels: firefox

While you can run GI 3.9 on Firefox 4, you must get pass the browser support warning dialog. As far as we can tell, there is no compatibility issue for GI 3.9 and Firefox 4. So, you can get pass this warning dialog by adding a deployment parameter

Deployment Parameters

jsx_browsers. Overrides the default set of supported browsers. The format of this parameter is

bt={allow,warn}[,...]

where bt is the browser type returned by the getType() method in the jsx3.lang.ClassLoader class. See jsx3.lang.ClassLoader in General Interface API Reference.

allow launches the application in the browser.
warn provides a warning for unsupported browsers and allows the user to proceed

For example, to show a warning in Internet Explorer 6 and allow Firefox 4, modify the application launch page as follows:

jsx_browsers="ie6=warn,fx4=allow"
 document.write('<script type="text/javascript" src="JSX/js/JSX30.js"
 jsxapppath="' + appPath + '" jsx_browsers="ie6=warn,fx4=allow" ><'+'/script> ');

The next version of GI should have Firefox 4 support enabled by default, so you will not need to do this. However, if you can't wait this is how you do it.

Posted at 01 Apr @ 11:43 AM by Darren Hwang | 1 Comment