Announcement Announcement Module
No announcement yet.
SessionStatus.setComplete() and redirect: Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • SessionStatus.setComplete() and redirect:

    Hello everybody,

    On POSTing my simple form, my POST handler is calling status.setComplete() before returning the view name. This is all well and good as I no longer needed the implicit model anymore and therefore wanted to release it from the session context.

    I now want to use redirect: to returning the view. My question is where should I move the call to setComplete() so that the model is cleared AFTER the redirect happens and not before (since obviously I want the model to be available to the redirect processing)?

    Thanks in advance