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']" />
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
Post a Comment