Generic Navigation Panel

2009-07-22 Thread Matthias Keller
Hi I'm creating a new website with wicket which should have a normal navigation bar. I'd like to be able to detect whether a link points to the current page to give the surrounding div a special class. For example on page1: div class=activeLink a href=page1page1/a /div div a

Re: Generic Navigation Panel

2009-07-22 Thread Iain Reddick
You can actually configure the tags that are put around a disabled link at application level, like this: getMarkupSettings().setDefaultBeforeDisabledLink( ); getMarkupSettings().setDefaultAfterDisabledLink( ); This would give span*linktext*/span for disabled lnks (such as an autolink to the

Re: Generic Navigation Panel

2009-07-22 Thread Igor Vaynberg
cant you use PagingNavigator? -igor On Wed, Jul 22, 2009 at 7:05 AM, Matthias Kellermatthias.kel...@ergon.ch wrote: Hi I'm creating a new website with wicket which should have a normal navigation bar. I'd like to be able to detect whether a link points to the current page to give the

Re: Generic Navigation Panel

2009-07-22 Thread John Armstrong
Any plans to move this down to the Component level? I've had situations where I needed to override this at the page level and even within a panel within a page.. John- On Wed, Jul 22, 2009 at 7:14 AM, Iain Reddickiain.redd...@beatsystems.com wrote: You can actually configure the tags that are

Re: Generic Navigation Panel

2009-07-22 Thread Igor Vaynberg
it is on component level. abstractlink has those methods i believe. -igor On Wed, Jul 22, 2009 at 10:16 AM, John Armstrongsiber...@siberian.org wrote: Any plans to move this down to the Component level? I've had situations where I needed to override this at the page level and even within a

Re: Generic Navigation Panel

2009-07-22 Thread John Armstrong
Good info, thanks Igor, I'll check it out. J On Wed, Jul 22, 2009 at 10:27 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote: it is on component level. abstractlink has those methods i believe. -igor On Wed, Jul 22, 2009 at 10:16 AM, John Armstrongsiber...@siberian.org wrote: Any plans to move