Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

dojo 1.1.2 fails in firefox 3.0.5

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi all,

I have deployed dojo toolkit source in secure server like https://xyz.com, I have executed my jsp page in firefox , Its throws the error the error is :

failed loading https://xyz.com/dojoTK/v1.1/dojo/../dijit/form/Button.js with error: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location:
"https://xyz.com/dojoTK/v1.1/dojo/dojo.js Line: 20"]boxes (line 34)


My jsp code is :


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>TextBoxes Demo From WEB SERVER</title>

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

</td>
</tr>
<tr>
<td class="soria">Date TextBox</td>
<td >
<input type="text" name="date1" value="2005-12-30"
dojoType="dijit.form.DateTextBox"
required="true"
promptMessage = "Please Select the Date!"/>
</td>
</tr>
</table>
<br>
<button dojoType="dijit.form.Button"
iconClass="dijitEditorIcon dijitEditorIconRedo"
onClick="alert('Clicked!');">
SAVE
</button>

<br>

<button dojoType="dijit.form.Button"
iconClass="dijitEditorIcon dijitEditorIconSave"
onClick="alert('Clicked!');">
SAVE
</button>
</body>

</html>



Key Points:

Dojo version : 1.1.2
FireFox version : 3.0.5


I have searched in WWW but still can't get correct solution.

So kindly give your suggestion ASAP.


Thanks,
P. Kumaran
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
When posting code please UseCodeTags (⇐ that's a link) not colored text.
 
I suggest huckleberry pie. But the only thing on the gluten free menu is this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic