Announcement Announcement Module
Collapse
No announcement yet.
controller behaviour when sessionForm == true Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • controller behaviour when sessionForm == true

    Hi,

    As I understand it, if I set sessionForm == true in a SimpleFormController, then when the form is submitted, the formBackingObject will be retrieved from the session and used in the onSubmit method, rather than being created from a call to formBackingObject().

    I am puzzled - I have set sessionForm == true in a SimpleFormController, but still get a call to formBackingObject() when the form is submitted. I assumed that the storing and retrieving of the object in the session was taken care of automatically, but perhaps not? Am I missing something? Can someone explain please what might be going on here?

    Thanks

    John Pedersen

  • #2
    Am I missing something?
    Not sure...Are you sure you're submitting (i.e. you don't need to override isFormSubmission)?

    Comment


    • #3
      I was missing something:

      method="POST"

      from my form tag.

      Thanks very much for your input.

      John

      Comment

      Working...
      X