hasseeb
Apr 3rd, 2006, 08:02 AM
Hi
I am getting a problem with the decision state.
Actually I have an attribute in my session named as TEST of type String.
In my flow, I have to get the attribute from the session and based on this i have to go to different page.
For example, if test has no value, I have to go to page "a" and if test is null I have to go to page "b"
In my flow, I have the decision state as
<decision-state id="test">
<if test="${sessionScope.TEST == null}" then="displayA" else="displayB"/>
</decision-state>
This does not works. The exception is as follows:
failed - make sure the expression is evaluatable on the target object; nested exception is ognl.NoSuchPropertyException: org.springframework.webflow.execution.impl.FlowExe cutionControlContextImpl.sessionScope
How can i get the TEST attribute from my session?
Really need help?
Thanks very much.
I am getting a problem with the decision state.
Actually I have an attribute in my session named as TEST of type String.
In my flow, I have to get the attribute from the session and based on this i have to go to different page.
For example, if test has no value, I have to go to page "a" and if test is null I have to go to page "b"
In my flow, I have the decision state as
<decision-state id="test">
<if test="${sessionScope.TEST == null}" then="displayA" else="displayB"/>
</decision-state>
This does not works. The exception is as follows:
failed - make sure the expression is evaluatable on the target object; nested exception is ognl.NoSuchPropertyException: org.springframework.webflow.execution.impl.FlowExe cutionControlContextImpl.sessionScope
How can i get the TEST attribute from my session?
Really need help?
Thanks very much.