Icefaces 3.1 getting session timeout on first partial submit

独自空忆成欢 提交于 2019-12-11 20:25:37

问题


I have a single page application in icefaces 3 using Mojarra 2.1.6

The application is like this there are 3 radio buttons on the top and a data table with input fields.

The problem is that when I open the site for the first time in the browser the the site opens ... but the moment there is a partial submit from any part of the page , the session expires. After the page is reloaded the page works smoothly

The site was running peacefully in 1.8.2 but we are thinking if we should upgrade to icefaces 3

If you need any other info please let me know

edit

I solved it using a workaround but the issue is still there

workaround is to call the page using a index.jsp page this prevents the above error


回答1:


With ICEfaces 3/JSF2 you sould not use partialSubmit anymore, use the new <f:ajax /> tag instead.

And did you read the page on the ICEfaces Wiki about the compatibility to 1.8.x? http://www.icesoft.org/wiki/display/ICE/ICEfaces+1.x+Compatibility

Try to migrate to the new ACE-Components, or use the normal JSF-Components(<h:... />). The ICE-Components are not built for JSF2 and should be avoided, i have had of problems with them in JSF2 applications.



来源:https://stackoverflow.com/questions/13031027/icefaces-3-1-getting-session-timeout-on-first-partial-submit

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