[
https://jira.jboss.org/jira/browse/JBIDE-3528?page=com.atlassian.jira.plu...
]
Alexey Kazakov commented on JBIDE-3528:
---------------------------------------
1. Create Seam WAR project.
2. Create Test.java:
public interface Test {
String getText1();
String foo();
}
3. Create Comp.java
@Name("comp")
public class Comp {
public Test getTest() {
return null;
}
}
4. Open home.xhtml and type <h:outputText value="#{comp.test.|}"/>.
Ctrl+Space
5. There shoul be comp.test.text1 and foo() proposals.
6. Create JSF KickStart project
7. Create Test.java:
public interface Test {
String getText1();
String foo();
}
7. Add
private Test test;
public Test getTest() {
return test;
}
to Person.java.
8. Open any xhtml/jsp and type <h:outputText value="#{person.test.|}"/>.
Ctrl+Space
9. There shoul be person.test.text1 and foo() proposals.
Code assist for EL variables which are declared as interfases.
--------------------------------------------------------------
Key: JBIDE-3528
URL:
https://jira.jboss.org/jira/browse/JBIDE-3528
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF, Seam
Affects Versions: 3.0.0.CR2
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.0.0.CR2
All methods in interfaces are public. So we should allow CA to suggest methods from it.
For example:
public interface Test {
String getText1();
String foo();
}
...
@Name("comp")
public class Comp {
...
public Test getTest() {
...
}
}
....
<h:outputText value="#{comp.test.text}"/> <!-- CA for comp.test.text
shoud work even if Test@getText() dosn't have public modifier.
--
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