It would be really nice if PrimeFaces component renderers output formatted HTML (indention and line breaks) when the project stage was not Production.
Currently the ouput of PrimeFaces renderers are pretty ugly. Some components indent HTML, others don't. Looking at the source of a webpage generated by PrimeFaces is pretty much a hot mess.
When the project stage is Production then it makes sense to exclude all unnecessary whitespace and make the file as small as possible for performance reasons. When developing and debugging it is helpful if the generated HTML source code is easy to read.
Formatted HTML with Project Stage
-
- Information
-
Who is online
Users browsing this forum: No registered users and 53 guests