Skip to main content

Question

1 reply [Last post]
tchangu
Offline
Joined: 2004-03-05

I am having an curious issue. I have tinkered jmaki a bit deployed it locally and I am particularly interested in DOJO Date picker. Here I am pasting HTML source that gets generated for me as well as from the JMAKI sample app site. As you can see the source is almost identical barring the hostname. I also dont see a Javascript error but I dont see any things happening. I just get an empty screen. Can some throw in an idea as to what might be going wrong?

==========================
This is my HTML source
==========================

jmaki.webRoot='http://localhost:8080/AjaxTesting';jmaki.resourcesRoot ='/resources';
djConfig = { parseWidgets: false, searchIds: [] };

jmaki.addWidget({baseDir:'http://localhost:8080/AjaxTesting/resources/dojo/dropdowndatepicker',script:'http://localhost:8080/AjaxTesting/resources/dojo/dropdowndatepicker/component.js',uuid:'dojo_dropdowndatepicker0',name:'dojo.dropdowndatepicker'});

==========================
This is from the JMAKI sample app
==========================

jmaki.webRoot='http://javaserver.org/jmaki';jmaki.resourcesRoot ='/resources';
djConfig = { parseWidgets: false, searchIds: [] };

jmaki.addWidget({baseDir:'http://javaserver.org/jmaki/resources/dojo/dropdowndatepicker',script:'http://javaserver.org/jmaki/resources/dojo/dropdowndatepicker/component.js',uuid:'dojo_dropdowndatepicker0',name:'dojo.dropdowndatepicker'});

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
carlavmott
Offline
Joined: 2005-02-10

Hi,

Are you saying that you looked at this under Firebug and got no additional info? Are you creating a new app? Did you copy all the resources you needed for the dojo widget to your app? Which server are you deploying your app on? Not sure what else I can ask to help figure this out but let's start with these.