Hello Doug,
I'm have some difficulties getting the contextMenu running. I checkout today
the wicket-contrib-yui project from the svn and install it using maven.
Trying after that using the wicket-contrib-yui.jar and all dependencies to
create my context menu in the
same way as in the ContextMenu2Page example page, I get some compilation
errors that I cannot explain:
It's not possible to add a yui component to a wicket component:
eg
public class TestPage extends WebPage {
...
public TestPage (final PageParameters parameters) {
...
WebMarkupContainer treeContainer = new WebMarkupContainer(
"treeContextMenu");
...
cmBehavior = new YuiContextMenuBehavior(nodeMenu );
treeContainer.add(cmBehavior);
}
}
Error by "treeContainer.add(cmBehavior)":
The method add(Component...) in the type MarkupContainer is not applicable
for the arguments (YuiContextMenuBehavior)
Please, I will appreciate any help!
Thanks,
mkamneng.
Doug Leeper wrote:
>
> Take a look at wicket-contrib-yui. There is a context menu (built on top
> of YUI) contained in org.wicketstuff.yui.markup.html.menu2.contextMenu
>
> There are some examples in wicketstuff-yui-examples for the Context Menu
> (tree and list/data view)
>
> Note: these are SVN projects located at
> http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/
>
> Let me know if you have any questions as I am the author of this
> contribution.
>
> - Doug
>
--
View this message in context:
http://www.nabble.com/right-click-popup-context-menu-tp15876468p19865344.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]