Patch for debug bug in Facelets

Are you still using JSP as view technology for you JSF pages? You shouldn’t! Although not an official standard (yet), Facelets offers many advantages over JSP. Facelets adds templating and an easy way to create ‘composition components’, just to name two of the most important benefits.

Another very useful feature is the debug option. By just adding something like

to your page, you can now display a debug window at runtime by just pressing CTRL + SHIFT + P in your browser window. Unfortunately, there’s a little bug in this debug window, preventing one of the expandable sections to expand. I filed an issue already a while ago and the problem is fixed in the latest beta release of Facelets 1.1.15. But what if you don’t want to use a beta release in your project, but you do want to use the debug window? You can manually apply the patch that is attached to the abovementioned issue. But I did that already and I decided to share the patched ZIP. So you can download a patched version of Facelets 1.1.14 here. I hope you will enjoy it!