Accessing message properties in spring webflow

Spring Webflow Version: 3.0.5-RELEASE

Problem: We needed to set different messages on the one screen depending on a type of object. Instead of using JSTL in the jsp file we decided to set the message in the flow xml file. To access and set a message in flowscope in webflow use the following snippet.


<set name="flowScope.message" value="resourceBundle['some.view.message.header']" />

Comments

Popular posts from this blog

Angular Testing child component inputs

Grails 3.2: Bootstrap.groovy is not executed when run as an executable war/jar file