Mojarra 2.1
I'm trying to find the place where the javax.faces.ViewState parameter is decoded into the Map-like structure. In the UIComponent abstract class, I didn't find a method tied with RestoreView phase accepting the String as a parameter. The method
public void restoreTransientState(FacesContext context, Object state)
{
boolean forceCreate = (state != null);
TransientStateHelper helper = getTransientStateHelper(forceCreate);
if (helper != null) {
helper.restoreTransientState(context, state);
}
}
as far as I understand accept the already decoded view state and retrieve the state for that particular component saved before.