Re: "wicket:message" in markup combined with Property Expression Language

2020-08-14 Thread Thorsten Schöning
Guten Tag Bas Gooren, am Freitag, 14. August 2020 um 14:59 schrieben Sie: > In both classes I see that wicket uses the provided message key verbatim, > without doing any property replacement prior to using it to find a > localized message. > This means you’ll have to wire things up in java code to

Re: "wicket:message" in markup combined with Property Expression Language

2020-08-14 Thread Bas Gooren
Hi Thorsten, I had a quick look at the source code for this: For wicket:message attributes, wicket uses WicketMessageTagHandler; For wicket:message tags it uses WicketMessageResolver. In both classes I see that wicket uses the provided message key verbatim, without doing any property replacement

"wicket:message" in markup combined with Property Expression Language

2020-08-14 Thread Thorsten Schöning
Hi all, I know how to use StringResourceModel with Property Expression Language to read keys and values from language files using some dynamic parts. The point is that StringResourceModel needs to be provided to some component, like a label, or that model needs to be used manually to read some val