Generic members of JSF managed beans not recognized in EL

Members of managed beans which type is being defined by a type parameter for the managed bean's class are not being supported/recognized properly in EL strings. They are of course recognized in plain Java code...

BSP:

Superclass:
public class EntityHome extends Home { public E getInstance() ; } Managed bean: @Name("countryHome") public class CountryHome extends EntityHome {...} In jsp: ]]>

"code" in countryHome.instance.code will be shown as unknown member of that class.


Bug?? Should I file in Jira?

1 comment
Comment actions Permalink

Please, file JIRA request.

tino wrote:

Members of managed beans which type is being defined by a type parameter for the managed bean's class are not being supported/recognized properly in EL strings. They are of course recognized in plain Java code...

BSP:

Superclass:
public class EntityHome<E extends Serializable> extends Home<javax.persistence.EntityManager,E> {
public E getInstance() ;
}

Managed bean:
@Name("countryHome")
public class CountryHome extends EntityHome<Country>
{...}

In jsp:
<h:selectOneMenu value="#{countryHome.instance.code}" >

"code" in countryHome.instance.code will be shown as unknown member of that class.


Bug?? Should I file in Jira?



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.