Hi all,
I have a JSF1.1 app where the user can switch into a two window mode. The first window contains a list with items and options and the 2nd window contains a detail view of the selected item in window1. If an item is selected in window1 via ajax then this window calls in the oncomplete phase via javascript another ajax link in window2 in order to refresh it. This is working very well in about 90% of the time. The number of views in session is set to 1 and I user server-side state saving. THE PROBLEM: - command is clicked in window1 which forces afterwards a command execution from window2 via javascript (means view2 is the last one accessed) - browser is not touched for a few minutes - command is clicked in window1 ---> view1 cannot be restored I heard that the views are stored as weak references and therefore I assume that view1 is garbage collected which explains the time dependency. Now I see following alternatives: a) set number of views in session to 1 to 2 b) try to execute all commands from window1 via javascript by using the window.opener in window2. This will be quite some work and I don't know whether the opener is always available and whether this is smooth enough. Ajax cannot be used to update another window with the target attribute therefore I would have to update always window1 and then manually update the DOM in window2 via js. Questions: 1) Is (a) a possible solution or does it have any side effects except memory consumption? 2) are there any other alternatives that I don't know for this use case? 3) Updating to jsf 1.2 is currently not an option unfortunately. Multiple windows are supported there but how does this work exactly and where are window ids specified? Environment: myFaces 1.1.5, tomahawk 1.1.5, JSPs, ajax4js4 1.1.1 - richfaces 3.1.4 Cheers, Michael

