| Author |
How to reset the view during RESTORE_VIEW phase
|
Davie Lin
Ranch Hand
Joined: Aug 05, 2007
Posts: 294
|
|
Hi everyone, once again, I got myself into some weird situation again. Thanks for your patience.
my page has a form that user can do search on a database table. My dataTable column begin with Delete and Edit button. My backing bean are in request scope. I have to use <a4j:keepAlive> in order for my Delete and Edit button to function correctly. However, my question here is, let's say I just do a search and I click the home page link and come back to my search page again. The <a4j:keepAlive> tag kept the last table I searched. Of course, when I commented out the <a4j:keepAlive> tag, my last search will not be there but than my Edit and Delete button won't work. I was wondering what method in FacesContext can I use to clear it and where should I place it? I have tried something like the following in my bean's <init>()
and I got an exception that says, I have a duplicate id frm1:_id22
Still have yet to come up with any promising solution. Hope someone can help, thanks again
|
 |
 |
|
|
subject: How to reset the view during RESTORE_VIEW phase
|
|
|