I have a request scoped JSF 2 backing bean corresponding to a facelet. The facelet has a command button that calls another JSF 2 request scoped backing bean.
When I click on the commandbutton, is there a way to not call the first bean's constructor and post constructor? If that is not possible with a request scoped bean, can I use h:link or something similar to invoke the action method in secondBean? Also, how do I pass the parameter in the action method below (as the ELs cannot be nested)
<h:outputText value={firstBean.variable1.variable2} />
<p:commandButton action="#{secondBean.actionMethod(firstBean.variable1.variable2)}" ajax="false" value="Move Forward" />