I am not sure why but I am using JSF 2.2 (Mojarra 2.2.6 implementation) but the implicit variable flowScope is not being recognized.
Here is the error:
/protected/pages/certificateWizard/certificateWizard.xhtml @35,67 value="#{flowScope.firstName}": Target Unreachable, identifier 'flowScope' resolved to null
Here is my code:
<h:outputLabel value="First Name" for="firstname" styleClass="control-label col-md-2" />
<div class="control col-md-4">
<h:inputText id="firstname" value="#{flowScope.firstName}" class="form-control" required="true">
<f:passThroughAttribute name="placeHolder" value="First Name"/>
</h:inputText>
</div>
</h:outputLabel>
This is my flow configuration in faces-config.xml file:
<flow-definition id="certificateWizard">
<flow-return id="flowReturn">
<from-outcome>protected/pages/index.xhtml</from-outcome>
</flow-return>
</flow-definition>`