ViewExpiredException on every navigation after migrating from JSF 1.2 to JSF 2.0

安稳与你 提交于 2019-12-05 12:43:23

I suspect that this is MyFaces specific, we didn't have this problem when migrating from Mojarra 1.2 to 2.0. I would suggest to try it instead, even though it's only to exclude the one and other so that you can eventually report the issue to MyFaces boys.

I'm running out of ideas, so maybe trying a different JSF implementation is the only logical alternative. I'm only hesitating because we are using the MyFaces Tomahawk and Trinidad add-ons in the application that I'm migrating. In order to try the app using Mojarra (or something else) I will have to remove chunks of the pages that depend on the add-ons. Oh well, I guess I should stop fretting about it and just do it! :)

Tomahawk/Trinidad doesn't explicitly require MyFaces as JSF impl. This is a (marketing) myth. They just happens to be from the same vendor (Apache). 3rd party JSF component libraries just require a JSF API. The impl (Mojarra, MyFaces, etc) really shouldn't matter.

This issue was fixed on:

https://issues.apache.org/jira/browse/MYFACES-3101

Note MyFaces 2.0.7 and 2.1.1 has the fix.

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