开发者

Ajax backed List/Menu

开发者 https://www.devze.com 2022-12-26 14:50 出处:网络
I am developing a web application using Spring JS and Dojo Toolkit. In this application I want a Menu that lists the different organzational units in my application. The users will be able to add/rem

I am developing a web application using Spring JS and Dojo Toolkit.

In this application I want a Menu that lists the different organzational units in my application. The users will be able to add/remove these units and I want the menu to immediately reflect those changes.

Example: My user adds an new organizational unit "Strategic Consulting". So he/she expects this new unit to show in the menu to his left among the other units like "Marketing" "Sales" etc.

So basically I need a Menu that is backed by some collection of business units on the serversi开发者_JS百科de.

How do I do this using the Dojo Toolkit?


I think you have to do that by yourself. When a new organization unit is added, you can add a new dijit.MenuItem to the dijit.Menu.

0

精彩评论

暂无评论...
验证码 换一张
取 消