[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-5961) JSF EL Code complition doesn't recognize static methods.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Fri Feb 26 17:59:10 EST 2010


JSF EL Code complition doesn't recognize static methods.
--------------------------------------------------------

                 Key: JBIDE-5961
                 URL: https://jira.jboss.org/jira/browse/JBIDE-5961
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: JSF
    Affects Versions: 3.1.0.CR2
            Reporter: Alexey Kazakov
            Assignee: Victor Rubezhny
             Fix For: 3.2.next


1. @Name("searchTools")
public class SearchTools
{
   public static String getClassName(Object object)
   {
      if(object.getClass().getSimpleName().contains("$$"))
      {         
         return object.getClass().getSuperclass().getSimpleName();
      }
      else
      {
         return object.getClass().getSimpleName();
      }
   }   
}

2. There should be #{searchTools.getClassName()} proposal in CA.
    For example: <h:outputText value="Organization" rendered="#{searchTools.getClassName(result) == 'Organization'}" />

-- 
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 jbosstools-issues mailing list