[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3528) Code assist for EL variables which are declared as interfases.
Aliaksey Nis (JIRA)
jira-events at lists.jboss.org
Thu Jan 22 12:20:44 EST 2009
[ https://jira.jboss.org/jira/browse/JBIDE-3528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12449268#action_12449268 ]
Aliaksey Nis commented on JBIDE-3528:
-------------------------------------
For JSF (1.2) project.
Interface created: Test.java
ublic interface Test {
String getText1();
String foo();
}
Added to User.java (in class User)
private Test test;
public Test getTest() {
return test;
}
<h:outputText value="#{user.test.|}"/>
In proposal list only user.test.text1
No sights of foo().
My mistake somewhere or?
> 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 at 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
More information about the jbosstools-issues
mailing list