Results 1 to 2 of 2

Thread: is formBackingObject() will be callled only incase of Get?

  1. #1
    Join Date
    Jul 2007
    Posts
    1

    Default is formBackingObject() will be callled only incase of Get?

    Hi
    I am using AbstractFormController. I am setting the sessionForm=true in order to keep the command across the session. But some how formBackingOBject() is being called in case of form submission also, which is creating the command object for each submission.
    Could any of you suggest what things, I need to take care of to keep the command object across the session

    Thanks

  2. #2
    Join Date
    Nov 2005
    Location
    Reutlingen, Germany
    Posts
    2,098

    Default

    If sessionForm is set to true there might be 3 further sources of errors: No POST submit. You actually lose the session and the command is not there (but that should lead to a real error in case of POST submit if I'm not mistaken). And third it's an invalid submit and the form processing starts again.

    Joerg

Posting Permissions

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