Revision history [back]

click to hide/show revision 1
initial version

answered 2013-11-17 18:48:43 +0800

chillworld gravatar image chillworld flag of Belgium

https://github.com/chillw...

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.

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.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More