// be registered using something other than
// the faces-config.xml, if this is the case,
// the assume that we're using a 1.2 implementation.
boolean viewHandlerIsOld;
boolean stateManagerIsOld;
Version toTest = tracker.
getVersionForTrackedClassName(viewHandler
.getClass().getName());
if (toTest != null) {
Version currentVersion = tracker.getCurrentVersion();
viewHandlerIsOld = (toTest.compareTo(currentVersion) < 0);
toTest = tracker.
getVersionForTrackedClassName(facesContext