Thanks Mike for the response! Do you guys provide Richfaces support as well?

On Fri, May 22, 2015 at 12:48 PM, Mike Kienenberger <mkien...@gmail.com>
wrote:

> I'm pretty sure it was used internally to support the
> org.apache.myfaces.PRETTY_HTML parameter, which was removed on
> November 13, 2013.
>
> https://issues.apache.org/jira/browse/MYFACES-3822
>
> This issue also includes remove unused params like:
>
> org.apache.myfaces.PRETTY_HTML
> Reason : never worked well, modern browsers has support for debugging,
> makes rendering slow.
>
> You can find the complete change-set here:
>
> http://svn.apache.org/viewvc?view=revision&revision=1541762
>
> One possibility is to navigate from the change-set to the previous
> version of HtmlRendererUtils which contained
> writePrettyLineSeparator() and copy that method (or the entire file)
> into your project.
>
>
> http://svn.apache.org/viewvc/myfaces/core/trunk/shared/src/main/java/org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java?view=markup&pathrev=1519698
>
> but since the method does very little, you are probably better off not
> using it at all and calling
> "facesContext.getResponseWriter().write(LINE_SEPARATOR);" directly.
>
> if
> (org.apache.myfaces.shared.config.MyfacesConfig.getCurrentInstance(facesContext.getExternalContext()).isPrettyHtml())
> {
>     facesContext.getResponseWriter().write(LINE_SEPARATOR);
> }
>
> On Fri, May 22, 2015 at 2:48 PM, khush N <kbnavl...@gmail.com> wrote:
> > Hi,
> >
> > I am using myfaces 2.2.7 version and found that
> > HtmlRendererUtils.writePrettyLineSeparator() method is missing. The
> method
> > is present in 2.1 version. Can anyone tell me the alternate of
> > HtmlRendererUtils.writePrettyLineSeparator in 2.2?
> >
> > I also could not find the method in DEPRECATED tab in api docs.
> >
> > Thanks!
>

Reply via email to