String state =
_context.getApplication().getStateManager().getViewState(_context);
pprWriter.writeViewState(state);
}
pprWriter.endDocument();
}
catch (IOException e)
{
// launder the IOException as a FacesException, we'll unwrap this later
throw new FacesException(e);