This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Dojo 1.1.2 Can't loaded in Firefox 3.5.5 browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dojo 1.1.2 Can Watch "Dojo 1.1.2 Can New topic
Author

Dojo 1.1.2 Can't loaded in Firefox 3.5.5 browser

kumaran panneerselvam
Greenhorn

Joined: Apr 07, 2010
Posts: 3

I have deploy dojotoolkit source code in my server, that server is secure socket layer like https://xyz.com. In my jsp I have imported the dojo.js, tundra.css and others from that secure url but dojo componets can't loaded in my jsp. But all the jsp with dojo components working properly in IE browser. The Error occurred in Firefox Brower 3.5.5 version is :
Could not load 'dijit.form.Button'; last tried '../dijit/form/Button.js'
[Break on this error] (function(){var _1=null;if((_1||(typeof ...Timeout(dojo._fakeLoadInit,1000);}})();\ndojo.js (line 20)
Could not load 'dojo.parser'; last tried './parser.js'
[Break on this error] (function(){var _1=null;if((_1||(typeof ...Timeout(dojo._fakeLoadInit,1000);}})();\n

My jsp Code is below:


<link rel="StyleSheet" type="text/css" href="https://xyz.com/dojoTK/v1.1/dijit/themes/soria/soria.css">
<link rel="StyleSheet" type="text/css" href="https://xyz.com/dojoTK/v1.1/dojo/resources/dojo.css">

<script type="text/javascript">
var djConfig = {
baseScriptUri : "v1.1/dojo/",
parseOnLoad : true
};
</script>

<script type="text/javascript" src="https://xyz.com/dojoTK/v1.1/dojo/dojo.js"></script>
<script>
dojo.require("dojo.parser");
dojo.require("dijit.form.TextBox");

dojo.require("dijit.form.Button");
</script>
</head>
<body class="soria" >
<br>
<br>
<h1 align="center"><b><font face="Times" color="#800000">Testing TextBox</font></b></h1>
<br>
<table align="center" width="300px" height="200px">
<tr>
<td>TextBox</td>
<td><input type="text" name="firstname" value="testing"
dojoType="dijit.form.TextBox" class="medium"
trim="true"
propercase="true" />

</td>


So kindly give your suggestion ASAP.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

Please UseCodeTags.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: Dojo 1.1.2 Can't loaded in Firefox 3.5.5 browser