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

EL code completion not working automatically with @Named with Java EE 7

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 4.2.1.CR1
    • 4.2.0.CR2
    • cdi

    Description

      • Create a Dynamic Web Project
      • Add the following interface:
      public interface Greeting {
      	public String sayHello();
      }
      
      • And the implementation:
      @Dependent
      @Named
      public class SimpleGreeting implements Greeting {
      
      	@Override
      	public String sayHello() {
      		// TODO Auto-generated method stub
      		return "Hello";
      	}
      
      }
      
      • Enable JSF facet
      • Create .xhtml page as:
      Unable to find source-code formatter for language: xhtml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
      <html xmlns="http://www.w3.org/1999/xhtml"
            xmlns:ui="http://java.sun.com/jsf/facelets"
            xmlns:f="http://java.sun.com/jsf/core"
            xmlns:h="http://java.sun.com/jsf/html"> 
      
      <h:head></h:head> 
      <body> 
      <h:outputText value="#{}" />
      </body> 
      </html>
      

      No code completion in #{}. Changing @Named to @ManagedBean works.

      Attachments

        Issue Links

          Activity

            People

              alexeykazakov Alexey Kazakov
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: