Results 1 to 2 of 2

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

  1. #1
    Join Date
    Aug 2004
    Posts
    9

    Default 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. #2
    Join Date
    Aug 2004
    Location
    Stockholm
    Posts
    466

    Default

    Hi.

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

    "Murphy was an optimist"
    (The O'Toole commentary on Murphy's Law)

Similar Threads

  1. Replies: 6
    Last Post: Sep 16th, 2005, 04:17 AM
  2. Replies: 4
    Last Post: Jan 21st, 2005, 08:43 AM
  3. Replies: 1
    Last Post: Jan 6th, 2005, 11:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •