Hi I think we could add it as a parameter for f:view tag, for example call it oamEnableViewPool. The patch proposed uses already an attribute for disable the pool in some cases, but after doing some experiments (MYFACES-3831) I have found we need to change some parts of the algorithm. Specifically I have found that it is not really necessary the check to disable the pool when VariableMapper is used because with the code we have in place there is no way an EL expression should not be the same each time the view is built.
A phaselistener is not necessary. I think the best place to set the param manually is ViewHandler.createView(...). regards, Leonardo Uribe
