Re: T5: How to generate page links from Java code?

2007-06-05 Thread Martin Grotzke
On Mon, 2007-06-04 at 17:21 +0700, Ivan Dubrov wrote: > Nick Westgate wrote: > > Hi Martin. > > > > A typical way to do this in previous Tapestry versions is to have > > some simple logic functions in your component class to provide a > > boolean result ("this link is to the current page") which is

Re: T5: How to generate page links from Java code?

2007-06-04 Thread Ivan Dubrov
Nick Westgate wrote: > Hi Martin. > > A typical way to do this in previous Tapestry versions is to have > some simple logic functions in your component class to provide a > boolean result ("this link is to the current page") which is used > for each link's disabled parameter, and to select a string

Re: T5: How to generate page links from Java code?

2007-06-04 Thread Nick Westgate
Hi Martin. A typical way to do this in previous Tapestry versions is to have some simple logic functions in your component class to provide a boolean result ("this link is to the current page") which is used for each link's disabled parameter, and to select a string supplied to an informal CSS "st

Re: T5: How to generate page links from Java code?

2007-06-04 Thread Martin Grotzke
On Fri, 2007-06-01 at 08:48 -0700, Howard Lewis Ship wrote: > You have to inject your ComponentResources. > > There are methods for generating page render links and component action > links as part of the ComponentResources interface. Great! What's then the intended way of rendering the component

Re: T5: How to generate page links from Java code?

2007-06-01 Thread Howard Lewis Ship
You have to inject your ComponentResources. There are methods for generating page render links and component action links as part of the ComponentResources interface. On 6/1/07, Martin Dietze <[EMAIL PROTECTED]> wrote: Hi, I'm trying to create a component for a navigation element which contai