You'll have to rewrite this part to make use of the Direct service... The Action service is gone in 4.1 - and that's why cycle.getNextActionId() has no use now.
O/H Robert J. Walker έγραψε: > So I'm trying to convert a component written for Tapestry 3.1 to Tapestry > 4.1, and it has this little section of code: > > ... > protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle) { > String actionId = cycle.getNextActionId(); > IEngineService service = > cycle.getEngine().getService(Tapestry.ACTION_SERVICE); > Ilink link = service.getLink(cycle, this, new Object[]{actionId}); > // Proceed to do stuff with the link > } > ... > > The problem, of course, is that IRequestCycle.getNextActionId() is gone. So > my question is, how do I get this to work again, short of completely > rewriting everything? Or is that my only option? > > Robert J. Walker > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]