Announcement Announcement Module
No announcement yet.
How to Save Submited Form Object Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Save Submited Form Object


    I am stucking on storing the form submited object and repost it back to the form
    when a action successfully done.

    Search-> result -> delete/edit/view -> success -> back into result view with along the Search Criteria.

    Currently wat i doing is store in session for those criteria.
    then i add those criteria into a Map in controller then return to the view
    then i use c:if to check if the criteria not null then i replace the variable to the field...

    i think this is really not a good way because there are 3 controller ( search, edit, delete) ... so i hard code for all 3 controller...

    they are some others page in same situation...

    i Use multiaction controller to direct not Post page and abstractCommandController to direct posting page.