This method is invoked after {@link IPage#validate(IRequestCycle)}. @param parameters the array of page parameters @param cycle current request cycle
170171172173174175176177178179180
cycle.setServiceParameters(parameters); cycle.activate(page); page.activateExternalPage(parameters, cycle); // Render the response. engine.renderResponse(cycle, output); }
131132133134135136137138139140141
{ 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),
160161162163164165166167168169170
cycle.setListenerParameters(parameters); cycle.activate(page); page.activateExternalPage(parameters, cycle); _responseRenderer.renderResponse(cycle); }
130131132133134135136137138139140
155156157158159160161162163164165
cycle.setListenerParameters(parameters); cycle.activate(page); page.activateExternalPage(parameters, cycle); _responseRenderer.renderResponse(cycle); } public String getName()
9596979899100101102103104105
LinkFactory lf = newLinkFactory(cycle, parameters); cycle.setListenerParameters(parameters); cycle.activate(page); page.activateExternalPage(parameters, cycle); ResponseRenderer rr = (ResponseRenderer) newMock(ResponseRenderer.class); rr.renderResponse(cycle);
159160161162163164165166167168169
cycle.setServiceParameters(parameters); cycle.activate(page); page.activateExternalPage(parameters, cycle); _responseRenderer.renderResponse(cycle, output); } public String getName()
96979899100101102103104105106
LinkFactory lf = newLinkFactory(cycle, serviceParameters); cycle.setServiceParameters(serviceParameters); cycle.activate(page); page.activateExternalPage(serviceParameters, cycle); ResponseOutputStream ros = new ResponseOutputStream(null); ResponseRenderer rr = (ResponseRenderer) newMock(ResponseRenderer.class);
156157158159160161162163164165166
172173174175176177178179180181182