[
https://issues.apache.org/jira/browse/WICKET-4103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Igor Vaynberg resolved WICKET-4103.
-----------------------------------
Resolution: Invalid
Assignee: Igor Vaynberg
setting feedback messages in onrequesthandlerexecuted() is too late because at
this point the page has been rendered.
the messages are not available in the next request because the HomePage is
stateless and does not bind the session object into http session. call
session.bind() if you want to persist the session.
if you are using this for txn then what you can do here is throw a
restartresponseexception and redirect to an error page if txn commit fails.
> FeedbackMessages added in IRequestCycleListener#onRequestHandlerExecuted do
> not get displayed in response page
> --------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-4103
> URL: https://issues.apache.org/jira/browse/WICKET-4103
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.1
> Environment: WinXP SP2, Eclipse 3.4.2
> Reporter: Christian Huber
> Assignee: Igor Vaynberg
> Labels: IRequestCycleListener, feedback, message,
> onRequestHandlerExecuted
> Attachments: endrequesttest.zip
>
>
> When adding a feedback message in
> IRequestCycleListener#onRequestHandlerExecuted it does not get displayed on
> the response page. It is also not available on subsequent requests.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira