struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Session Mwamufiya" <smwam...@andrew.cmu.edu>
Subject RE: Running Dojo on a struts project
Date Mon, 03 Sep 2007 13:37:38 GMT
To follow up on this; I used firebug to try to figure out what was going on,
and this is the error message I get in the console:

djConfig.baseScriptUri has no properties
getBaseScriptUri()dojo.js (line 155)
loadPath("src/lang/__package__.js", "dojo.lang", undefined)dojo.js (line
187)
loadModule("dojo.lang", undefined, undefined)dojo.js (line 341)
require("dojo.lang.*")dojo.js (line 419)
[Break on this error] if(djConfig.baseScriptUri.length){

There seems to be an error in the dojo.js file.  I'm using version 0.4.3
with ajax.  Can someone send me the link to a working version of the file?

Thanks,

Session A. Mwamufiya
Carnegie Mellon University
MBA | Tepper School of Business
MSE (software eng.) | School of Computer Science
T: (412) 508-5455 | semwamufiya@cmu.edu

-----Original Message-----
From: Session A Mwamufiya [mailto:smwamufi@andrew.cmu.edu] 
Sent: Monday, September 03, 2007 9:08 AM
To: user@struts.apache.org
Subject: Running Dojo on a struts project

Hi,

I'm attempting to follow a Dojo tree widget tutorial,
http://willcode4beer.com/ware.jsp?set=dojoTreeWidget, where Dojo is used to
define a tree.  Unfortunately nothing comes up on the page, even though the
page source shows the tree definition.

The tree page is set as the result page for a dummy action (which executes),
but that's the only connection I have between Dojo and struts.  Is there
anything in particular I need to do to get Dojo to run within a struts app?

Thanks,
Session


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message