This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<t:savestate To Preserve State In Request Scope

 
Chacko Chen
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am using JSF 1.1 with Icefaces 1.8.0.

I would like to save state of my request bean when I navigate back to my page
My scenario is as follows
When I navigate from page one to page two, I would like to values in combo box's and datatable pagination be preserved
when I navigate back to page one from page two without using session scope.

For this I tried using <t:savestate. I implemented Serializable like the following


and in the page I added the following


But for some reason or the other I cannot get the page values in save state.
What could be the issue, could someone please help?

Thanks in advance.

My web.xml is as follows





 
Mallika gowd
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please provide your faces config xml file also to debug this issue
 
Chacko Chen
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for the reply,

My faces-config.xml

 
Chacko Chen
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the issue due to <redirect> ?
 
Mallika gowd
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, that would do it for you.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic