• Post Reply Bookmark Topic Watch Topic
  • New Topic

Flowscope outside Spring Web Flow

 
Arun Prasath
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Spring Web Flow 2.0. Could anyone please let me know how to access flow scoped variables outside spring web flow, may be in servlet, filter or mvc controller ?

I tried to use flow execution key to get the FlowExecution from flow repository, but it always returns null, which I found found here, http://www.ervacon.com/products/swf/tips/tip1.html. But, It does not seem to be working.

Please help to solve this !.

 
Arun Prasath
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anyone clarify my question ?
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like there are some thread bound context holder classes

ExternalContextHolder and RequestContextHolder

I am not sure if these will help you or not.



Alternatively if you have an evaluate action you can pass it in, and have your Controller method accept a RequestContext.


 
We begin by testing your absorbancy by exposing you to this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!