The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Transparent State Management Using the Decorator Pattern
Subject:  What about multiple windows / tabs?
Date:  2007-01-16 09:14:21
From:  krausest1


While it's a nice and simple solution I think there's one major drawback: What if the user opens a link in a tab? Well behaved applications should not rely on the user staying in only a single browser window. I don't see any provision to support the back button or multiple browser windows in your pattern. (Maybe you could modify your pattern to store the state in a hidden field as a workaround).

 Feed java.net RSS Feeds