This method is invoked after {@link IPage#validate(IRequestCycle)}. @param parameters the array of page parameters @param cycle current request cycle
96979899100101102103104105106
IExternalPage page = newExternalPage("Barney"); IRequestCycle cycle = newCycle("Barney", page); cycle.activate(page); page.activateExternalPage(parameters, cycle); replayControls(); ExternalCallback callback = new ExternalCallback(page, parameters);
155156157158159160161162163164165
{ IExternalPage page = (IExternalPage) cycle.getPage(_pageName); cycle.activate(page); page.activateExternalPage(_parameters, cycle); } catch (ClassCastException ex) { throw new ApplicationRuntimeException(CallbackMessages.pageNotExternal(_pageName), ex); }
130131132133134135136137138139140
{ __CLOVER_57_0.S[1425]++;IExternalPage page = (IExternalPage) cycle.getPage(_pageName); __CLOVER_57_0.S[1426]++;cycle.activate(page); __CLOVER_57_0.S[1427]++;page.activateExternalPage(_parameters, cycle); } catch (ClassCastException ex) { __CLOVER_57_0.S[1428]++;throw new ApplicationRuntimeException( Tapestry.format("ExternalCallback.page-not-compatible", _pageName),
cycle.setListenerParameters(parameters); cycle.activate(page); page.activateExternalPage(parameters, cycle); _responseRenderer.renderResponse(cycle); } public String getName()
154155156157158159160161162163164
7576777879808182838485
trainExtractListenerParameters(lf, cycle, parameters); cycle.setListenerParameters(parameters); cycle.activate(page); page.activateExternalPage(parameters, cycle); rr.renderResponse(cycle); replay();
5455565758596061626364
IExternalPage page = newExternalPage(); IRequestCycle cycle = newCycleGetPage("Fred", page); cycle.activate(page); page.activateExternalPage(parameters, cycle); replay(); ExternalCallback callback = new ExternalCallback("Fred", parameters);
7475767778798081828384
IExternalPage page = newExternalPage(); IRequestCycle cycle = newCycleGetPage("Fred", page); cycle.activate(page); page.activateExternalPage(null, cycle); replay(); ExternalCallback callback = new ExternalCallback("Fred", null);
979899100101102103104105106107
IExternalPage page = newExternalPage("Barney"); IRequestCycle cycle = newCycleGetPage("Barney", page); cycle.activate(page); page.activateExternalPage(parameters, cycle); replay(); ExternalCallback callback = new ExternalCallback(page, parameters);
132133134135136137138139140141142