|| | |||Browse by category|
How to get one diagram by browser tab?
Until JViews 8.7
In a unique session, only one diagrammer will be supported. This is why you are getting the same diagrammer when opening different pages or tabs. Each page is calling the same servlet and is asking for the diagrammerView. The servlet is then returning the current diagrammerView used, and not a new one.
There are only two solutions :
- by using different IFRAME, each view should have its own ID and data source and you should be able to use different JViews components for each tabs. However, we do not have any sample based on this feature.
- by using portlets, it is possible to have several view in the same page, or into different pages. Have a look at the jviews-diagrammer87\samples\diagrammer\jsf-diagrammer-portlet if you want to have an example of such behavior.
With JViews 8.8 +
Since JViews 8.8 there is a support for multiple pages as documented here :
> Building Web applications
> Interoperability with third party Web technologies
> Multiple-page browser support
> Multiple-page support architecture