[jira] Created: (MYFACES-1871) UIInput throws IllegalArgumentException for unknown event types in broadcast()

View: New views
1 Messages — Rating Filter:   Alert me  

[jira] Created: (MYFACES-1871) UIInput throws IllegalArgumentException for unknown event types in broadcast()

by My Faces - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

UIInput throws IllegalArgumentException for unknown event types in broadcast()
-------------------------------------------------------------------------------

                 Key: MYFACES-1871
                 URL: https://issues.apache.org/jira/browse/MYFACES-1871
             Project: MyFaces Core
          Issue Type: Bug
          Components: General
    Affects Versions: 1.2.2
         Environment: MyFaces Core 1.2.2
            Reporter: Nick Belaevski


broadcast() method of UIComponent should threw IllegalArgumentException if the implementation class of event argument was not supported by the component in JSF 1.1

There are seems to be no such requirement in JSF 1.2 standard, but UIInput still checks for ValueChangeEvent type and throws exception if it so not so. That enforces component developers not to call super.broadcast in UIInput-derived components

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

LightInTheBox - Buy quality products at wholesale price