| Author |
page not binding to bean
|
Gogia Nitin
Greenhorn
Joined: May 31, 2007
Posts: 2
|
|
Hi, I am trying to open JSF pages in different tabs (YUI). The problem comes in when SAME PAGE is loaded in 2 different tabs. If a save is executed on the page it only happens in one of the tabs. The other tab does not executes the save method. I will appreciate if someone can provide me the right direction to fix this problem.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 12513
|
|
In the world of HTTP (whether JSF or otherwise), what happens in one tab or browser window has no effect on any other tab or window. Each is in effect, a completely separate program. HTTP cannot support true MVC operation. A server cannot post back unsolicited changes to the client. Only when the client requests data can any server-side changes be reflected back to the client. Since each tab is a separate client, each tab must request the updated data explicitly. As confusing as many have found this, AJAX makes it even more confusing, because AJAX "appears" to break this limitation. But it doesn't. AJAX gets its updated data because client-side JavaScript is making asynchronous HTTP requests to the server (which is where the first "A" in AJAX comes from).
|
One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
|
 |
Gogia Nitin
Greenhorn
Joined: May 31, 2007
Posts: 2
|
|
Tim, Each tab is being saved separately. The problem is pressing save in one tab updates the contents of the latest view being restored. Basically i am unable to open multiple instances of same page in different tabs.
|
 |
 |
|
|
subject: page not binding to bean
|
|
|