zacheeye / vaadin-appfoundation

Automatically exported from code.google.com/p/vaadin-appfoundation
0 stars 0 forks source link

UriFragmentUtil can't be used for two window applications #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Application contains two windows on different urls (set with 
window.setName()), e.g. first window on url somedomain.com/app/win1 and 
other on somedomain.com/app/win2

UriFragmentUtil may be added to only one window, cause if it is added to 
both windows it is not working at all

What version of the product are you using? On what operating system?
appfoundation 1.2
vaadin 6.3 pre1
windows vista

Original issue reported on code.google.com by vya...@gmail.com on 11 Apr 2010 at 2:08

GoogleCodeExporter commented 8 years ago
I will be looking into this problem in the next release. I'll keep you updated 
in
this ticket.

Original comment by kimp...@gmail.com on 21 Apr 2010 at 2:58

GoogleCodeExporter commented 8 years ago
This was a bit more problematic than what I had first expected. I'm not sure 
when this will be fixed, but I'll keep you posted. A workaround for this is to 
use two ViewHandler instances. To create a second instance, just call 
initialize a second time. The downside with this is, that the static methods in 
the ViewHandler class won't work as expected. Hence, you probably should 
initialize the class by calling new ViewHandler(yourApplication) and maintain 
references to each ViewHandler in your separate window instances.

Original comment by kimp...@gmail.com on 29 Jun 2010 at 6:38

GoogleCodeExporter commented 8 years ago

Original comment by kimp...@gmail.com on 1 Jul 2010 at 4:26

GoogleCodeExporter commented 8 years ago
There will be URI fragment handling changes in Vaadin 7, so fixing this defect 
may be delayed until v7 is released.

Original comment by kimp...@gmail.com on 8 Jan 2011 at 11:19