Hi,

the user guide of Andrea is explaining this very good is there something you 
are looking for?

http://wicket.apache.org/guide/guide/i18n.html

kind regards

Tobias

> Am 17.02.2015 um 17:58 schrieb Thorsten Schöning <[email protected]>:
> 
> Hi all,
> 
> I have a panel with some wicket:message keys with some text out of
> property files and would like to input some variables in there with
> values coming from a global configuration. What I do not want to do is
> to create a label for each message just to provide my map for variable
> substitution, I would like to have some more automatic approach.
> 
> I had a look at WicketMessageResolver and it's private
> MessageContainer and the latter seems to be capable of doing variable
> substitution from e.g. a default model of a component. The problem
> seems to be that this only takes the direct parent of the
> wicke:message-object into account which is some
> TransparentMarkupContainer I don't seem to have access to. The parent
> of that TransparentMarkupContainer is my panel, but I'm simply unable
> to find any way to tell MessageContainer to use the default model of
> my panel or something else I have provided.
> 
> I don't seem to understand how this is supposed to work as the
> TransparentMarkupContainer is automatically created by Wicket and it
> doesn't seem to me that it's parent component has any influence on the
> created object to provide it with a default model or whatever.
> 
> Could you please enlighten me a bit again and tell me if it's possible
> to achieve what I want at all and if so how?
> 
> Thanks!
> 
> Mit freundlichen Grüßen,
> 
> Thorsten Schöning
> 
> -- 
> Thorsten Schöning       E-Mail: [email protected]
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
> 
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
> 
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to