我需要一些在我的資源包中自動填充的佔位符。 我的應用的一個用戶有兩種可能的構型,例如「1」和「2」。根據這個配置,一個條目應該返回正確的值。 我知道,這條件是可能的: currentConfig=The configuration is currently the {0,choice,0#first|1#second}
在我faces-config.xml中的資源包配置爲在JSF的訪問。 現在
配置文件: @Configuration
@ComponentScan("com.test.spring")
public class SpringConfiguration {
@Bean("msg")
public MessageSource messageSource() {
ResourceBundleMessageSource messageSour