// doesn't keep the test result -- rather rerenders
extCtx.getSessionMap().put(TestEventHandler.EVENT_RECEIVED, null);
extCtx.getSessionMap().put(TestEventHandler.EVENT_TEST_FAILED, null);
// Set a render parameter so we can verify its there after the event
StateAwareResponse response = (StateAwareResponse) extCtx.getResponse();
response.setRenderParameter("tck.renderParam", "value");
// Create and raise the event
response.setEvent(new QName(TestEventHandler.EVENT_QNAME, TestEventHandler.EVENT_NAME), testRunner.getTestName());
return "eventControllerTest"; // action Navigation result
}
else
{
testRunner.setTestComplete(true);