Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
-none-

-none-

2007-09-03       - By Frank W. Zammetti

 Back
It *looks* like your using a Dojo profile that doesn't include the
pieces you need, and Dojo is going off and trying to import them and not
finding them.  Have a look here:

http://www.nabble.com/djConfig-params-t2109960.html

You should set djConfig.baseScriptUri first, see if that resolves your
problem, then think about the profile your using.

Frank

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: fzammetti@(protected)
Author of "Practical Ajax Projects With Java Technology"
 (2006, Apress, ISBN 1-59059-695-1)
and "JavaScript, DOM Scripting and Ajax Projects"
 (2007, Apress, ISBN 1-59059-816-4)
Java Web Parts - http://javawebparts.sourceforge.net
 Supplying the wheel, so you don't have to reinvent it!

Session A Mwamufiya wrote:
> Who has experience using Dojo?  Please help me get it setup.  I added the
dojo.js file from the 0.9.0 release (I think it's the latest) to my webcontent
folder in an eclipse WAP project, but firebug keeps giving me the same error
"djConfig.baseScriptUri has no properties getBaseScriptUri()dojo.js (line 155)"
>
> Please help,
>
> Thanks,
> Session
>
>
>> 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@(protected)
>>
>> -- --Original Message-- -- From: Session A Mwamufiya
>> [mailto:smwamufi@(protected)] Sent: Monday, September 03, 2007 9:08 AM
>> To: user@(protected) 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@(protected) For additional
>> commands, e-mail: user-help@(protected)
>>
>>
>>
>>
>> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To
>> unsubscribe, e-mail: user-unsubscribe@(protected) For additional
>> commands, e-mail: user-help@(protected)
>>
>>
>>
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>
>
>



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.