I do agree. A fast search through the sources shows that it is not used anywhere. I don't see the necessity of having such a feature if external plugins can do the same. Normally, you won't need to see the HTML source except for debugging components and implement this feature on all the current renderers is a minucious and long task and might have an impact on performance...

Bruno

2005/6/1, Sean Schofield <[EMAIL PROTECTED]>:
I can confirm that it doesn't work for me either.  I found a sweet
plugin for Firefox though that basically does this for you.  (NOTE:
its a plugin not the default view source.)  It works pretty nice on
the tree2 examples (which are *definitely* not pretty with all the
nested tables.)  Too bad I didn't have it while debugging the
renderer!

We may want to consider removing this feature if it doesn't
effectively do anything.  I think making it work would be a lot of
work ;-)

sean


On 6/1/05, Daniel Zwink <[EMAIL PROTECTED]> wrote:
> Hi,
>
> uh - shame on me and thanks to b0nyb0y! I've only seen the _javascript_ part
> and didn't realise that the HTML-part is in one single line.
>
> > Have anyone else successfully configured myfaces to
> > generate PRETTY_HTML output which shows up nicely in
> > a browser's "View Source" tool?
>
> Me ;-). On my system (Windows XP, Tomcat 5.5.9, MyFaces 1.0.9 M9) the
> generated html is relatively pretty (e.g. there are line breaks between
> tags) with context parameter "org.apache.myfaces.PRETTY_HTML" set to true
> (in web.xml).
>
>
> Daniel
>
>

Reply via email to