Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-5961

JSF EL Code complition doesn't recognize static methods.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.1.0.GA
    • 3.1.0.CR2
    • jsf
    • None

    Description

      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'}

      " />

      Attachments

        Issue Links

          Activity

            People

              vrubezhny Victor Rubezhny (Inactive)
              alexeykazakov Alexey Kazakov
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: