Code: Select all
<form action="j_security_check">
<h:outputLabel value="Login Email:"/>
<h:inputText id="j_username" size="28"/> <br/><br/>
<h:outputLabel value="Password:"/>
<h:inputSecret id="j_password" size="28"/> <br/><br/>
<h:commandButton id="login" value="Login"/>
</form>
Code: Select all
javax.faces.FacesException: CommandButton : "login" must be inside a form element