| 1. |
What’s The Lifecycle Of A Form Submit? |
|
Answer» Events will trigger in the following order: INITIALIZE() The FORM “rewind” cycle is nothing more than a render cycle where the OUTPUT is buffered and scrapped RATHER than written to the servlet output stream. The second pageBeginRender() is triggered during the actual page rendering. You can use requestCycle.isRewinding() to distinguish between these TWO render cycles. Events will trigger in the following order: initialize() The form “rewind” cycle is nothing more than a render cycle where the output is buffered and scrapped rather than written to the servlet output stream. The second pageBeginRender() is triggered during the actual page rendering. You can use requestCycle.isRewinding() to distinguish between these two render cycles. |
|