-
1. Re: Does RichFaces support Multiple browser windows/tabs
madman1 Aug 22, 2008 8:11 PM (in response to mail2bansi)Sorry for my english.
Yes is a big problem.... try to read the book "Ajax Patterns and Best Practices. Developing next generation of web applications". CHAPTER 9 State Navigation Pattern.
You can find the way to detect windows-tabs of the same browser. -
2. Re: Does RichFaces support Multiple browser windows/tabs
nbelaevski Aug 24, 2008 2:21 PM (in response to mail2bansi)Hello,
JBoss Seam http://www.jboss.org/jbossseam/ provides features that allow to cope with the problem easily:
http://www.jboss.org/jbossseam/faq/index.html#workspace -
3. Re: Does RichFaces support Multiple browser windows/tabs
mail2bansi Aug 27, 2008 1:01 PM (in response to mail2bansi)Thanks for quick responses. Its too late in the project to introduce either Seam or Orchestra. We would like to develop a work-around using Javascript i.e. to prevent user from opening multiple windows from within the same browser using JavaScript onload event
Then Java Script function would look for all opened windows that contains a predefined piece of information such as html body id and If such common marker is found that means we already have window opened in which case we will pop-up Java Script alert notifying user that multiple windows are not supported yet.
Any pointers/suggestions on how to look for all opened windows within javascript function will be greatly appreciated