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

RE: [T5] navigation component

2007-07-17 Thread Waldo Mendoza
Hello Ognen! I have made some similar behavior for a past Tapestry version, i think 5.0.2, but the idea should be standard: 1.- Read the files inside the pages folder that is subfolder of tapestry.app-package init param, of course filtering with a FilenameFilter, instead of that you can buil