-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
1.Define in applicationContext.xml: (correct)
bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"><property name="location" value="classpath:application.properties"/> </bean> <bean id="propertiesUtil" class="my.package.MyClass"/>
1.Viewmodel !!!! @Value("${some.property}") private String someProperty;
create getter and if u need in the zul, do @load(someProperty)
Greetz chill.
2 | No.2 Revision |
1.Define in applicationContext.xml: (correct)
bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"><property name="location" value="classpath:application.properties"/> </bean> <bean id="propertiesUtil" class="my.package.MyClass"/>
1.Viewmodel !!!!
!!!!
@Value("${some.property}") private String someProperty;
create getter and if u need in the zul, do @load(someProperty)
Greetz chill.