Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do i come back to the same page in the display tag after submitting the form.  RSS feed

Satish Kumar
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using display tag for displaying the data to the user.
My requirement needs to take input into the checkboxes and the checkboxes are in a column in the display tag.
After selecting the checkboxes I need to save the status of the checkboxes on a SAVE button that submits the form to the bean and i can get the values from there before re-displaying the page again.
My problem is that suppose i am on X-page link inside the display tag and do the above procedure to save the data from the bean somewhere...How do i make sure that the same X-page is displayed in the display tag and that too with the checkboxes checked again automatically.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!