Multiple tab browser support

Article ID: 2415
Last updated: 29 May, 2018
Article ID: 2415
Last updated: 29 May, 2018
Revision: 3
Views: 486
Posted: 24 Oct, 2011
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

How to get one diagram by browser tab?

Answer

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 :
Programmer's documentation
> Building Web applications
> Interoperability with third party Web technologies
> Multiple-page browser support
> Multiple-page support architecture

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2415
Last updated: 29 May, 2018
Revision: 3
Views: 486
Posted: 24 Oct, 2011 by Dean J.
Updated: 29 May, 2018 by Gargani A.

Others in this category