This method is invoked after {@link IPage#validate(IRequestCycle)}. @param parameters the array of page parameters @param cycle current request cycle
7374757677787980818283
trainExtractListenerParameters(lf, cycle, parameters); cycle.setListenerParameters(parameters); cycle.activate(page); page.activateExternalPage(parameters, cycle); rr.renderResponse(cycle); replayControls();
155156157158159160161162163164165
cycle.setListenerParameters(parameters); cycle.activate(page); page.activateExternalPage(parameters, cycle); _responseRenderer.renderResponse(cycle); } public String getName()
154155156157158159160161162163164
{ IExternalPage page = (IExternalPage) cycle.getPage(_pageName); cycle.activate(page); page.activateExternalPage(_parameters, cycle); } catch (ClassCastException ex) { throw new ApplicationRuntimeException(CallbackMessages.pageNotExternal(_pageName), ex); }
172173174175176177178179180181182
{ IExternalPage page = (IExternalPage) cycle.getPage(_pageName); cycle.activate(page); page.activateExternalPage(_parameters, cycle); } catch (ClassCastException ex) { throw new ApplicationRuntimeException( Tapestry.format("ExternalCallback.page-not-compatible", _pageName),
197198199200201202203204205206207
cycle.setServiceParameters(parameters); cycle.activate(page); page.activateExternalPage(parameters, cycle); // Render the response. engine.renderResponse(cycle, output); }
131132133134135136137138139140141
156157158159160161162163164165166
160161162163164165166167168169170
5354555657585960616263
IExternalPage page = newExternalPage(); IRequestCycle cycle = newCycleGetPage("Fred", page); cycle.activate(page); page.activateExternalPage(parameters, cycle); replayControls(); ExternalCallback callback = new ExternalCallback("Fred", parameters);
IExternalPage page = newExternalPage(); IRequestCycle cycle = newCycleGetPage("Fred", page); cycle.activate(page); page.activateExternalPage(null, cycle); replayControls(); ExternalCallback callback = new ExternalCallback("Fred", null);