Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retaining values

 
venkatesh warlu
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have two tabs in my page with lots of drop down boxes in it. if i change the values within one tabs drop down and go to other tab and come back and see then the value which i have selected gets set to default value which on load i am setting it. How do i retain the values.

I am using struts.

Is there any way of doing it with hidden fields or some other trick , if so please help me with a sample code. thanks in advance ranchers.

bye

 
Surya Kant
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well,It depends on how you want to go about it.
You can store them in session
You store the values as hidden variables
Or you can use form beans for this purpose
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic