I have the following findex.jsp file

<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>

<html><head><title>title</title></head><body>
<f:view>
        <h:commandLink action="navoutcome" value="Go" />
</f:view>
</body></html>


but when I click "Go" I get an error in my JavaScript Console.
"clear_linkDummyForm is not defined"
 in http://localhost:8080/findex.jsf#


If I wrap the commandLink in an <h:form> then I don't get an
error and it navigates properly.

Do commandLink's need a surounding form?
I didn't think so but wanted to ask.

Using
MyFaces 1.1.3
Tomahawk 1.1.2


Thanks,
K.

Reply via email to