Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7557787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:13:24+00:00 2026-05-30T12:13:24+00:00

I have been attempting to implement a custom dojo build to replace the dojo

  • 0

I have been attempting to implement a custom dojo build to replace the dojo version that comes with spring roo 1.1.5.

I followed the instructions at

http://sagittech.blogspot.com/2011/08/asdadsad-qwasdace-aavvrv-place-holder.html

as well as

http://www.qc4blog.com/?p=1001

I have been able to create the builds.

My problem is that when I place the new build into the project like

WEB-INF\classes\META-INF\web-resources\dojo-1.6.2\

(FYI: I renamed the version from 1.6.1 to 1.6.2 to avoid conflict with same version as in
Roo.)

When I load my web page I get

syntax error
http://localhost:8080/app-1.0.0/resources/dojo-1.6.2/dojo/dojo.js
Line 14

also

missing ) after argument list
http://localhost:8080/app-1.0.0/
Line 3

dojo is not defined
http://localhost:8080/app-1.0.0/resources/spring/Spring-Dojo.js
Line 16

So, the question is:

What is the proper way to integrate a new custom dojo build with Spring Roo?

Is there a special way to build dojo to make this happen?

Are there additional steps required to make a custom build work with Roo?

Update:

Below is my profile file to create the new dojo.js

dependencies = {
optimize:"shrinksafe", 
stripConsole: "normal",
cssOptimize: "comments",
layers:
[
{
name: "dojo.js",
layerDependencies:
[
"dojo.js",
],
dependencies:
[
"dijit.Dialog",
"dijit.Tooltip",
"dijit.form.DateTextBox",
"dijit.form.CheckBox",
"dijit.form.CurrencyTextBox",
"dojox.widget.Standby",
"dijit.form.ComboBox",
"dijit.form.FilteringSelect",
"dojox.form.PasswordValidator",
"dojo.parser",
"dijit.form.Form",
"dojox.grid.EnhancedGrid",
"dojo.data.ItemFileWriteStore",
"dijit.TitlePane",
"dijit.layout.LayoutContainer",
"dijit.layout.BorderContainer",
"dijit.form.SimpleTextarea",
"dijit.form.Textarea",
"dojo.date.locale",
"dojo.data.ItemFileReadStore",
"dojox.grid.cells.dijit",   
"dojox.grid.DataGrid",
"dijit.form.Button",
"dijit.form.ValidationTextBox",
"dijit.Dialog",
"dijit.form.NumberSpinner",
"dojox.grid.enhanced.plugins.Menu",
"dojox.grid.enhanced.plugins.NestedSorting",
"dojox.grid.enhanced.plugins.IndirectSelection",
"dijit.MenuItem",
"dijit.MenuSeparator",
"dijit.PopupMenuItem",
"dijit.Menu",
"dojox.form.Uploader",
"dojox.form.uploader.FileList",
"dojox.form.uploader.plugins.Flash",
"dijit.form.Select"
 ]
}
],

prefixes: [
["dijit", "../dijit"],
["dojox", "../dojox"]
]

}

After making sure that I made the new optimized file the same as dojo.js to insure that dojo was found I now get the following error:

failed loading /app-1.0.0/resources/dojo-1.6.2/dojo/./parser.js with error: SyntaxError: syntax error
http://localhost:8080/app-1.0.0/resources/dojo-1.6.2/dojo/dojo.js
Line 14

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:13:26+00:00Added an answer on May 30, 2026 at 12:13 pm

    I solved this in part by an answer given at

    http://forum.springsource.org/showthread.php?118073-javascript-files-not-loading

    I made sure that I had

    <script type="text/javascript">dojo.require("dojo.parser");<!-- required for FF3 and Opera --></script>
    

    Also, I had to verify that

    <c:set var="dojo_baseline">/resources/dojo-1.6.2/</c:set>
    

    pointed to the correct folder. Previously I had it at 1.6.1

    also, that

    webmvc-config.xml

    looked like

    <mvc:resources location="/, classpath:/META-INF/web-resources/" mapping="/resources/**"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been attempting to have a object that I can use across multiple
I have been attempting to develop an embedded webserver within an application that I
I have been trying to create a Spring project that uses MyBatis for the
I've been attempting to modify the contents of a custom tree view that inherits
I have a web form that I am attempting to implement dynamic drop down
I have been attempting to write some routines to read RSS and ATOM feeds
I have been attempting to get log4net logging in my asp.net web application with
I have been attempting to enhance my GUI system written in Java to use
For the last few days I have been attempting to find a method to
Have been looking at the MVC storefront and see that IQueryable is returned from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.