You need to inject the IEngineService that you're intertested in (page or external in your case) and call getLink on it
http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/engine/IEngineService.html @InjectObject("engine-service:page") public abstract IEngineService getPageService(); nkonstantinou wrote:
Hi all, I am trying to create a link to another page through a component. The problem is that i'm trying to achieve this programmatically, from the renderComponent method of the component. I couldnt' figure out so far how to create this in an html page and render it. So the thing is: how to create a link to an external page -- with specifying page and Object[] parameter? I tried writer.begin() ... etc. but this is not enough to create a link to another page of the application. Any suggestions?
-- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / JEE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]