Re: [t4] rendering DirectLink from Java code (renderer)

2008-03-18 Thread Ben Dotte
You're right about the number of methods in IDirect, sorry I forgot to clarify that. I guess all of the places I am doing this, the class implementing IDirect is an abstract Tapestry page or component. This way Tapestry fills in all the details on those other methods and all I need to implement is

Re: [t4] rendering DirectLink from Java code (renderer)

2008-03-18 Thread Petri Wessman
Ben Dotte wrote: > Hi Petri, > > To generate a DirectLink href programmatically, you'll need a class > that implements IDirect. In the trigger() method on that, you can call > the intended listener. Refer to an instance of the class implementing > IDirect for the first parameter of DirectServicePa

Re: [t4] rendering DirectLink from Java code (renderer)

2008-03-18 Thread Ben Dotte
Hi Petri, To generate a DirectLink href programmatically, you'll need a class that implements IDirect. In the trigger() method on that, you can call the intended listener. Refer to an instance of the class implementing IDirect for the first parameter of DirectServiceParameter, set the Direct engin