Obviosuly, @StatelessComponent
is not always reliable down into all child components :(
You can debug this by setting the log level for org.apache.wicket.Page
to DEBUG
, which adds loads of lines to your console output. Grep for "is not stateless because" to find messages about rendered components that are stateful.
In my case, it was an Image
, whose getStatelessHint()
method returned false
(no idea why).