When I call a managed bean action like this
@ManagedBean(name="method")
public class Meth {
public String vamos(){
return "vamos";
}
}
from a JSF file like this
<h:form>
<h:commandButton action="#{method.vamos()}" value="vamos!"/>
</h:form>
I get the below error message:
Unable to find matching navigation case with from-view-id '/index.xhtml' for action '#{method.vamos()}' with outcome 'vamos'.
I looked up and there are different questions with my same issue but they have different solutions.
/vamos.xhtml
file as indicated by the error message? – BalusC