Description
The only reason InspectorPage is stateful is new Image("bug").
If it is replaced new Image("bug", new ResourceReference(InspectorPage.class, "bug.png")), then InspectorPage becomes stateless.
I already raised an issue (WICKET-1340) on empty image that finds resource from markup being stateful, but was told that it is desired behavior.
Attachments
Issue Links
- relates to
-
WICKET-1340 Bogus LocalizedImageResource#isStateless()
- Closed