Icefaces multiple window support for same session?

From ICEfaces Documentation : With concurrent DOM views enabled, each browser window is distinctly identified with a view number and DOM updates will be correctly applied to the appropriate window. This introduces some important considerations for the application data model. Managed beans in session scope can now be shared across multiple views simultaneously.

This may be the desired scope for some states, but typically, presentation-related state is more appropriately kept in request scope. Request scope : For typical view-related state, request-scope beans will persist through most user interaction but not through view changes. This is the recommended scope for ICEfaces applications that make use of multiple windows.

Session scope : For state that must be shared across views. When you set parameter as true supports multiple views, but have to use request scoped beans. Probably forcing logout from current session if another window is opened.

If concurrent DOM views is configured, and multiple windows are created by the user, ICEfaces uses a single blocking connection to deliver asynchronous updates to all views in the session. And when set as false supporting single view, the changes in a window gets reflected in another.

I tried with session scope and DOM true also but still it gives same result. And change all request scope to session is not a feasible solution :) . – chetan May 24 at 5:06 @chetan I think you have misunderstood & tested the scenario with session scope instead of request scoped beans.

And for feasibility, these things need to be considered at project initiation time. – Nayan Wadekar May 24 at 16:40 If I am not wrong you want to say that change request scope from session to loginBean as I am using loginBean as backingBean used at login time. Is it correct interpretation?

– chetan May 25 at 5:14 and sorry for that misunderstanding – chetan May 25 at 5:14 Its fine, but it should work properly with request scoped beans, there might be some problem in your configuration. Instead of implementing in your project directly, try creating a sample project to sort out the things clearly. – Nayan Wadekar May 25 at 18:27.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions