Skip to main content

Invoke Faces Flow from

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
awisema
Offline
Joined: 2013-12-10

Has anybody tried to invoke a flow from a view action?

I have modified the simple-flow example to automatically enter the flow from the index.xhtml by adding

<f:metadata>
<f:viewAction action="simple-flow" />
</f:metadata>

This correctly displays the start of the flow, but the flow seems not to be initialized, as the input field on the first page results in the error:

/simple-flow/simple-flow.xhtml @15,76 value="#{flowScope.value}": Target Unreachable, identifier 'flowScope' resolved to null