protected void renderHtml(FlowState flowState) {
String page = flowState.getCurrentPage();
// page should always be not null - if that's not the case, then
// check the pageName attribute of flow definitions in the xml files
if (page == null) {
throw new PageNotFoundException("/missing-page","pageName not defined for flow " + flowState.getFlowTypeName());
}
FlowWebUtils.activatePageIfNotNull(null, page, flowState);
}