Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4040

<f:param> name conflicts with <f:ajax> attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.10, 2.3-next-M7, 3.0.2, 4.0.0-RC2
    • 2.3.11, 3.0.3, 2.3-next-M8, 4.0.0-RC3
    • General
    • None

    Description

      https://java.net/jira/browse/JAVASERVERFACES-4115 also applies to MyFaces.

      <h:form>
          <h:inputText id="foo" />
          <h:commandLink value="test">
              <f:ajax execute="foo" />
              <f:param name="execute" value="bar" />
          </h:commandLink>
      </h:form>
      

      In MyFaces, the actual behavior is equal to <f:ajax execute="bar"> and request.getParameter("execute") returns null.

      Attachments

        1. test-faces23-ajax.war
          2.78 MB
          Volodymyr Siedlecki

        Activity

          People

            werpu Werner Punz
            balusc Bauke Scholtz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: