You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Goldhahn (JIRA)" <de...@myfaces.apache.org> on 2008/01/23 10:47:34 UTC

[jira] Created: (MYFACES-1808) h:commandLink doesn't execute action when Javascript is disabled

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.


[jira] Commented: (MYFACES-1808) h:commandLink doesn't execute action when Javascript is disabled

Posted by "Martin Goldhahn (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-1808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710314#action_12710314 ] 

Martin Goldhahn commented on MYFACES-1808:
------------------------------------------

Of course this is a duplicate of issue MYFACES-1692. But this issue affects version 1.1.x and the other issue affects 1.2.x. I cannot use myfaces 1.2 in my environment yet and would appreciate if the issue is fixed for 1.1.x.

> 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
>            Assignee: Leonardo Uribe
>            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.


[jira] Resolved: (MYFACES-1808) h:commandLink doesn't execute action when Javascript is disabled

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/MYFACES-1808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved MYFACES-1808.
-------------------------------------

    Resolution: Duplicate
      Assignee: Leonardo Uribe

This is a duplicate of MYFACES-1692. For more information, see the comments there.

> 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
>            Assignee: Leonardo Uribe
>            Priority: Minor
>             Fix For: 1.1.7-SNAPSHOT
>
>
> 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.