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

JspException thrown if actionListener's type attribute is not supplied

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.4
    • 1.2.5
    • JSR-252
    • None
    • tomcat-6.0.16
      java 1.6
      MyFaces 1.2.5-SNAPSHOT

    Description

      In MyFaces 1.2.5-SNAPSHOT, the type attribute of actionListener has been set to a non-required attribute. But if you have something like this in your page:

      <h:commandButton value="This button with binding attribute">
      <f:actionListener binding="#

      {coreTc1Bean.actionListener}

      "/>
      </h:commandButton>

      It will throw a javax.servlet.jsp.JspException - type attribute not set. This also happens in MyFaces 1.2.4. I've attached the test case above.

      This problem does not exist in JSF RI 1.2 though.

      Attachments

        1. test-case.rar
          2 kB
          Paul Rivera
        2. myfaces-1964.patch
          1 kB
          Paul Rivera

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              paulr1984 Paul Rivera
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: