h:commandLink doesn't execute action when Javascript is disabled
----------------------------------------------------------------
Key: MYFACES-1808
URL: https://issues.apache.org/jira/browse/MYFACES-1808
Project: MyFaces Core
Issue Type: Bug
Components: JSR-127
Affects Versions: 1.1.5
Environment: Liferay Portal 4.3.5, Tomcat 6.0, Java 6
Reporter: Martin Goldhahn
Priority: Minor
I run the following view in a portlet (Liferay 4.3.5). I also have a navigation
rule for the "back" action.
simple page:
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
<f:loadBundle basename="Language" var="msgs" />
<h:form id="articleForm">
<h:outputText value="ARTICLE" />
<h:commandLink action="back" value="back"/>
</h:form>
</f:view>
In the rendered page, when I click on the link. Nothing happens.
Debugging the code shows me that the form is not set to submitted in the
restore phase.
(org.apache.myfaces.shared_impl.renderkit.html.HtmlFormRenderBase, line 227 in
version 1.1.5)
When clicking the link, the form is not submitted and the parameter
articleForm_SUBMIT is not added to the request.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.