i dont know if it makes sense to back the menu items with a listview,
labels, links, etc. for what purpose?

i would have a single component for the menu that spits out the necessary
html directly into the page rather then backing it via actual wicket
components. this menu component can implement ILinkListener and generate a
url back to itself, prepend the index of the clicked menu item to it and you
are done.

much more light weight. its not like the html you are spitting out is very
comples, just a bunch of <li><a></a></li>

now if you want a menu where items can be panels that can contain other
panels, etc, etc, then it makes sense to use actual wicket components to
back it.

-igor


On 1/31/07, Shams Mahmood <[EMAIL PROTECTED]> wrote:

See the following site :

http://www.dhtmlgoodies.com/index.html?whichScript=context_menu
demo : http://www.dhtmlgoodies.com/scripts/context-menu/context-menu.html

I think the html can be easily generated by using a ListView and
Adding Links inisde and handling the onclick of the links.

Hope u find it useful.


Shams

-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to