You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is you have to read (and find) all four sections to fully understand how RedirectAttributes is used, and even what the default behavior is if ignoreDefaultModelOnRedirect is false.
I suggest improving the documentation to eliminate #2 (merging content into #3 and #4) and link to #3 and #4 from #1. This would have saved me about an hour of scratching my head yesterday!
I'm happy to do this myself and create a pull request if others agree.
David Tombs opened SPR-12759 and commented
The use of
RedirectAttributes
is documented in four places in the reference documentation:The problem is you have to read (and find) all four sections to fully understand how
RedirectAttributes
is used, and even what the default behavior is ifignoreDefaultModelOnRedirect
is false.I suggest improving the documentation to eliminate #2 (merging content into #3 and #4) and link to #3 and #4 from #1. This would have saved me about an hour of scratching my head yesterday!
I'm happy to do this myself and create a pull request if others agree.
Affects: 4.1.5
Referenced from: commits b0848db, 463878a
The text was updated successfully, but these errors were encountered: