vineet
May 3rd, 2006, 06:06 PM
Hi,
I have a flow variable called employee. I put this variable in the flow scope using the following controller code:
context.getFlowScope().put("employee", employee);
I am then able to access this variable from my JSF/JSP views using the following code:
<h:panelGroup binding="#{flowScope.employee}">
</h:panelGroup>
I am successfully able to do the above.
How can I access my flow scope variable employee from JSF code. I wrote the following code, but it returned null:
facesContext.getApplication().getVariableResolver( )
.resolveVariable(facesContext, "flowScope.employee");
Any ideas??
Thanks.
I have a flow variable called employee. I put this variable in the flow scope using the following controller code:
context.getFlowScope().put("employee", employee);
I am then able to access this variable from my JSF/JSP views using the following code:
<h:panelGroup binding="#{flowScope.employee}">
</h:panelGroup>
I am successfully able to do the above.
How can I access my flow scope variable employee from JSF code. I wrote the following code, but it returned null:
facesContext.getApplication().getVariableResolver( )
.resolveVariable(facesContext, "flowScope.employee");
Any ideas??
Thanks.