Hello-
I would like to take advantage of the dojox toolkit that is included in the latest version of Webmaker. I am trying to Implement the Timespinner functionality. I followed the instructions on how to implement the dojo.numberspinner that is found on this forum, but have been unable to successfully serve up the object. Does another entry need to be made to the demo_skin.xsl to define the dojox path?
dojo.require('dojox.form.TimeSpinner');
custom attribute- dojoType dijit.form.TimeSpinner
Any help on implementing this functionality would be great!
Thanks.
John Howell
I would like to take advantage of the dojox toolkit that is included in the latest version of Webmaker. I am trying to Implement the Timespinner functionality. I followed the instructions on how to implement the dojo.numberspinner that is found on this forum, but have been unable to successfully serve up the object. Does another entry need to be made to the demo_skin.xsl to define the dojox path?
dojo.require('dojox.form.TimeSpinner');
custom attribute- dojoType dijit.form.TimeSpinner
Any help on implementing this functionality would be great!
Thanks.
John Howell
RE: Implementation of dojox-Timespinner
dojo.require('dojox.form.TimeSpinner');
custom attribute- dojoType dojox.form.TimeSpinner
Finally, I copied the entire server dojo directory into my project folder and then modified the path of the dojo objects in the demo_skin.xsl file to point to my project folder and not the server. I needed to do this, as the default increment on the timespinner is 5 minutes. I needed more precise 1 minute increments. I changed the value of smalldelta from 5 to 1.
This did the trick.
John Howell
RE: Implementation of dojox-Timespinner
Hi John,
Version 4.* Studio does include the full dojo toolkit, so what you have described should work out of the box.
I have checked and you simply need the page event and custom attributes.
The Version 4.* Studio has a local copy of the dojo toolkit that is held in the following directory: {Install_Directory}\design\repository\generic\mvc\generic\_resources\dojo
One consideration is if you are publishing to a BizFlow Server?
The BizFlow Server may not be V4.*, in which case it has its own copy of the Dojo for V3.*?
Version 3.* did not have the dojox elements.
If this is the case then your actions above are the only approach if you cannot update the server because of other applications.