[seam-issues] [JBoss JIRA] Updated: (JBSEAM-2301) JBoss EL bug handling overloaded methods with varargs mixed in

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Feb 4 12:26:23 EST 2010


     [ https://jira.jboss.org/jira/browse/JBSEAM-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated JBSEAM-2301:
------------------------------

    Assignee:     (was: Norman Richards)


> JBoss EL bug handling overloaded methods with varargs mixed in
> --------------------------------------------------------------
>
>                 Key: JBSEAM-2301
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-2301
>             Project: Seam
>          Issue Type: Bug
>          Components: EL
>    Affects Versions: 2.0.0.GA
>            Reporter: Matthew Lieder
>            Priority: Minor
>             Fix For: The future
>
>
> Doing facesMessages.add("Message") from an EL expression doesn't work, complaining about the String class not being compatible with the FacesMessage class. The problem is caused by a combination of two things:
> 1. There are two FacesMessages.add(...) that can accept one parameter: add(FacesMessage facesMessage) and add(String messageTemplate, Object... params)
> 2. The FacesMessages.add(...) that accepts a String as the first parameter can optionally accept additional parameters through a vararg
> If only one of those was the case, it'd work fine. However, having both at the same time triggers the error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list