Recently I have been trying to build the ability to send e-mails in a JSF project. Since Facelets is a great templating technology, I want to render the e-mails with Facelets. To my surprise, this isn’t an easy thing to do.
This is a list of JSF quirks I have found so far. There may also be solutions or workarounds.
I have a project that uses JSF and Hibernate. Today, I was trying to use h:dataTable to render a Set. What surprised me was that h:dataTable would only support UIData, which excluded Set. Heavily influenced by Hibernate, my project uses Set quite extensively. It would therefore be very annoying to change every Set into a UIData-supported collection, such as a List.