Pedro Santos created WICKET-7143:
------------------------------------
Summary: StatelessLink has different lifecycles depending on
whether it was added to the page inside the constructor or #onInitialize method
Key: WICKET-7143
URL: https://issues.apache.org/jira/browse/WICKET-7143
Project: Wicket
Issue Type: Bug
Components: wicket-core
Affects Versions: 10.4.0
Reporter: Pedro Santos
When resolving a component with the listener interface for the request, inside
a stateless page, PageAndComponentProvider#getComponent tries to:
* get the component from a fresh page instance, if not found:
* get the component from the page after invoking Page#internalInitialize and
Page#beforeRenderer
So depending on whether the component was added to the page inside the
constructor or not, the Component#onConfigure method will be invoked before the
listener interface once a link is clicked on a stateless page.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)