Hi,
Another way is to assign the ResourceModel to a component:
new Label("...", new
ResourceModel("resourceKey").wrapOnAssignment(anotherComponent))
This way Wicket will use "anotherComponent" to resolve the i18n value.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Feb 14, 2017 at 9:34 AM, ssamarin <[email protected]> wrote:
> Ok, funny enough, figured it out already. getString() on Component does the
> trick.
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/i18n-ResourceModel-question-tp4677113p4677114.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>