I have a question that I hopefully someone will be able to answer. I have created a Wicket based framework on top of YUI Context menu in wicketstuff (menu2). Everything works as expected. It can be used on Tree/Table for those that are interested.
However, the issue that I have come across is that the menu stops working when I send back the component that the contextmenu is "listening" on. I understand that the DOM has changed and the menu needs to be recreated to reestablish its association. What I don't know is what is the best way to reestablish the contextmenu. I resend the Javascript to recreate the menu but that doesn't work. Is there something that I am missing? How do I have the YUI ContextMenu (in Javascript) re-listen on the recently sent component? Thanks in advance, - Doug P.S. If you are interested in having a ContextMenu for your Wicket Application, please check out package org.wicketstuff.yui.markup.html.menu2.contextMenu. Please be aware that this is a work in progress but does work. There is also a working example in the wicketstuff-yui-examples. I hope to have an example for Tree up very soon. -- View this message in context: http://www.nabble.com/Ajax-question-tf4644668.html#a13267305 Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
