FaceletContext is Null

大兔子大兔子 提交于 2019-12-06 12:10:41
BalusC

It will be null when you try to access it before the view is ever been built. For example, during the beforePhase of RESTORE_VIEW phase. Rearrange your code logic. It's not clear what's the functional requirement is and where exactly you're trying to access it, so I can't give a more suited answer.


Unrelated to the concrete problem, the javax.faces.FULL_STATE_SAVING_VIEW_IDS context param is ignored when the partial state saving is disabled. Perhaps that was not your intent? See also this related answer Should PARTIAL_STATE_SAVING be set to false?

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!