JspException thrown if actionListener's type attribute is not supplied
----------------------------------------------------------------------

                 Key: MYFACES-1964
                 URL: https://issues.apache.org/jira/browse/MYFACES-1964
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-252
    Affects Versions: 1.2.5-SNAPSHOT
         Environment: tomcat-6.0.16
java 1.6
MyFaces 1.2.5-SNAPSHOT
            Reporter: Paul Rivera
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to