wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James McLaughlin" <jomclaugh...@gmail.com>
Subject Re: cannot render a menubar using menu2 package
Date Sat, 01 Dec 2007 00:21:57 GMT
rik rik,
you don't need to include the yui libraries. YuiMenuBar will do that
automatically. Remove them from your html and everything should work
fine.

best,
jim

On Nov 30, 2007 3:58 AM, rik rik <snakerik@hotmail.com> wrote:
> Hi to all,
> I've downloaded the sources of menu2 from svn, but I'm not able to make it working properly,
because the page is not correctly rendered
> My code (very simple) is this
>
> YuiMenuBar menubar=new YuiMenuBar("menubar","menubar");
> YuiMenuBarItem fileitem=menubar.addMenu("file");
> YuiMenuBarItem edititem=menubar.addMenu("edit");
> add(menubar);
>
> and this is the html
>
> <html>
> <head>
> <script src="yahoo-dom-event.js" type="text/javascript"></script>
> <script src="animation.js" type="text/javascript"></script>
> <script src="container.js" type="text/javascript"></script>
> <script src="menu.js" type="text/javascript"></script>
> <link rel="stylesheet" type="text/css" href="menu.css"/>
> </head>
> <div wicket:id="menubar">menu</div>
> </html>
>
> The js files have been downloaded from the yui site, and they are correctly referenced
from the html
> Where am I going wrong?
> Thanks
>
> Rik
>
> _________________________________________________________________
> Organizza le tue foto e condividile con i tuoi amici con Raccolta foto di Windows Live!
> http://www.windowslive.it

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message