Skip to main content

dojo 0.4

4 replies [Last post]
emsttam
Offline
Joined: 2007-03-09
Points: 0

Hi,

I've downloaded the jMaki NetBeans Plugin which I believe comes with jMaki v.8.3.1
I would like to use dojo 0.4 (the NetBeans Plugin seems to be using 0.3)

How can I upgrade jMaki NetBeans Plugin to use 0.4 ? Thanks in advance.

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
Points: 0

Hi,

The latest version of the plugin, 1.6.8 should include jMaki .8.3.1 which uses Dojo v.4.1.
The version number of the library should be in the config.json file (though that is
updated manually). What is in the directory /resources/libs/dojo?
Thanks.

emsttam
Offline
Joined: 2007-03-09
Points: 0

Hi,

Hmm, they say 4.1

The reason for all this is that I wanted to use the dojo editor component shown in the latest screencast. However in the version I have downloaded the editor only has a few buttons (undo, redo, save, bold, italic, underline) whereas the version on the screencast has many more features. Am I missing something ?

carlavmott
Offline
Joined: 2005-02-10
Points: 0

Ahh. By default we set the toolbar on the editor to 'small' which only has a few buttons. You can set it to 'medium' or 'full'. 'full' gives you all the features that are available with that widget.

The easiest way to see how to set it is to use the component editor in NetBeans. Just highlight the editor widget and click on the jmaki symbol in the toolbar. That will bring up the editor and you can select the appropriate value. Save it and your page will be update.

If you are not using NetBeans then the line should look like.

Hope this helps,
Carla

BTW, I just noticed a bug with the component editor. I'll file a bug and fix it for the next release.

emsttam
Offline
Joined: 2007-03-09
Points: 0

Works a treat, many thanks Carla.