You might try removing the Scriptaculous and Prototype includes in default.jsp.

Matt

On 1/15/07, Thinkboy <[EMAIL PROTECTED]> wrote:
i am running dojo with spring mvc but experienced error while trying to
implement the datePicker.
-------------
my setup:
--------------
1) add dojo.js in sitemesh's /web/decorators/default.jsp
        <script type="text/javascript" src="<c:url
value='/scripts/dojo.js'/>"></script>
                <script type="text/javascript">
               var djConfig = {isDebug: true};
        </script>
        <script type="text/javascript">
               dojo.require("dojo.widget.*");
        </script>
2) copy src directory in dojo's zip  to /myapp/web/src

3) edit /myapp/web/pages/myjsp.jsp
        <div dojoType="datepicker"></div>

------------
Error Msg
------------
from firefox 's javascript debugger, I saw the following error message:

"djConfig.baseScriptUri has no properties"

dojo.js Line 156: if (djConfig.baseScriptUri.length) {

what is my mistake? pls help

~thinkboy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to