FACES-1554
Backport classes from com.liferay.faces.util.model to 2.1.x branch