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

Norman Richards (JIRA) jira-events at lists.jboss.org
Wed Jan 30 17:24:59 EST 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2301?page=all ]

Norman Richards reassigned JBSEAM-2301:
---------------------------------------

    Assignee: Norman Richards

> JBoss EL bug handling overloaded methods with varargs mixed in
> --------------------------------------------------------------
>
>                 Key: JBSEAM-2301
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2301
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: EL
>    Affects Versions: 2.0.0.GA
>            Reporter: Matthew Lieder
>         Assigned To: Norman Richards
>            Priority: Minor
>             Fix For: 2.0.2.GA
>
>
> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list