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

<f:param> violates the JSF spec

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.3
    • 1.2.4
    • JSR-252
    • None
    • MSIE

    Description

      Since nothing seems to be happening with MYFACES-1723, I'm raising this major bug against the JSF 1.2 specification.

      Summary: MyFaces 1.2.3 does not support <f:param name="id" /> under Microsoft Internet Explorer, which violates the JSF 1.2 specification;
      cf. section 4.1.11 UIParameter and section 9.4.8 <f:param> the 'name' attribute of <f:param> is a String with no specific exceptions for a name of "id".

      Some additional details: with myfaces-api-1.2.2.jar and myfaces-impl-1.2.2.jar, using <f:param name="id" /> works;
      with myfaces-api-1.2.3.jar and myfaces-impl-1.2.3.jar using <f:param name="id" /> fails, e.g. an

      <h:commandLink actionListener="#

      {myController.selectId}

      ">
      <f:param name="id" value="123" />
      </h:commandLink>

      when submitted does not pass the param to selectId(), that is: the value in

      public void selectId(ActionEvent event)

      { final String value = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("id"); }

      remains null.

      Attachments

        1. myfaces-1900-patch.txt
          3 kB
          Gertjan van Oosten
        2. patchMYFACES1900Proposal2.patch
          1 kB
          Leonardo Uribe

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              gjvoosten Gertjan van Oosten
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: