Re: T5: Navigation Component with Active style, How?

2009-03-20 Thread Thiago H. de Paula Figueiredo
On Fri, Mar 20, 2009 at 11:12 AM, Peter Kanze wrote: > Hello, Hi! > The a:visited is not an option because only one tab button can be active. Ok! > About the mixin solution, how can I check the requested URL in my mixin? > Do you have a quick example? Inject the Request and use its getPath()

Re: T5: Navigation Component with Active style, How?

2009-03-20 Thread Peter Kanze
Hello, The a:visited is not an option because only one tab button can be active. About the mixin solution, how can I check the requested URL in my mixin? Do you have a quick example? Thanks! Peter On Fri, Mar 20, 2009 at 1:38 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On

Re: T5: Navigation Component with Active style, How?

2009-03-20 Thread Thiago H. de Paula Figueiredo
On Fri, Mar 20, 2009 at 9:34 AM, Peter Kanze wrote: > I have a component at the top of the page for navigating to my "main" > pages.. > This works perfect, see the xhtml code below.. But the problem is that I > want the clicked navigate link to get an class="active" attribute. Doesn't using CSS's

T5: Navigation Component with Active style, How?

2009-03-20 Thread Peter Kanze
Hello I have a component at the top of the page for navigating to my "main" pages.. This works perfect, see the xhtml code below.. But the problem is that I want the clicked navigate link to get an class="active" attribute. How can I do this? The problem is the component is rerendered after I clic