Yes ServiceLink. I did the exact same thing to create links to a FileViewing service. It works great. The "paramters" binding allows you to pass in whatever values you want to your service via IRequestCycle.
On 3/9/06, Jean-Eric Cuendet <[EMAIL PROTECTED]> wrote: > > Hi, > I have a list of PDF that a user can generate by clicking on a link. I > have a Tapestry Service that generate the pdf according to a cycle > parameter which tells which one to generate. > > Like this: > > <a href="app?service=pdf&cycle=1">Cycle 1</a> > <a href="app?service=pdf&cycle=2">Cycle 2</a> > <a href="app?service=pdf&cycle=3">Cycle 3</a> > > I can create a <table> with a @For component but how do I construct the > link? Should I use a ServiceLink? Then what should I pass? parameters? > How? > I have the Index of the cycle while rendering the <table> so that's no > problem to do ognl:currentIndex (which will give me 1-2-3-4-5-...) but I > don't know how to put all that together. > > Thanks for any help, guys. > Bye > -jec > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >