You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adam Winer (JIRA)" <de...@myfaces.apache.org> on 2005/11/08 19:29:20 UTC

[jira] Commented: (MYFACES-744) PRETTY_HTML option is not being universally honored

    [ http://issues.apache.org/jira/browse/MYFACES-744?page=comments#action_12357052 ] 

Adam Winer commented on MYFACES-744:
------------------------------------

That's an alternative solution for the issue, but doesn't really resolve the underlying problem, just makes it a much lower priority.  There is a PRETTY_HTML option, and it's only partway there.  So, the feature should be fixed or removed, and the issue really should not be closed.

A cleaner alternative than updating all the renderers is decorating the ResponseWriter with one that adds auto-indenting.

> PRETTY_HTML option is not being universally honored
> ---------------------------------------------------
>
>          Key: MYFACES-744
>          URL: http://issues.apache.org/jira/browse/MYFACES-744
>      Project: MyFaces
>         Type: Improvement
>   Components: Tomahawk
>     Versions: 1.1.1
>  Environment: Tomahawk component running on a MyFaces JSF implementation
>     Reporter: Brendan Conner
>     Priority: Trivial
>      Fix For: Nightly

>
> MyFaces recognizes the following context parameter:
> <context-param>
> 	<param-name>org.apache.myfaces.PRETTY_HTML</param-name>
> 	<param-value>true</param-value>
> 	<description>
> 		If true, rendered HTML code will be formatted, so that it
> 		is "human readable,"
> 		i.e. additional line separators and whitespace will be
> 		written that do not influence the HTML code.
> 		Default: "true"
> 	</description>
> </context-param>
> However, not all the component renderers are honoring this setting.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira