Announcement Announcement Module
Collapse
No announcement yet.
usage of showForm in wizard controller and spring:bind tag Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • usage of showForm in wizard controller and spring:bind tag

    Hi All,
    I am using the wizard controller to maintain a wizard like page flow. I gather input on each page, keep it in the session (in the command object) until a "save and exit" is done.

    I have cases where I need to resize the arrays in the command bean because the user performed "add tier" or "delete tier" type of operation. After resizing the array, the controller calls showForm to redisplay the page. The problem is the spring: bind tag still tries to bind to the old data in the request. I tried to create a new ModelView and return that in stead of using showForm but no luck.

    Has anyone run into this before? Is there a clean way to get around this?
    Thanks in advance,
    Aruna

  • #2
    Hi.

    This is a reeeaaally long shot, but have you checked if
    Code:
    org.springframework.beans.support.RefreshablePagedListHolder
    could be useful?

    Comment

    Working...
    X