Use the @Context annotation to locate the required component, model or model object in the components' tree.
'org.wicketstuff:wicketstuff-context:6.22.0'
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-context</artifactId>
<version>6.22.0</version>
</dependency>
<dependency org="org.wicketstuff" name="wicketstuff-context" rev="6.22.0"/>
"org.wicketstuff", "wicketstuff-context", "6.22.0"