[
https://jira.jboss.org/jira/browse/JBIDE-5961?page=com.atlassian.jira.plu...
]
Victor Rubezhny updated JBIDE-5961:
-----------------------------------
Attachment: patch_JBIDE-5961-full.txt
The full patch is uploaded: patch_JBIDE-5961-full.txt
The patch modifies the following plugins:
org.jboss.tools.common.el.core
org.jboss.tools.jsf
org.jboss.tools.seam.core
org.jboss.tools.cdi.core
Previous patch (patch_JBIDE-5961.txt) is to be removed, because conflicts with the issue
JBIDE-1203.
JSF EL Code complition doesn't recognize static methods.
--------------------------------------------------------
Key: JBIDE-5961
URL:
https://jira.jboss.org/jira/browse/JBIDE-5961
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.1.0.CR2
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 3.1.0.CR3
Attachments: patch_JBIDE-5961-full.txt, patch_JBIDE-5961.txt
1. @Name("searchTools")
public class SearchTools
{
public static String getClassName(Object object)
{
if(object.getClass().getSimpleName().contains("$$"))
{
return object.getClass().getSuperclass().getSimpleName();
}
else
{
return object.getClass().getSimpleName();
}
}
}
2. There should be #{searchTools.getClassName()} proposal in CA.
For example: <h:outputText value="Organization"
rendered="#{searchTools.getClassName(result) == 'Organization'}" />
--
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