Hm, probably someone could extend Jtidy to support the Pretty HTML feature also...
Writing to log-files IMHO is a little bit difficult to work with. Often you have some problems in the HTML (incorrect view in a special browser, Jscript errors etc.) and then you have to check different files and different lines of occurencies... I think, the Pretty-HTML is something for development and later you disable it for live system to increase the performance. BTW: there is a issue on JIRA for this now: http://issues.apache.org/jira/browse/MYFACES-744 Regards, Stephan > -----Original Message----- > From: Jesse Alexander (KBSA 21) > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 26, 2005 10:16 AM > To: MyFaces Discussion > Subject: RE: [PROPOSAL] PRETTY_HTML, was [RE: JFS's html output] > > OK > > I looked into what JTidy delivers. Unfortunately it is not > what we want > :( > > The current jtidyServletFilter just VALIDATES the html and includes a > validation-icon into the html-code delivered.The PrettyPrint > feature is > only > available in the full-featured jtidy. > > What we could do is: Take the filter as a base and add the > pretty-print-feature > to it. > > What about writing the pretty-print-output not to the > browser, but to a > log-file? > Would that be enough? Or must we include an option to send it to the > browser? > > regards > Alexander > > -----Original Message----- > I prefer to add a additional filter instead of doing this in the > ExtensionFilter. > > jtidy has already a filter for this: > > http://jtidy.sourceforge.net/multiproject/jtidyservlet/filter.html > That's what I had hopes for (just no time to check ;-) > > thanks for checking it out > -----/Original Message----- >

