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]

Reply via email to