8
A reader brought to my attention that I have never posted the code to FacesUtil, a convenience class used, for example, in my JSF, PhaseListeners, and GET Requests article, so I’ll fix that oversight now. Before I get to the code, though, let me preface it by saying this: This code has grown as several developers have hacked on it, so it my not be consistent, and probably doesn’t embody any sort of best practices. It does, however, work well for us, and that’s our primary concern.
Note also, that this code has not been updated to the 1.2 specification yet, so you’ll at least get warnings if not errors should you use this in a 1.2 environment. I am currently in the process of updating the class, but, for now, here it is in its current state.
FacesUtil.java
Popularity: 9% [?]

thanks!
May 9th, 2006 | #
Shale provide abstract class AbstractFacesBean that has big number of utl methods
November 5th, 2006 | #
adr, Thanks for the tip. At the time we wrote this, we were unaware that Shale offered things of that sort. Since then, we’ve been introduced to some Shale functionality, mostly notably on the testing front, but we’ll certainly check out that class and see what it offers. The less code we have to write the better.
November 6th, 2006 | #