RE: cannot render a menubar using menu2 package

2007-12-06 Thread rik rik
The trick to solve the problem is to add getMarkupSettings().setStripWicketTags(true); in the method init() of the webapp, as indicated by Doug Thanks Doug! Rik From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: RE: cannot render a menubar using menu2 package Date: Wed, 5

RE: cannot render a menubar using menu2 package

2007-12-05 Thread rik rik
, and this request is not present calling my page. Maybe I'm making another error, but I don't understand where I'm going wrong... Regards Rik Date: Mon, 3 Dec 2007 10:14:20 -0800 From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: RE: cannot render a menubar using menu2 package

RE: cannot render a menubar using menu2 package

2007-12-03 Thread Doug Leeper
Correction. It is not the wicket code that is having a problem...it is the YUI code that does not like the wicket:id tags. All the wicket code (menu2) does is create the html that YUI recognizes. At the browser, there is no wicket stuff going on. As far what the problem is with regards to

RE: cannot render a menubar using menu2 package

2007-12-03 Thread rik rik
From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: RE: cannot render a menubar using menu2 package Correction. It is not the wicket code that is having a problem...it is the YUI code that does not like the wicket:id tags. All the wicket code (menu2) does is create the html that YUI

Re: cannot render a menubar using menu2 package

2007-12-03 Thread James McLaughlin
A quickstart attached to jira would be most appreciated. http://wicketstuff.org/jira/browse/WSYUI. Yui menu's distaste for wicket tags has been a long standing issue. To get around it at first, we did tMarkupSettings().setStripWicketTags(true). But then I thought that was changed to calling

Re: cannot render a menubar using menu2 package

2007-12-03 Thread Doug Leeper
James, I was not aware of the issue (or if I was...I forgot) With this in mind...do I need to change the menu2 impl? - Doug -- View this message in context: http://www.nabble.com/wicket-success-stories-tf4877640.html#a14135575 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: cannot render a menubar using menu2 package

2007-12-03 Thread James McLaughlin
Hi Doug, We definitely don't want to require users to strip wicket tags, if that still needs to be done. I think we did that just to get it working. I thought setRenderBodyOnly was enough, but if we still have issues we should add in a MarkupFilter or use a Transformer. If menu2 only works with

RE: cannot render a menubar using menu2 package

2007-12-02 Thread rik rik
render a menubar using menu2 package Rik, Here is what I have done to utilize the MenuBar. (Unfortunatley...this is not available to the public so I can't direct you to a public URL) In foo.html: link rel=stylesheet type=text/css href=/member/css/topNavMenu.css / Menu Bar In my foo.java

RE: cannot render a menubar using menu2 package

2007-12-02 Thread Doug Leeper
Rik, Ok...I see where you are having problems. I updated my local version of wicket-contrib-yui and wicketstuff-yui-examples and ran the example application. I expected it to work but didn't. I saw on the update that some files were changed and checked to see if these changes had any affect

RE: cannot render a menubar using menu2 package

2007-12-01 Thread Doug Leeper
Rik, Here is what I have done to utilize the MenuBar. (Unfortunatley...this is not available to the public so I can't direct you to a public URL) In foo.html: link rel=stylesheet type=text/css href=/member/css/topNavMenu.css / Menu Bar In my foo.java: YuiMenuBar menuBar = new YuiMenuBar(

Re: cannot render a menubar using menu2 package

2007-11-30 Thread James McLaughlin
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 [EMAIL PROTECTED] wrote: Hi to all, I've downloaded the sources of menu2 from svn, but I'm not

Re: cannot render a menubar using menu2 package

2007-11-30 Thread Doug Leeper
Rik, I am the primary author on this. Have you taken a look at the examples in wicketstuff-yui-examples? I have created examples for the Menu, MenuBar, and ContextMenu for menu2 package. You may ask...why menu2...b/c menu was taken and this iteration was completely revamped. The original