| Author |
I have a problem in JSf Manage Bean when i edit a page
|
Mark Kafe
Ranch Hand
Joined: Jun 23, 2008
Posts: 60
|
|
I want to edit a page, and use a same Manage Bean that i use for Save a page.
But when i define Manage bean scope request in Face con-fig then all values show null on Edit Grids...........If i change it to Session scope then its working fine..........
can any body help me about that problem........why this happen in Request scope???
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14568
|
|
The problem is that request objects exists only for the life of that particular request. It's especially a problem when working with tables, since the table model (and its cursor) is used to display the table, but no longer exists when you want to work with a row in the table.
The solution is to use session scope. As a rule, JSF does require more items to be in session scope than other J2EE frameworks.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: I have a problem in JSf Manage Bean when i edit a page
|
|
|