[jbosstools-issues] [JBoss JIRA] (JBIDE-18694) EL code completion not working automatically with @Named with Java EE 7
Alexey Kazakov (JIRA)
issues at jboss.org
Wed Nov 26 14:05:39 EST 2014
[ https://issues.jboss.org/browse/JBIDE-18694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023378#comment-13023378 ]
Alexey Kazakov commented on JBIDE-18694:
----------------------------------------
[~rawagner], I think it is possible, yes. But let's create a new issue for this. Could you do it? Thanks.
> EL code completion not working automatically with @Named with Java EE 7
> -----------------------------------------------------------------------
>
> Key: JBIDE-18694
> URL: https://issues.jboss.org/browse/JBIDE-18694
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: cdi
> Affects Versions: 4.2.0.CR2
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Labels: new_and_noteworthy
> Fix For: 4.2.1.CR1
>
>
> - Create a Dynamic Web Project
> - Add the following interface:
> {code:java}
> public interface Greeting {
> public String sayHello();
> }
> {code}
> - And the implementation:
> {code:java}
> @Dependent
> @Named
> public class SimpleGreeting implements Greeting {
> @Override
> public String sayHello() {
> // TODO Auto-generated method stub
> return "Hello";
> }
> }
> {code}
> - Enable JSF facet
> - Create .xhtml page as:
> {code:xhtml}
> <!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>
> {code}
> No code completion in #{}. Changing @Named to @ManagedBean works.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jbosstools-issues
mailing list