Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dojo 1.1.2 Can't loaded in Firefox 3.5.5 browser

 
kumaran panneerselvam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Pie
Posts: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic