且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从managedBean获取xhtml jsf页面上的会话信息?

更新时间:2023-11-27 23:04:22

查看但是您可以使用Java scriplet来进行会话,这将违反ICEfaces约定.因此,只要您可以通过xhtml文件中的ICEfaces标记访问所有bean数据,就不需要访问任何会话.

But you can get your session with a java scriplet which will be against the ICEfaces conventions. so you don't need to access any session as long as you have access to all your bean data through your ICEfaces tags in the xhtml file.