Hi, I’m using view scope variables in my application and it seems that there is a bug in the implementation. What mechanism is used to identify different “views”? If I open one page in two separate windows will there be one name space or two?
Its urgent.
Subject: problem description
I forgot to describe the problem. I have two xpages. One with dojox.grid.DataGrid with onRowClick bound to XSP.partialRefreshPost() which refreshes preview of the selected document.Each row has an icon of folder used to open the document in edit mode in new window.
The document is shown using one custom control either in open/edit mode. In this control I’m opening one document.
On postDocumentOpen I store certain data in viewScope.
If I open two documents from the grid and then select another document in the grid then it rewrites viewScope data for one of the opened documents.
Subject: solution
Problem was caused by using global variable in script library which I thought was request scoped.