Page newPage(UiFactory uf, RequestInfo ri, Richlet richlet,
ServletResponse response, String path) {
final DesktopCtrl desktopCtrl = (DesktopCtrl)ri.getDesktop();
final Execution exec = ExecutionsCtrl.getCurrent();
TemporaryExecution de = new TemporaryExecution(
<BUG>(ServletContext)ri.getWebApp().getNativeContext(),
(HttpServletRequest)ri.getNativeRequest(),</BUG>
(HttpServletResponse)response, ri.getDesktop());
desktopCtrl.setExecution(de);
ExecutionsCtrl.setCurrent(de);

Page newPage(UiFactory uf, RequestInfo ri, Richlet richlet,
ServletResponse response, String path) {
final DesktopCtrl desktopCtrl = (DesktopCtrl)ri.getDesktop();
final Execution exec = ExecutionsCtrl.getCurrent();
TemporaryExecution de = new TemporaryExecution(
ri.getWebApp().getServletContext(),
(HttpServletRequest)ri.getNativeRequest(),
(HttpServletResponse)response, ri.getDesktop());
desktopCtrl.setExecution(de);
ExecutionsCtrl.setCurrent(de);
