> Author: hansbak
> Date: Sun Sep 6 09:39:20 2009
> New Revision: 811787
>
> URL:
http://svn.apache.org/viewvc?rev=811787&view=rev> Log:
> helpscreens placeholders now converted to the docbook V5 format inclusive
> of namespace support, updated the apache ofbiz document to explain how to
> create helpscreens, created an ftl template to display the docbook help
> screens, docbook pdf generation now almost working: it can create a local
> pdf file, but streaming to the browser does not work..if anybody interested
> to help me check modelscreenwidget.java line 1206
>
> Modified:
> ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
> URL:
>
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java?rev=811787&r1=811786&r2=811787&view=diff>
> ==============================================================================
> ---
> ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
> (original)
> +++
> ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java
> Sun Sep 6 09:39:20 2009
> @@ -768,7 +768,7 @@
>
> long viewStartTime = System.currentTimeMillis();
>
> - // setup chararcter encoding and content type
> + // setup character encoding and content type
> String charset =
> UtilFormatOut.checkEmpty(getServletContext().getInitParameter("charset"),
> req.getCharacterEncoding(), "UTF-8");
>
> String viewCharset = viewMap.encoding;
> @@ -805,6 +805,7 @@
> try {
> if (Debug.verboseOn()) Debug.logVerbose("Rendering view [" +
> nextPage + "] of type [" + viewMap.type + "]", module);
> ViewHandler vh = viewFactory.getViewHandler(viewMap.type);
> +Debug.log("===================rendering view: " + view + " contentType: "
> + contentType + " viewHandler:" + vh.getName());
> vh.render(view, nextPage, viewMap.info, contentType, charset,
> req, resp);
> } catch (ViewHandlerException e) {
> Throwable throwable = e.getNested() != null ? e.getNested() :
> e;
>
>