jsf 2 - intellij - No code-completion for JSF2 @Named annotated bean -
intellij doesn't seem recognize jsf2 managed beans when annotate them @named
, cdi (jsr299) annotation used when deploying web application on glassfish server.
@named("userbean") @sessionscoped public class userbean implements serializable { private string name; private string password; public string getname() { return name; } public void setname(string name) { this.name = name; } public string getpassword() { return password; } public void setpassword(string password) { this.password = password; } }
i don't auto-completion when using bean in el expression (e.g. #{userbean.name}
). , when open jsf-tab in intellij, there no managed beans listed. when use @managedbean
annotation, auto-completion + beans listed in jsf tab. have configure or how working?
screenshot: http://i.imgur.com/tlz7zlx.png
have tried right-click project > add framework support > cdi
? intellij cdi docs , intellij jsf docs.
Comments
Post a Comment