Jean-Baptiste Quenot a écrit :
* Bruce Fraser:

We   are   looking   for   something   similar   to   the   Dojo
one   (http://dojotoolkit.org/  General   Widgets  ->   Menu  ->
ContextMenu), and that will most likely  be what we'll use if we
can't find a Wicket alternative.

If you  think the Dojo  ContextMenu could be nicely  integrated to
Wicket,  please checkout  wicket-contrib-dojo  and  see where  the
context menu would best fit.  We'd be more than happy to integrate
your contribution.

http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-dojo

Hi,

I've just finished to integrate DojoMenu, It is easy to use :
for exemple :

DojoSimpleContainer container = new DojoSimpleContainer("container");
       container.setHeight("500px");
DojoMenu menu = new DojoMenu("menu");
       menu.addChild(new DojoMenuItem("about", "About"));
       menu.addChild(new DojoMenuItem("edit", "Edit")
.addChild(new DojoMenuItem("copy", "Copy", new ResourceReference(MenuSample.class, "copy.jpg"))) .addChild(new DojoMenuItem("move", "Move", new ResourceReference(MenuSample.class, "move.jpg"))));
       container.add(new DojoContextualMenuBehavior(menu));
add(container);

And you do not need to add any html in your template. If you want to use it, just check-out the svn repository

--
Vincent Demay
http://www.demay-fr.net/blog/index.php/en


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to