attribute-resolver.xml and webflow context variables
Joe Edwards
joee at uw.edu
Thu Nov 17 20:58:23 EST 2016
On Tue, 15 Nov 2016, Cantor, Scott wrote:
> On 11/14/16, 10:04 PM, "users on behalf of Joe Edwards" wrote:
>> Is there is a way to set a variable in a subflow and
>> then access that variable in attribute-resolver.xml?
> It's not typical, but yes, you can do it. There's a
SpringRequestContext subcontext underneath the ProfileRequestContext.
Inside that is an object from SWF, the RequestContext (the names are all
overlapping, it's very confusing until you get used to them).
> The SWF RequestContext contains the maps containing all the various
scopes of variables.
> profileContext.getSubcontext(SpringRequestContext.class)
.getRequestContext().getFlowScope().get()
> Something close to that.
We can set variables in the flows using the above syntax.
But, we have not figured out how to access those same classes
within the attribute-resolver context. Different syntax is used.
We are seeing Exceptions with no detail when we try to traverse.
We are studying spring.........
Can you provide any clues to help us along??
Thanks again, Joe
More information about the users
mailing list