accessing HttpServletRequest object in Spring WebFlow
Posted
by user198530
on Stack Overflow
See other posts from Stack Overflow
or by user198530
Published on 2009-12-29T00:52:57Z
Indexed on
2010/04/27
7:33 UTC
Read the original article
Hit count: 506
I am using WebFlow and would like to add the current Locale into the flow. I already have a resolveLocale method that does this with this signature:
public Locale resolveLocale (HttpServletRequest request);
I would like to add something like this in my WebFlow XML:
<on-start>
<evaluate expression="localeService.resolveLocale(???)" result="flowScope.locale"/>
</on-start>
Now, I don't know what to put in the ??? parameter part.
Any ideas? Thanks for reading.
© Stack Overflow or respective owner